Mission 31 / 52• Text Objects - Bracket Pairs
Change Around Brackets
`ca{` deletes the braces and contents and places you in insert mode.
Great for replacing an object literal with a variable reference or primitive.
Change around brackets
- ca{change around curly braces
- ca(change around parentheses
1const config = { mode: "production" };Position inside `{ mode: "production" }`, type `ca{`, and type `defaultConfig`.
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 config = { mode: "production" };NORMAL
00:00
NextCtrl+jBrackets Review