Describe the bug
I am trying to remap <leader> d to use the black hole register ("_) so that Vimium discards the deleted or changed text without saving it in a register. However, this remapping is not working as expected. Instead of behaving like "_, the command behaves like ci{, which means the text gets deleted but not properly handled by the black hole register.
To Reproduce
Add the following configuration to your settings.json:
Press <leader> d followed by ci{ to delete content inside curly braces.
Paste using ctrl+v or "+p.
Expected behavior
The expected behavior is that <leader> d should set the black hole register, allowing you to delete content inside curly braces (ci{) without affecting the clipboard or registers.
Instead, the behavior is as if ci{ is being executed directly, and the pasted content reflects the deletion, not the clipboard.
Describe the bug I am trying to remap
<leader> d
to use the black hole register ("_
) so that Vimium discards the deleted or changed text without saving it in a register. However, this remapping is not working as expected. Instead of behaving like"_
, the command behaves likeci{
, which means the text gets deleted but not properly handled by the black hole register.To Reproduce
settings.json
:<leader> d
followed byci{
to delete content inside curly braces.ctrl+v
or"+p
.Expected behavior
The expected behavior is that
<leader> d
should set the black hole register, allowing you to delete content inside curly braces (ci{
) without affecting the clipboard or registers.Instead, the behavior is as if
ci{
is being executed directly, and the pasted content reflects the deletion, not the clipboard.Screenshots Log example:
Video example:
https://github.com/user-attachments/assets/3dfc2be4-be01-430e-9c68-b5ad651912ac
Environment (please complete the following information):