mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Still allow Vim arrow keys while in INSERT mode
This commit is contained in:
parent
89c72683e3
commit
181e87f082
2
.vimrc
2
.vimrc
@ -60,7 +60,7 @@ let g:auto_save = 1 " enable AutoSave on Vim startup
|
|||||||
|
|
||||||
let mapleader="\<space>"
|
let mapleader="\<space>"
|
||||||
" Unbind arrow keys
|
" Unbind arrow keys
|
||||||
for prefix in ['i', 'n', 'v']
|
for prefix in ['n', 'v']
|
||||||
for key in ['<Up>', '<Down>', '<Left>', '<Right>']
|
for key in ['<Up>', '<Down>', '<Left>', '<Right>']
|
||||||
exe prefix . "noremap " . key . " <Nop>"
|
exe prefix . "noremap " . key . " <Nop>"
|
||||||
endfor
|
endfor
|
||||||
|
Loading…
Reference in New Issue
Block a user