Sample Header Ad - 728x90

Running external commands in vim

6 votes
3 answers
5932 views
It seems that if I run the following inside the vim: :w !wc -w I get the word count of the file. But I don't understand the syntax. How does this work and how would I specify that I want the word count of a paragraph and not of the whole file?
Asked by Cratylus (529 rep)
Jun 16, 2013, 10:36 AM
Last activity: Jun 2, 2023, 02:34 PM