On 12 October 2010 21:45, alexanderkahn <[email protected]> wrote:
>
> This is the pane/sheet I'm referring to: http://cl.ly/2ni8 ("Do you
> want to save the changes you made in the document ...?"). Usually I
> close tabs in MacVim using Command-W. I'd like to be able to press D
> or Command-D to choose "Don't Save." I can choose Save or Cancel with
> Enter or Escape, respectively, but I have to use the mouse to choose
> "Don't Save." What do folks think of this?

Pressing Cmd-D already works.  Did you really try this?

Did you also know about Ctrl-F7?  If you hit that combination once you
can then navigate _all_ OS X dialogs using Tab and hitting Space to
select an item (the "selected" item has a faint blue outline).

Finally, all dialogs in MacVim can be dismissed by pressing the first
letter of the button title (if multiple buttons share a first letter,
then you may have to press the second letter).  Actually, Mac OS X
overrides the shortcut for some buttons so it is not true for all
buttons (e.g. "Don't Save" is Cmd-D instead of "d", "Cancel" is Esc,
etc.).  Figuring out which letter to press requires trial-and-error so
this may not be the most useful method, but it is there.

Björn

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to