Skip to content

Commit

Permalink
Don't enter evil-insert-state for holy-mode after aya-expand
Browse files Browse the repository at this point in the history
Key binding "SPC i S e" enters evil insert state afterwards, it's
pretty annoying if you are using emacs editing style.
  • Loading branch information
abaw authored and syl20bnr committed Jan 9, 2016
1 parent 21e262f commit 055554f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/auto-completion/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 055554f

Please sign in to comment.