Actually block insert mode arrow keys
This commit is contained in:
parent
ed4bd6271a
commit
f9d8887aca
1 changed files with 8 additions and 4 deletions
12
.vimrc
12
.vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue