spacemacs/contrib/!lang/sml
2015-07-03 23:07:55 -04:00
..
img sml layer: move it to !lang, add bindings and convert README to org 2015-07-03 23:07:55 -04:00
packages.el sml layer: move it to !lang, add bindings and convert README to org 2015-07-03 23:07:55 -04:00
README.org sml layer: move it to !lang, add bindings and convert README to org 2015-07-03 23:07:55 -04:00

SML contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/711c37e9bc2547d3193c85323479092ee073e7f4/contrib/!lang/sml/img/sml.png

Table of Contents   TOC@4

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