Have following maps in your vimrc to frequently move between splitted windows:
:map [ctrl-v][ctrl-up arrow] :wincmd k [ctrl-v]enter
:map [ctrl-v][ctrl-down arrow] :wincmd j [ctrl-v]enter
:map [ctrl-v][ctrl-left arrow] :wincmd h [ctrl-v]enter
:map [ctrl-v][ctrl-right arrow] :wincmd l [ctrl-v]enter
To resize windows
:map [ctrl-v][+] :[ctrl -w]+ [ctrl-v]enter
:map [ctrl-v][-] :[ctrl -w]- [ctrl-v]enter
No comments:
Post a Comment