From 0298999997c8e04eb403a00490496ec7b7ce9012 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 27 Apr 2021 11:35:02 -0500 Subject: Change emacs-lisp eval bindings Try to emulate slime a little more. I really like the flashy things, but IDK how to get that with elisp yet. --- init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index c65a3ea..b6a01d0 100644 --- a/init.el +++ b/init.el @@ -871,9 +871,11 @@ if ripgrep is installed, otherwise `consult-grep'." (eval-region (region-beginning) (region-end))) (with-message "Evaluating buffer" (eval-buffer)))) - + + ;; Emulate slime's eval binds (:with-map emacs-lisp-mode-map - (:bind "C-c C-c" acdw/eval-region-or-buffer + (:bind "C-c C-c" eval-defun + "C-c C-k" acdw/eval-region-or-buffer "C-c C-z" ielm)) (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) -- cgit 1.4.1-21-gabe81