in reply to Re: The most useless key on my keyboard is:
in thread The most useless key on my keyboard is:

If you use vim you should seriously consider mapping the Caps Lock key to Escape. Then they can have your (other) Esc key, since after two days with some discipline you will never touch it again - The only problem with this is all the CAPITAL letters you get when doing stuff using VIM on someone elses computer.
  • Comment on Re^2: The most useless key on my keyboard is:

Replies are listed 'Best First'.
Re^3: The most useless key on my keyboard is:
by ambrus (Abbot) on Nov 18, 2005 at 22:42 UTC

    This sounds a nice idea. I always thought escape was a bit too far to press.

    I won't use it for two reasons. Firstly I've used up Caps Lock for a much better purpose, see my reply to this poll. Secondly, I don't use vi*, so I use escape much less frequently during editing and those times it's always a modifier, so I can just use the Alt key (either of them, I don't make this riddiculous distinction between Green Alt and Alt Gr). Other then these, I agree with your idea.

    Finally let me note that a friend of mine uses vim and has remapped the two-character sequence ;x to escape in it, as it almost never appears in text and is easy to type. That has the advantage over your method that he doesn't have to install any special software to change the keyboard settings, as the mapping is done by vim itself. Also this way he doesn't have to find out how to do the remapping on every system separately (like X, Linux console, OS X, Windows etc). I had to experiment much to make the same sane keyboard settings work both on the Linux console and X.

Re^3: The most useless key on my keyboard is:
by flocto (Pilgrim) on Nov 19, 2005 at 10:44 UTC
    I've actually mapped CTRL to the Caps-Lock key, resulting in a Sun-like layout. But mapping the actual CTRL-key to ESC is an idea I haven't had before.. Thanks :)