Can you access the current file name in a vi macro?
    John Doe 
    foss at ihuxo.UUCP
       
    Fri Feb  1 04:29:44 AEST 1985
    
    
  
	Yes,
		Use the % anywhere you would use the 
		name of the file in the current buffer.
	Ex.
		:!ls %
		
		would expand to
		ls <filename>
    
    
More information about the Comp.unix
mailing list