You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just discovered that which-keysupportsevil operators, (which I've tested successfully on my humble Emacs config).
This means that when in operator-pending mode, for certain operators that will consume either a movement command or a text object, which-key will show a pop-up with those that apply. I find this quite ergonomic, especially for learning and mastering the evil way™.
As explained in the docs, this support relies on two things:
that which-key is loaded afterevil, which will set which-key-allow-evil-operators automatically
that which-key-show-operator-state-maps is (manually) set to t
I’d like to propose that this behavior be considered to be enabled in Doom Emacs, since I think it improves the overall experience.
(Note that this extra support is already enabled for god-mode, so having this would be consistent with that decission.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I just discovered that
which-key
supports evil operators, (which I've tested successfully on my humble Emacs config).This means that when in operator-pending mode, for certain operators that will consume either a movement command or a text object,
which-key
will show a pop-up with those that apply. I find this quite ergonomic, especially for learning and mastering the evil way™.As explained in the docs, this support relies on two things:
which-key
is loaded afterevil
, which will setwhich-key-allow-evil-operators
automaticallywhich-key-show-operator-state-maps
is (manually) set tot
I’d like to propose that this behavior be considered to be enabled in Doom Emacs, since I think it improves the overall experience.
(Note that this extra support is already enabled for
god-mode
, so having this would be consistent with that decission.)Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions