# Erlang/Elixir contribution layer for Spacemacs
![logo_erlang](img/erlang.png)
![logo_elixir](img/elixir.png) with ![logo_alchemist](img/alchemist.png)
**Table of Contents**
- [Erlang/Elixir contribution layer for Spacemacs](#erlangelixir-contribution-layer-for-spacemacs)
- [Install](#install)
- [Erlang](#erlang)
- [Enable EDTS](#enable-edts)
- [EDTS Key bindings](#edts-key-bindings)
## Install
To use this contribution add it to your `~/.spacemacs`
```elisp
(setq-default dotspacemacs-configuration-layers '(erlang-elixir))
```
## Erlang
### Enable EDTS
[EDTS][] is disabled by default, to enable it add the following snippet to
the `dotspacemacs/init` function of your `~/.spacemacs` file.
```elisp
(setq spacemacs-erlang-elixir-use-edts t)
```
Note that `EDTS` is disable on Windows.
#### EDTS Key bindings
Key Binding | Description
--------------------|------------------------------------------------------------
SPC m d | show man page documentation
SPC m e | go to next issue
SPC m g | go to definition
SPC m G | find a module in the current project
SPC m h | open the header file under point
SPC m l | find a function in the current module
SPC m m | go to the macro definition under point
SPC m r | go to the record definition under point
[EDTS]: https://github.com/tjarvstrand/edts