erlang-elixir layer: add elixir key bindings to README
This commit is contained in:
parent
ca91d46b64
commit
0a0b529c9b
|
@ -9,6 +9,8 @@
|
||||||
**** C/C++
|
**** C/C++
|
||||||
- Add package =gdb-mi= (gdb-many-windows) which enables an IDE like debugger
|
- Add package =gdb-mi= (gdb-many-windows) which enables an IDE like debugger
|
||||||
frontend for Emacs (thanks to tuhdo)
|
frontend for Emacs (thanks to tuhdo)
|
||||||
|
**** Erlang-Elixir
|
||||||
|
- List all Elixir key bindings in README
|
||||||
**** Osx
|
**** Osx
|
||||||
- Add =⌘ += and =⌘ -= key bindings to scale text (thanks to JoshTGreenwood)
|
- Add =⌘ += and =⌘ -= key bindings to scale text (thanks to JoshTGreenwood)
|
||||||
**** Python
|
**** Python
|
||||||
|
|
|
@ -12,6 +12,15 @@
|
||||||
- [Erlang](#erlang)
|
- [Erlang](#erlang)
|
||||||
- [Enable EDTS](#enable-edts)
|
- [Enable EDTS](#enable-edts)
|
||||||
- [EDTS Key bindings](#edts-key-bindings)
|
- [EDTS Key bindings](#edts-key-bindings)
|
||||||
|
- [Elixir](#elixir)
|
||||||
|
- [Elixir Key bindings](#elixir-key-bindings)
|
||||||
|
- [Compilation](#compilation)
|
||||||
|
- [Elixir Help](#elixir-help)
|
||||||
|
- [Elixir Mix](#elixir-mix)
|
||||||
|
- [Elixir Evaluation in place](#elixir-evaluation-in-place)
|
||||||
|
- [Elixir REPL interactions](#elixir-repl-interactions)
|
||||||
|
- [Elixir Tests](#elixir-tests)
|
||||||
|
- [Elixir Execute](#elixir-execute)
|
||||||
|
|
||||||
<!-- markdown-toc end -->
|
<!-- markdown-toc end -->
|
||||||
|
|
||||||
|
@ -49,4 +58,73 @@ Note that `EDTS` is disable on Windows.
|
||||||
<kbd>SPC m m</kbd> | go to the macro definition under point
|
<kbd>SPC m m</kbd> | go to the macro definition under point
|
||||||
<kbd>SPC m r</kbd> | go to the record definition under point
|
<kbd>SPC m r</kbd> | go to the record definition under point
|
||||||
|
|
||||||
|
## Elixir
|
||||||
|
|
||||||
|
### Elixir Key bindings
|
||||||
|
|
||||||
|
#### Compilation
|
||||||
|
|
||||||
|
Key Binding | Description
|
||||||
|
----------------------|------------------------------------------------------------
|
||||||
|
<kbd>SPC m c b</kbd> | Compile current buffer
|
||||||
|
|
||||||
|
#### Elixir Help
|
||||||
|
|
||||||
|
Key Binding | Description
|
||||||
|
----------------------|------------------------------------------------------------
|
||||||
|
<kbd>SPC m h :</kbd> | Run custom search for help
|
||||||
|
<kbd>SPC m h h</kbd> | Show help of the current expression
|
||||||
|
<kbd>SPC m h H</kbd> | Toggle through search history
|
||||||
|
<kbd>SPC m h r</kbd> | Show help for current region
|
||||||
|
|
||||||
|
#### Elixir Mix
|
||||||
|
|
||||||
|
Key Binding | Description
|
||||||
|
----------------------|------------------------------------------------------------
|
||||||
|
<kbd>SPC m m :</kbd> | Prompt for a `mix` command
|
||||||
|
<kbd>SPC m m c</kbd> | Compile the whole application
|
||||||
|
<kbd>SPC m m h</kbd> | Show help for a specific `mix` command
|
||||||
|
<kbd>SPC m m i</kbd> | Start `iex` in the context of an Elixir project
|
||||||
|
<kbd>SPC m m x</kbd> | Run the given expression in the Elixir application context
|
||||||
|
|
||||||
|
#### Elixir Evaluation in place
|
||||||
|
|
||||||
|
Key Binding | Description
|
||||||
|
----------------------|------------------------------------------------------------
|
||||||
|
<kbd>SPC m e b</kbd> | Evaluate buffer
|
||||||
|
<kbd>SPC m e B</kbd> | Evaluate buffer and insert result
|
||||||
|
<kbd>SPC m e l</kbd> | Evaluate current line
|
||||||
|
<kbd>SPC m e L</kbd> | Evaluate current line and insert result
|
||||||
|
<kbd>SPC m e r</kbd> | Evaluate region
|
||||||
|
<kbd>SPC m e R</kbd> | Evaluate region and insert result
|
||||||
|
|
||||||
|
#### Elixir REPL interactions
|
||||||
|
|
||||||
|
Key Binding | Description
|
||||||
|
----------------------|------------------------------------------------------------
|
||||||
|
<kbd>SPC m s i</kbd> | Start an `iex` inferior process
|
||||||
|
<kbd>SPC m s l</kbd> | Send current line to REPL buffer
|
||||||
|
<kbd>SPC m s L</kbd> | Send current line to REPL buffer and focus it in `insert state`
|
||||||
|
<kbd>SPC m s r</kbd> | Send region to REPL buffer
|
||||||
|
<kbd>SPC m s R</kbd> | Send region to REPL buffer and focus it in `insert state`
|
||||||
|
|
||||||
|
|
||||||
|
#### Elixir Tests
|
||||||
|
|
||||||
|
Key Binding | Description
|
||||||
|
----------------------|------------------------------------------------------------
|
||||||
|
<kbd>SPC m g t</kbd> | Open the test file for current buffer
|
||||||
|
<kbd>SPC m t a</kbd> | Run all the tests
|
||||||
|
<kbd>SPC m t b</kbd> | Run all the tests from current buffer
|
||||||
|
<kbd>SPC m t t</kbd> | Run test under point
|
||||||
|
|
||||||
|
#### Elixir Execute
|
||||||
|
|
||||||
|
Key Binding | Description
|
||||||
|
----------------------|------------------------------------------------------------
|
||||||
|
<kbd>SPC m x :</kbd> | Run a custom execute command with `elixir`
|
||||||
|
<kbd>SPC m x b</kbd> | Run the current buffer through `elixir`
|
||||||
|
<kbd>SPC m x f</kbd> | Run `elixir` with the given filename
|
||||||
|
|
||||||
|
|
||||||
[EDTS]: https://github.com/tjarvstrand/edts
|
[EDTS]: https://github.com/tjarvstrand/edts
|
||||||
|
|
Loading…
Reference in a new issue