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.
Written by Scott Radcliff
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#