From b81dd68f120e29e2033c823dba730695a8449fac Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 11 Jul 2023 21:37:20 +0100 Subject: (Emacs)+some more racket configuration Picked up racket lang again, decided to make the experience a bit better for myself. --- Emacs/.config/emacs/config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 408a7b1..22c3133 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -3092,11 +3092,23 @@ book so it's useful to have some Emacs binds for it. ("\\*Racket.*" (display-buffer-at-bottom) (window-height . 0.25)) + :init + (setq racket-documentation-search-location 'local) :general + (nmap + :keymaps 'racket-describe-mode-map + "q" #'quit-window) + (nmap + :keymaps 'racket-mode-map + "gr" #'racket-eval-last-sexp) + (local-leader + :keymaps '(racket-mode-map racket-repl-mode-map) + "d" #'racket-repl-describe) (local-leader :keymaps 'racket-mode-map "r" #'racket-run "i" #'racket-repl + "e" #'racket-send-definition "sr" #'racket-send-region "sd" #'racket-send-definition)) #+end_src -- cgit v1.2.3-13-gbd6f