1
0
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:
Joe Groocock 2016-10-21 00:04:45 +01:00
parent 89c72683e3
commit 181e87f082
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

2
.vimrc
View File

@ -60,7 +60,7 @@ let g:auto_save = 1 " enable AutoSave on Vim startup
let mapleader="\<space>"
" Unbind arrow keys
for prefix in ['i', 'n', 'v']
for prefix in ['n', 'v']
for key in ['<Up>', '<Down>', '<Left>', '<Right>']
exe prefix . "noremap " . key . " <Nop>"
endfor