Mission 26 / 52• Search
Search Review
Search is one of the highest-yield workflows in Vim. Combining `/`, `?`, `*`, `n`, and operators lets you edit files at lightspeed.
Search review toolkit
- /search forward
- ?search backward
- *quick find word forward
- n / Nnext / previous match
1const items = [1, 2, 3];2const filtered = items.filter(x => x > 1);3const mapped = filtered.map(x => x * 2);Practice using `*` on `filtered`, then `n` to trace its usage across statements.
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 items = [1, 2, 3];2const filtered = items.filter(x => x > 1);3const mapped = filtered.map(x => x * 2);NORMAL
00:00
NextCtrl+jIntro to Text Objects