Vim - Keymapping ESC to CAPS LOCK - GNU/Linux
Dritz
Wow guys, this has changed my life. I should have done it long ago, but after I bound ESC to CAPSLOCK Vim has become so much more comfortable to use. That extra stretch was becoming a bit ridiculous. If you haven't tried it yet, I highly recommend it!

Check the Vim wiki for help if you need it.

Has anyone else done this, or do you use a different keybind?
"Willful ignorance is a crime"
venam
If that's the case then why not bind CAPSLOCK to TAB and TAB to ESC, wouldn't it be easier to use?
rwzy
I find that having caps lock mapped to control is also as conveninent as having it mapped to escape. So I use xcape to have left control act as escape if tapped by itself or as control if used in a chord (ctrl-a). You will of course need to map caps lock to control beforehand though:
Code:
setxkbmap -option 'ctrl:nocaps'
Check http://geekhack.org/index.php?topic=41685.0 and http://www.emacswiki.org/emacs/MovingTheCtrlKey for other systems.
/vim/ noun informal
not just an editor, 'tis but a way of »life»!

Dritz
That's actually a rather good idea. I'll still have to play with my setup throughout the week to better tweak it to my workflow.




Members  |  Stats  |  Night Mode