# javelin.nvim Yet Another Harpoon Clone. A Neovim plugin to quick switch between files, essentially a simplified version of harpoon. One main difference is `use_git_root` which will make the lists per project, rather than purely based on the current directory. ## Dependencies ``` folke/snacks.nvim ``` ## Configuration ```lua { use_git_root = true, -- Passthrough options to Snacks.win menu = { width = 0.6, height = 8, title_pos = "center", border = "rounded", keys = { [""] = "goto", q = "close", [""] = "close", }, }, } ``` ## Commands - `:Javelin open` - Open popup menu, list of javelin'd items - `:Javelin add` - Add current buffer to list ## Functions - `require("javelin").open()` - Open popup menu, list of javelin'd items - `require("javelin").add()` - Add current buffer to list - `require("javelin").select(num)` - Open buffer at `num` position in the list