dotfiles/emacs/.emacs.d/config/init-help.el
2021-03-19 12:40:01 -04:00

21 lines
540 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)
:config
(evil-collection-info-setup))
(use-package helpful
:general
([remap describe-function] #'helpful-callable)
([remap describe-variable] #'helpful-variable)
([remap describe-key] #'helpful-key)
(normal helpful-mode-map "TAB" #'forward-button
"gr" #'helpful-update))
(provide 'init-help)