From 9b2859b7a6eb3efdeddcfafe0381f06517fcfbe0 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 23 Sep 2024 13:57:54 +0200 Subject: emacs: Tweak helpful bindings --- .config/emacs/init.el | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to '.config') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 7e676e7..a3d2d6e 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -160,7 +160,13 @@ it convenient to use in ‘thread-last’." #'backward-delete-char) ;;; Documentation Improvements -(use-package helpful) +(use-package helpful + :bind (([remap describe-command] . helpful-command) + ([remap describe-function] . helpful-callable) + ([remap describe-key] . helpful-key) + ([remap describe-symbol] . helpful-symbol) + ([remap describe-variable] . helpful-variable) + (("C-h C-p" . helpful-at-point)))) ;;; Vim Emulation (use-package evil @@ -932,13 +938,6 @@ the comparison of the ‘company-pseudo-tooltip-overlay’ height and 0 using PR :prefix "g" ("s" magit-status) - :normal - :prefix "h" - ("f" helpful-callable) - ("s" helpful-symbol) - ("k" helpful-key) - ("p" helpful-at-point) - :normal&visual :prefix "n" ("d" x-decrement-number-at-point) -- cgit v1.2.3