From 76a73270f797cdef4822ef32ab128255ea2b59f1 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 7 Sep 2023 10:23:20 +0100 Subject: (Emacs)~some sly bindings --- Emacs/.config/emacs/config.org | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Emacs/.config') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 4b48ae0..dc2b28d 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -3432,6 +3432,8 @@ development on Emacs. (evil-set-initial-state 'sly-db-mode 'emacs) (with-eval-after-load "org" (setq-default org-babel-lisp-eval-fn #'sly-eval)) + (with-eval-after-load "company" + (add-hook 'sly-mrepl-hook #'company-mode)) (+oreo/create-toggle-function +shell/toggle-sly "*sly-mrepl for sbcl*" @@ -3451,6 +3453,7 @@ development on Emacs. "c" #'sly-compile-file "a" #'sly-apropos "d" #'sly-describe-symbol + "D" #'sly-mrepl-sync "E" #'sly-eval-defun) (local-leader :keymaps 'lisp-mode-map -- cgit v1.2.3-13-gbd6f