2021-02-21 02:59:11 +00:00
|
|
|
;; -*- lexical-binding: t; -*-
|
|
|
|
|
2021-02-20 23:38:14 +00:00
|
|
|
;; Emacs has fanstastic built-in help features, but they could be more convenient
|
|
|
|
|
2021-03-19 16:40:01 +00:00
|
|
|
(leader-def-key "h" '(:keymap help-map :which-key "help"))
|
|
|
|
|
2021-02-20 23:38:14 +00:00
|
|
|
(use-package info
|
2023-04-27 18:56:06 +00:00
|
|
|
:straight (:type built-in))
|
2021-02-20 23:38:14 +00:00
|
|
|
|
|
|
|
(use-package helpful
|
|
|
|
:general
|
|
|
|
([remap describe-function] #'helpful-callable)
|
|
|
|
([remap describe-variable] #'helpful-variable)
|
2021-02-22 04:15:07 +00:00
|
|
|
([remap describe-key] #'helpful-key)
|
2023-03-08 16:33:29 +00:00
|
|
|
([remap describe-symbol] #'helpful-symbol)
|
2021-03-03 14:28:08 +00:00
|
|
|
(normal helpful-mode-map "TAB" #'forward-button
|
|
|
|
"gr" #'helpful-update))
|
2021-02-20 23:38:14 +00:00
|
|
|
|
|
|
|
(provide 'init-help)
|