On Thu, Apr 18, 2019 at 6:16 AM <[email protected]> wrote: > Hi, > > I'm the user who originally reported this. > > On Thursday, April 18, 2019 at 8:43:31 AM UTC+2, Christian Brabandt wrote: > > Yes as mentioned before, it might be unexpected, that the last output > > from a command or a plugin will be erased just by switching the tabpage. > > > > Or perhaps said differently: Why would you expect message output to be > > cleared just by switching the tabpage? (and the answer is not, because > > that's what Vim used to do ;)) > > When the tab is switched, the context usually changes. So the command > output is likely no longer relevant (or that's my personal feeling - I know > too little about vim to have a strong opinion on this). > > Is there a way to force clearing the output programmatically in vimrc? If > so, that would probably be enough for me. >
Yes: all you need to do is use an autocommand event like say TabEnter or TabLeave to do e.g. ':silent redraw` whenever a tab is entered/left. There is no reason to change Vim here. -Manny -- -- 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.
