From b6958e313c7056ba007801b3489a083dc3452223 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 26 Sep 2020 16:23:35 +0100 Subject: [PATCH] VIM: Adds split movement mappings Ctrl + h,j,k,l will move between vim splits --- nvim/.config/nvim/plugin/mappings.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nvim/.config/nvim/plugin/mappings.vim b/nvim/.config/nvim/plugin/mappings.vim index 68e1b016..ff3de44c 100644 --- a/nvim/.config/nvim/plugin/mappings.vim +++ b/nvim/.config/nvim/plugin/mappings.vim @@ -8,3 +8,9 @@ vnoremap : ; " Make jj in insert mode go to normal mode inoremap jj + +" Make ctrl+hjkl change focus between windows +nnoremap h +nnoremap j +nnoremap k +nnoremap l