You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cursorless-org-docs/src/docs/user/README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,23 @@ The `"block"` modifier expands to above and below the target to select lines unt
274
274
-`"take block"`
275
275
-`"take block <TARGET>"`
276
276
277
+
##### `"short block"`
278
+
279
+
The `"short block"` scope is like `"block"`, but stops not only at empty lines but also stops if it would exit the nearest [surrounding pair](#surrounding-pair).
280
+
For example, given the text...
281
+
282
+
```
283
+
{
284
+
aaa
285
+
{
286
+
bbb
287
+
ccc
288
+
}
289
+
}
290
+
```
291
+
292
+
`"take short block bat"` would select the two lines with `bbb` and `ccc`. See [short paint](#short-paint) for a more detailed walkthrough of a scope not exiting surrounding pairs.
293
+
277
294
##### `"file"`
278
295
279
296
The word '`"file"` can be used to expand the target to refer to the entire file.
0 commit comments