I'm guessing lots of people get this problem, but I can't seem to find any other threads/questions about it anywhere. I guess it's difficult to capture in keywords.
Basically, Vim doesn't draw the background color when scrolling up in places where there is no text. I've also seen it on my friend's Mac, so it's not peculiar to my setup.
I have a pretty big vimrc, but I get the same problem without a vimrc and setting :colorscheme
blue.
I'm using gnome-terminal on Ubuntu 11.10 (Oneiric Ocelot). It's a fairly clean install that I set up only a few days ago, so there's not really any funny business going on. I expect this would happen out of the box.
I've not had this problem in other contexts e.g. over SSH with PuTTY or previous versions of Ubuntu which I'm guessing was also gnome-terminal.
What's going on?
set t_ut=
to your .vimrc configuration – Freedwomanvim
is trying to be efficient at updating the terminal screen. It doesn't redraw any more than it thinks it has to. Spaces remain spaces, so it believes it doesn't need to redraw them. Blank space is treated the same. This could be in an underlying layer, such ascurses
, which may take it out of vim's control. – Scevor