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#
{
use_git_root = true,
-- Passthrough options to Snacks.win
menu = {
width = 0.6,
height = 8,
title_pos = "center",
border = "rounded",
keys = {
["<CR>"] = "goto",
q = "close",
["<Esc>"] = "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 itemsrequire("javelin").add()- Add current buffer to listrequire("javelin").select(num)- Open buffer atnumposition in the list