fix(emacs): add keybind for clearing racket repl
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
a272d07f01
commit
1563dff6b2
1 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,12 @@
|
||||||
(setq auto-mode-alist (cons '("\\.pm$" . pollen-mode) auto-mode-alist))
|
(setq auto-mode-alist (cons '("\\.pm$" . pollen-mode) auto-mode-alist))
|
||||||
(setq auto-mode-alist (cons '("\\.pmd$" . 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 ()
|
(defun configure-scribble ()
|
||||||
"Configure keybinds for scribble."
|
"Configure keybinds for scribble."
|
||||||
(keymap-local-set "C-c C-c" #'compile))
|
(keymap-local-set "C-c C-c" #'compile))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue