Chris Suter wrote: > Hahaha. Brilliant -- it's actually an implementation of the > map reduce word count algorithm in vim. I've used something > similar to the 3rd step before to create a list of numbers in > increasing order (i.e. 10i0<CR><ESC>10kqqvawyjvawp^a...@q) and > I *almost* suggested something along these lines but figured > no one would want such a solution. Lol. Thanks for sharing!
I am going to blame you for encouraging me to make a user command to run the code more easily. It is surprisingly sweet, although I definitely have to do some other stuff now, so I will leave testing the code as an exercise for the reader. http://vim.wikia.com/wiki/Word_frequency_statistics_for_a_file John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
