Insert shell output in document
Vim can easily execute a shell command with the !
. But you can just as easily insert the output of that command into your document.
Vim can easily execute a shell command with the !
. But you can just as easily insert the output of that command into your document.
You’re probably already familiar with u
and Ctrl-r
to undo and redo changes in Vim. But did you know Vim has a built in time machine?
In addition to jumping to the corresponding
paren with %
, Vim has
another little-known feature for showing corresponding parens when inserting.
Vim has a simple way to jump to the corresponding opening or closing
parenthesis: %
. Your cursor will effortlessly bounce from closing to opening
or vice versa.
Everyone knows j
and k
will move you up and down a line in Vim. But did you
know there’s a simple way to move to the next blank line in Vim?