Skip to content

Commit

Permalink
Minor tutorial content tweaks (#2543)
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey authored Jul 21, 2024
1 parent aafd8cb commit 9da55a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions data/fixtures/recorded/tutorial/tutorial-1-basics/script.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"steps": [
"Say {command: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 {command:takeBlueSun.yml}",
"Selecting a single token is great, but oftentimes we need something bigger.\nSay {command: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: {command:takeNearAndSun.yml}",
"But let's show that cursorless can live up to its name: we can say {command:chuckTrap.yml} to delete a word without ever moving our cursor.",
"Selecting a single token is great, but often we need something bigger.\nSay {command: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: {command:takeNearAndSun.yml}",
"But let's show that Cursorless can live up to its name: we can say {command: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: {command:chuckLineOdd.yml}",
"We can also use {scopeType:line} to refer to the line containing our cursor: {command: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 {command:preUrge.yml}",
"Say {action:post} to place the cursor after a target: {command:postAir.yml}",
"Say {action:change} to delete a word and move your cursor to where it used to be: {command:changeSit.yml}",
"And that wraps up unit 1 of the cursorless tutorial! Next time, we'll write some code 🙌.\nFeel free to keep playing with this document, then say {special:next} to continue."
"And that wraps up unit 1 of the Cursorless tutorial! Next time, we'll write some code 🙌.\nFeel free to keep playing with this document, then say {special:next} to continue."
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"version": 0,
"steps": [
"When editing code, we often think in terms of statements, functions, etc. Let's clone a statement: {command:cloneStateInk.yml}",
"{scopeType:state} is one of many scopes supported by cursorless. To see all available scopes, have a look at the Scopes section below, and use the {term:visualize} command to see them live: {visualize:funk}",
"{scopeType:state} is one of many scopes supported by Cursorless. To see all available scopes, have a look at the Scopes section below, and use the {term:visualize} command to see them live: {visualize:funk}",
"Say {special:visualizeNothing} to hide the visualization.",
"Cursorless tries its best to keep your commands short.\nIn the following command, we just say {scopeType:string} once, but cursorless infers that both targets are strings: {command:swapStringAirWithWhale.yml}",
"Cursorless tries its best to keep your commands short.\nIn the following command, we just say {scopeType:string} once, but Cursorless infers that both targets are strings: {command:swapStringAirWithWhale.yml}",
"Great. Let's learn a new action. The {action:pour} action lets you start editing a new line below any line on your screen: {command:pourUrge.yml}",
"Now let's try applying a cursorless action to the current line: {command:dedentThis.yml}",
"Now let's try applying a Cursorless action to the current line: {command:dedentThis.yml}",
"Code reuse is a fact of life as a programmer. Cursorless makes this easy with the {action:bring} command: {command:bringStateUrge.yml}",
"{action:bring} also works with two targets just like {action:swap}: {command:bringBlueCapToValueRisk.yml}",
"Cursorless tries its best to use its knowledge of programming languages to leave you with syntactically valid code.\nNote how it cleans up the comma here: {command:chuckArgueBlueVest.yml}",
Expand Down

0 comments on commit 9da55a3

Please sign in to comment.