[TxMt] Re: how can I make TextMate the default editor for text files on 10.5.6
Andrea Crotti
kerny404 at gmail.com
Sat Apr 4 23:07:03 UTC 2009
Bill Paxton-2 wrote:
>
> Hello,
>
> How can I get 10.5.6 to use TextMate as the default application to
> open text files instead of using TextEdit?
>
> For example, if I do the following, I'd like the new file to open in
> TextMate:
>
> grep 'test' *.c > newfile
> open newfile
>
> Currently, this opens in TextEdit (ugh).
>
> For files with an extension, I can get the system to use TextMate for
> all files with that extension.
> But I'd like something that works automatically for files without
> extensions (like "newfile" in the example).
>
> Also while it works to use "get info" to set the "open with"
> application for an existing file,
> when I do "Change All..." to use TextMate, I get the following error:
>
> An error occurred while changing the application that
> open "newfile" because not enough information is
> available.
>
>
> I'm using Version 1.5.8 (1498).
>
> Thanks,
> Bill Paxton
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
>
I think that there is a much easy solution:
alias tm="open -a /Applications/TextMate.app"
in your .bash_profile
and you're done (if I understood correctly)
--
View this message in context: http://www.nabble.com/how-can-I-make-TextMate-the-default-editor-for-text-files-on-10.5.6-tp22880006p22888731.html
Sent from the textmate users mailing list archive at Nabble.com.
More information about the textmate
mailing list