I don't know if this is a problem with TextMate or a "feature" of OSX, but I have a problem with the "Save As..." dialog. I want to be able to type a full path into the Save As: filename box. So if I want to save the file as "foo.txt" in the "/tmp" directory, I just want to type "/tmp/foo.txt" rather than mousing around the dialog to navigate to the "/tmp" directory, then entering the name "foo.txt".
(And, as luck would have it, MacOS "helpfully" hides the "/tmp" directory from that dialog, so I can't even navigate there! But that's beside the point; I could fix that with a symlink.)
As it is, if I type "/tmp/foo.txt" into the dialog I get a file in my home directory named ":tmp:foo.txt". The translation of slashes to colons makes me think this is probably a mis-feature of OSX rather than TextMate, but even so, is there a way around it?
On 16 Apr 2007, at 14:49, Steve King wrote:
I don't know if this is a problem with TextMate or a "feature" of OSX, but I have a problem with the "Save As..." dialog. I want to be able to type a full path into the Save As: filename box. So if I want to save the file as "foo.txt" in the "/tmp" directory, I just want to type "/tmp/foo.txt" rather than mousing around the dialog to navigate to the "/tmp" directory, then entering the name "foo.txt".
This is just the OS X save dialog.
You can jump to a directory by using ⌘⇧G or by typing a / or a ~ with the folder list in focus. Then you can save the file. You can't do these steps together though, as far as I know.
On Apr 16, 2007, at 10:49 PM, Steve King wrote:
I just want to type "/tmp/foo.txt" rather than mousing around the dialog to navigate to the "/tmp" directory, then entering the name "foo.txt".
In Save dialogue, you could use Command-Shift-G to specify a folder. But still what you want to do "/tmp/foo.txt" seems to be impossible.
Takaaki -- Takaaki Kato http://samuraicoder.net
On 4/16/07, Steve King steve@narbat.com wrote:
I don't know if this is a problem with TextMate or a "feature" of OSX, but I have a problem with the "Save As..." dialog. I want to be able to type a full path into the Save As: filename box. So if I want to save the file as "foo.txt" in the "/tmp" directory, I just want to type "/tmp/foo.txt" rather than mousing around the dialog to navigate to the "/tmp" directory, then entering the name "foo.txt".
No need to use the mouse, or to make a symlink to /tmp. Type:
<tab> /tmp <return> <shift-tab> foo.txt <return>
Robin
No need to use the mouse, or to make a symlink to /tmp. Type:
<tab> /tmp <return> <shift-tab> foo.txt <return>
Robin
Ooooh, this is SO helpful! it's been years and years I save my files in whatever dir, and then "mv" in Terminal.app... Thank you, really thank you!
By the way, it reminds us the lack of a complete (and official) documentation of OS X tips & tricks...
Hi,
Ooooh, this is SO helpful! it's been years and years I save my files in whatever dir, and then "mv" in Terminal.app... Thank you, really thank you!
By the way, it reminds us the lack of a complete (and official) documentation of OS X tips & tricks...
"Mac OS X Killer Tips" by Scott Kelby has lists most of them (and quite a few not so helpful ones as well). It's no "official" documentation, though.
Bye, Nico
ps: I have no affiliations with the author or the publisher :-P
On 16 Apr 2007, at 17:46, Xavier CAMBAR wrote:
No need to use the mouse, or to make a symlink to /tmp. Type:
<tab> /tmp <return> <shift-tab> foo.txt <return>
Robin
Ooooh, this is SO helpful! it's been years and years I save my files in whatever dir, and then "mv" in Terminal.app... Thank you, really thank you!
By the way, it reminds us the lack of a complete (and official) documentation of OS X tips & tricks...
I forgot to mention, the dialog that pops up also has (case sensitive) tab completion for files/folders
On Apr 18, 2007, at 3:53 AM, Ciarán Walsh wrote:
On 16 Apr 2007, at 17:46, Xavier CAMBAR wrote:
No need to use the mouse, or to make a symlink to /tmp. Type:
<tab> /tmp <return> <shift-tab> foo.txt <return>
Robin
Ooooh, this is SO helpful! it's been years and years I save my files in whatever dir, and then "mv" in Terminal.app... Thank you, really thank you!
By the way, it reminds us the lack of a complete (and official) documentation of OS X tips & tricks...
I forgot to mention, the dialog that pops up also has (case sensitive) tab completion for files/folders
It will even automatically try to complete if you pause for a few seconds. It's pretty clever.
James Edward Gray II
No need to use the mouse, or to make a symlink to /tmp. Type:
<tab> /tmp <return> <shift-tab> foo.txt <return>
Robin
Ooooh, this is SO helpful! it's been years and years I save my files in whatever dir, and then "mv" in Terminal.app... Thank you, really thank you!
By the way, it reminds us the lack of a complete (and official) documentation of OS X tips & tricks...
I forgot to mention, the dialog that pops up also has (case sensitive) tab completion for files/folders
It will even automatically try to complete if you pause for a few seconds. It's pretty clever.
Yes, it's nice but annoying in that it will only autocomplete the first match (does anyone have a workaround?). For instance, if you are trying to get to '/Library/Application Support' it will match '/ Library/Application Enhancers' first and won't go to the next match with tab or the arrows.
Also note that you can trigger it with Cmd-Shift-G in the dialog.
-- Eric Hsu, Associate Professor of Mathematics San Francisco State University http://math.sfsu.edu/hsu erichsu@math.sfsu.edu