Mission 47 / 52• Visual Mode
Intro to Visual Mode
Sometimes you want to see what you are operating on before executing an action. That's where **visual mode** comes in.
Pressing `v` enters character-wise visual mode. You can expand the selection using any movement key (`w`, `e`, `l`, `j`, etc.).
Visual mode basics
- venter character-wise visual mode
- esccancel visual mode and return to normal mode
1const message = "Select this phrase and operate on it";2const value = 12345;Move onto `Select`, press `v`, and press `e` a couple of times. Watch the highlight expand! Press `esc` to cancel.
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 message = "Select this phrase and operate on it";2const value = 12345;NORMAL
00:00
NextCtrl+jVisual Mode Operators