···11-*yankbank-nvim.txt* For Neovim >= 0.7.0 Last change: 2026 January 02
11+*yankbank-nvim.txt* For Neovim >= 0.7.0 Last change: 2026 January 17
2233==============================================================================
44Table of Contents *yankbank-nvim-table-of-contents*
···148148"sqlite" or nil | `nil` | | db_path | string defining database file path for
149149use with sqlite persistence | plugin install directory | | bind_indices |
150150optional string to be used for keybind prefix for pasting by index number
151151-(i.e. "p") | `nil` |
151151+(i.e. "p") | `nil` | | pickers | table containing all pickers. | `{}` | |
152152+pickers.snacks | boolean | `false` |
152153153154154155EXAMPLE CONFIGURATION
···156157>lua
157158 {
158159 "ptdewey/yankbank-nvim",
160160+ dependencies = {
161161+ "folke/snacks.nvim", -- (optional) - snacks picker integration
162162+ },
159163 config = function()
160164 require('yankbank').setup({
161165 max_entries = 9,
···171175 yank_register = "+",
172176 },
173177 bind_indices = "<leader>p"
178178+ pickers = {
179179+ snacks = true,
180180+ },
174181 })
175182 end,
176183 }
···239246 -- map to '<leader>y'
240247 vim.keymap.set("n", "<leader>y", "<cmd>YankBank<CR>", { noremap = true })
241248<
249249+250250+251251+SNACKS PICKER ~
252252+253253+If `pickers.snacks` is set to true in the setup options, the snacks picker can
254254+be used to open the yankbank menu. This can be triggered by running the command
255255+`:YankBankSnacks` or using `Snacks.picker.yankbank()` as you would any other
256256+snacks picker.
242257243258------------------------------------------------------------------------------
244259