4 ms·
For vim either map a key sequence "jj" or "fd" to esc or remap caps lock to esc. Many vim users do that anyway for the convenience. Not sure about emacs (I use
by pyrophane 10y ago
For vim either map a key sequence "jj" or "fd" to esc or remap caps lock to esc. Many vim users do that anyway for the convenience.
Not sure about emacs (I use spacemacs). Does esc come in for more than just cancelling commands? If you don't need to use your caps lock for ctrl for emacs, the same remap to esc would work as well.
Anyway, basically boils down to two things: 1) the touch bar escape is fine for occasional use but I wouldn't want to use it frequently and 2) that isn't a problem if you don't mind remapping caps lock and have nothing more important to do with it.
- duozerk 10y agoEmacs user here, I think I never use escape; I use C-g to cancel a command.
- hellofunk 10y agoThe idea behind evil mode in emacs is to not use the control or meta keys for most things, since they are awkwardly placed. Evil mode activates the Esc key just like in vim. evil-escape module for evil mode adds the 'fd' functionality discussed here.