A while back I started using
guioptions +=k to (from
Keep the GUI window size when adding/removing a scrollbar, or toolbar, tabline, etc. Instead, the behavior is similar to when the window is maximized and will adjust 'lines' and 'columns' to fit to the window. Without the 'k' flag Vim will try to keep 'lines' and 'columns' the same when adding and removing GUI components.
However, now I can't seem to turn it off, and it may (or may not) be responsible for a problem: If I use a command such as
:pwd the response immediately disappears as the bottom of the window does a little spasm and replaces the command output with the line that ends, e.g., "1,0-1 All" (dunno what that is called).
The same goes for things such as error messages -- all I see is a red flash and there is no time to read them. Fortunately,
:messages works, so I can find out what they were.
help error mentions there is a limit to how long some messages will appear, but no means to set that. I don't have this problem in non-GUI vim, in which case the output remains visible until I access the command line again.