Re: Mapping Esc to Windows Key
- I don't think you can. Windows gets the Windows key and 'Menu' keys long
before VIM see them.
----- Original Message -----
From: "Tim Johnson" <tim@...>
Sent: Thursday, February 01, 2001 7:41 PM
Subject: Mapping Esc to Windows Key
> I'm using vim 5.6 on RH 6.0, and have a keyboard
> with a "Windows" key, which is of no value to me,
> but is in a good location.
> What is the "vim name" of the windows key?
> So that I can do something like:
> :map <windooz> <Esc>
> --and where may I find documentation with "vim names" for other keys?
> Tim Johnson
> "Of all manifestations of power,
> restraint impresses the most."
- Hi All:
Below was the option that I choose:
Works well, thanks for all the input! :)
On Fri, 02 Feb 2001, Matt Kunze wrote:
> in x windows i've found the best way by far is to use xkeycaps
> this gives you a picture of your keyboard where you can right-click on the
> esc key, hit duplicate, and pick the key you want (i finally got rid of my
> stupid caps lock key :) it also writes it's mappings out to a xmodmap rc
> file that you can run each time you start your session.
> btw, for anyone who wants to be able to do this on windows you can get a
> copy of ctrl2cap (http://sysinternals.com/ntw2k/source/ctrl2cap.shtml) and
> easily hack it to map whatever keys you want. this is a much more
> intrusive option than modifying your keymap in x (it's a kernel driver
> that gets loaded at boot) but it seems to be the only option in windows.
"Of all manifestations of power,
restraint impresses the most."