3 ms·
I do the same thing in vim with Esc <-> CapsLock
by andrepd 8y ago
I do the same thing in vim with Esc <-> CapsLock
- nickbarnwell 8y agoIf you've a sufficiently decent input manager or a programmable keyboard, you can have Caps Lock play double duty as both. I am an emacs and evil user, so I have tapping caps configured to send ^] and holding it to ^. Best of both worlds!
- Scriptor 8y agoIt was almost life-changing when I figured out how to do that on both my work Macbook and my home Linux machine. As another evil mode user I second what you said
- hibbelig 8y agoI use a Mac, and it sounds like an interesting feature to have. How to do it?
- Scriptor 8y agoI use Karabiner https://pqrs.org/osx/karabiner/ https://pqrs.org/osx/karabiner/ and then used one of the Caps lock modifiers in https://pqrs.org/osx/karabiner/complex_modifications/#caps_lock https://pqrs.org/osx/karabiner/complex_modifications/#caps_l...
- tzs 8y agoAnother possibility is to not use the ESC key in vim. ESC just sends CTRL-[, and with your hands in normal position on the keyboard, CTRL-[ is fast and easy to type. With CTRL mapped to directly left of the left pinky (the CAPS LOCK position on most keyboards), then an ESC via CTRL-[ is just a slight pinky movement on both hands.