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.
Tweet