summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-23 13:57:54 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-23 13:57:54 +0200
commit9b2859b7a6eb3efdeddcfafe0381f06517fcfbe0 (patch)
tree430920a8af2a220c8a3fc754c89c123613412b33 /.config/emacs/init.el
parent7c17e7aac2d54501d8ac34bcbcd0edb0b9fd1936 (diff)
emacs: Tweak helpful bindings
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el15
1 files changed, 7 insertions, 8 deletions
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)