Minor: common-lisp macro expander hydra as default

It is usually the case that we want to easily step through the expansion
of a macro inline, so prevent a modifier key press.
This commit is contained in:
Michael Fiano 2018-12-01 15:26:44 -05:00
parent fead537328
commit 3635e23be7

View file

@ -105,8 +105,8 @@ bin/doom while packages at compile-time (not a runtime though)."
:n "F" #'sly-undefine-function :n "F" #'sly-undefine-function
:n "r" #'sly-eval-region) :n "r" #'sly-eval-region)
(:prefix "m" (:prefix "m"
:n "e" #'macrostep-expand :n "e" #'+common-lisp/macrostep/body
:n "E" #'+common-lisp/macrostep/body) :n "E" #'macrostep-expand)
(:prefix "r" (:prefix "r"
:n "c" #'sly-mrepl-clear-repl :n "c" #'sly-mrepl-clear-repl
:n "q" #'sly-quit-lisp :n "q" #'sly-quit-lisp
@ -232,3 +232,7 @@ bin/doom while packages at compile-time (not a runtime though)."
"gr" 'sly-recompile-xref "gr" 'sly-recompile-xref
"gR" 'sly-recompile-all-xrefs "gR" 'sly-recompile-all-xrefs
"r" 'sly-xref-retract))) "r" 'sly-xref-retract)))
(def-package! sly-repl-ansi-color
:config
(push 'sly-repl-ansi-color sly-contribs))