Files & navigation · beta · Neovim 0.10+ · 202 commits

gopath.nvim

One key, and you are at the file the cursor is pointing at — however that reference happens to be written. gopath.nvim resolves symbols, require() paths and arbitrary file references under the cursor through a multi-phase pipeline, so a require("a.b"), a bare path, a :help tag and a stack-trace line all end in the same place: the right file, at the right line.

Repository README :help

recorded with VHS from demos/gopath.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. gP - open path:line:col under the cursor, right there
  2. g\ - the same, in a vertical split
  3. g? - the resolution chain, when a jump goes somewhere odd