I dislike to have to reach up to the
Escape key all the time. For a while I used the program
xcape under Linux to map
Caps lock to be both
Escape. However, I am currently working more and more on a Mac so I can’t have the same keybinding without much increased effort.
I thought that the key combination of
Space would be quite nice.
I tried to rebind with:
map <NUL> <ESC> nmap <NUL> i
But that does not work correctly, often inserting the same text again.