The Vim documentation says the following under “quote_quote” about the unnamed register ("):

Vim fills this register with text deleted with the “d”, “c”, “s”, “x” commands or copied with the yank “y” command, regardless of whether or not a specific register was used (e.g. "xdd). This is like the unnamed register is pointing to the last used register. Thus when appending using an uppercase register name, the unnamed register contains the same text as the named register.

However, the part with uppercase register names does not work for me when deleting. I only get the last deleted text into the unnamed register. For example, when I enter "add and then "Add, register a contains both deleted lines, but the unnamed register only contains the last one, although it should contain the same text as register a. However, things work as expected with the yank (y) command. Why is this?

  • I never noticed. Seems like a bug to me.
    – Philippos
    Mar 23, 2017 at 21:49
  • At least, this phenomenon exists with versions 7.3 and 7.4. Which version are you using? Mar 23, 2017 at 22:03
  • I can reproduce it with 7.3
    – Philippos
    Mar 23, 2017 at 22:04
  • I can reproduce it with 8.0. Seems like a bug to me too.
    – B.G.
    Mar 24, 2017 at 8:31
  • What am I supposed to do if this question cannot be reasonably answered because it is actually a bug showing up? Should I just leave it open? Or “answer” it myself? Or something else? Mar 30, 2017 at 22:51

1 Answer 1


This behavior is actually caused by a bug. This bug has been reported and discussed in the thread Unnamed register only contains the last deleted text when appending deleted text to a register on the vim-dev mailing list.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.