Currently, I have Caps Lock mapped to Escape (pressing Caps Lock is like pressing Escape), so I wanted to map my Escape key to something else. I am remapping it like so in my .vimrc:nnoremap <esc> {stuff}When I open up Vim, however, it's as if the d key has already been pressed. If I press j, I lose two lines (like pressing dj), and if I press l, I'd lose a character (like pressing dl).What happening?
Why can't I remap the escape key in Vim?
key bindings