When I'm in the GUI, I like to have a large-ish vim window: 161 columns, so I can
:vsplit it into two 80 column windows (with 1 extra column for the gutter.) This works perfectly fine if I do it by hand, but if I try to
:vsplit in my
.vimrc, I get a 40 column window and a 120 column window.
The appropriate part of my
.vimrc is here:
if has("gui_running") " GUI is running or is about to start. set lines=51 columns=161 set guioptions -=T set guifont=InputMono:h10 " Split the window set equalalways vsplit endif
Can anyone say what's going on here?