aboutsummaryrefslogtreecommitdiff
path: root/modules/erc-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-27 18:45:23 -0500
committerCraig Jennings <c@cjennings.net>2025-10-27 18:45:23 -0500
commit83ecddd1f5f2809c89e4a415a192e512dae73ff3 (patch)
treea45252da7a6f9f7a76c0414c8c7fc311ff1ea8e0 /modules/erc-config.el
parent67718b0cc47a20ef3ecbb7400f7a2d8f0dfd9cbf (diff)
downloaddotemacs-83ecddd1f5f2809c89e4a415a192e512dae73ff3.tar.gz
dotemacs-83ecddd1f5f2809c89e4a415a192e512dae73ff3.zip
feat:which-key: Add descriptive labels for custom keymaps
Enhance which-key integration by providing detailed descriptions for new key bindings across multiple modules. This improves the usability of custom keymaps by clarifying the purpose of each keybinding, making it easier for users to navigate and understand different menus and options available within the configuration. This update ensures that all custom keymaps now display a descriptive label in the which-key popup to explain their functionality, aiding users in identifying keymap purposes promptly.
Diffstat (limited to 'modules/erc-config.el')
-rw-r--r--modules/erc-config.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/erc-config.el b/modules/erc-config.el
index 1c189fa37..e7efb33f0 100644
--- a/modules/erc-config.el
+++ b/modules/erc-config.el
@@ -183,7 +183,14 @@ Auto-adds # prefix if missing. Offers completion from configured channels."
(keymap-set cj/custom-keymap "E" cj/erc-keymap)
(with-eval-after-load 'which-key
- (which-key-add-key-based-replacements "C-; E" "ERC chat menu"))
+ (which-key-add-key-based-replacements
+ "C-; E" "ERC chat menu"
+ "C-; E C" "connect server"
+ "C-; E c" "join channel"
+ "C-; E b" "switch buffer"
+ "C-; E l" "list servers"
+ "C-; E q" "quit channel"
+ "C-; E Q" "quit server"))
;; Main ERC configuration
(use-package erc