diff options
-rw-r--r-- | init.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index aa284dd..a528896 100644 --- a/init.el +++ b/init.el | |||
@@ -782,6 +782,17 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
782 | "~/var/quicklisp/slime-helper.el")))) | 782 | "~/var/quicklisp/slime-helper.el")))) |
783 | (load slime-helper)) | 783 | (load slime-helper)) |
784 | 784 | ||
785 | (define-key slime-repl-mode-map (kbd "RET") #'slime-repl-return-at-end) | ||
786 | (define-key slime-repl-mode-map (kbd "<return>") | ||
787 | #'slime-repl-return-at-end) | ||
788 | |||
789 | (defun slime-repl-return-at-end () | ||
790 | (interactive) | ||
791 | (if (<= (point-max) (point)) | ||
792 | (slime-repl-return) | ||
793 | (slime-repl-newline-and-indent))) | ||
794 | |||
795 | |||
785 | (with-eval-after-load 'company | 796 | (with-eval-after-load 'company |
786 | (setup (:straight slime-company) | 797 | (setup (:straight slime-company) |
787 | (:option slime-company-completion 'fuzzy | 798 | (:option slime-company-completion 'fuzzy |