4 ms·
Once I found out CTRL-[ did the same thing I haven't hit ESC since.
by legogt 5y ago
Once I found out CTRL-[ did the same thing I haven't hit ESC since.
- asicsp 5y agoI wish Ctrl+[ wasn't tied to Esc. I hit that often instead of Ctrl+P. Haven't yet found a way to map Ctrl+[ to Ctrl+P without affecting behavior of Esc as well.
- ckolkey 5y agoIt's because your computer can't tell the difference. c-[ and ESC send the same key-code. Same with c-i and tab. What you can do to get around this is to remap one of them to something like f20 using Karabiner, then map f20 to what you like in vim.
- asicsp 5y agoThanks. Not sure if Karabiner is available for Linux, but I found https://stackoverflow.com/questions/41364833/karabiner-for-linux https://stackoverflow.com/questions/41364833/karabiner-for-l... which might help me.
- VTimofeenko 5y agoCan recommend interception-tools mentioned in that SO link. I have been using them for quite a while, remapping caps to escape in desktop environment agnostic way.