Mission 51 / 52• Visual Mode
Switch Visual Line Ends
Just like in regular visual mode, pressing `o` in visual line mode toggles the cursor between the top and bottom selected lines.
Toggle line selection ends
- ojump between top and bottom lines of visual line selection
Press Enter to start
1const a = 1;2const b = 2;3const c = 3;4const d = 4;Highlight lines with `V` and `j`, then hit `o` and `k` to expand upward.
Now it's your turn!
0 / 3 tasks complete0.0s / 11s par0 / 10 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 middle two lines with Vj and switch active line cursor with o.
Show hint
Press V, j, then o.
Press Enter to start
1first();2second();3third();4fourth();jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next