lang/emacs-lisp: refactor macrostep config
This commit is contained in:
parent
73d083b1fa
commit
3b4aca6270
1 changed files with 16 additions and 14 deletions
|
@ -77,8 +77,9 @@
|
|||
(after! slime (require 'slime-fuzzy))
|
||||
|
||||
|
||||
(after! macrostep
|
||||
(map! :map macrostep-keymap
|
||||
;; `macrostep'
|
||||
(map! :after macrostep
|
||||
:map macrostep-keymap
|
||||
:n "RET" #'macrostep-expand
|
||||
:n "e" #'macrostep-expand
|
||||
:n "u" #'macrostep-collapse
|
||||
|
@ -95,6 +96,7 @@
|
|||
:n "q" #'macrostep-collapse-all
|
||||
:n "C" #'macrostep-collapse-all)
|
||||
|
||||
(after! evil
|
||||
;; `evil-normalize-keymaps' seems to be required for macrostep or it won't
|
||||
;; apply for the very first invocation
|
||||
(add-hook 'macrostep-mode-hook #'evil-normalize-keymaps))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue