Vim Recall繁體中文

Remove the count characters under and after the cursor [into register x]

x

Example

Normal 0 / 1
one two
three four
five six
keep
Cursor on line 1, column 5

Remove the count characters under and after the cursor [into register x].

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
Before & after
Before
one two
three four
five six
keep
Cursor on line 1, column 5

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
After
one wo
three four
five six
keep
Cursor on line 1, column 5

Vim registers

" Unnamed register Changed
Characterwise · Uses Small delete registert
- Small delete register Changed
Characterwiset
· space ⇥ tab ↵ line break

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Remove the count characters under and after the cursor [into register x]. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.