sponsor Vim development Vim logo Vim Book Ad

equalise-window-widths.vim : Equal width windows in one operation

 script karma  Rating 1/1, Downloaded by 320  Comments, bugs, improvements  Vim wiki

created by
Wall Fur
 
script type
utility
 
description
Provides a function to equalise only the widths of windows within a tab, without affecting their heights.. i.e. a 1-dimensional version of
<C-w> =
It also works on windows with fixed heights/widths, like debuggers and sidebars.
 
install details
Put the script file into .vim/plugin/ and call the function EqualiseWindowWidths() from wherever you need. I recommend you add a mapping to it such as this, as it has none by default.

nnoremap <Leader>= :call EqualiseWindowWidths()<CR>
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
equalise-window-widths.vim 1.0.0 2019-08-05 7.0 Wall Fur Initial upload
ip used for rating: 18.116.42.208

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github