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/contrib/!lang/fsharp/README.org

49 lines
1.7 KiB
Org Mode
Raw Normal View History

2015-06-10 16:44:30 +00:00
#+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 |
|-------------+----------------------------|
| ~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 |