Maybe this article could help:

http://stackoverflow.com/questions/114431/fast-word-count-function-in-vim/120386<http://stackoverflow.com/questions/114431/fast-word-count-function-in-vim/120386#120386>

I used the code from the last comment, although nobody voted for it.

On Thu, Jul 21, 2011 at 10:20 PM, Eric Weir <[email protected]> wrote:

>
> I would like to have a word count plugin to replace the g<C-g> command. The
> results of the latter are displayed so briefly and amongst other details
> that it is hard to be certain what they are.
>
> I've found a "manuscript word count" plugin at vim.org. The creator
> explains that "Standard word count utilities (like unix 'wc') do not provide
> an accurate count because they count breaks between words.  In fiction
> writing, some sentences--like this one--have more words than breaks between
> words."
>
> So it does what I want but there are no installation instructions and I'm
> not certain how to install it. I put it in ~/.vim/plugin and reloaded Vim
> but it does not work.
>
> Suggestions for getting the plugin to work would be appreciated.
>
> Likewise regarding alternatives to it and the built-in word count command.
>
> Thanks,
>
> ------------------------------------------------------------------------------------------
> Eric Weir
> Decatur, GA  USA
> [email protected]
>
>
>
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to