1
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

EDIT:

  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 '16 at 9:30
  • @nobe4 Yes, that fixed it. Can you post it as an actual answer (if you want the points) – francium Dec 26 '16 at 21:15
4

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, privacy policy and cookie policy

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