Lesson 5 · Getting around

Line jumps & counts

Edges of a line

0 goes to the very first column, ^ to the first non-blank character, and $ to the end of the line.

Edges of the file

gg jumps to the first line, G to the last. Put a number first to jump to a specific line: 4G.

Counts multiply

Most motions take a count. 5j moves down five lines and 3w hops three words.

Challenge 1 of 50/1

To the end

Jump straight to the end of the line with $.

1The cursor wants to be at the very end
Normal1:1
0/1Land on every gem
Your keystrokes show up here

Lost? Esc always gets you back to Normal mode. Every key from every lesson is in the sidebar.