Your problem with Vim is that you don’t grok vi. · GitHub

rw-book-cover

Metadata

Highlights


You can move to the line containing a mark using the ’ (single quote) command. Thus ‘a moves to the beginning of the line containing the ‘a’ mark. You can move to the precise location of any mark using the (backquote) command. Thusz will move directly to the exact location of the ‘z’ mark. (View Highlight)


More powerful is the :r! command. This reads the results of a command. It’s the same as suspending the vi session, running a command, redirecting its output to a temporary file, resuming your vi session, and reading in the contents from the temp. file. (View Highlight)