I love vim, but one of my problems with it is that whenever I use x or d to remove text, it copies the deleted text into the buffer/clipboard.
More specifically, it's a problem when I have some text copied, and then I need to delete a second block of text before pasting the first text.
Is there a command that deletes text but does not copy it? If not, is there a custom command for this?
Thanks!
Use black hole register
"_d
Setup your own mapping in vimrc like ,d
to save some typing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With