In many Mac apps, you can use the first letter of a messagebox button to invoke the action and dismiss the messagebox. This would be really cool in TM, as it is so keyboard oriented. Example:
I open httpd.conf to look at how things are set up on my local server. Inadvertently I hit a key, marking the file as dirty (edited). Cmd+W gives me the "Do you want to save the changes you made..." modal messagebox. The behavior I'd love to see is for D or Cmd+D to mean "Don't Save Changes".
Is there any way to accomplish this?
Thanks,
--s.ross
On Jul 4, 2006, at 4:20 PM, s.ross wrote:
I hit a key, marking the file as dirty (edited). Cmd+W gives me the "Do you want to save the changes you made..." modal messagebox. The behavior I'd love to see is for D or Cmd+D to mean "Don't Save Changes".
Cmd-D already chooses “Don't Save” for me.
-- Daniel
Daniel Harple <dharple@...> writes:
On Jul 4, 2006, at 4:20 PM, s.ross wrote:
I hit a key, marking the file as dirty (edited). Cmd+W gives me the "Do you want to save the changes you made..." modal messagebox. The behavior I'd love to see is for D or Cmd+D to mean "Don't Save Changes".
Cmd-D already chooses “Don't Save” for me.
Just hit the space bar if you don't want to save ;) (space bar press the button which has the "halo" in any dialog box)
Seeee. I told you it was a Simple Q. Thanks everyone. This will save me not a ton of keystrokes but more a lot of ³I wonder why it doesn¹t work like...²?
On 7/4/06 2:17 PM, "Daniel Harple" dharple@generalconsumption.org wrote:
On Jul 4, 2006, at 4:20 PM, s.ross wrote:
I hit a key, marking the file as dirty (edited). Cmd+W gives me the "Do you want to save the changes you made..." modal messagebox. The behavior I'd love to see is for D or Cmd+D to mean "Don't Save Changes".
Cmd-D already chooses ³Don't Save² for me.
-- Daniel ______________________________________________________________________ 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
The behavior I'd love to see is for D or Cmd+D to mean "Don't Save Changes".
Is there any way to accomplish this?
Try and see if you have the “Darcs” bundle installed; disable it if you don't need it (or probably don't even know what the heck darcs is ;) or change it's invocation shortcut to something other than ⌘D. If you don't have Darcs, then some other bundle item might have snatched the ⌘D shortcut. See [here][1] and [here][2] for an explanation.
Soryu
[1]: http://macromates.com/ticket/show?ticket_id=2EF951A6 [2]: http://macromates.com/ticket/show?ticket_id=67031851