aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-07-03 04:27:49 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-07-03 04:27:49 +0100
commit2006a8ae39f54aa502a8992c4be293e8e74203b2 (patch)
tree32b351cc831f52f1bccb733d5b9636072c4de009 /Emacs
parent77f54d226a7b9d984b97c04138be0f51c46b5384 (diff)
downloaddotfiles-2006a8ae39f54aa502a8992c4be293e8e74203b2.tar.gz
dotfiles-2006a8ae39f54aa502a8992c4be293e8e74203b2.tar.bz2
dotfiles-2006a8ae39f54aa502a8992c4be293e8e74203b2.zip
(Emacs/config)+scheme bindings
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 7bb9b45..419414f 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -3554,6 +3554,26 @@ A child language of javascript which compiles to it.
:init
(setq typescript-indent-level 2))
#+end_src
+** Scheme
+Another Lisp but simpler than the rest. A beauty of engineering and
+fun to write programs in.
+#+begin_src emacs-lisp
+(use-package cmuscheme
+ :display
+ ("\\*scheme\\*"
+ (display-buffer-reuse-window display-buffer-at-bottom)
+ (window-height . 0.25))
+ :general
+ (local-leader
+ :keymaps 'scheme-mode-map
+ "t" #'run-scheme
+ "cc" #'scheme-compile-definition
+ "cf" #'scheme-compile-file
+ "cr" #'scheme-compile-region
+ "sf" #'scheme-send-definition
+ "sr" #'scheme-send-region
+ "e" #'scheme-send-last-sexp))
+#+end_src
** Common Lisp
Common Lisp is a dialect of Lisp, the most /common/ one around. Emacs
comes with builtin Lisp support, of course, and it's really good in