Ignore arrow keys

This commit is contained in:
Anthony Rose 2015-11-20 10:27:25 +00:00
parent dcbadf8183
commit 3c8ba08bfe

8
vimrc
View file

@ -1,10 +1,18 @@
silent! runtime bundle/vim-pathogen/autoload/pathogen.vim silent! runtime bundle/vim-pathogen/autoload/pathogen.vim
silent! execute pathogen#infect() silent! execute pathogen#infect()
inoremap <down> <nop>
inoremap <left> <nop>
inoremap <right> <nop>
inoremap <up> <nop>
nmap <silent> <A-Down> :wincmd j<CR> nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR> nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR> nmap <silent> <A-Right> :wincmd l<CR>
nmap <silent> <A-Up> :wincmd k<CR> nmap <silent> <A-Up> :wincmd k<CR>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
nnoremap <up> <nop>
set autoindent set autoindent
set background=dark set background=dark
set colorcolumn=73 set colorcolumn=73