aboutsummaryrefslogtreecommitdiffstats
path: root/oni
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-08-17 09:58:40 -0700
committerGravatar Tom Willemse2023-08-29 22:26:42 -0700
commit96796035477bb69e957977795c1306fbd7a3a083 (patch)
tree5172392f641a53a43485fa617942dd0d4eb41e7a /oni
parentd968a40a27b780bc833d519be87aee7d02328b49 (diff)
downloadnew-dotfiles-96796035477bb69e957977795c1306fbd7a3a083.tar.gz
new-dotfiles-96796035477bb69e957977795c1306fbd7a3a083.zip
Clean up Emacs helpful configuration
Diffstat (limited to 'oni')
-rw-r--r--oni/home/services/emacs/helpful.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/oni/home/services/emacs/helpful.el b/oni/home/services/emacs/helpful.el
index 59d33de..f8ff664 100644
--- a/oni/home/services/emacs/helpful.el
+++ b/oni/home/services/emacs/helpful.el
@@ -25,14 +25,13 @@
;;; Code:
(use-package helpful
- :config
- (global-set-key [remap describe-callable] #'helpful-callable)
- (global-set-key [remap describe-function] #'helpful-function)
- (global-set-key (kbd "C-h M") #'helpful-macro)
- (global-set-key [remap describe-command] #'helpful-command)
- (global-set-key [remap describe-key] #'helpful-key)
- (global-set-key [remap describe-variable] #'helpful-variable)
- (global-set-key (kbd "C-h T") #'helpful-at-point))
+ :bind (([remap describe-callable] . helpful-callable)
+ ([remap describe-function] . helpful-function)
+ ("C-h M" . helpful-macro)
+ ([remap describe-command] . helpful-command)
+ ([remap describe-key] . helpful-key)
+ ([remap describe-variable] . helpful-variable)
+ ("C-h T" . helpful--at-point)))
(provide 'helpful)
;;; helpful.el ends here