Using Vim and ! commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux