[oclug] VI Q

Michael P. Soulier msoulier at digitaltorque.ca
Tue Jul 13 11:45:14 EDT 2004


On 13/07/04 Jon Earle said:

> Hi Folks,
> 
> Quick one... if I want to define a macro in vi to call a shell command
> with the name of the file I'm currently editing, what is vi's filename
> parameter reference?  I'm not yet found it on google.

% is the current file
# is the alternate

Mike

-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
The major advances in civilization are processes that all but wreck the
societies in which they occur.
-- Albert North Whitehead
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20040713/d8290509/attachment.bin


More information about the OCLUG mailing list