Commits

Anonymous committed ced99a6

Turn off arrow keys in normal and insert modes

Comments (0)

Files changed (1)

 " My non-GUI Vim customizations
 " Maintainer: Jon Maken
 " License: Apache 2.0
-" Last Change: 2013-03-17 20:42:31 -0600
+" Last Change: 2013-03-18 19:20:08 -0600
 
 " set custom key mapping prefix, aka the <Leader>
 let mapleader = ","
 " do Perl/Python regex pattern searching rather than Vim's defaults
 nnoremap / /\v
 vnoremap / /\v
+
+" disable arrow keys in normal and insert modes
+nnoremap <up> <nop>
+nnoremap <down> <nop>
+nnoremap <left> <nop>
+nnoremap <right> <nop>
+inoremap <up> <nop>
+inoremap <down> <nop>
+inoremap <left> <nop>
+inoremap <right> <nop>