core-editor: remove help-fns+ & add helpful

This commit is contained in:
Henrik Lissner 2017-12-09 16:21:31 -05:00
parent 4a504a07aa
commit a8f4d85da3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 12 additions and 4 deletions

View file

@ -257,9 +257,15 @@ extension, try to guess one."
(def-package! expand-region
:commands (er/expand-region er/contract-region er/mark-symbol er/mark-word))
(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
(global-set-key [remap describe-function] #'helpful-callable)
(global-set-key [remap describe-variable] #'helpful-variable)
(global-set-key [remap describe-key] #'helpful-key)
:config
(map! :map helpful-mode-map :n "q" #'quit-window))
(def-package! pcre2el
:commands rxt-quote-pcre)