spacemacs/contrib/lang/fsharp/README.md

57 lines
1.7 KiB
Markdown
Raw Normal View History

2015-03-10 23:11:29 +00:00
# F# contribution layer for Spacemacs
![logo_fsharp](img/fsharp.png)
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
**Table of Contents**
- [F# contribution layer for Spacemacs](#f-contribution-layer-for-spacemacs)
- [Description](#description)
- [Packages Included](#packages-included)
- [Install](#install)
- [Key Bindings](#key-bindings)
- [REPL](#repl)
<!-- markdown-toc end -->
2015-03-10 23:11:29 +00:00
## Description
2015-03-14 05:45:52 +00:00
This layer adds support for F# language using [fsharpbinding][].
2015-03-10 23:11:29 +00:00
## Packages Included
2015-03-14 05:45:52 +00:00
- [fsharp-mode][]
2015-03-10 23:11:29 +00:00
## Install
To use this contribution add it to your `~/.spacemacs`
```elisp
(setq-default dotspacemacs-configuration-layers '(fsharp))
```
## Key Bindings
Key Binding | Description
2015-03-14 05:45:52 +00:00
----------------------|--------------------------------------------------------
<kbd>mcc</kbd> | Build the project
<kbd>mgg</kbd> | Go to definition at point
<kbd>mht</kbd> | Show tooltip help at point
2015-03-10 23:11:29 +00:00
### REPL
Key Binding | Description
2015-03-14 05:45:52 +00:00
----------------------|--------------------------------------------------------
<kbd>msb</kbd> | Send buffer to the REPL
<kbd>msB</kbd> | Send buffer to the REPL and switch to the REPL in `insert state`
<kbd>msi</kbd> | Start a REPL
<kbd>msp</kbd> | Send phrase to the REPL
<kbd>msP</kbd> | Send phrase to the REPL and switch to the REPL in `insert state`
<kbd>msr</kbd> | Send region to the REPL
<kbd>msR</kbd> | Send region to the REPL and switch to the REPL in `insert state`
<kbd>mss</kbd> | Show the REPL
[fsharpbinding]: https://github.com/fsharp/fsharpbinding
[fsharp-mode]: https://github.com/fsharp/fsharpbinding