Day 3: delete
While we have the common dd, x or d{motion} like dap to delete a paragraph or daw to delete a word, there are less known ones.
When you do a 'd' like 'dap' to delete a paragraph, Vim copies it in the _yank_ register, overwriting what you have copied before.
To avoid that, use the "black hole register":
"_d{motion}
"_dd will delete the line without storing it.
#Vimovember #vim #neovim #editors #FLOSS #opensource #fediverse #mastodon
1/3