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

21 lines
540 B
EmacsLisp
Raw Normal View History

2021-02-21 02:59:11 +00:00
;; -*- 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)
2021-03-03 14:28:08 +00:00
(normal helpful-mode-map "TAB" #'forward-button
"gr" #'helpful-update))
(provide 'init-help)