Remove help-fns+, add helpful plugin #363

This commit is contained in:
Henrik Lissner 2018-01-21 21:37:15 -05:00
parent ad59665a3d
commit c5b72566ea
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 26 additions and 6 deletions

View file

@ -215,9 +215,17 @@ extension, try to guess one."
(er/contract-region 0)))
(advice-add #'evil-escape :before #'doom*quit-expand-region))
(def-package! help-fns+ ; Improved help commands
:commands (describe-buffer describe-command describe-file
describe-keymap describe-option describe-option-of-type))
(def-package! helpful
:commands (helpful-callable helpful-function helpful-macro helpful-command
helpful-key helpful-variable helpful-at-point)
:init
(setq counsel-describe-function-function #'helpful-callable
counsel-describe-variable-function #'helpful-variable)
(global-set-key [remap describe-function] #'helpful-callable)
(global-set-key [remap describe-command] #'helpful-command)
(global-set-key [remap describe-variable] #'helpful-variable)
(global-set-key [remap describe-key] #'helpful-key))
(def-package! pcre2el
:commands rxt-quote-pcre)