Closed dragove closed 1 month ago
you can disable any mode. please check the docs
@folke do you refer to:
-- Enable/disable WhichKey for certain mapping modes
modes = {
n = true, -- Normal mode
i = true, -- Insert mode
x = true, -- Visual mode
s = true, -- Select mode
o = true, -- Operator pending mode
t = true, -- Terminal mode
c = true, -- Command mode
},
?
Maybe I had other intentions than the author, but in v2.1.0 you were able to select lines/block, without the which-key popup. Only when you pressed an additional key, like leader or g, the popup showed up. Is this possible with v3? I really liked this behaviour, because this made yanking/pasting/cutting text less distracting. Still thank you for the great plugin :)
ok, I'll see if I can add this
I've checked and noticed a change in behavior.
In the old version of which-key
In which-key v3
The old one was much better, is it possible to bring it back?
Op's issue is fixed.
As for @Fabian-programmer I'm afraid that's not that simple anymore.
v2 created real keymaps for v
and V
and friends.
v3 no longer does that and hooks into ModeChanged
to show which-key.
There are no trigger either for operator pending keymaps like i
or a
.
So while I technically could disable showing in ModeChanged
, you wouldn't be able to trigger which-key next with i
etc.
Did you check the docs?
Is your feature request related to a problem? Please describe.
when entering visual mode use
v
orV
, which-key show up and<Esc>
should be pressed twice to exit visual modeDescribe the solution you'd like
disable which-key when enter visual mode or we can use
<Esc>
to exit visual mode when which-key showedDescribe alternatives you've considered
I have no idea
Additional context
No response