homepage Welcome to WebmasterWorld Guest from 54.196.195.38
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

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




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

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

 

DamonHD




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

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

jamie




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

thanks damon,

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

james

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved