How do I change the location and size of a GUI Vim window?
You can use the “winpos” command to change the Vim window position. To change the size of the window, you can modify the “lines” and “columns” options. For example, the following commands will position the GUI Vim window at the X,Y co-ordinates 50,50 and set the number of lines to 50 and the number of columns to 80.
:winpos 50 50 :set lines=50 :set columns=80
The arguments to the ‘winpos’ command specify the pixel co-ordinates of the Vim window. The ‘lines’ and ‘columns’ options specify the number of lines and characters to use for the height and the width of the window respectively.