6eab954afe
Helm seems to treat "!" specially in pattern matching, so having a ! in the pattern string when traversing directories is problematic. This change fixes #2737, because as far as I can tell "+" has no special meaning in a helm pattern. Of course, we can choose a different character, but I'm fond of "+" as representing "more layers here".
44 lines
1.8 KiB
Org Mode
44 lines
1.8 KiB
Org Mode
#+TITLE: SML contribution layer for Spacemacs
|
|
|
|
[[file:img/sml.png]]
|
|
|
|
* Table of Contents :TOC@4:
|
|
- [[#description][Description]]
|
|
- [[#install][Install]]
|
|
- [[#key-bindings][Key Bindings]]
|
|
- [[#form-completion][Form Completion]]
|
|
- [[#repl][REPL]]
|
|
|
|
* Description
|
|
|
|
Adds support for the [[http://www.smlnj.org][SML]] programming language.
|
|
|
|
* Install
|
|
|
|
To use this contribution add it to your =~/.spacemacs=
|
|
|
|
#+BEGIN_SRC elisp
|
|
(setq-default dotspacemacs-configuration-layers '(sml))
|
|
#+END_SRC
|
|
|
|
* 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 |
|