Re: Using Vim and ! commands

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

 



On 18/04/2008, Daniel B. Thurman <dant@xxxxxxxxx> 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.


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

  Powered by Linux