Skip to content

Commit 97a0083

Browse files
authored
Clarify swap docs (#2231)
## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [x] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [-] I have not broken the cheatsheet
1 parent 574b1b3 commit 97a0083

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/user/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,11 @@ Copies the token containing letter 'a' with a blue hat.
563563
564564
### Swap
565565
566-
Swaps two targets. If the first target is omitted, it will target the current selection. If the targets are list targets they will be zipped together.
566+
Swaps two targets. If the first target is omitted, it will target the current selection. If `<Target 1>` and `<Target 2>` each consist of multiple targets, they will be zipped together.
567567
568568
- `"swap <TARGET 1> with <TARGET 2>"`
569569
- `"swap with <TARGET>"`
570+
- `"swap air and bat with cap and drum"` is equivalent to `"swap air with cap"` and `"swap bat with drum"`
570571
571572
eg:
572573
`swap blue air with green bat`

0 commit comments

Comments
 (0)