22

The default window size appears to be 24x80 but I'd prefer to set it so new windows appear in the size 50x90. Is there a way to set this default?

nohat
  • 1,265

3 Answers3

32

try setting the following line in ~/.gvimrc

set lines=50 columns=90

Gren
  • 1,334
0

I tried the full set lines=## columns=## but it did not work.

What I found is that using two set commands, one for each option, did work:

set lines=##
set columns=##
0

Like Gren said, but for the command line. On my Mac the --geometry argument is not supported

alias gv='mvim -c "set lines=50 columns=98" -p'
FDS
  • 101