-
Which-key's hint/replacement system doesn't seem to work with meow, possibly due to the different key sequence. For example, I have some configuration like: (calum/leader-def :infix "t" :prefix-command 'tab-actions-map
"l" '(centaur-tabs-forward-tab :which-key "forward tab")
"L" '(centaur-tabs-forward-tab-other-window :which-key "forward tab other window")
"h" '(centaur-tabs-backward-tab :which-key "back tab")
"H" '(centaur-tabs-backward-tab-other-window :which-key "backward tab other window")
"j" '(centaur-tabs-forward-group :which-key "forward tab group")
"k" '(centaur-tabs-backward-group :which-key "back tab group")
"t" '(centaur-tabs-switch-group :which-key "switch tab group")
"w" '(centaur-tabs-kill-other-buffers-in-current-group :which-key "kill others in group")
"g" '(centaur-tabs-toggle-groups :which-key "show group tabs")
"m" '(centaur-tabs-mode :which-key "toggle tabs mode")
"<backspace>" '(centaur-tabs-kill-all-buffers-in-current-group :which-key "kill group")
"<delete>" '(centaur-tabs-kill-unmodified-buffers-in-current-group :which-key "kill unmodified in group")
"*" '(centaur-tabs-keep-match-buffers-in-current-group :which-key "keep only tabs matching pattern")
"?" '(centaur-tabs-kill-buffer-match-rule :which-key "kill tabs matching pattern")
"[" '(centaur-tabs-select-beg-tab :which-key "first tab")
"]" '(centaur-tabs-select-end-tab :which-key "last tab")
"<" '(centaur-tabs-move-current-tab-to-left :which-key "move tab left")
">" '(centaur-tabs-move-current-tab-to-right :which-key "move tab right")) (where my leader key is But there are no replacements with meow ( Is this something I might've messed up in my meow configuration, or is this expected? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The which-key replacement is key sequence based, it doesn't work with meow since you are actually pressing another key sequence in keypad. To have an alias for keymap, you have to do the same way as vanilla emacs. |
Beta Was this translation helpful? Give feedback.
Thanks for the quick answer!
I looked into a bit more and it seems which-key now has a keymap based replacement option which works for my use case at least, so my config now looks like