···1-*yankbank-nvim.txt* For Neovim >= 0.7.0 Last change: 2026 January 02
23==============================================================================
4Table of Contents *yankbank-nvim-table-of-contents*
···148"sqlite" or nil | `nil` | | db_path | string defining database file path for
149use with sqlite persistence | plugin install directory | | bind_indices |
150optional string to be used for keybind prefix for pasting by index number
151-(i.e. "p") | `nil` |
0152153154EXAMPLE CONFIGURATION
···156>lua
157 {
158 "ptdewey/yankbank-nvim",
000159 config = function()
160 require('yankbank').setup({
161 max_entries = 9,
···171 yank_register = "+",
172 },
173 bind_indices = "<leader>p"
000174 })
175 end,
176 }
···239 -- map to '<leader>y'
240 vim.keymap.set("n", "<leader>y", "<cmd>YankBank<CR>", { noremap = true })
241<
00000000242243------------------------------------------------------------------------------
244
···1+*yankbank-nvim.txt* For Neovim >= 0.7.0 Last change: 2026 January 17
23==============================================================================
4Table of Contents *yankbank-nvim-table-of-contents*
···148"sqlite" or nil | `nil` | | db_path | string defining database file path for
149use with sqlite persistence | plugin install directory | | bind_indices |
150optional string to be used for keybind prefix for pasting by index number
151+(i.e. "p") | `nil` | | pickers | table containing all pickers. | `{}` | |
152+pickers.snacks | boolean | `false` |
153154155EXAMPLE CONFIGURATION
···157>lua
158 {
159 "ptdewey/yankbank-nvim",
160+ dependencies = {
161+ "folke/snacks.nvim", -- (optional) - snacks picker integration
162+ },
163 config = function()
164 require('yankbank').setup({
165 max_entries = 9,
···175 yank_register = "+",
176 },
177 bind_indices = "<leader>p"
178+ pickers = {
179+ snacks = true,
180+ },
181 })
182 end,
183 }
···246 -- map to '<leader>y'
247 vim.keymap.set("n", "<leader>y", "<cmd>YankBank<CR>", { noremap = true })
248<
249+250+251+SNACKS PICKER ~
252+253+If `pickers.snacks` is set to true in the setup options, the snacks picker can
254+be used to open the yankbank menu. This can be triggered by running the command
255+`:YankBankSnacks` or using `Snacks.picker.yankbank()` as you would any other
256+snacks picker.
257258------------------------------------------------------------------------------
259