Use spacemacs/set-leader-keys in evil-lisp-state config

Given the intended behavior of having evil-lisp-state-map available
under SPC k, it is simplest to bind it directly to
spacemacs-default-map.

This requires no changes to evil-lisp-state itself.

Fixes #4151
This commit is contained in:
justbur 2015-12-12 12:09:52 -05:00 committed by syl20bnr
parent 275f645f94
commit 864fd54209

View file

@ -586,11 +586,8 @@
(defun spacemacs/init-evil-lisp-state ()
(use-package evil-lisp-state
:init (setq evil-lisp-state-global t
;; TODO work-around to be removed when the fix is available in
;; MELPA
evil-lisp-state-leader (concat dotspacemacs-leader-key " k"))
:config (evil-lisp-state-leader (concat dotspacemacs-leader-key " k"))))
:init (setq evil-lisp-state-global t)
:config (spacemacs/set-leader-keys "k" evil-lisp-state-map)))
(defun spacemacs/init-evil-mc ()
(use-package evil-mc