colorscheme leya
set background=light

whole .vimrc https://gist.github.com/francium/e29aa1600abd158fe08b34218e1f3bd6

Only happens when you scroll down using j

Tried it with another light theme, wikipedia -- Same issue

Leya -- https://github.com/marlun/vim-starwars

Wikipedia -- https://github.com/mtglsk/wikipedia.vim


  1. Just tried without any .vimrc, same result.

  2. Toggling NERDTree fixes the issue

  • 1
    can you try adding set t_ut= in your vimrc?
    – nobe4
    Dec 26, 2016 at 9:30
  • @nobe4 Yes, that fixed it. Can you post it as an actual answer (if you want the points)
    – francium
    Dec 26, 2016 at 21:15

1 Answer 1


The following configuration fixed OP's issue:

set t_ut=

This says to Vim to use the current background's color to clear the screen.

Related answer: https://stackoverflow.com/a/15095377/2558252

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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