vim doesn't clear screen inside of screen
I have a question about vim and scrollback.
So when i exit vim, I'm used to vim usually erasing all evidence of it having ever run, and returning to the commandline with the previous command right above it, like this:
[eddie@db1 ~]$ vim
[eddie@db1 ~]$
ie, you can see that I ran vim, but you can't see any of the vim windows or anything, because when I exited, vim erased all of itself, so now all you see is the command I used to get into it.
HOWEVER, now that I'm using screen, and running vim within that, vim doesn't erase itself when I exit, so it muddies up my terminal scrollback with a bunch of old vim windows etc.
Any ideas how i can get it to work how I'm used to within screen, that is to say, when I exit vim, vim will clear up all characters that it placed into the terminal?
|