From e29125e4a6a77f2ffa07b1563395faad8dce19df Mon Sep 17 00:00:00 2001 From: ralesi Date: Sun, 1 Nov 2015 13:48:57 -0700 Subject: [PATCH] Use q to exit macrostep If `macrostep-mode` is entered separate of micro-state, there is no normal mode mapping that will exit it. --- layers/+lang/emacs-lisp/packages.el | 1 + 1 file changed, 1 insertion(+) diff --git a/layers/+lang/emacs-lisp/packages.el b/layers/+lang/emacs-lisp/packages.el index fea1b2c44..c237ccd1a 100644 --- a/layers/+lang/emacs-lisp/packages.el +++ b/layers/+lang/emacs-lisp/packages.el @@ -103,6 +103,7 @@ :mode ("\\*.el\\'" . emacs-lisp-mode) :init (progn + (evil-define-key 'normal macrostep-keymap "q" 'macrostep-collapse-all) (spacemacs|define-micro-state macrostep :doc "[e] expand [c] collapse [n/N] next/previous [q] quit" :disable-evil-leader t