How can I delete a line without putting it into my default buffer?
Example:
line that will be copied.
line that I want to be substitued with the previou
Use the "black hole register", "_ to really delete something: "_d.
Use "_dP to paste something and keep it available for further pasting.
For the second question, you could use . is used to execute a normal command without leaving the insert mode.
You can setup your own mappings to save typing, of course. I have these:
nnoremap d "_d
xnoremap d "_d
xnoremap p "_dP