diff options
author | Case Duckworth | 2021-04-27 11:35:02 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-27 11:35:02 -0500 |
commit | 0298999997c8e04eb403a00490496ec7b7ce9012 (patch) | |
tree | d867d6a23d5187c3342e45c58ebd8c53aae99cfa | |
parent | Change a couple gnus settings (diff) | |
download | emacs-0298999997c8e04eb403a00490496ec7b7ce9012.tar.gz emacs-0298999997c8e04eb403a00490496ec7b7ce9012.zip |
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.
-rw-r--r-- | init.el | 6 |
1 files 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'." | |||
871 | (eval-region (region-beginning) (region-end))) | 871 | (eval-region (region-beginning) (region-end))) |
872 | (with-message "Evaluating buffer" | 872 | (with-message "Evaluating buffer" |
873 | (eval-buffer)))) | 873 | (eval-buffer)))) |
874 | 874 | ||
875 | ;; Emulate slime's eval binds | ||
875 | (:with-map emacs-lisp-mode-map | 876 | (:with-map emacs-lisp-mode-map |
876 | (:bind "C-c C-c" acdw/eval-region-or-buffer | 877 | (:bind "C-c C-c" eval-defun |
878 | "C-c C-k" acdw/eval-region-or-buffer | ||
877 | "C-c C-z" ielm)) | 879 | "C-c C-z" ielm)) |
878 | 880 | ||
879 | (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) | 881 | (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) |