Skip to content

Commit

Permalink
Add then command from cursorless recommendations (talonhub#1394)
Browse files Browse the repository at this point in the history
The recommendation comes from
[here](https://github.com/cursorless-dev/cursorless/wiki/Common-recommendations)

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Phil Cohen <phillip@phillip.io>
  • Loading branch information
3 people authored Jun 10, 2024
1 parent d1bc894 commit 39bed39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/then/then.talon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This makes it easier to chain commands by letting you hint about command boundaries.
# For example, with Cursorless, the phrase "post line air" is ambiguous as to whether you meant a single command ("post line air", i.e. "move the cursor to the end of the line containing the 'a' hat"), or two separate commands ("post line" to move the cursor to the end of the current line, followed by "air" to insert the letter "a").
# If you know you want the latter, this allows you to say "post line then air" to force that interpretation.
then: skip()

0 comments on commit 39bed39

Please sign in to comment.