Fandom

Vim Tips Wiki

Enabling Windows shortcuts for gvim

Redirected from VimTip645

1,624pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Tip 645 Printable Monobook Previous Next

created 2004 · complexity basic · author Girish Gajwani · version 5.7


I was trying to figure out why Alt+space would not work, as I would have to use the mouse to maximize/restore/minimize my gvim window (on Win32) which was a pain and found that I needed to

set winaltkeys=yes

to make this work. Now I can use

Alt+Space followed by 'x to maximize
Alt+Space followed by 'n' to minimize
Alt+Space followed by 'r' to restore!

Note that with winaltkeys=yes, you won't be able to map any ALT key combinations. If this is a problem for you, try winaltkeys=menu or winaltkeys=no in conjunction with :simalt.

ReferencesEdit

CommentsEdit

I have been struggling with this problem. Thank you very much for sharing this information.

Also on Fandom

Random Wiki