Add new alchemist-iex-reload-module functionality

Since https://github.com/tonini/alchemist.el/commit/395e6717
calling `alchemist-iex-reload-module` reloads the module in
the current buffer via `r(Module)`

(Also my first contribution to spacemacs, hope I'm holding it right)

Update Readme to reflect changes to packages.el
This commit is contained in:
Tim Buchwaldt 2015-12-10 14:33:06 +01:00 committed by syl20bnr
parent 3a9a130e4a
commit 724efaaa79
2 changed files with 4 additions and 2 deletions

View File

@ -89,13 +89,14 @@ You find and overview of all the key-bindings on the [[file:alchemist-refcard.pd
| Key Binding | Description |
|-------------+-----------------------------------------------------------------|
| ~SPC m s c~ | Compiles the current buffer in the IEx process. |
| ~SPC m s i~ | Start an =iex= inferior process |
| ~SPC m s I~ | Start an IEx process with mix (=iex -S mix=) |
| ~SPC m s l~ | Send current line to REPL buffer |
| ~SPC m s L~ | Send current line to REPL buffer and focus it in =insert state= |
| ~SPC m s m~ | Reloads the module in the current buffer in your IEx process |
| ~SPC m s r~ | Send region to REPL buffer |
| ~SPC m s R~ | Send region to REPL buffer and focus it in =insert state= |
| ~SPC m s c~ | Compiles the current buffer in the IEx process. |
** Tests

View File

@ -66,13 +66,14 @@
"mx" 'alchemist-mix-run
"mh" 'alchemist-mix-help
"sc" 'alchemist-iex-compile-this-buffer
"si" 'alchemist-iex-run
"sI" 'alchemist-iex-project-run
"sl" 'alchemist-iex-send-current-line
"sL" 'alchemist-iex-send-current-line-and-go
"sm" 'alchemist-iex-reload-module
"sr" 'alchemist-iex-send-region
"sR" 'alchemist-iex-send-region-and-go
"sc" 'alchemist-iex-compile-this-buffer
"ta" 'alchemist-mix-test
"tb" 'alchemist-mix-test-this-buffer