Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.3: Prevent Terminal from clearing screen after commands' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Prevent Terminal from clearing screen after commands
Authored by: Skurfer on Oct 05, '04 12:04:38AM

This was killing me, but I found the solution. Adding the following line to your .vimrc file will keep Vim from clearing the screen when it exits.

set t_ti= t_te=

Switching to vt100 is no good for those of us that use something other than (i.e. log in remotely from a Solaris or Windows machine that has a less sophisticated understanding of vt100). By changing the behavior vi and less, you can stick with xterm-color, which is more consistently defined across platforms.

[ Reply to This | # ]