I've tried to copy a hash from :DiffviewFileHistory, using the key y. Then I wanted to use it in a new command :DiffviewOpen <yanked-hash>^!. So I pasted it in the command line using <CTRL-R-0> but I was surprised not to see the copied hash but something completely different.
It is because the hash is copied to the + register. Then one must use <CTRL-R-+> instead.
This is going against neovim defaults. Any good reason for not using the default unnamed register " for this?
I've tried to copy a hash from
:DiffviewFileHistory, using the keyy. Then I wanted to use it in a new command:DiffviewOpen <yanked-hash>^!. So I pasted it in the command line using<CTRL-R-0>but I was surprised not to see the copied hash but something completely different.It is because the hash is copied to the
+register. Then one must use<CTRL-R-+>instead.This is going against
neovimdefaults. Any good reason for not using the default unnamed register"for this?