spacemacs-base: Add help-fns+
Adds useful help functions like describe-keymap.
This commit is contained in:
parent
87d61dbd3f
commit
4e25b7609c
|
@ -32,6 +32,7 @@
|
||||||
helm-flx
|
helm-flx
|
||||||
helm-projectile
|
helm-projectile
|
||||||
(helm-spacemacs :location local)
|
(helm-spacemacs :location local)
|
||||||
|
help-fns+
|
||||||
(hs-minor-mode :location built-in)
|
(hs-minor-mode :location built-in)
|
||||||
(holy-mode :location local :step pre)
|
(holy-mode :location local :step pre)
|
||||||
(hybrid-mode :location local :step pre)
|
(hybrid-mode :location local :step pre)
|
||||||
|
@ -946,6 +947,12 @@ ARG non nil means that the editing style is `vim'."
|
||||||
(spacemacs/set-leader-keys "fef" 'helm-spacemacs-faq)
|
(spacemacs/set-leader-keys "fef" 'helm-spacemacs-faq)
|
||||||
(spacemacs/set-leader-keys "h SPC" 'helm-spacemacs))))
|
(spacemacs/set-leader-keys "h SPC" 'helm-spacemacs))))
|
||||||
|
|
||||||
|
(defun spacemacs-base/init-help-fns+ ()
|
||||||
|
(use-package help-fns+
|
||||||
|
:commands (describe-keymap)
|
||||||
|
:init
|
||||||
|
(spacemacs/set-leader-keys "hK" 'describe-keymap)))
|
||||||
|
|
||||||
(defun spacemacs-base/init-hs-minor-mode ()
|
(defun spacemacs-base/init-hs-minor-mode ()
|
||||||
;; required for evil folding
|
;; required for evil folding
|
||||||
(defun spacemacs//enable-hs-minor-mode ()
|
(defun spacemacs//enable-hs-minor-mode ()
|
||||||
|
|
Loading…
Reference in a new issue