Sentence and Paragraph
is / as / ip / ap โ for prose.
Keys: is, as, ip, ap
is is the sentence containing the cursor. ip is the paragraph. The 'a' variants include trailing whitespace.
Most of Vim's text objects are for code. These two are for prose โ sentences and paragraphs as units of text.
Change the sentence the cursor is in
Delete the sentence + trailing whitespace
Visual-select the paragraph
Reformat the paragraph (line-wrap)
is / as โ sentence
ip / ap โ paragraph
Reference
| Object |
Range |
| is |
Inner sentence (no trailing space) |
| as |
Sentence + trailing whitespace |
| ip |
Inner paragraph (no surrounding blank lines) |
| ap |
Paragraph + trailing blank line |
See also: Sentence and Paragraph Motions, Inner Word vs A Word