Skip to content

Commit 77d507e

Browse files
committed
Add diagram
1 parent f5e38ac commit 77d507e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/user/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,14 @@ For example, `"take funk blue air"` selects the function containing the token wi
176176

177177
##### `"previous"` / `"next"` / `<ordinal>` / `<number>`
178178

179+
We support several modifiers that allow you to refer to scopes relative to the input target, or relative to the canonical iteration scope of the scope type. For example, the iteration scope of functions is a class, of tokens is a line, of characters is a token, etc.
180+
181+
Here is a diagram of the possible relative / ordinal modifiers:
182+
183+
![Relative ordinal diagram](images/relative-ordinal.jpeg)
184+
185+
And here is a table of the spoken forms:
186+
179187
| Spoken form | Description | Example |
180188
| ------------------------------ | ------------------------------------------------------------------- | ----------------------------- |
181189
| `"[number] [scope]s"` | `[number]` instances of `[scope]` including target, going forwards | `"take three funks"` |
493 KB
Loading

0 commit comments

Comments
 (0)