Loading ...
Sorry, an error occurred while loading the content.
 

Re: Mapping Esc to Windows Key

Expand Messages
  • J. David Boyd
    I don t think you can. Windows gets the Windows key and Menu keys long before VIM see them. Dave ... From: Tim Johnson To:
    Message 1 of 5 , Feb 2, 2001
      I don't think you can. Windows gets the Windows key and 'Menu' keys long
      before VIM see them.

      Dave

      ----- Original Message -----
      From: "Tim Johnson" <tim@...>
      To: <vim@...>
      Sent: Thursday, February 01, 2001 7:41 PM
      Subject: Mapping Esc to Windows Key


      > Tim
      > 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?
      > Thanks!!
      > --
      > Tim Johnson
      > -----------
      > "Of all manifestations of power,
      > restraint impresses the most."
      > -Thucydides
      >
    • Tim Johnson
      Hi All: Below was the option that I choose: Works well, thanks for all the input! :) ... -- Tim Johnson ... Of all manifestations of power, restraint
      Message 2 of 5 , Feb 2, 2001
        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
        > (http://www.jwz.org/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.
        >
        >
        --
        Tim Johnson
        -----------
        "Of all manifestations of power,
        restraint impresses the most."
        -Thucydides
      Your message has been successfully submitted and would be delivered to recipients shortly.