# F# contribution layer for Spacemacs
![logo_fsharp](img/fsharp.png)
**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)
## Description
This layer adds support for F# language using [fsharpbinding][].
## Packages Included
- [fsharp-mode][]
## Install
To use this contribution add it to your `~/.spacemacs`
```elisp
(setq-default dotspacemacs-configuration-layers '(fsharp))
```
## Key Bindings
Key Binding | Description
----------------------|--------------------------------------------------------
mcc | Build the project
mgg | Go to definition at point
mht | Show tooltip help at point
### REPL
Key Binding | Description
----------------------|--------------------------------------------------------
msb | Send buffer to the REPL
msB | Send buffer to the REPL and switch to the REPL in `insert state`
msi | Start a REPL
msp | Send phrase to the REPL
msP | Send phrase to the REPL and switch to the REPL in `insert state`
msr | Send region to the REPL
msR | Send region to the REPL and switch to the REPL in `insert state`
mss | Show the REPL
[fsharpbinding]: https://github.com/fsharp/fsharpbinding
[fsharp-mode]: https://github.com/fsharp/fsharpbinding