Monday, May 24, 2010

Re: Mapping the Super / Windows key

> Unfortunately it seems that gvim doesn't get the Super key.

You can make windows give gvim those keys (In windows speak they're
called Left Windows, Right Windows, and Application).
When I use vim on windows a lot I always do this; mostly as a side
effect of fixing (polite term) the damned, hated caps lock key.

My favourite page with the gory details is http://www.usnetizen.com/fix_capslock.php.
I used to carry around a .reg file on my usb stick.

If registry hacks don't appeal, the vim wiki page
http://vim.wikia.com/wiki/Map_caps_lock_to_escape_in_Windows has
several links to freeware utilities that do the job; I haven't tried
any of them.

gvim on windows knows about F13, F14 and F15, and I've never seen a
Windows keyboard with them, so I use the above to map those keys to
F13, F14 and F15, and then map those in my .vimrc; that way I can use
xmodmap on *nix to do the same, so my .vimrc can be the same.

HTH, regards, John

--
You received this message from the "vim_use" 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

No comments: