Today I Learned

hashrocket A Hashrocket project

Vim registers

When copy/cut some code you are already using registers. To see them:

:registers

Or simply :reg

You can also define which one to use, including any letter.

For example, to copy the current line and store it into the register T:

"Tyy

in order to paste it:

"Tp
See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.