I need to figure out a regular expression to delete all lines that do not begin with either "+" or "-".
I want to print a paper copy of a large diff file, but it shows 5 or so lines before and …
Sometimes I want to see how many times a certain function is called in a file or a code block. How do you do that? I am using Vim 7.2.
I presume you have to use !wc or some such.