Saturday, August 1, 2020

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

I start gvim with this entry in .bashrc

alias G='gvim -fg white -bg black -geom 80x45 '
and have in .vimrc
set guioptions=aeik

which works as expected and gives me a gvim that looks like vim in a tty, except that the 3 lines lost by removing the menu and toolbar are gone, and the remaining geometry is 80x42.

Making the initial geometry 80x48 to compensate does not work as this asks for a window taller than the screen, and apparently is just ignored. How can I get rid of the menu and toolbar and also maximize the window height?



--
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%2BE5mK6p0x%2Bxwy%3DnofU6O-_S5X5f1X7dKnt9Dd%3DfjcU4uWqEcw%40mail.gmail.com.

No comments: