mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-04 21:07:21 +03:00
Add rewrap command to docs (#580)
This commit is contained in:
parent
237c56f4cf
commit
304c2d56cc
@ -43,7 +43,7 @@ Note: If you'd like to customize any of the spoken forms, please see the [docume
|
||||
- [Rename](#rename)
|
||||
- [Scroll](#scroll)
|
||||
- [Insert/Use/Repeat](#insertuserepeat)
|
||||
- [Wrap](#wrap)
|
||||
- [Wrap/Rewrap](#wraprewrap)
|
||||
- [\[experimental\] Wrap with snippet](#experimental-wrap-with-snippet)
|
||||
- [Show definition/reference/quick fix](#show-definitionreferencequick-fix)
|
||||
- [Fold/unfold](#foldunfold)
|
||||
@ -419,9 +419,9 @@ eg:
|
||||
`move blue air to green bat`
|
||||
Replaces the token containing letter 'b' with a green hat using the token containing letter 'a' with a blue hat, and the delete the latter token.
|
||||
|
||||
### Wrap
|
||||
### Wrap/Rewrap
|
||||
|
||||
The wrap commands can be used to wrap a given target with a pair of symbols
|
||||
The wrap command can be used to wrap a given target with a pair of symbols
|
||||
|
||||
- `"round wrap <TARGET>"`: wraps the target with parentheses
|
||||
- `"box wrap <TARGET>"`: wraps the target with square brackets
|
||||
@ -430,6 +430,9 @@ eg:
|
||||
`box wrap blue air`
|
||||
Wraps the token containing letter 'a' with a blue hat in square brackets.
|
||||
|
||||
The rewrap command, mapped to `"repack"` by default, can be used to swap a given pair of symbols with another
|
||||
- `"curly repack <TARGET>"`: wraps the target with curly brackets, replacing the previous paired delimiter
|
||||
|
||||
See [paired delimiters](#paired-delimiters) for a list of possible wrappers.
|
||||
|
||||
#### \[experimental\] Wrap with snippet
|
||||
|
Loading…
Reference in New Issue
Block a user