nixers
Vim - Keymapping ESC to CAPS LOCK - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Operating Systems (https://nixers.net/forumdisplay.php?fid=4)
+--- Forum: GNU/Linux (https://nixers.net/forumdisplay.php?fid=12)
+--- Thread: Vim - Keymapping ESC to CAPS LOCK (/showthread.php?tid=1536)


Vim - Keymapping ESC to CAPS LOCK - Dritz - 10-08-2014

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?


RE: Vim - Keymapping ESC to CAPS LOCK - venam - 11-08-2014

If that's the case then why not bind CAPSLOCK to TAB and TAB to ESC, wouldn't it be easier to use?


RE: Vim - Keymapping ESC to CAPS LOCK - rwzy - 11-08-2014

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.


RE: Vim - Keymapping ESC to CAPS LOCK - Dritz - 11-08-2014

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.