Vim tip: Word count
Posted by: nico on
Apr 20th, 2010 |
Filed under: Vim Tips
First method: Type ggVgY”*p to copy the whole text. Then paste it into word and use word count.
Second method: Type %!wc -w, which executes wc on each line.
Third method: Type g^g (g, CTRL+g) and watch the bottom of your screen.
As ussual, Vim rocks.




Add A Comment