Vim Tips Wiki
(Tip is fine, remove review template, add caveat about mappings, and add Windows category)
Line 33: Line 33:
   
 
==Comments==
 
==Comments==
  +
  +
I have been struggling with this problem. Thank you very much for sharing this information.

Revision as of 10:15, 4 January 2012

Tip 645 Printable Monobook Previous Next

created January 28, 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.

References

Comments

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