Add keybinding for slime-mode jump to definition

This commit is contained in:
Jeremy Dormitzer 2020-04-05 10:56:51 -04:00
parent 1adfa900b5
commit ddabfec7ac

View File

@ -3209,7 +3209,9 @@ And a handy shortcut to hop into a Geiser REPL:
(when (file-exists-p (when (file-exists-p
(expand-file-name "~/quicklisp/slime-helper.el")) (expand-file-name "~/quicklisp/slime-helper.el"))
(load (expand-file-name "~/quicklisp/slime-helper.el"))) (load (expand-file-name "~/quicklisp/slime-helper.el")))
(add-hook 'slime-repl-mode-hook 'smartparens-strict-mode)) (add-hook 'slime-repl-mode-hook 'smartparens-strict-mode)
:general
((normal motion visual insert emacs) slime-mode-map "M-." #'slime-edit-definition))
(add-to-list 'auto-mode-alist '("\\.cl\\'" . lisp-mode)) (add-to-list 'auto-mode-alist '("\\.cl\\'" . lisp-mode))
#+END_SRC #+END_SRC