Mission 35 / 52• Text Objects - Quotes
Change Inside Quotes
`ci"` deletes the inside of a string and immediately puts you in insert mode with the cursor between the quotes.
Change inside quotes
- ci"change inside double quotes and enter insert mode
- ci'change inside single quotes and enter insert mode
1const theme = "dark";2const status = "pending";Anywhere inside `"pending"`, type `ci"`, type `success`, then hit `esc`.
Now it's your turn!
- Navigate to each green target across the code snippet.
- Use the motions and techniques learned in this lesson to land accurately on each target.
- See how fast you can complete 10 targets.
0/10
1const theme = "dark";2const status = "pending";NORMAL
00:00
NextCtrl+jChange Around Quotes