-
-
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
76 changed files
with
3,190 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
def get_tutorial_entries(): | ||
return [ | ||
{ | ||
"id": "start_tutorial", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "cursorless tutorial", | ||
"description": "Start the introductory Cursorless tutorial", | ||
}, | ||
], | ||
}, | ||
{ | ||
"id": "tutorial_next", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "tutorial next", | ||
"description": "Advance to next step in tutorial", | ||
}, | ||
], | ||
}, | ||
{ | ||
"id": "tutorial_previous", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "tutorial previous", | ||
"description": "Go back to previous step in tutorial", | ||
}, | ||
], | ||
}, | ||
{ | ||
"id": "tutorial_restart", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "tutorial restart", | ||
"description": "Restart the tutorial", | ||
}, | ||
], | ||
}, | ||
{ | ||
"id": "tutorial_resume", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "tutorial resume", | ||
"description": "Resume the tutorial", | ||
}, | ||
], | ||
}, | ||
{ | ||
"id": "tutorial_list", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "tutorial list", | ||
"description": "List all available tutorials", | ||
}, | ||
], | ||
}, | ||
{ | ||
"id": "tutorial_close", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "tutorial close", | ||
"description": "Close the tutorial", | ||
}, | ||
], | ||
}, | ||
{ | ||
"id": "tutorial_start_by_number", | ||
"type": "command", | ||
"variations": [ | ||
{ | ||
"spokenForm": "tutorial <number>", | ||
"description": "Start a specific tutorial by number", | ||
}, | ||
], | ||
}, | ||
] |
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} |
Oops, something went wrong.