Neovim quick file switcher
1*javelin.nvim.txt* For Neovim >= 0.10 Last change: 2025 March 28
2
3==============================================================================
4Table of Contents *javelin.nvim-table-of-contents*
5
61. javelin.nvim |javelin.nvim-javelin.nvim|
7 - Dependencies |javelin.nvim-javelin.nvim-dependencies|
8 - Configuration |javelin.nvim-javelin.nvim-configuration|
9 - Commands |javelin.nvim-javelin.nvim-commands|
10 - Functions |javelin.nvim-javelin.nvim-functions|
11
12==============================================================================
131. javelin.nvim *javelin.nvim-javelin.nvim*
14
15Yet Another Harpoon Clone.
16
17A Neovim plugin to quick switch between files, essentially a simplified version
18of harpoon. One main difference is `use_git_root` which will make the lists per
19project, rather than purely based on the current directory.
20
21
22DEPENDENCIES *javelin.nvim-javelin.nvim-dependencies*
23
24>
25 folke/snacks.nvim
26<
27
28
29CONFIGURATION *javelin.nvim-javelin.nvim-configuration*
30
31>lua
32 {
33 use_git_root = true,
34 -- Passthrough options to Snacks.win
35 menu = {
36 width = 0.6,
37 height = 8,
38 title_pos = "center",
39 border = "rounded",
40 keys = {
41 ["<CR>"] = "goto",
42 q = "close",
43 ["<Esc>"] = "close",
44 },
45 },
46 }
47<
48
49
50COMMANDS *javelin.nvim-javelin.nvim-commands*
51
52- `:Javelin open` - Open popup menu, list of javelin’d items
53- `:Javelin add` - Add current buffer to list
54
55
56FUNCTIONS *javelin.nvim-javelin.nvim-functions*
57
58- `require("javelin").open()` - Open popup menu, list of javelin’d items
59- `require("javelin").add()` - Add current buffer to list
60- `require("javelin").select(num)` - Open buffer at `num` position in the list
61
62Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>
63
64vim:tw=78:ts=8:noet:ft=help:norl: