Path: utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.editors Subject: Re: vi: how to do :e !$ ?? AKA I try again :-) Keywords: vi filenames Message-ID: <1991Jan31.135652.1136@convex.com> Date: 31 Jan 91 13:56:52 GMT References: <4729@male.EBay.Sun.COM> <1991Jan30.175602.400@convex.com> <4748@male.EBay.Sun.COM> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 21 Nntp-Posting-Host: pixel.convex.com From the keyboard of carl@mugwump.UK.Sun.COM (Carl Johnson - Sun EHQ - MIS): : : prompt> vi afile.c : : editeditedit : : :e completeltnewfile.c : : eror msg saying I haven't written my changes : I dont care so.. : : :e! some_amazing_vi_command that will let me reference the last file Do try :e!# and see whether that doesn't work. # is the last file named, % is the current one. --tom -- "Hey, did you hear Stallman has replaced /vmunix with /vmunix.el? Now he can finally have the whole O/S built-in to his editor like he always wanted!" --me (Tom Christiansen )