mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-04 21:07:21 +03:00
Add information about token (#849)
* [issue-814] added information about token * Tweaks Co-authored-by: “minh” <“minh.nguyen19997@hotmail.com”> Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
This commit is contained in:
parent
ca1aa9d998
commit
5cc286d550
@ -211,6 +211,14 @@ The word file can be used to expand the target to refer to the entire file.
|
||||
|
||||
For example, `"take file [blue] air"` selects the file including the token containing letter 'a' with a blue hat.
|
||||
|
||||
##### `"token"`
|
||||
|
||||
The `"token"` modifier expands its input to the nearest containing token. This modifier is often used without a mark, either to select the token adjacent to your cursor or to expand your selection to the nearest containing token range. For example:
|
||||
|
||||
- `"copy token"`
|
||||
- `"take token"`
|
||||
- `"chuck token"`
|
||||
|
||||
##### Surrounding pair
|
||||
|
||||
Cursorless has support for expanding the selection to the nearest containing paired delimiter, eg the surrounding parentheses.
|
||||
|
Loading…
Reference in New Issue
Block a user