于 2011年12月08日 13:50, alick 写道: > 于 2011年12月07日 17:44, John Little 写道: >> On Dec 6, 6:27 pm, alick <[email protected]> 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). > I've been using Fvwm these days. No such strange behavior happens under Fvwm. Also, I try to use GNOME fallback mode a bit, and also no strange there. Strange things just occur with GNOME Shell. Currently little time and skill to dig into this issue :(
To sum up, I found a walkaround: just change a WM/DE. (Well, this is also strange, huh?) -- 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
