Using Vim and ! commands

Daniel B. Thurman dant at cdkkt.com
Fri Apr 18 16:22:27 UTC 2008


Sorry for asking a dumb question, but I cannot figure out
how to use Vim's command line to either echo the buffer
contents or the current-file using the command (!)
 
What I want is something like this:
 
:!cat <current-buffer OR current-file> | sort | uniq
 
where <current-buffer> OR current-file is used
 
Is there a special keyword that I can use for the
<current-buffer> or <current-filename>?
 
Thanks!
Dan

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.1/1384 - Release Date: 4/17/2008 3:47 PM
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080418/cd33f651/attachment-0001.htm>


More information about the fedora-list mailing list