VIM: Adds split movement mappings

Ctrl + h,j,k,l will move between vim splits
master
Jonathan Hodgson 4 years ago
parent 8a99723c51
commit 05cf5d188c
  1. 6
      nvim/.config/nvim/plugin/mappings.vim

@ -8,3 +8,9 @@ vnoremap : ;
" Make jj in insert mode go to normal mode " Make jj in insert mode go to normal mode
inoremap jj <Esc> inoremap jj <Esc>
" Make ctrl+hjkl change focus between windows
nnoremap <c-h> <c-w>h
nnoremap <c-j> <c-w>j
nnoremap <c-k> <c-w>k
nnoremap <c-l> <c-w>l

Loading…
Cancel
Save