Skip to content

Commit

Permalink
update keymap to not override default commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tarzan committed Feb 2, 2018
1 parent 5cc0dc8 commit c0aa93a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
11 changes: 3 additions & 8 deletions Default.sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
[
{ "keys": ["super+shift+r"], "command": "run_single_elixir_test",
{ "keys": ["ctrl+super+shift+r"], "command": "run_single_elixir_test",
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.elixir, source.rspec, text.gherkin.feature"
} ]
}, // single test


{ "keys": ["super+shift+t"], "command": "run_all_elixir_test",
{ "keys": ["ctrl+super+shift+t"], "command": "run_all_elixir_test",
"context": [ { "key": "selector", "operator": "equal",
"operand": "source.elixir, source.rspec, text.gherkin.feature"
} ]
}, // test file


{ "keys": ["super+shift+e"], "command": "run_last_elixir_test" }, // test last test file

{ "keys": ["ctrl+super+shift+e"], "command": "run_last_elixir_test" }, // test last test file
{ "keys": ["super+shift+x"], "command": "show_test_panel" }, // show test panel

{ "keys": ["super+."],
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ Make a copy of `ElixirTest.sublime-settings` file to `~/Library/Application\ Sup
Usage
-----

- Run single elixir test: `Command-Shift-R`
- Run all elixir tests from current file: `Command-Shift-T`
- Run last elixir test(s): `Command-Shift-E`
- Run single elixir test: `Ctrl-Command-Shift-R`
- Run all elixir tests from current file: `Ctrl-Command-Shift-T`
- Run last elixir test(s): `Ctrl-Command-Shift-E`
- Show test panel: `Command-Shift-X` (when test panel visible hit `esc` to hide it)
- Switching between code and test (create a file if not found):
- Single View: `Command-.`
Expand Down

0 comments on commit c0aa93a

Please sign in to comment.