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/fsharp/README.org
justbur 6eab954afe Use + instead of ! for layer categories
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".
2015-09-11 00:13:51 -04:00

48 lines
1.7 KiB
Org Mode

#+TITLE: F# contribution layer for Spacemacs
[[file:img/fsharp.png]]
* Table of Contents :TOC@4:
- [[#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 |