Vim quit insert mode when navigate with mapping keys
- by zdd
In order to move the cursor in insert mode, I add the following key maps in my .vimrc(I use vim 7.3 on Sun OS)
inoremap <Alt-h> <Left>
inoremap <Alt-j> <Down>
inoremap <Alt-k> <Up>
inoremap <Alt-l> <Right>
When I press the mapping keys, the cursor moves correct, but vim will quit insert mode and…