Wikia

Vim Tips Wiki

Changes: Enabling Windows shortcuts for gvim

Edit

Back to page

(Comments)
(Change <tt> to <code>, perhaps also minor tweak.)
Line 3: Line 3:
 
|previous=644
 
|previous=644
 
|next=646
 
|next=646
|created=January 28, 2004
+
|created=2004
 
|complexity=basic
 
|complexity=basic
 
|author=Girish Gajwani
 
|author=Girish Gajwani
Line 25: Line 25:
 
</pre>
 
</pre>
   
Note that with <tt>winaltkeys=yes</tt>, you won't be able to map any ALT key combinations. If this is a problem for you, try <tt>winaltkeys=menu</tt> or <tt>winaltkeys=no</tt> in conjunction with <tt>:simalt</tt>.
+
Note that with <code>winaltkeys=yes</code>, you won't be able to map any ALT key combinations. If this is a problem for you, try <code>winaltkeys=menu</code> or <code>winaltkeys=no</code> in conjunction with <code>:simalt</code>.
   
 
==References==
 
==References==

Revision as of 05:41, July 13, 2012

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.

References

Comments

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

Around Wikia's network

Random Wiki