Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ark1!oasys!mimsy!steelmill.cs.umd.edu!rusty From: rusty@steelmill.cs.umd.edu (Rusty Haddock) Newsgroups: comp.editors Subject: Re: Help with vi's "map" Message-ID: <26360@mimsy.umd.edu> Date: 4 Sep 90 21:19:36 GMT References: <1990Sep2.062510.27277@ecn.purdue.edu> Sender: news@mimsy.umd.edu Reply-To: rusty@steelmill.cs.umd.edu (Rusty Haddock) Distribution: usa Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 16 In article <1990Sep2.062510.27277@ecn.purdue.edu> irick@ecn.purdue.edu (GarBear Irick) writes: > >The only _problem_ is, vi now thiks that /tmp/irick/... is the new filename >of the file, so when I ZZ or :wq to get out of vi, it changes the temporary >file, not the original one. Is there a way to change the current filename >in vi WITHOUT writing over that filename? Thanks..... Try :file your-filename-here -Rusty- -- Rusty Haddock DOMAIN: rusty@mimsy.cs.umd.edu Computer Science Department PATH: {uunet,rutgers}!mimsy!rusty University of Maryland "IBM sucks silicon!" College Park, Maryland 20742 -- PC Banana Jr,"Bloom County"