Tuesday, August 4, 2020

Re: gvim: how remove menu and toolbar, but keep original geometry

Thanks for your help, John, but no luck, I get the same behavior. My DE is called LXDE, I believe, with Openbox the WM.
I was thinking maybe Lubuntu's gvim is compiled to have no more than 42 lines, in which case I'll just live with it, keep using vim in xterm and only use gvim when I need to be able to see the full utf-8 character set.

On Mon, Aug 3, 2020 at 3:35 PM John Little <john.b.little@gmail.com> wrote:

> except that the 3 lines lost by removing the menu and toolbar are gone, and the remaining geometry is 80x42.

On my KDE I get the behaviour you want.  What's your DE? 

Also, in case there's something in your set up, f.ex. something in the .vimrc which triggers the GUI to start before the setting of guioptions, try

    gvim --clean --cmd 'set go=aeik' -geom 80x80

If that works, you could move stuff around in the .vimrc and .gvimrc to find the cause.  Or, maybe put the set go in the alias.  I get your issue if I use :set lines= after gvim starts.

In KDE, I can force the size of gvim window, and make it larger than the screen, but having forced the size, it can't be changed subsequently.

Regards, and HTH, 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/3cfd005f-a85e-4a67-8446-26af18a2b44do%40googlegroups.com.


--
Graham Lawrence

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CA%2BE5mK6S6FzWqhUs%3D209pEQoB1ayTBOcYf7GKdF4S00%3Dv%3Dv0eg%40mail.gmail.com.

No comments:

Post a Comment