* Harald Kröll [2007.03.22 13:30]:
> Is there some function or script to count
> characters (letters without whitespaces) in vim?

One way is to use the 'substitute' command's
ability to tell you how many items it replaced. So
if you type:

:%s/\S/&/g

You will get a message saying how many non-blank
characters were found and replaced by themselves.

-- 
JR

Reply via email to