diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-19 17:05:44 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-19 17:05:44 +0200 |
commit | 2e6faefc6e11b652aa68f71aa989f1ad5257db34 (patch) | |
tree | ac22f2a49691c97da0c1ff0ff7c914499445b10d /.config | |
parent | d39747b5b23025025bb59ecfb06600308c3bc2bf (diff) |
emacs: Move which-key config to mm-keybindings.el
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/modules/mm-documentation.el | 13 | ||||
-rw-r--r-- | .config/emacs/modules/mm-keybindings.el | 10 |
2 files changed, 10 insertions, 13 deletions
diff --git a/.config/emacs/modules/mm-documentation.el b/.config/emacs/modules/mm-documentation.el index 473c766..50505e1 100644 --- a/.config/emacs/modules/mm-documentation.el +++ b/.config/emacs/modules/mm-documentation.el @@ -1,18 +1,5 @@ ;;; mm-documentation.el --- Configuration related to documentation -*- lexical-binding: t; -*- - -;;; Display Available Keybindings - -(use-package which-key - :demand t - :config - (which-key-mode) - :custom - (which-key-dont-use-unicode nil) - (which-key-ellipsis "…") - (wihch-key-idle-delay .5)) - - ;;; Enhance Describe Commands (use-package helpful diff --git a/.config/emacs/modules/mm-keybindings.el b/.config/emacs/modules/mm-keybindings.el index 56a7f63..e3df839 100644 --- a/.config/emacs/modules/mm-keybindings.el +++ b/.config/emacs/modules/mm-keybindings.el @@ -109,4 +109,14 @@ the first command is remapped to the second command." "d" #'decrement-number-at-point "i" #'increment-number-at-point)) + +;;; Display Available Keybindings + +(use-package which-key + :hook after-init + :custom + (which-key-dont-use-unicode nil) + (which-key-ellipsis "…") + (wihch-key-idle-delay .5)) + (provide 'mm-keybindings) |