Vim Recall繁體中文

"inner paragraph"

{operator}ip

Example

Normal 0 / 2
one
two

keep
Cursor on line 1, column 1

"inner paragraph".

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
1 Delete register 1
CharacterwiseEmpty
· space ⇥ tab ↵ line break
Before & after
Before
one
two

keep
Cursor on line 1, column 1

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
1 Delete register 1
CharacterwiseEmpty
· space ⇥ tab ↵ line break
After

keep
Cursor on line 1, column 1

Vim registers

" Unnamed register Changed
Linewise · ↵ marks a line break · Uses Delete register 1one↵ two↵
1 Delete register 1 Changed
Linewise · ↵ marks a line breakone↵ two↵
· space ⇥ tab ↵ line break

Start in Normal mode. Use d as {operator}; the text object is selected for deletion without entering Visual mode.

Details & Vim help

Example replayed in Vim

"inner paragraph". Use this text object after an operator such as d, c or y, or use the object itself while in Visual mode. The {operator} prefix marks context and is not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.