Skip to content

Commit e53928d

Browse files
Update head/tail docs with regards to surrounding pairs
1 parent 4362f67 commit e53928d

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ The modifiers `"head"` and `"tail"` can be used to expand a target through the b
310310
- `"take head air"`: selects the mark through to start of the line
311311
- `"take tail air"`: selects the mark through to the end of the line
312312

313+
When inside a single line surrounding pair(parentheses, brackets, etc) the head/tail modifier will only expand to the interior of that pair instead of the whole line. You can explicitly say `"head line"` or `"tail line"` to get the line behavior.
314+
313315
When followed by a modifier, they will expand their input to the start or end of the given modifier range. For example:
314316

315317
- `"take head funk"`: select from the cursor the start of the containing function

0 commit comments

Comments
 (0)