Skip to content

Commit 5d8bb47

Browse files
Document "puff", "float" and "drop" (#2877)
Co-authored-by: Andreas Arvidsson <[email protected]>
1 parent f9b20ba commit 5d8bb47

File tree

1 file changed

+7
-2
lines changed
  • packages/cursorless-org-docs/src/docs/user

1 file changed

+7
-2
lines changed

packages/cursorless-org-docs/src/docs/user/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,14 +620,19 @@ For example:
620620
621621
- `"drink <TARGET>"`: Inserts a new line above the target line, and moves the cursor to the newly created line
622622
- `"pour <TARGET>"`: Inserts a new line below the target line, and moves the cursor to the newly created line
623+
- `"drop <TARGET>"`: Inserts an empty line above the target line (without moving the cursor)
624+
- `"float <TARGET>"`: Inserts an empty line below the target line (without moving the cursor)
625+
- `"puff <TARGET>"`: Inserts empty lines/spaces around the target (without moving the cursor)
623626
624627
eg: `pour blue air` will insert empty line below the token containing letter 'a' with a blue hat and moves the cursor to the new line.
625628
626-
Note: `"drink"` and `"pour"` are actually a bit more versatile than just lines.
627-
If you use a [syntactic scope](#syntactic-scopes) modifier on the target, then`"drink"` and `"pour"` will do the
629+
Note: `"drink"`, `"pour"`, `"drop"`, `"float"`, and `"puff"` are actually more versatile than just handling lines.
630+
If you use a [syntactic scope](#syntactic-scopes) modifier on the target, they will do the
628631
appropriate insertions to prepare the text for a new instance of that scope.
629632
630633
eg: `pour item air` will insert a comma and space after the air item, and place the cursor after the inserted characters.
634+
eg: `puff token air` will insert spaces around the token with a hat over the letter 'a'.
635+
eg: `float item air` will insert a comma after the item containing letter 'a' with a hat.
631636
632637
### Homophones
633638

0 commit comments

Comments
 (0)