Using multiple clipboards in Vim
9 Aug, 2010
On of the first things you learn when using Vim activly is that when you delete something using x or dd that content is actually cut and put on a clipboard. Later you can retrieve that content using the p or P commanands.
To view your current registers type :reg. You’ll notice that every register is prefixed with the symbol ".
How do you use these things? Let’s say you want to copy a line into a specific register: "kyy will yank the current line into register "k. If you later want to paste register "k you can do this: "kp. Easy, huh?