3 ms·
Unfortunately, remapping escape to caps lock can lead to serious friction if you have to work with different laptops a lot, like I do. The muscle memory gets in
by mr_mitm 5mo ago
Unfortunately, remapping escape to caps lock can lead to serious friction if you have to work with different laptops a lot, like I do. The muscle memory gets in the way a lot.
- thayne 5mo agoIf only keyboard makers would just always put escape there.
- wtetzner 5mo agoIt should always be "hold for control" and "tap for esc".
- lucasoshiro 5mo agoI always remap Caps Lock to Ctrl. I understand that Caps Lock needed to be next to Shift in typewriters, but in computers it seems like it is wasting a key in the home row for only be used sometimes for screaming (which can be done by holding shift...)
- IBCNU 5mo agofellow Caps Lock to Ctrl remapper (and neovim) here...
- kombine 5mo agoI remap Caps Lock to Ctrl when held and to Esc when pressed - the best of both worlds when you live in Neovim. https://github.com/rvaiya/keyd https://github.com/rvaiya/keyd works really well for me on Linux, but there is a similar software on MacOS.
- semanticc 5mo agoEasy with https://karabiner-elements.pqrs.org https://karabiner-elements.pqrs.org on Mac.
- cassepipe 5mo agoand if you really need the SCREAMING, vim got you covered. Just type your word normally , select it in visual mode and type gU
- elzbardico 5mo agowhy visual mode? gUiw
- cassepipe 5mo agoWhich is why I never went with CapsLock being both Ctrl and Escape depending of whether it's part of a key combo because it's whole setup. On the contrary, whenever I use someone else's machine I can quickly go in the settings, set the option and then set it off after I am done.
- bonsai_spool 5mo agoCtrl-[ is accepted across Vim installs
- olorion 5mo agoWhen using Ctrl where caps lock ususally is, this can be a very comfortable "pinkies out" manuver.
- jolmg 5mo agoCtrl-C also works.
- mr_mitm 5mo agoNo, that's different: https://vi.stackexchange.com/a/20028 https://vi.stackexchange.com/a/20028
- deleted 5mo ago[deleted]
- ShyCodeGardener 5mo agoWorks most of the time, the rest of the time you can just use `Ctrl-[`
- keithnz 5mo agoI map it on all my computers, works well, if I end up in an environment where I don't have the mapping I just use Ctrl-[ or stretch. When I end up helping other devs and use their non vim setups...now that really trips me up. Capitals everywhere, random hjkls ... I have to really slow myself down when using a "normal" editor.
- TranquilMarmot 5mo agoOn macOS, this is easy. For everything else, I use mechanical keyboards that all run QMK/VIA so I remap it at the hardware level.