This commit moves leader key descriptions from `which-key-replacement-alist` to the keymap itself. This helps with performance because that way, which-key does not have to calculate every single leader key description for each keypress. Furthermore, this fixes issues like #1413 where relocating leader keymaps resulted in which-key not showing the correct leader key descriptions. I also made the leader prefix maps have their own prefix commands by populating the function slot of the keymap variables. This is an Emacs convention. I made `doom-leader-map` follow this convention as well. |
||
---|---|---|
.. | ||
cli | ||
lib | ||
doom-cli.el | ||
doom-editor.el | ||
doom-keybinds.el | ||
doom-lib.el | ||
doom-modules.el | ||
doom-packages.el | ||
doom-profiles.el | ||
doom-projects.el | ||
doom-start.el | ||
doom-ui.el | ||
doom.el | ||
init.el | ||
packages.el |