adding leader key opening of sly

This commit is contained in:
Chris Cochrun 2023-06-01 16:48:35 -05:00
parent 261b0dedb3
commit 48d6cb476f
2 changed files with 8 additions and 0 deletions

View file

@ -520,6 +520,10 @@ This evil-collection package includes a lot of other evil based things.
"wL" '(evil-window-move-far-right :which-key "right window") "wL" '(evil-window-move-far-right :which-key "right window")
";" '(execute-extended-command :which-key "execute command") ";" '(execute-extended-command :which-key "execute command")
":" '(eval-expression :which-key "evaluate expression")) ":" '(eval-expression :which-key "evaluate expression"))
(chris/leader-keys
:states 'normal
:keymaps 'lisp-mode
"e" '(sly-eval-defun :which-key "evaluate top level"))
(general-def 'minibuffer-local-map (general-def 'minibuffer-local-map
"C-v" 'evil-paste-after) "C-v" 'evil-paste-after)
(general-def 'normal (general-def 'normal

View file

@ -288,6 +288,10 @@
"wL" '(evil-window-move-far-right :which-key "right window") "wL" '(evil-window-move-far-right :which-key "right window")
";" '(execute-extended-command :which-key "execute command") ";" '(execute-extended-command :which-key "execute command")
":" '(eval-expression :which-key "evaluate expression")) ":" '(eval-expression :which-key "evaluate expression"))
(chris/leader-keys
:states 'normal
:keymaps 'lisp-mode
"e" '(sly-eval-defun :which-key "evaluate top level"))
(general-def 'minibuffer-local-map (general-def 'minibuffer-local-map
"C-v" 'evil-paste-after) "C-v" 'evil-paste-after)
(general-def 'normal (general-def 'normal