On Jul 22, 2011, at 5:41 AM, Tony Berkopes wrote:

> I also found/downloaded the wc.vim script which can easily be made to update 
> the statusline. It currently uses an 'echo' to output the results. I would 
> guess, as I'm not by any means a vim expert, change it from 'echo' to 'return 
> wc_count' then use the usual set statusline+=\ [wc:%{wc}] should work. If I 
> have time I will put the code from wc.vim into the code I posted earlier so 
> the word count will be compliant with 'Strunk & White'(?).

Thanks, Tony. I'm not a programmer and am novice enough about Vim that I 
wouldn't be able to follow your suggestion for getting the output of wc.vim 
into the status line. 

Curious why you would put the wc.vim code in your script. Again, in my naiveté, 
I imagine that would be redundant. If they do do the same thing, your's is so 
much simpler. [And therefor more elegant?]

Regards,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net




-- 
You received this message from the "vim_mac" 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