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
|
|
|
|
:straight (:type built-in)
|
|
|
|
:config
|
|
|
|
(evil-collection-info-setup))
|
|
|
|
|
|
|
|
(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)
|
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)
|