Verbs, Nouns & Adverbs
dap
- Delete Around Paragraphyib
- Yank In Bracketsyap
- Yank Around Paragraphdas
- Delete Around Sentencedi'
- Delete in quotes<ii
- Shift current block to the left (provided by vim-indent-object)
Find & Search within file
f<x>
- Go to next occurence ofcharacter
dt<x>
- Delete up to, but not including, the next occurence of characterx
df<x>
- Delete to and including the next occurence of characterx
*
- Search for next occurence of word under cursor/<word>
- Search for word within file; pressingn
to go to next occurence of word.?<word>
- Search backwards for word within file; pressingn
to go to previous occurence of word.
Search and replace within file
:%s/foo/bar/g
- Find all global occurences offoo
and replace withbar
Search for files from project root
:find filename.txt
- Find filename from project root, with tab completion.
Buffers
:b partialFilename
- Type fuzzy filename of an open buffer, tab to cycle through possible matches