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
1
const message = "Select this phrase and operate on it";
2
const 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!

0 / 4 tasks complete0.0s / 15s par0 / 13 par

Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.

Task 1: Select select in character-wise visual mode with ve.

Show hint

Press v then e.

1
select this phrase
jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next