Essentials
|
Jun 11, 2017
• Colin Bartlett
Many operations in Vim can be executed over a given number of lines. For
example, d3j
will delete the current line, plus the 3 below it. You may
find yourself reading the line numbers and then subtracting two numbers
in your head to decide how many lines to execute a command over. But
there is a better way.
Continue reading »
Essentials
|
Jun 10, 2017
• Colin Bartlett
Vanilla Vim allows you to easily fold up blocks of code to save screen space
with :fold
.
Continue reading »
Plugins
|
Jun 9, 2017
• Andrew Libby
If you use Tim Pope’s vim-dispatch, you
likely have adopted his setup to use the F9 key to run tests. It’s not
uncommon that I wish to invoke a particular test example.
Continue reading »
Plugins
|
Jun 9, 2017
• Colin Bartlett
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 »
Essentials
|
Jun 8, 2017
• Colin Bartlett
Use xp
to swap the character under your cursor with the one to its right.
Continue reading »