normal·mode
~ / motions / whole-filelesson 4/6

The whole file: gg, G, {n}G and :{n}

Jump to the first line, the last line, or any line by number.

3 drills

  1. Top and bottom: Jump to the first line with gg or the last line with G. Notice that Neovim keeps your column.
  2. Go to line N: A linter flagged the line shown in the target. Read its number from the target panel and jump there with {n}G.
  3. Line numbers from the command line: Jump to the target's line with :{n} and Enter, then to the highlighted spot on that line. (G is off for this one.)

The drill editor loads in your browser.

outside the editor the page is in normal mode: ? keymaps · / find · : commandsfound this useful? ☕ support it ·credits · source · not affiliated with Vim or Neovim