Word count


I frequently need to count words in a file from inside Vim. There are many ways to do this:

* this uses the external utility ”wc”: ”:!wc %”
* count words in the file: ”g”. More [[http://www.vim.org/tips/tip.php?tip_id=689 | in this Vim tip]]

One comment