Vim Recall繁體中文

Based on P; adjust indent to current line

[p

Example

Normal 0 / 1
one two
Cursor on line 1, column 1

Based on P; adjust indent to current line.

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0red
· space ⇥ tab ↵ line break
Before & after
Before
one two
Cursor on line 1, column 1

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0red
· space ⇥ tab ↵ line break
After
redone two
Cursor on line 1, column 3

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0red
· space ⇥ tab ↵ line break

Start in Normal mode. The unnamed, a, and 0 registers contain the characterwise text "red".

Details & Vim help

Example replayed in Vim

Based on P; adjust indent to current line. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.