You must follow Eric'comment.
However, I have these lines in my .vimrc:
- EDIT -
I know that this answer is not selected, but I learned something thanks to the comments of ZyX, so this is editing.
The lines below should be written as follows:
nnoremap <Esc>A <up> nnoremap <Esc>B <down> nnoremap <Esc>C <right> nnoremap <Esc>D <left> inoremap <Esc>A <up> inoremap <Esc>B <down> inoremap <Esc>C <right> inoremap <Esc>D <left>
I am afraid that many people make the same mistake as me: the original solution to the output code seems to be everywhere on the network from Vim wiki to SO through a lot of forums.
- END EDIT -
nnoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>A <up> nnoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>B <down> nnoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>C <right> nnoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>D <left> inoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>A <up> inoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>B <down> inoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>C <right> inoremap <type ctrl+v then Esc to obtain a single char that looks like ^[>D <left>
and there was no need to remove the plugin.
romainl 04 Oct 2018-11-11T00: 00Z
source share