###1.Install Spacemacs How to install spacemacs.

###2.Config .spacemacs Make your ~/.spacemacs file like this .spacemacs

###3.Add rebar3 support M-m : configuration-layer/create-layer erlang-rebar
Create a new layer named erlang-rebar.
Download all files in here and put them in ~/.emacs.d/private/erlang-rebar/

###Done.