dotfiles/emacs/.emacs.d/config/init-help.el

20 lines
544 B
EmacsLisp

;; -*- lexical-binding: t; -*-
;; Emacs has fanstastic built-in help features, but they could be more convenient
(leader-def-key "h" '(:keymap help-map :which-key "help"))
(use-package info
:straight (:type built-in))
(use-package helpful
:general
([remap describe-function] #'helpful-callable)
([remap describe-variable] #'helpful-variable)
([remap describe-key] #'helpful-key)
([remap describe-symbol] #'helpful-symbol)
(normal helpful-mode-map "TAB" #'forward-button
"gr" #'helpful-update))
(provide 'init-help)