From 4e25b7609cc4a17c7fec2081d68150e63907bb24 Mon Sep 17 00:00:00 2001 From: justbur Date: Wed, 18 Nov 2015 11:37:54 -0500 Subject: [PATCH] spacemacs-base: Add help-fns+ Adds useful help functions like describe-keymap. --- layers/+distribution/spacemacs-base/packages.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/layers/+distribution/spacemacs-base/packages.el b/layers/+distribution/spacemacs-base/packages.el index 74c90ab33..d4b53a54c 100644 --- a/layers/+distribution/spacemacs-base/packages.el +++ b/layers/+distribution/spacemacs-base/packages.el @@ -32,6 +32,7 @@ helm-flx helm-projectile (helm-spacemacs :location local) + help-fns+ (hs-minor-mode :location built-in) (holy-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 "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 () ;; required for evil folding (defun spacemacs//enable-hs-minor-mode ()