spacemacs/layers/+lang/sml
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
packages.el Bump year in copyright headers 2017-01-05 23:08:17 -05:00
README.org Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00

SML layer

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

Description

Adds support for the SML programming language.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add sml to the existing dotspacemacs-configuration-layers list in this file.

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