in my .vimrc I have the following
imap jj <ESC>
When I type jj however while in insert mode, instead of exiting insert mode VIM literally types <ESC> into my document. Hitting the escape button does take me from insert to command mode, as expected.
How do I remap jj to allow me to exit insert mode?
I am using vim 7.4 on Ubuntu 16.04