VIM: Adds split movement mappings

Ctrl + h,j,k,l will move between vim splits
Jonathan Hodgson 4 years ago
parent 3b02022de9
commit b6958e313c
  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