Skip to content

My current cheatsheet

Lidiane Taquehara edited this page Apr 17, 2017 · 8 revisions
Mapping Summary
d/world Delete up until the first search match for "world"

Mapping Summary
iw, aw "inner word", "a word" (a word includes the space)
ip, ap "inner paragraph", "a paragraph" ("a" includes the newline)
i), a) "inner parenthesis", "a parenthesis" (includes the parens)
i', a' "inner single quote", "a single quote" (includes the quotes)
gqip format inner paragraph

Mapping Summary
:tabnew Open a new tab
:tabedit <filename> Edit the file with the provided name in a new tab
gt Go to next tab (wraps around to beginning)
gT Go to previous tab (wraps around to end)
<C-w>T Break the current window out to a new tab

Mapping Summary
d, or x Delete the visual block selection
c Change
r Replace all characters in the block with the next character you type
I Insert text before the block
A Insert text after the block
Clone this wiki locally