Show Menu
Cheatography

vim commands Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Commands structure

<nu­mbe­r><­com­man­d><text object or motion>
<nu­mbe­r>
- perform the command over multiple text objects or motions,
 
<co­mma­nd>
is an operation, e.g., change, delete (cut), or yank (copy)
 
<text object or motion>
an either be a text construct, e.g., a word, a sentence, a paragraph, or a motion, e.g., forward a line, back one page, end of the line.
 

Text Objects

aw
a word (includes surrou­nding white space)
iw
inner word (does not include surrou­nding white space)

Sentences

as
a sentence
is
inner sentence

Paragraphs

ap
a paragraph
ip
inner paragraph
 

Strings

a”
a double quoted string
i”
inner double quoted string
a’
a single quoted string
i'
inner single quoted string
a`
a back quoted string
i`
inner back quoted string