Step 4 of 6

The jumplist picker

The jumplist picker

Walking the list one entry at a time is fine for a hop or two, but when you want something from several jumps ago it’s faster to look at the whole list.

  • Space-j — open the jumplist picker

The picker lists every entry, newest at the top, with a preview of the destination on the right. Use the arrow keys to move the highlight, Enter to jump to the highlighted entry, and Escape to close it without moving. In this narrow editor the columns on the left are cramped — let the preview pane tell you where each entry goes.

Picking an entry is itself a jump, so it records where you were as well; Ctrl-o still takes you back afterwards.

Seed the list with three jumps below, then use the picker to get around.

  1. Jump to line 10 A counted goto — the first entry for the jumplist.
  2. Jump to line 20 Another counted goto — another entry.
  3. Jump to the last line The jump to the end of the file — one more, landing on line 30.
  4. Open the picker and pick the newest entry The jumplist picker — take the highlighted entry, and you'll land on line 20.
  5. Pick an older entry The jumplist picker again — an older entry this time, landing on line 10.
Jump to line 10 A counted goto — the first entry for the jumplist.

Next: Jump to line 20

Loading editor…