-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
73 changed files
with
3,014 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
data/fixtures/recorded/tutorial/unit-1-basics/changeSit.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
languageId: plaintext | ||
command: | ||
version: 7 | ||
spokenForm: change sit | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: i} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: | | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
selections: | ||
- anchor: {line: 2, character: 15} | ||
active: {line: 2, character: 15} | ||
marks: | ||
default.i: | ||
start: {line: 2, character: 32} | ||
end: {line: 2, character: 34} | ||
finalState: | ||
documentContents: | | ||
Welcome Cursorless! | ||
Notice the hats above each word this sentence. | ||
selections: | ||
- anchor: {line: 2, character: 32} | ||
active: {line: 2, character: 32} |
39 changes: 39 additions & 0 deletions
39
data/fixtures/recorded/tutorial/unit-1-basics/chuckLineOdd.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
languageId: plaintext | ||
command: | ||
version: 7 | ||
spokenForm: chuck line odd | ||
action: | ||
name: remove | ||
target: | ||
type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: o} | ||
modifiers: | ||
- type: containingScope | ||
scopeType: {type: line} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
Now, see the sidebar. | ||
selections: | ||
- anchor: {line: 2, character: 0} | ||
active: {line: 2, character: 6} | ||
- anchor: {line: 2, character: 35} | ||
active: {line: 2, character: 39} | ||
marks: | ||
default.o: | ||
start: {line: 4, character: 0} | ||
end: {line: 4, character: 3} | ||
finalState: | ||
documentContents: | | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
selections: | ||
- anchor: {line: 2, character: 0} | ||
active: {line: 2, character: 6} | ||
- anchor: {line: 2, character: 35} | ||
active: {line: 2, character: 39} |
38 changes: 38 additions & 0 deletions
38
data/fixtures/recorded/tutorial/unit-1-basics/chuckTrap.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
languageId: plaintext | ||
command: | ||
version: 7 | ||
spokenForm: chuck trap | ||
action: | ||
name: remove | ||
target: | ||
type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: t} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
Welcome to Cursorless! | ||
Notice the hats above each word in this sentence. | ||
Now, see the sidebar. | ||
selections: | ||
- anchor: {line: 2, character: 0} | ||
active: {line: 2, character: 6} | ||
- anchor: {line: 2, character: 35} | ||
active: {line: 2, character: 39} | ||
marks: | ||
default.t: | ||
start: {line: 0, character: 8} | ||
end: {line: 0, character: 10} | ||
finalState: | ||
documentContents: |- | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
Now, see the sidebar. | ||
selections: | ||
- anchor: {line: 2, character: 0} | ||
active: {line: 2, character: 6} | ||
- anchor: {line: 2, character: 35} | ||
active: {line: 2, character: 39} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
languageId: plaintext | ||
command: | ||
version: 7 | ||
spokenForm: post air | ||
action: | ||
name: setSelectionAfter | ||
target: | ||
type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: a} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: | | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
selections: | ||
- anchor: {line: 0, character: 8} | ||
active: {line: 0, character: 8} | ||
marks: | ||
default.a: | ||
start: {line: 2, character: 11} | ||
end: {line: 2, character: 15} | ||
finalState: | ||
documentContents: | | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
selections: | ||
- anchor: {line: 2, character: 15} | ||
active: {line: 2, character: 15} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
languageId: plaintext | ||
command: | ||
version: 7 | ||
spokenForm: pre urge | ||
action: | ||
name: setSelectionBefore | ||
target: | ||
type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: default, character: u} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: | | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
selections: | ||
- anchor: {line: 2, character: 0} | ||
active: {line: 2, character: 49} | ||
marks: | ||
default.u: | ||
start: {line: 0, character: 8} | ||
end: {line: 0, character: 18} | ||
finalState: | ||
documentContents: | | ||
Welcome Cursorless! | ||
Notice the hats above each word in this sentence. | ||
selections: | ||
- anchor: {line: 0, character: 8} | ||
active: {line: 0, character: 8} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"title": "Introduction", | ||
"version": 0, | ||
"steps": [ | ||
"Say {step:takeCap.yml}", | ||
"Well done! 🙌 You just used the code word for 'c', {grapheme:c}, to refer to the word with a gray hat over the 'c'.\nWhen a hat is not gray, we say its color: say {step:takeBlueSun.yml}", | ||
"Selecting a single token is great, but oftentimes we need something bigger.\nSay {step:takeHarpPastDrum.yml} to select a range.", | ||
"Despite its name, one of the most powerful aspects of cursorless is the ability to use more than one cursor.\nLet's try that: {step:takeNearAndSun.yml}", | ||
"But let's show that cursorless can live up to its name: we can say {step:chuckTrap.yml} to delete a word without ever moving our cursor.", | ||
"Tokens are great, but they're just one way to think of a document.\nLet's try working with lines: {step:chuckLineOdd.yml}", | ||
"We can also use {scopeType:line} to refer to the line containing our cursor: {step:takeLine.yml}", | ||
"You now know how to select and delete; let's give you a couple more actions to play with: say {action:pre} to place the cursor before a target, as in {step:preUrge.yml}", | ||
"Say {action:post} to place the cursor after a target: {step:postAir.yml}", | ||
"Say {action:change} to delete a word and move your cursor to where it used to be: {step:changeSit.yml}", | ||
"And that wraps up unit 1 of the cursorless tutorial! Next time, we'll write some code 🙌. Say {special:next} to get back home." | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
data/fixtures/recorded/tutorial/unit-1-basics/takeBlueSun.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
languageId: plaintext | ||
command: | ||
version: 7 | ||
spokenForm: take blue sun | ||
action: | ||
name: setSelection | ||
target: | ||
type: primitive | ||
mark: {type: decoratedSymbol, symbolColor: blue, character: s} | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: |- | ||
Welcome to Cursorless! | ||
Notice the hats above each word in this sentence. | ||
Now, see the sidebar. | ||
selections: | ||
- anchor: {line: 2, character: 22} | ||
active: {line: 2, character: 26} | ||
marks: | ||
blue.s: | ||
start: {line: 4, character: 5} | ||
end: {line: 4, character: 8} | ||
finalState: | ||
documentContents: |- | ||
Welcome to Cursorless! | ||
Notice the hats above each word in this sentence. | ||
Now, see the sidebar. | ||
selections: | ||
- anchor: {line: 4, character: 5} | ||
active: {line: 4, character: 8} |
Oops, something went wrong.