Today I Learned

hashrocket A Hashrocket project

Deleting Lines Without Copying to Default Register

When deleting a line in Vim using dd, if you wish to delete the line(s) without copying them to your default register, you can utilize "_dd

This command effectively deletes and copies them to a 'Black Hole' register, preserving the contents of your default register.

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.