Date: Fri, 2 Nov 2007 18:09:15 -0700 (PDT) From: Philip Hallstrom <freebsd@philip.pjkh.com> To: Jerry McAllister <jerrymc@msu.edu> Cc: Yuri <yuri@rawbw.com>, yuri@tsoft.com, freebsd-questions@freebsd.org Subject: Re: vim doesn't preserve the terminal content Message-ID: <20071102180753.Q89485@bravo.pjkh.com> In-Reply-To: <20071102222500.GB49562@gizmo.acns.msu.edu> References: <1194038987.472b96cb09026@webmail.rawbw.com> <20071102222500.GB49562@gizmo.acns.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>> I use vim both on Linux and FreeBSD. >> On Linux after I exit vim original screen content is restored. >> On FreeBSD vim leaves the last content viewed in vim. >> >> How do I make vim preserve the screen? > > I don't know how to do that, but it is one Lunix (bash?) feature > that I hate and would like to know how to change it to function > the way it does under FreeBSD (tcsh). I hate it when it restores my screen and to prevent that in linux I added this to my .vimrc: set t_ti = set t_te = So read about whatever those options mean and set them accordingly... -philip
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071102180753.Q89485>