toggle_maximize.vim : Keybinds to temporarily maximize the current window, squashing the rest.
| script karma
Downloaded by 262
Comments, bugs, improvements
script versions (upload new version)
|Vim can support complex window layouts, but they can put users off because
they reduce the size of the main editing window. ToggleMaximize addresses
this issue, by allowing the user to switch between a large editor window,
and his own complex window layout.
Press Ctrl-F or Ctrl-\ to maximize the size of the current window, press
again to restore the original window layout.
Ctrl-V and Ctrl-H toggle maximize in vertical/horizontal direction only.
Maximization is forced to respect winminwidth and winminheight, so if you
have these set, other windows will not fully shrink to the edges.
If the user changes the size of any windows after maximizing, the script
still thinks the toggle is ON, so next time it is used it will restore your
old layout, rather than re-maximize (unlike some window managers).
|drop it in plugin/
Edit the bottom of the file to choose what keys you want to use.
Default keys are:
C-F toggle maximize
C-V toggle vertical maximize
C-H toggle horizontal maximize
Click on the package to download.
ip used for rating: 220.127.116.11