mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(yanky): use snacks picker for improved yank history navigation
This commit is contained in:
parent
ec5981dfb1
commit
8440b066f7
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ return {
|
||||||
function()
|
function()
|
||||||
if LazyVim.pick.picker.name == "telescope" then
|
if LazyVim.pick.picker.name == "telescope" then
|
||||||
require("telescope").extensions.yank_history.yank_history({})
|
require("telescope").extensions.yank_history.yank_history({})
|
||||||
|
elseif LazyVim.pick.picker.name == "snacks" then
|
||||||
|
Snacks.picker.yanky()
|
||||||
else
|
else
|
||||||
vim.cmd([[YankyRingHistory]])
|
vim.cmd([[YankyRingHistory]])
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue