Checkpoint: revise a notice

0 of 3

The technique

Your textVim mode: Normal
Update the status and the note. Leave the archive as it is. Before: Status: draft / Note: "Ready soon" / Archive: "Ready soon". After: Status: final / Note: "Ready to publish" / Archive: "Ready soon".

j moves straight down into the quoted note. The archive has the same words, but it should not change: check the whole result.

Keys in this lesson

ciw
Change the word under the cursor.
ci"
Change the text inside double quotes.
daw
Delete the word and one space.
More about this lesson

Update the current notice and leave the archive unchanged.

Prerequisites: Edit a whole word and Keep the quotation. Use the desired result to see what should change. Choose your own commands.

Try without hints first. Help remains available, and feedback shows which techniques were recorded.

For more practice, try another example or repeat this checkpoint with a different example language.

Guides on this topic

Exercise 1 of 3

0keys

par 44

Prepare the notice: set the status to final, the message to “Ready to publish”, and remove “very” with its extra space. Preserve the archive exactly. Choose your own commands.

Your textVim mode: Normal

Desired result

const status = "final";
const message = "Ready to publish";
const note = "A short notice.";
const archive = "draft: Waiting for approval";

Yours

Par

Keyboard shortcuts
Ctrl+Enter
Check the result
Ctrl+Alt+U
Undo the last change
Ctrl+Alt+H
Show the next hint
Ctrl+Alt+R
Reset the exercise
Ctrl+Alt+P
Previous exercise
Ctrl+Alt+N
Next exercise
Enter
After a solve: the next step

Ctrl+Alt shortcuts leave Vim's own keys alone. On a Mac, Control and Option.