I'm running 8.1.2269 in a terminal on Ubuntu 20.04 (with Regolith).

What sometimes happens, is pieces from other windows, sometimes popups get stuck on the screen. What I mean by this is for example the "refactor conventional commit" text with that background will stay in the same physical spot on my screen regardless of where I navigate in vim. The strange thing is, sometimes the text inside may change. I haven't really figured out why when it happens exactly, but usually, when I start to jump around a lot and ALE and coc.nvim are super busy in the background I think.

I'm looking for a way to clear this without having to exit and reopen vim. A proper solution would also be welcome, but I guess I just have to try and figure out which plugin actually causes this first ...

enter image description here

  • 1
    Have you grepped for some error text in the dirs of each applicable plugin? (Unless the errors are coming from a language server in which case, never mind.)
    – B Layer
    Apr 10 '21 at 7:59
  • 2
    Is this Vim (not Neovim)? Maybe :call popup_clear() will do?
    – Matt
    Apr 10 '21 at 8:06
  • @BLayer No, I didn't even know plugins log errors separately, I'll take a look!
    – fbence
    Apr 10 '21 at 11:33
  • 1
    Also try :redraw[!]/Ctrl-L
    – D. Ben Knoble
    Apr 10 '21 at 13:27
  • 1
    @Matt :call popup_clear() actually did the trick! So I guess it is some popup forgotten there by a plugin.
    – fbence
    Apr 11 '21 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.