[TxMt] Re: TextEdit opens intead

Tad Lamb tad at tadlamb.com
Tue Nov 22 17:33:47 UTC 2011


Before adding this to my profile I entered these 2 on the command line, but I
did not see a difference.  Based on the first one I decided to try
'/Applications/TextMate.app/Contents/MacOS/TextMate', and that brought up
TextEdit too!


- Tad



Phil Dobbin wrote:
> 
> On 22/11/11 17:15, "Tad Lamb" <tad at tadlamb.com> wrote:
> 
>> Thanks for the reply.  Yes, believe it or not, when I click the TextMate
>> icon in the Dock TextEdit opens up instead of TextMate.  I checked my
>> default for text files and it is set to Smultron.
>> 
>> I've been a Mac user for about 3 years now, but something like this is
>> still
>> magic for me.  I don't know how to 'open up the hood' and edit what
>> happens
>> when a Dock icon is clicked.  Also, as further confirmation, I typed
>> 'mate'
>> in the Console and TextEdit opened up that way too.
> 
> Try putting:
> 
> `export MP_EDITOR=/Applications/TextMate`
> 
> &
> 
> `export EDITOR=/usr/bin/mate`
> 
> In your .bash_profile
> 
> Cheers,
> 
>     Phil...
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 

-- 
View this message in context: http://old.nabble.com/TextEdit-opens-intead-tp32872813p32872936.html
Sent from the textmate users mailing list archive at Nabble.com.



More information about the textmate mailing list