mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 00:58:02 +00:00
Add some further clarification to the latest
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
# Paste A Register From Insert Mode
|
# Paste A Register From Insert Mode
|
||||||
|
|
||||||
Generally pasting a register is done from Normal mode using `p` or something
|
Generally pasting a register is done from Normal mode using `p` or something
|
||||||
like `'1p` (the latter pasting from register `1`). Vim also allows you to
|
like `'1p` (the former pasting from the default register, `0`, and the
|
||||||
paste from a register without leaving Insert mode. By hitting `CTRL-R` and
|
latter pasting from register `1`). Vim also allows you to paste from a
|
||||||
then the name of the register, Vim will insert the contents of the register
|
register without leaving Insert mode. By hitting `CTRL-R` and then the name
|
||||||
in front of the cursor.
|
of the register, Vim will insert the contents of the register in front of
|
||||||
|
the cursor.
|
||||||
|
|
||||||
For example, to paste from the default register from Insert mode, hit
|
For example, to paste from the default register from Insert mode, hit
|
||||||
`CTRL-R 0`.
|
`CTRL-R 0`.
|
||||||
|
|||||||
Reference in New Issue
Block a user