Last Updated: February 25, 2016
·
978
· alexparamonov

Splits auto resize

You can make split bigger when focus it in VIM.
So you'll have bigger working area exactly where you need it.

Install plugin using vundle or any other bundler:

Bundle "roman/golden-ratio"

And voila! Your splits are resizing when you switch to them.
But sometimes it becomes confusing, so I disabled automatic resize:

" Golden ratio
let g:golden_ratio_autocommand = 0

And map autoresize toggle to a F key:

" Golden ratio
nnoremap <F7> :GoldenRatioToggle<CR>