4 ms·
> Caps lock gets remapped to ESC 15 year vimmer here. Caps -> Ctrl and use C-[ for going to normal mode.
by grayrest 9y ago
> Caps lock gets remapped to ESC
15 year vimmer here. Caps -> Ctrl and use C-[ for going to normal mode.
- keeganpoppen 9y agoi also remap caps -> ctrl, but have bindings for `fj` & `jf` in insert mode to exit back to normal mode, on the theory that you basically never have to type either of those letter combos (it has come up maybe twice in the five years i've had it set up). and even if you do have to type one of those letter combos, all you have to do is wait for ~half second between keystrokes and it works fine.
- eridius 9y agoSame, but I use `jk`, which only requires one hand.
- dogecoinbase 9y agoA similar binding once nearly drove me insane trying to copy/paste an api key.
- eridius 9y agoVim should disable all mappings during a paste. And if it's not, you should be able to hit F8 (or `:set paste`) to toggle paste mode.
- dogecoinbase 9y agoIdeally, yes. I don't recall all the details -- I typically run fairly lightweight in terms of vim customizations as I'm often multiple SSH sessions deep, sometimes on systems with vi but no vim (they exist!), so automatic pastetoggle is usually off the table regardless.
- kps 9y agoEdsger Dijkstra does not approve.
- petepete 9y agoI use the one true keyboard and CTRL is already correctly-positioned. Once you ascend there's no going back.
- kps 9y agoYou use an ADM-3A for vim? I am impressed.
- zem 9y agoanother long-time vimmer here, and i'm perfectly happy to reach up and hit esc. caps lock is a lot more useful as ctrl.