Open miversen33 opened 2 years ago
Yes, you are right, hydra and vim-visual-multi are interfere with each other. But I don't know how vim-visual-multi defines its keymapings, and I have no desire to dig (it is written in vimscript), so yes, better not to multiple cursors while you are in the pink hydra state.
@anuvyklack I'm afraid the root of my issue is being lost here. This is not simply a case of don't use vim-visual-multi
because they dont work together. They dont work together because vim-visual-multi
overwrites the key command that is used for quiting a pink hydra.
IE, if plugin x
does the same thing when its triggered (overwrites the function that pressing q
calls), then you also cant use plugin x
. Any plugin that overwrites the q
key will cause issues if used with a pink hydra. I am not necessarily saying this is a problem that needs addressing, but its likely worth calling out somewhere on the readme maybe?
Can you name other such plugins? With vim-visual-multi the problem is that they simultaneously try to remap the same keys.
The title is not a great description of what I am experiencing, so hopefully I can explain better. When setting a pink hydra, such as this lsp hydra
notice that
q
is being bound to thequit
action. If another plugin is triggered that overridesq
for its own purposes after the pink hydra is triggered (an example, vim-visual-multi), it is then impossible to correctly escape the pink hydra. I assume this is because it lost its binding to theq
keypress event.I am aware that I can set a timeout on the hydra, and I am not necessarily saying this is a bug, more of unexpected behavior. Do you have any thoughts on a workaround, or should I stick with