sponsor Vim development Vim logo Vim Book Ad

Toggle Window Size : Toggle the OS Window size(s) of GVIM

 script karma  Rating 6/3, Downloaded by 676  Comments, bugs, improvements  Vim wiki

created by
john kendall
 
script type
utility
 
description
This will maximize/restore the height and width of the OS Window containing GVIM.  It allows you to specify what the maximum sizes are and will restore the original size and position.
 
install details
just source it in your .vimrc or .gvimrc as:
source tws.vim
 

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
tws.vim 0.2 2006-05-25 6.0 john kendall 5/25/06 --
fixed to use variables instead of hard-coded values for columns and lines
            Thanks to Ilya at po4ta.com for the tip!
Enhanced to (attempt to) keep track of window position for restore
tws.vim 0.1 2006-05-24 7.0 john kendall Initial upload
ip used for rating: 3.145.42.94

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