1
0
Fork 0

fix(emacs): add keybind for clearing racket repl

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-29 12:43:43 -05:00
parent a272d07f01
commit 1563dff6b2
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -11,6 +11,12 @@
(setq auto-mode-alist (cons '("\\.pm$" . pollen-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.pmd$" . pollen-mode) auto-mode-alist))
(defun configure-racket-repl ()
"Configure keybinds for the racket repl."
(keymap-local-set "C-c C-a" #'racket-repl-clear-leaving-last-prompt))
(add-hook 'racket-repl-mode-hook #'configure-racket-repl)
(defun configure-scribble ()
"Configure keybinds for scribble."
(keymap-local-set "C-c C-c" #'compile))