Loading ...
Sorry, an error occurred while loading the content.

Re: count chars / words in a file ??

Expand Messages
  • John Sumsion
    ... or if you just want to see it on the screen -- why not use g ? ... John...
    Message 1 of 4 , Apr 29, 2003
    • 0 Attachment
      At 05:27 AM 4/29/2003, Yakov Lerner wrote:
      >Hansjoerg Graesslin wrote:
      >>can anybody explan to me as i am not an expert using
      >>regular expressions, how to count the words//chars
      >>in the actual opened file using vim ?
      >
      >How about this:
      >To count words:
      > :g/\</s//&/g

      or if you just want to see it on the screen -- why not use g<Ctrl-G>?

      :help g_CTRL-G

      John...
    Your message has been successfully submitted and would be delivered to recipients shortly.