config updates

This commit is contained in:
Matt Nish-Lapidus 2023-11-25 16:09:22 -05:00
parent a301c44d62
commit f4c0a665a2
5 changed files with 42 additions and 20 deletions

View file

@ -80,6 +80,7 @@
"\\" #'bookmark-jump
"'" #'repeat
"=" #'meow--eval-sexp
":" #'meow--eval-sexp
"[" #'sp-backward-sexp
"]" #'sp-forward-sexp
"{" #'sp-backward-up-sexp
@ -88,9 +89,9 @@
(defun meow--eval-sexp ()
(interactive)
(if (derived-mode-p 'lisp-mode)
(sly-eval-defun)
(eros-eval-defun nil)))
(cond ((derived-mode-p 'lisp-mode) (sly-eval-defun))
((derived-mode-p 'sclang-mode) (sclang-eval-region-or-line))
(t (eros-eval-defun nil))))
(defun meow--post-isearch-function ()
(unless isearch-mode-end-hook-quit