Jumping back and forth
Most of the time when we’re working with multiple files, we’re jumping back and forth between just two files at any given time. For example, we might be switching between two source code files, or between a file and its tests. Helix has a shortcut for exactly this.
gp and gn always walk the buffer list in order, so with several files open they won’t take you back to where you just came from. Instead, Helix remembers the buffer you were in last, and ga — go to the last accessed file — takes you straight back to it. Press ga again and you return to where you were, so the two keys bounce you between the two files with no command line and no picker.
Work through the checklist below. Open foo.txt with :e — that switch makes exercise.txt the last-accessed file. Then use ga to flip between the two.