Ed S. Peschko wrote:
[...]
> As for the options in question, there is a precedent - sort is implemented
> in vim already. I can count on one hand the programs that I regularly use
> inside of the buffer, and 'uniq' is one.. 'sort' ing, and then 'uniq' ing to 
> get
> a count of uniq files is a very common metaphor.
[...]


See ":help :sort"

Vim's internal sort command has a u flag, which will do the equivalent of 
sort|uniq


Best regards,
Tony.
-- 
Posterity will ne'er survey
A nobler grave than this;
Here lie the bones of Castlereagh;
Stop, traveler, and piss.
                -- Lord Byron, on Lord Castlereagh

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui