Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jlgreco
· 14y ago · 0 comments
CapsLock to Escape is something I find useful with Vim. A lot of people advocate mapping it to Ctrl then using Ctrl-c or Ctrl-], but It's better to just skip the middleman I think.
Comments
[–]
clvv
14y ago
If you're using X, then xcape can map
both
Esc and Ctrl to Capslock.
https://github.com/alols/xcape
[–]
jlgreco
OP
14y ago
Now that is clever. Thanks for this.
[–]
cageface
14y ago
You can also map it to something like 'jj'. I don't use vim that much now but I found that more ergonomic than any of the special keys.