:reg
- show all registers
:reg asdf
- show only registers "asdf"
"ayy
copy into register "a"
"ap
paste from register "a"
Registers "123456789" contains the deleted lines in descent order.
The most WOW thing I've just discovered: macros are stored in registers! So you
can qw
to record a macro into the register w
, then do "wp
- paste the
content of the macro into the current line, then edit it, do "wdd
to "delete"
the macros back into the w
register, and apply it as usual with @w
.
Short video(4m33s) with examples on