Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 exptools 1/6/84; site ihuxo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!ihuxo!foss From: foss@ihuxo.UUCP (John Doe) Newsgroups: net.unix Subject: Re: Can you access the current file name in a vi macro? Message-ID: <426@ihuxo.UUCP> Date: Thu, 31-Jan-85 13:29:44 EST Article-I.D.: ihuxo.426 Posted: Thu Jan 31 13:29:44 1985 Date-Received: Sat, 2-Feb-85 00:52:32 EST References: <153@wanginst.UUCP> Distribution: net Organization: AT&T Bell Labs, Naperville, IL Lines: 14 Yes, Use the % anywhere you would use the name of the file in the current buffer. Ex. :!ls % would expand to ls