spacemacs/layers/+lang/fsharp/README.org
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00

50 lines
1.8 KiB
Org Mode

#+TITLE: F# layer
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../../../css/readtheorg.css" />
[[file:img/fsharp.png]]
* Table of Contents :TOC_4_org:noexport:
- [[Description][Description]]
- [[Packages Included][Packages Included]]
- [[Install][Install]]
- [[Key Bindings][Key Bindings]]
- [[REPL][REPL]]
* Description
This layer adds support for F# language using [[https://github.com/fsharp/fsharpbinding][fsharpbinding]].
* Packages Included
- [[https://github.com/fsharp/fsharpbinding][fsharp-mode]]
* Install
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(fsharp))
#+END_SRC
* Key Bindings
| Key Binding | Description |
|-------------+----------------------------|
| ~SPC m c c~ | Build the project |
| ~SPC m g g~ | Go to definition at point |
| ~SPC m h t~ | Show tooltip help at point |
** REPL
| Key Binding | Description |
|-------------+------------------------------------------------------------------|
| ~SPC m s b~ | Send buffer to the REPL |
| ~SPC m s B~ | Send buffer to the REPL and switch to the REPL in =insert state= |
| ~SPC m s i~ | Start a REPL |
| ~SPC m s p~ | Send phrase to the REPL |
| ~SPC m s P~ | Send phrase to the REPL and switch to the REPL in =insert state= |
| ~SPC m s r~ | Send region to the REPL |
| ~SPC m s R~ | Send region to the REPL and switch to the REPL in =insert state= |
| ~SPC m s s~ | Show the REPL |