Add keyboard shortcuts to switch windows

This commit is contained in:
Anthony Rose 2015-10-22 10:15:02 +01:00
parent a9278872af
commit cd6b2eb59b

4
vimrc
View file

@ -1,6 +1,10 @@
silent! runtime bundle/vim-pathogen/autoload/pathogen.vim silent! runtime bundle/vim-pathogen/autoload/pathogen.vim
silent! execute pathogen#infect() silent! execute pathogen#infect()
nmap <silent> <A-Up> :wincmd k<CR>
nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR>
set autoindent set autoindent
set background=dark set background=dark
set colorcolumn=72 set colorcolumn=72