Automatic Window Resizing in Vim
Too Long; Didn't Read
A common workflow in Vim is to use multiple windows to view and edit various files at the same time. Once opened though, the size of each window often remains unchanged unless explicitly resized. A nicer workflow would be for the focused window's width to automatically expand. It's accomplished with the following snippet that uses an autogroup to call a function on the " ReduceNoise" autocmd! " Automatically resize active split to 85 width" The second line equalizes the width and height for all the other unfocused windows.