From 2e6faefc6e11b652aa68f71aa989f1ad5257db34 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 19 Oct 2024 17:05:44 +0200 Subject: emacs: Move which-key config to mm-keybindings.el --- .config/emacs/modules/mm-documentation.el | 13 ------------- .config/emacs/modules/mm-keybindings.el | 10 ++++++++++ 2 files changed, 10 insertions(+), 13 deletions(-) (limited to '.config') 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) -- cgit v1.2.3