Mission 41 / 52• Text Objects - Words
Words Review
Words are the atomic building blocks of coding. Mastering `diw`, `daw`, and `ciw` saves hours every week.
Word text objects summary
- diwdelete word only
- dawdelete word + whitespace
- ciwchange entire word
1const previousScore = 15;2const currentScore = previousScore + 5;Use `ciw` to rename `previousScore` in both places.
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 previousScore = 15;2const currentScore = previousScore + 5;NORMAL
00:00
NextCtrl+jDelete Inside Paragraph