Skip to content
dharmx edited this page May 7, 2024 · 12 revisions

What is track.nvim?

Track is a plugin for bookmarking specific pieces of information that is relevant to things that you are working on at the moment.

The said "things" could be one or, more of the following.

  • Code files from your current project, files from other projects that have used the same logic on some part, etc.
  • Websites i.e. blogs, YouTube videos or, maybe a documentation website.
  • Offline images, audios, videos, etc.
  • Manuals i.e. man find(1), etc.
  • Terminal commands that you do not want to run again.
  • And, more.

Inpiration

This plugin borrows its core concept from GIT. See the following.

  1. We have a Root which is essentially the project directory that GIT will track.
  2. Then on the next level we have Bundle which is similar to branches in GIT.
  3. And, on the final level we have the marks i.e. the files, binaries, medias, etc. In terms of GIT, these are the actual files that GIT will track.

Note that, Root is just a list of Bundles and a Bundle is a list of Marks. This exists so that you can have several versions of your marks list for working on specific parts of your project (say).

The credit to this idea goes to @nikfp.

snip-1715088308-1920x1080

Clone this wiki locally