Any way to delete in vim without overwriting your last yank? [duplicate]

Pass to the _ register, the black hole.

To delete a line without sticking it in the registers:

"_dd

See also :help registers.

It’s probably safest, if you want to paste something over and over again, to yank it into a “named” register.

"aY

Yanks a line into the a register. Paste it with "ap.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)