On Wed, May 1, 2019 at 1:16 PM Tony Mechelynck
<[email protected]> wrote:
>
> According to the help, 'cmdheight' is global. However, :tabnew followed by 
> setlocal ch=3 changes it only for the new tab; but by going back to the 
> previous tab and returning to the new tab, setl ch? answers cmdheight=3 but 
> the actual height is 2 (as was set by my .vimrc and is set in the older tab). 
> Even stranger: :setg ch? answers 3 in the new tab but 2 in the older tab; the 
> actual height is 2 in both, and Ctrl-L doesn't change that. From that point 
> on, the visible command-line height in the new tab is one less than the value 
> the option is set to, even if I change the value.
>
> There is something weird going on but I'm not sure exactly what.
>
> I tested this on gvim 8.1.1240 with GTK2.

P.S. Closing the new tab when its displayed command-line is 1 goes
back to the older tab, but there the displayed height is now also
wrong: it is 1 but says 2. The only way I've found to go back to
"proper" functioning is to shut down and restart gvim.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui