cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Allow using "this" to refer to current token with empty selection

Open pokey opened this issue 3 years ago • 0 comments

Use cases

"take this" / "chuck this" / "bring this to bat" with cursor at end of token. Note that we don't want to auto-expand for implicit destination for a bring command

Approach

After final modifier stages, but right before running action, run containing token stage if target is empty, weak, and has implicit range

Note that we're rely on the fact that implicit (ie unspoken) target for "bring" automatically has an explicit range to avoid expanding when you say eg "bring air" with an empty cursor

pokey avatar Oct 20 '22 11:10 pokey