Skip to content

Instantly share code, notes, and snippets.

@ifels
Last active August 29, 2015 14:07
Show Gist options
  • Save ifels/c6f0b76b2d31c64f4a04 to your computer and use it in GitHub Desktop.
Save ifels/c6f0b76b2d31c64f4a04 to your computer and use it in GitHub Desktop.
Vi 文本对象
分隔符文本对象
a) or ab | A pair of (parentheses)
i) or ib | Inside of (parentheses)
a} or aB | A pair of {braces}
i} or iB | Inside of {braces}
a] | A pair of [brackets]
i] | Inside of [brackets]
a> | A pair of <angle brackets>
i> | Inside of <angle brackets>
a’ | A pair of 'single quotes'
i’ | Inside of 'single quotes'
a" | A pair of "double quotes"
i" | Inside of "double quotes"
a` | A pair of `backticks`
i` | Inside of `backticks`
at | A pair of <xml>tags</xml>
it | Inside of <xml>tags</xml>
范围文本对象
iw | Current word
aw | Current word plus one space
iW | Current WORD
aW | Current WORD plus one space
is | Current sentence
as | Current sentence plus one space
ip | Current paragraph
ap | Current paragraph plus one blank line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment