In my vimrc
, I have the following:
set lazyredraw
set showtabline=2
With both these options set, every time I start gVim, the window is a couple lines shorter than it should be. Even if I use set lines=999
in vimrc
, it still ends up not filling the screen vertically. It also doesn't matter what order these commands are in.
If I remove either one from vimrc
and set it manually after gVim has opened, it works as expected.
I've tried using autocmds on the following events: GUIEnter
, VimEnter
, BufWinEnter
, BufEnter
, BufNew
, BufAdd
, BufCreate
, FileType
. In each case, the command either didn't run or had the same effect as before.
Vim version: VIM - Vi IMproved 7.4 (2013 Aug 10 ...)
Edit: Still having the issue with VIM - Vi IMproved 8.1 (2018 May 18 ...)
. Should also note that this is on Linux.
How can I have both these options (preferably in both Vim an gVim) set from the start?
VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 23 2019 14:22:57)
). Still has the same issue though.