Vim Recall繁體中文

C · Normal mode

C

Example

Normal 0 / 2
  old blue
Cursor on line 1, column 4

Change from the cursor position to the end of the line, and the count-1 more lines [into register x]; synonym for "c$".

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
Before & after
Before
  old blue
Cursor on line 1, column 4

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
After
  onew
Cursor on line 1, column 6

Vim registers

" Unnamed register Changed
Characterwise · Uses Small delete registerld·blue
- Small delete register Changed
Characterwiseld·blue
· space ⇥ tab ↵ line break

Start in Normal mode. The displayed replacement text is typed explicitly, followed by Esc.

Details & Vim help

Example replayed in Vim

Change from the cursor position to the end of the line, and the count-1 more lines [into register x]; synonym for "c$".

Change from the cursor position to the end of the line, and the count-1 more lines [into register x]; synonym for "c$". Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.