Feature request: keyboard shortcuts for 'save changes' sheet

6 views
Skip to first unread message

alexanderkahn

unread,
Oct 12, 2010, 3:45:33 PM10/12/10
to vim_mac
Hi,

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?

Thanks,
Alex

björn

unread,
Oct 13, 2010, 7:53:21 AM10/13/10
to vim...@googlegroups.com

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

alexanderkahn

unread,
Oct 14, 2010, 1:18:07 PM10/14/10
to vim_mac
Thanks. Apparently I did not experiment enough before posting. Sorry
about that. And thanks for the Ctrl-F7 tip.

Alex

On Oct 13, 7:53 am, björn <bjorn.winck...@gmail.com> wrote:
> On 12 October 2010 21:45, alexanderkahn <alexanderk...@gmail.com> wrote:
>
>
>
> > This is the pane/sheet I'm referring to:http://cl.ly/2ni8("Do you
Reply all
Reply to author
Forward
0 new messages