diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-27 18:45:23 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-27 18:45:23 -0500 |
| commit | 87034eab17625165b884128d8058c1158fc2f50f (patch) | |
| tree | 24255d08fb90fe748c6a6c41900e138c26e3de04 /modules/diff-config.el | |
| parent | 0fc12069864b3d964cf8175173b4f3183bc73c92 (diff) | |
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/diff-config.el')
| -rw-r--r-- | modules/diff-config.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/diff-config.el b/modules/diff-config.el index 382b2250..45c2a778 100644 --- a/modules/diff-config.el +++ b/modules/diff-config.el @@ -48,6 +48,14 @@ (add-hook 'ediff-mode-hook #'cj/ediff-hook) (add-hook 'ediff-after-quit-hook-internal #'winner-undo)) +;; which-key labels +(with-eval-after-load 'which-key + (which-key-add-key-based-replacements + "C-c D" "ediff menu" + "C-c D f" "ediff files" + "C-c D b" "ediff buffers" + "C-c D r" "ediff revision" + "C-c D D" "ediff directories")) (provide 'diff-config) ;;; diff-config.el ends here |
