What the jumplist is
Most of the time we’re reading code rather than writing it: following a function call to its definition, checking a type, glancing at a test. Each of those hops takes you a long way from where you were, and sooner or later you want to get back.
Helix keeps track of this for you with the jumplist. Whenever a command
moves the cursor a “significant distance”, Helix records the position you
were in before it ran. Moving one line with j doesn’t count, and neither
does 14j, but these do:
ggandge— the start and end of the file10gg— any goto-line jump with a count/pattern— a search- most of the other goto-mode commands, like
gdfor a definition (that one needs a language server, which this embedded editor lacks)
The jumplist is per window, and it only remembers positions — nothing about what you typed to get there. Walking back along those positions is what the next step is about.
The checklist below has you make three jumps of different kinds. Each one adds an entry to the jumplist.