Today I Learned

hashrocket A Hashrocket project

Vim registers

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


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:


in order to paste it:

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.