Don't enter evil-insert-state for holy-mode after aya-expand

Key binding "SPC i S e" enters evil insert state afterwards, it's
pretty annoying if you are using emacs editing style.
This commit is contained in:
Ken Wu 2016-01-07 22:52:21 +08:00 committed by syl20bnr
parent 3494f92a39
commit 6480d755ad

View file

@ -276,7 +276,7 @@
"Call `yas-expand' and switch to `insert state'"
(interactive)
(call-interactively 'aya-expand)
(evil-insert-state))
(unless holy-mode (evil-insert-state)))
(spacemacs/declare-prefix "iS" "auto-yasnippet")
(spacemacs/set-leader-keys
"iSc" 'aya-create