Scheme layer
Table of ContentsClose
1 Description
A spacemacs contribution layer providing Scheme support via Geiser.
2 Install
The scheme layer currently supports: Chicken and Guile. Combined usage of racket-mode and geiser has not been tested.
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add scheme
to the existing dotspacemacs-configuration-layers
list in this
file.
For full Chicken support, the following commands should be run:
$ chicken-install -s apropos chicken-doc
$ cd `csi -p '(chicken-home)'`
$ curl https://3e8.org/pub/chicken-doc/chicken-doc-repo.tgz | sudo tar zx
3 Key Bindings
3.1 Compiling
Key Binding | Description |
---|---|
SPC m c c |
Compile current buffer |
SPC m c p |
Add directory to load path |
3.3 Documentation
Key Binding | Description |
---|---|
SPC m h h |
Docs for symbol at point |
SPC m h d |
Look up manual entry for symbol at point |
SPC m h m |
Display exports for module |
SPC m h < |
Display callers |
SPC m h > |
Display callees |
3.5 Macroexpansion
Key Binding | Description |
---|---|
SPC m m e |
Macroexpand last sexp |
SPC m m f |
Macroexpand surrounding sexp |
SPC m m r |
Macroexpand region |
3.6 REPL
Key Binding | Description |
---|---|
SPC m s i |
Start or switch to the REPL |
SPC m s s |
Select Scheme implementation |
SPC m s b |
Send buffer to the REPL |
SPC m s B |
Send buffer to the REPL and focus it |
SPC m s f |
Send definition to the REPL |
SPC m s F |
Send definition to the REPL and focus it |
SPC m s e |
Send last sexp to the REPL |
SPC m s r |
Send region to the REPL |
SPC m s R |
Send region to the REPL and focus it |