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
syl20bnr 6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00
..
img core: dotspacemacs-distribution, spacemacs-core layer and rename contrib 2015-09-07 23:44:43 -04:00
packages.el core: dotspacemacs-distribution, spacemacs-core layer and rename contrib 2015-09-07 23:44:43 -04:00
README.org core: dotspacemacs-distribution, spacemacs-core layer and rename contrib 2015-09-07 23:44:43 -04:00

SML contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/6b33031dc5e6e08acea16881f67bcbe4c78e0e65/layers/!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