Jeri Raye wrote:
> can you let vim count the occurences of these words and add a
> number before them and delete all but the first one?

This is straight from Believe It Or Not:
http://vim.wikia.com/wiki/Word_frequency_statistics_for_a_file

I mention that tip more for the entertainment of regulars than
as a practical solution because the tip is not presented in a
very helpful manner. However, I have tried it, and it really
does count all words in the current file (not exactly what you
asked for).

John


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

Reply via email to