aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-07-11 21:37:20 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-07-11 21:37:20 +0100
commitb81dd68f120e29e2033c823dba730695a8449fac (patch)
tree706eb26d9983ecfbcd42be299b18696cb222201e /Emacs
parent9ed3110ed1dc2f6368e24cb5a9b4f5b4e5ddb02b (diff)
downloaddotfiles-b81dd68f120e29e2033c823dba730695a8449fac.tar.gz
dotfiles-b81dd68f120e29e2033c823dba730695a8449fac.tar.bz2
dotfiles-b81dd68f120e29e2033c823dba730695a8449fac.zip
(Emacs)+some more racket configuration
Picked up racket lang again, decided to make the experience a bit better for myself.
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org12
1 files changed, 12 insertions, 0 deletions
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