If you don’t have Tim Pope’s unimpaired.vim, you should. Unimpaired adds many useful pairs of mappings including one for adding an empty line above or below your current line.Continue reading »
xp to swap the character under your cursor with the one to its right.
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
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
%, Vim has
another little-known feature for showing corresponding parens when inserting.