This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/sml/README.org
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00

1.9 KiB

SML layer

/TakeV/spacemacs/media/commit/fb1b94047ece14c9ad48ebc8d3608645b014b1d0/layers/+lang/sml/img/sml.png

Description

Adds support for the SML programming language.

Install

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(sml))

Key Bindings

Form Completion

Key Binding Description
M-SPC Inserts a space and completes the form before the cursor.
\vert Inserts a pipe and adds a double arrow or copies the function name. Generally just works.

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 f Send function to REPL
SPC m s F Send function to REPL and switch to REPL buffer in `insert state`
SPC m s i Run the sml REPL or switch to it if the REPL is already running
SPC m s r Send region to REPL
SPC m s R Send region to REPL and switch to REPL buffer in `insert state`
SPC m s s Run the sml REPL or switch to it if the REPL is already running