Neovim plugin improving access to clipboard history (mirror)

docs: auto-generate vimdoc

+17 -2
+17 -2
doc/yankbank-nvim.txt
··· 1 - *yankbank-nvim.txt* For Neovim >= 0.7.0 Last change: 2026 January 02 1 + *yankbank-nvim.txt* For Neovim >= 0.7.0 Last change: 2026 January 17 2 2 3 3 ============================================================================== 4 4 Table of Contents *yankbank-nvim-table-of-contents* ··· 148 148 "sqlite" or nil | `nil` | | db_path | string defining database file path for 149 149 use with sqlite persistence | plugin install directory | | bind_indices | 150 150 optional string to be used for keybind prefix for pasting by index number 151 - (i.e. "p") | `nil` | 151 + (i.e. "p") | `nil` | | pickers | table containing all pickers. | `{}` | | 152 + pickers.snacks | boolean | `false` | 152 153 153 154 154 155 EXAMPLE CONFIGURATION ··· 156 157 >lua 157 158 { 158 159 "ptdewey/yankbank-nvim", 160 + dependencies = { 161 + "folke/snacks.nvim", -- (optional) - snacks picker integration 162 + }, 159 163 config = function() 160 164 require('yankbank').setup({ 161 165 max_entries = 9, ··· 171 175 yank_register = "+", 172 176 }, 173 177 bind_indices = "<leader>p" 178 + pickers = { 179 + snacks = true, 180 + }, 174 181 }) 175 182 end, 176 183 } ··· 239 246 -- map to '<leader>y' 240 247 vim.keymap.set("n", "<leader>y", "<cmd>YankBank<CR>", { noremap = true }) 241 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. 242 257 243 258 ------------------------------------------------------------------------------ 244 259