When I used :silent to run a terminal command in the background, my vim screen goes blank, until I navigate through my code, at which point each line I move to reappears.

What gives?

1 Answer 1


This works as designed, and is documented under :help :silent:

      ":silent" will also avoid the hit-enter prompt.  When
      using this for an external command, this may cause the
      screen to be messed up.  Use |CTRL-L| to clean it up

You can also use the :redraw command.

  • 4
    I found I needed to use redraw! - without the bang it was like I'd done nothing
    – JonnyRaa
    Jan 30, 2018 at 10:38

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.