On my Linux setup, specially with vim/neovim, I have:
CapsLock and L Control keys swapped;
If CapsLock (physical key location) is pressed for less than ~300ms, then it is not mapped to L Control, but to Escape instead.
Or, in other words:
L Ctrl maps to CapsLock
CapsLock maps to:
L Ctrl if pressed for longer than 300ms;
Escape otherwise.
This allows me to quickly enter normal mode (nvim), cancel things, etc., with little movement from my left hand (and since a lot of keyboard shortcuts use Ctrl key, it is very useful to have Escape in the same place). Having this on Windows as well would be an awesome Windows experience.
On my Linux setup, specially with vim/neovim, I have:
CapsLock
andL Control
keys swapped;CapsLock
(physical key location) is pressed for less than ~300ms, then it is not mapped toL Control
, but toEscape
instead.Or, in other words:
L Ctrl
maps toCapsLock
CapsLock
maps to:L Ctrl
if pressed for longer than 300ms;Escape
otherwise.This allows me to quickly enter normal mode (nvim), cancel things, etc., with little movement from my left hand (and since a lot of keyboard shortcuts use Ctrl key, it is very useful to have Escape in the same place). Having this on Windows as well would be an awesome Windows experience.