31 ms·
> All my MacBook keyboards get their caps lock keys remapped to control You must be an emacs heathen. Caps lock gets remapped to ESC.
by ctrl-j 9y ago
> All my MacBook keyboards get their caps lock keys remapped to control
You must be an emacs heathen.
Caps lock gets remapped to ESC.
- tremendo 9y agoControl when held in combination with other keys, ESC when tapped by itself.
- ovatsug25 9y agoHow can you do that???
- feifan 9y agoUse Karabiner and the first one here: https://pqrs.org/osx/karabiner/complex_modifications/ https://pqrs.org/osx/karabiner/complex_modifications/
- jimmcslim 9y agoIsn't the hardcore move to map Caps Lock to Hyper? http://brettterpstra.com/2017/06/15/a-hyper-key-with-karabiner-elements-full-instructions/ http://brettterpstra.com/2017/06/15/a-hyper-key-with-karabin...
- tremendo 9y agoon Linux (Ubuntu) the same can be achieved with xcape
- edw 9y agoGuilty as charged. Does mapping right option to hyper aggravate my sins?
- 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.