Last Updated: February 25, 2016
·
469
· scottradcliff

Numbered Registers in Vim

If you use a number for a register in vim and use a motion that yanks text, your text in that register will be pushed to the next number.

Example
Yank take to register 1
"1Y

Delete a line
dd

Now register 1 contains the deleted text, and register 2 contains the yanked text that you put in register 1.

I guess I'll use letter registers.