| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|vim: don't show last file edited above shell prompt|
| 8:54 am on Jan 14, 2008 (gmt 0)|
on our new server, everytime i exit from vim, the last file remains on my screen above the shell prompt. on our previous one it disappeared and i was able to see my last commands.
i can't find any setting in .vimrc which is different. does anyone know how to disable this?
| 12:51 pm on Jan 14, 2008 (gmt 0)|
I believe it depends more on your terminal characteristics and termcap than on any particular vi[m] settings.
Just type 'clear' or the equivalent at the shell, or use your terminal's 'clear scrollback' feature if leaving stuff on the screen is a problem.
| 5:26 pm on Jan 15, 2008 (gmt 0)|
my eyes glazed over looking at /etc/termcap ;) the clear tip is a good one.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved