Remove the count characters under and after the cursor [into register x]
x
Example
Normal 0 / 1Normal 1 / 1one two
three four
five six
keepCursor on line 1, column 5one wo
three four
five six
keepCursor on line 1, column 5Remove the count characters under and after the cursor [into register x].
Vim registers
"Unnamed register- Characterwise · Uses Yank register 0
saved -Small delete register- Characterwise
Empty
Command applied
Vim registers
"Unnamed register Changed- Characterwise · Uses Small delete register
t -Small delete register Changed- Characterwise
t
Before & after
one two
three four
five six
keepCursor on line 1, column 5Vim registers
"Unnamed register- Characterwise · Uses Yank register 0
saved -Small delete register- Characterwise
Empty
one wo
three four
five six
keepCursor on line 1, column 5Vim registers
"Unnamed register Changed- Characterwise · Uses Small delete register
t -Small delete register Changed- Characterwise
t
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.