1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-04 23:58:01 +00:00

Add some further clarification to the latest

This commit is contained in:
jbranchaud
2016-01-21 18:46:36 -06:00
parent f6771bb82f
commit 43f15f303b

View File

@@ -1,10 +1,11 @@
# Paste A Register From Insert Mode
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
paste from a register without leaving Insert mode. By hitting `CTRL-R` and
then the name of the register, Vim will insert the contents of the register
in front of the cursor.
like `'1p` (the former pasting from the default register, `0`, and the
latter pasting from register `1`). Vim also allows you to paste from a
register without leaving Insert mode. By hitting `CTRL-R` and then the name
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
`CTRL-R 0`.