Tuesday, June 24, 2014

Re: Make gVim open in a larger window

On Tuesday, June 24, 2014 10:40:32 PM UTC+12, DwigtArmyOfChampions wrote:
> I guess this is more of a Windows 7 question than a Vim question...

No, it's a vim question, IMO.

>but when I double-click on a file in Windows Explorer and it opens in gVim, the window is very small and I always have to enlarge it. How do I make the window appear larger?

If you have

set lines=60 columns=100

in your .gvimrc, you get 60 lines and 100 columns. See :help gvimrc to find where yours is; it might be called _gvimrc and it might be where vim is running from or it might be in your home directory. Or, you can put it in your .vimrc (might be called _vimrc) in which case it could look like

if has('gui_running')
set lines=60 columns=100
endif

Regards, John Little

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment