Actually block insert mode arrow keys

This commit is contained in:
Andrew Tomaka 2014-05-09 01:15:48 -04:00
parent ed4bd6271a
commit f9d8887aca

12
.vimrc
View file

@ -85,10 +85,14 @@ map <C-s> <esc>:w<CR>
imap <C-s> <esc>:w<CR> imap <C-s> <esc>:w<CR>
" Still using arrow keys when in insert mode sometimes " Still using arrow keys when in insert mode sometimes
map <Left> <Nop> map <Left> <NOP>
map <Right> <Nop> map <Right> <NOP>
map <Up> <Nop> map <Up> <NOP>
map <Down> <Nop> map <Down> <NOP>
inoremap <Left> <NOP>
inoremap <Right> <NOP>
inoremap <Up> <NOP>
inoremap <Down> <NOP>
" Don't cancel visual mode while indenting " Don't cancel visual mode while indenting
vnoremap > >gv vnoremap > >gv