Welcome to WebmasterWorld Guest from 54.145.209.34

Forum Moderators: bakedjake

vim: don't show last file edited above shell prompt

   
8:54 am on Jan 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi,

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?

many thanks

12:51 pm on Jan 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

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.

Rgds

Damon

5:26 pm on Jan 15, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks damon,

my eyes glazed over looking at /etc/termcap ;) the clear tip is a good one.

james

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month