commit d3e7e927ab40398ed2144d9bd6b1504a5bf11cd7
parent d84efa12de276d59d9467e467f71452b2602e482
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 24 Sep 2018 16:53:50 +0200
Vim keybinds to resize window splits
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/vim/map.vimrc b/vim/map.vimrc
@@ -42,6 +42,12 @@ nnoremap zh mzzt10<c-u>`z
nnoremap <C-t> :tabnew<cr>
nnoremap <C-c> :tabclose<cr>
+" Window resizing mappings
+nnoremap <C-k> <C-w>+
+nnoremap <C-j> <C-w>-
+nnoremap <C-h> <C-W>>
+nnoremap <C-l> <C-W><
+
" Delete hidden buffers
nnoremap <leader>dh :DeleteHiddenBuffers<cr>