Is there an equivalent in TextMate to C-x C-f in Emacs, where you can specify the path and name of a file to open using the keyboard? I know about CMD-O but that brings up the GUI File/Open dialog.
Little known fact: from that GUI file/open dialog (and not just for TextMate, but for all of the cocoa open dialogs), you can type a slash or tilde character, it will give you a "Go to folder" text field that completes as you type. So it's not quite the same, but is very helpful still.
On Jan 5, 2007, at 8:39 PM, Fin Springs wrote:
Is there an equivalent in TextMate to C-x C-f in Emacs, where you can specify the path and name of a file to open using the keyboard? I know about CMD-O but that brings up the GUI File/Open dialog.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Thanks Brad,
I noticed the popup you mention will take a file path but will only go to the folder the file is in. However if I just start typing the filename once it's done that, it selects the file in the folder window.
From there I can hit enter and voila. A little more work than C-x C-F,
but infinitely better than a full GUI navigation of the path. Thanks again.
On 2007-01-05 23:56:18 -0500, Brad Choate bchoate@gmail.com said:
Little known fact: from that GUI file/open dialog (and not just for TextMate, but for all of the cocoa open dialogs), you can type a slash or tilde character, it will give you a "Go to folder" text field that completes as you type. So it's not quite the same, but is very helpful still.
Fin Springs wrote:
Thanks Brad,
I noticed the popup you mention will take a file path but will only go to the folder the file is in. However if I just start typing the filename once it's done that, it selects the file in the folder window.
From there I can hit enter and voila. A little more work than C-x C-F,
but infinitely better than a full GUI navigation of the path. Thanks again.
Or even easier, you can just type:
mate /path/to/file &
on a line, and then execute that with ⌃R
-Jacob
On Jan 6, 2007, at 5:39 AM, Fin Springs wrote:
Is there an equivalent in TextMate to C-x C-f in Emacs, where you can specify the path and name of a file to open using the keyboard? I know about CMD-O but that brings up the GUI File/Open dialog.
why don't you use spotlight or quicksilver for that? If it's defined that the file should be opened in textmate and as long as the file is in your home-folder and not "hidden", you should be settled, shouldn't you?
Niels