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