emacs-which-key icon indicating copy to clipboard operation
emacs-which-key copied to clipboard

Automatic expansion of unnamed prefixes

Open Nekosis opened this issue 10 months ago • 0 comments

Say I have a General definer called nyamacs/leader-keys with my leader as SPC, and I set up this keybind with it:

 (nyamacs/leader-keys
  "TAB TAB" '(comment-line :wk "Comment lines"))

In Emacs, after pressing SPC once, which-key appears, but the keybinding I just created displays as TAB → +prefix.

I would like a way to completely bypass the prefix if it is unset, so after pressing SPC once, this keybind will display as TAB TAB → Comment lines.

Nekosis avatar Sep 28 '23 05:09 Nekosis