*BSD News Article 85063


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!arclight.uoregon.edu!feed1.news.erols.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!EU.net!sun4nl!oce.nl!not-for-mail!mool
From: mool@oce.nl (Bram Moolenaar)
Subject: Re: vi question
X-Nntp-Posting-Host: esc-ws27
Message-ID: <E2D28M.LA9@oce.nl>
Sender: news@oce.nl (The Daily News @ nntp01.oce.nl)
Fcc: outbox
Organization: Oce Nederland B.V. - Research & Development
References: <57g04e$46b@newshost.lanl.gov> <57l3ob$hr0@uriah.heep.sax.de> <584eac$hp@rabbit.augusta.de>
Date: Fri, 13 Dec 1996 16:38:46 GMT
Lines: 28
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32577

Somebody wrote:
>> > Is there a way to turn off the back-up feature of vi?
>> 
>> Are you sure vi is the culprit?
>> 
>> The only editor i know of that uses .bak is uemacs.  But of course, i
>> don't know many editors either.
>
>there is also most Motif editors, like nedit, asedit, asWedit ...
>
>maybe xcoral and several X-based editors too

Maybe you are using Vim?  Then you can switch off leaving backups around with
this line in your .exrc of .vimrc:

	set nobackup

Or, if you don't want backups even while writing the new file (this speeds up
writing, but there is the risk of loosing the file when the machine goes down
while writing; only use it when your file system is full):

	set nowritebackup

Hope this helps!

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Bram Moolenaar   VIM home page: <URL:http://www.math.fu-berlin.de/~guckes/vim/>
mool@oce.nl      Interested in helping orphans in Uganda? Ask me for info!