Skip to content

Commit 66e8a64

Browse files
committed
Add documentation on tagged keymaps in README
1 parent 0a5cce9 commit 66e8a64

File tree

1 file changed

+25
-20
lines changed

1 file changed

+25
-20
lines changed

README.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,22 @@ automatically when `ruby-mode` is started.
3333

3434
These keybindings are available in any Ruby source file:
3535

36-
Keybinding | Description |
37-
------------|-------------------------------------------------------------------------------|
38-
`C-c , v` | Verify the spec file associated with the current buffer |
39-
`C-c , a` | Run spec for entire project |
40-
`C-c , t` | Toggle back and forth between a spec and its target |
41-
`C-c , e` | Toggle back and forth between a method and its examples in the spec file |
42-
`C-c , 4 t` | Find in the other window the spec or the target file |
43-
`C-c , 4 e` | As above, but try to navigate to the example or method corresponding to point |
44-
`C-c , r` | Re-run the last verification process |
45-
`C-c , y` | Yank the last verification command to clipboard |
46-
`C-c , m` | Run all specs related to the current buffer |
47-
`C-c , c` | Run the current spec and all after it |
48-
`C-c , s` | Verify the example or method defined at point |
49-
`C-c , f` | Re-run just the failed examples from the last run |
36+
| Keybinding | Description |
37+
| -------------- | ----------------------------------------------------------------------------------------- |
38+
| `C-c , v` | Verify the spec file associated with the current buffer |
39+
| `C-c , a` | Run spec for entire project |
40+
| `C-c , t` | Toggle back and forth between a spec and its target |
41+
| `C-c , e` | Toggle back and forth between a method and its examples in the spec file |
42+
| `C-c , 4 t` | Find in the other window the spec or the target file |
43+
| `C-c , 4 e` | As above, but try to navigate to the example or method corresponding to point |
44+
| `C-c , r` | Re-run the last verification process |
45+
| `C-c , y` | Yank the last verification command to clipboard |
46+
| `C-c , m` | Run all specs related to the current buffer |
47+
| `C-c , c` | Run the current spec and all after it |
48+
| `C-c , s` | Verify the example or method defined at point |
49+
| `C-c , f` | Re-run just the failed examples from the last run |
50+
| `C-c , g v` | Verify the spec file associated with the current buffer, filtered by one or multiple tags |
51+
| `C-c , g a` | Run spec for entire project, filtered by one or multiple tags |
5052

5153
### RSpec mode
5254

@@ -61,12 +63,15 @@ Keybinding | Description |
6163

6264
These keybindings are available in Dired buffers:
6365

64-
Keybinding | Description |
65-
-----------|----------------------------------------------------------------|
66-
`C-c , v` | Run all specs in the current directory |
67-
`C-c , s` | Run marked specs or spec at point (works with directories too) |
68-
`C-c , a` | Run the 'spec' rake task for the project of the current file |
69-
`C-c , r` | Re-run the last RSpec invocation |
66+
Keybinding | Description |
67+
-------------|--------------------------------------------------------------------------------------------------|
68+
`C-c , v` | Run all specs in the current directory |
69+
`C-c , s` | Run marked specs or spec at point (works with directories too) |
70+
`C-c , a` | Run the 'spec' rake task for the project of the current file |
71+
`C-c , r` | Re-run the last RSpec invocation |
72+
`C-c , g v` | Run all specs in the current directory, filtered by one or multiple tags |
73+
`C-c , g s` | Run marked specs or spec at point, filtered by one or multiple tags (works with directories too) |
74+
`C-c , g a` | Run the 'spec' rake task for the project of the current file, filtered by one or multiple tags |
7075

7176
See `rspec-mode.el` for further usage.
7277

0 commit comments

Comments
 (0)