I've used the information in this answer previously, but recently encountered a minimal installation with only vi. I edited the .vimrc in the user's home folder (~/.vimrc
), but when typing jj
, the literal text <esc>
was entered within insert mode.
How does one do an inoremap for the escape key in vi?