To delete something without saving it in a register, you can use the “black hole register”:
"_d
Of course you could also use any of the other registers that don’t hold anything you are interested in.
More Related Contents:
- How to replace a character by a newline in Vim
- Case preserving substitute in Vim
- How do I exit the Vim editor?
- Vim and Ctags tips and tricks [closed]
- How to paste yanked text into the Vim command line
- Why do Vim experts prefer buffers over tabs? [closed]
- How do I exit Vim?
- What is the difference between the remap, noremap, nnoremap and vnoremap mapping commands in Vim?
- Vim 80 column layout concerns
- Why should I use an IDE? [closed]
- How do I run a terminal inside of Vim?
- How to paste over without overwriting register
- How to include forward slash in vi search & replace
- A more useful statusline in vim? [closed]
- How can I automatically add some skeleton code when creating a new file with vim
- How to add line numbers to range of lines in Vim?
- Vim auto-generate ctags
- Using vim’s f command over multiple lines
- How to effectively work with multiple files in Vim
- Why is \r a newline for Vim?
- Best way to insert timestamp in Vim?
- Can terminals detect or ?
- Auto-open NERDTree in “EVERY” tab
- How do I fix the indentation of an entire file in Vi?
- Multiple commands on same line
- How can you automatically remove trailing whitespace in vim
- Vim – how to run a command immediately when starting vim?
- How to map Ctrl+A and Ctrl+Shift+A differently?
- Does Vim load plugins after loading vimrc?
- Paste in insert mode?