Often I want to delete something in Vim without moving it to a register. Is there a method of doing this? I find that having to explicitly specify the register "a to be a little much sometimes.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
||||
|
|
|
It sounds like you're actually asking two related questions here:
The first one can be done, just use the The second one can't be done, as far as I know. See |
|||||||||
|
|
You can always do something like this:
But I wouldn't recommend it: Vim's default should stay the way they are. Instead of
That's only shorter by one key but it's better than overwriting a Vim default. I use this mapping when I need to paste something several times:
Which goes like this:
|
|||
|
|