Vim

Text Objects

Object

Normal form

Inner form

word

aw

iw

whole word

aW

iW

subword

ad

id

any pair

as

is

any quote

aq

iq

double quote

a"

i"

single quote

a'

i'

back tick

a`

i`

curly bracket

a{ a} aB

i{ i} iB

square bracket

a[ a[

i[ i]

angle bracket

a< a>

i< i>

tag

at

it

paragraph

ap

ip

indentation

ai

ii

comment

a/

i/

function

af

if

current line

al

il

entire

ae

ie

Terms

motions

Actions that move the cursor

operators

Transformations that are applied to text objects

text objects

Logical groupings of text characters

normal form

Includes delimiting characters

inner form

Excludes delimiting characters

Resources