Simple and small plugin for easy resizing and fast navigation between windows.
- Window Navigation:
- Use
<C-hjkl>
to navigate between splits. - Will create a new window, if it didn't exist earlier or move to an existing one.
- Resize Mode:
<C-m>
launches resize mode.- Use default
<hjkl>
keys to adjust the split size. <q>
to finish.
- Open Terminal:
<C-t>
to open / close terminal.- Use default
<C-\><C-n>
mapping to return to normal mode inside terminal split.
- Manual
- Copy
plugin/ez-window.vim
to~/.vim/plugin
- Copy
- Pathogen
git clone git://github.com/AnotherProksY/ez-window.git ~/.vim/bundle/vim-ez-window
- Vundle
Plugin 'AnotherProksY/ez-window'
- Vim-Plug
Plug 'AnotherProksY/ez-window'
<C-h> : New window or Move Left.
<C-j> : New window or Move Down.
<C-k> : New window or Move Up.
<C-l> : New window or Move Right.
<C-m> : Enters into Resize Mode.
<C-t> : Open terminal split.
" Change default 'Window Resize' mode mapping:
let g:resize_start_key = '<C-r>' " or any key you want
" Change 'Open Terminal' mapping:
let g:ez_terminal_key = '<C-o>' " or any key you want