Key mappings are definitely the way to go. I use the comparisons mentioned above. I also include the following mappings in my vimrc to move the partitions themselves.
" Move the splits arround! nmap <silent> <csk> <CW>k nmap <silent> <csj> <CW>j nmap <silent> <csh> <CW>h nmap <silent> <csl> <CW>l
This makes it so that if the split opens in the wrong place (say, the left side, and I want it on the right), I go to that split and <CSl> , and the split moves to where I want.
Sam Brinck May 19 '11 at 14:17 2011-05-19 14:17
source share