Add rewrap command to docs (#580)

This commit is contained in:
Will Sommers 2022-03-03 17:01:17 -05:00 committed by GitHub
parent 237c56f4cf
commit 304c2d56cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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