Vim: resplit after window size change
Tired of having one of your splits reduced to couple of columns after unmaximizing the Vim window? Make them splits equal size after resizing window:
augroup Misc
autocmd!
autocmd VimResized * exe "normal! \<c-w>="
augroup END
Written by Dmitry Medvinsky
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#