Closed simonmandlik closed 1 month ago
Reproduced the problem, and it helped me to determine the cause. Thanks for the report.
dial.nvim uses the command g@
internally, and the definition of g@
was changed inside mini.clue, causing the conflict.
We don't know why g@
doesn't work as expected (you'll have to ask mini.clue to figure it out).
However, at least using the default g@
on dial.nvim should solve the problem, so I'll try to fix it that way.
@simonmandlik #95 should fix the problem. Could you try the following configuration, update the plugin (with :Lazy
+ U
), and check whether v_CTRL-A
works? (it worked in my environment)
local plugins = {
- "monaqa/dial.nvim",
+ { "monaqa/dial.nvim", branch = "fix-cmd_normal_bang" },
{
"echasnovski/mini.clue",
opts = function()
return {
triggers = {
{ mode = "n", keys = "g" },
{ mode = "v", keys = "g" },
},
}
end,
},
}
Thanks for the quick fix!
Preferring :normal! ...
instead of :normal ...
for executing some built-in functionality is indeed usually a safer way. Not the OP, but for me it indeed seems to fix it.
Yes, I can confirm the fix works, thanks!
I am using
dial.nvim
alongsidemini.clue
and have recently noticed that<C-a>
in visual mode doesn't work. In normal mode<C-a>
works, and<C-x>
(and alsog*
variants) work in both modes.I have also opened similar issue with
mini.clue
: https://github.com/echasnovski/mini.nvim/issues/1059MWE: