Wednesday, December 7, 2011

Re: gvim window size narrower than normal

于 2011年12月07日 17:44, John Little 写道:
> On Dec 6, 6:27 pm, alick <alick9...@gmail.com> wrote:
>>
>> When I am in gnome-terminal(80x24) and type gvim to start GVim(GTK),
>> the window lines is less than normal(24 lines). ....
>
> Just a few ideas:
>
> - Maybe there's an X resource affecting gvim. You might check the
> output of xrdb -query, maybe grep -i for vim.
> - GTK is a murky world, maybe there's a gtkrc file somewhere
> - gvim honours a -geometry argument. I use a bash alias
>
> alias v='gvim -geometry 80x60'
>
> You could use this as a workaround.
>

Thank you John. But I still don't get it right (in Gnome Shell).
Here's some additional info:

* xrdb -query gives no info about vim
* 'gvim -geom 80x24' works just like 'gvim', randomly incorrect size.

However, I found no problem while using Fvwm (no gnome-session) as WM.
gvim behaves always right (at least, so far).

--
alick
Fedora 16 (Verne) user
https://fedoraproject.org/wiki/User:Alick

--
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

No comments: