Racket layer
Table of ContentsClose
1 Description
Adds support for the Racket programming language.
2 Install
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add racket
to the existing dotspacemacs-configuration-layers
list in this
file. You will also need DrRacket installed. Alternatively, one can use the
"Minimal Racket" installation, and then run the following command.
raco pkg install drracket
3 Key Bindings
3.2 Documentation
Key Binding | Description |
---|---|
SPC m h d |
Describes the function at point in a Racket Describe buffer |
SPC m h h |
View documentation of the identifier or string at point. |
3.3 Tests
Key Binding | Description |
---|---|
SPC m t b |
Run tests of buffer |
SPC m t B |
Run tests of buffer with coverage |
3.4 REPL
Key Binding | Description |
---|---|
SPC m s b |
Send buffer to REPL |
SPC m s B |
Send buffer to REPL and switch to REPL buffer in insert state |
SPC m s e |
Send last sexp to REPL |
SPC m s E |
Send last sexp to REPL and switch to REPL in insert state |
SPC m s f |
Send function at point to REPL |
SPC m s F |
Send function at point and switch to REPL in insert state |
SPC m s i |
Start a REPL or switch to REPL buffer |
SPC m s r |
Send region to REPL |
SPC m s R |
Send region to REPL and switch to REPL in insert state |
SPC m s s |
Show and switch to REPL buffer |