enable hjkl between splits

This commit is contained in:
Thomas Ruoff
2015-01-30 00:37:18 +01:00
parent 15d9a0dd3b
commit d9704161a5

10
vimrc
View File

@@ -40,6 +40,8 @@ NeoBundle 'airblade/vim-gitgutter'
NeoBundle 'rking/ag.vim'
NeoBundle 'christoomey/vim-tmux-navigator'
NeoBundle 'vim-airline'
NeoBundle 'chriskempson/base16-vim'
@@ -174,6 +176,14 @@ nmap gy ggVGy
nnoremap j gj
nnoremap k gk
" Easier split navigation
" Use ctrl-[hjkl] to select the active split!
nmap <silent> <c-k> :wincmd k<CR>
nmap <silent> <c-j> :wincmd j<CR>
nmap <silent> <c-h> :wincmd h<CR>
nmap <silent> <c-l> :wincmd l<CR>
"" fast window switching
map <leader>, <C-W>w