vim plugin to automatically resize your vim splits as you move between them
Idea and implementation is taken from this post
Just use anything you like: pathogen, vundle, neobundle, vim-plug, etc
g:splitresize_map_keys
- enables default key mappings.
Defaults are these: <C-J>
, <C-K>
, <C-L>
, <C-H>
If you want to change this, you could write something similar to how its actually defined:
nnoremap <silent><C-J> <C-W><C-J>:call Splitresize()<CR>
nnoremap <silent><C-K> <C-W><C-K>:call Splitresize()<CR>
nnoremap <silent><C-L> <C-W><C-L>:call Splitresize()<CR>
nnoremap <silent><C-H> <C-W><C-H>:call Splitresize()<CR>