Using Vim and ! commands

Bill Crawford billcrawford1970 at gmail.com
Fri Apr 18 17:23:18 UTC 2008


On 18/04/2008, Daniel B. Thurman <dant at cdkkt.com> wrote:

> :!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>?

Yes, ":%!sort -u" which will do all of what you want.




More information about the fedora-list mailing list