Specify buffers and files as sources for smart picker, removing recent

files (this should solve the issue with entries outside of cwd hierarchy
        shows up)
This commit is contained in:
Martin Larsson 2025-05-14 14:11:45 +02:00
parent ff2fb709aa
commit 50e1420ee4

View file

@ -64,7 +64,7 @@ return {
{ "<leader>z", function() Snacks.zen() end, }, { "<leader>z", function() Snacks.zen() end, },
{ "<leader>to", function() Snacks.picker.smart() end, }, { "<leader>to", function() Snacks.picker.smart({ multi = { "buffers", "files" } }) end, },
{ "<leader>ta", function() Snacks.picker.grep() end, }, { "<leader>ta", function() Snacks.picker.grep() end, },
{ "<leader>tg", function() Snacks.picker.git_log_file() end, }, { "<leader>tg", function() Snacks.picker.git_log_file() end, },
{ "<leader>ts", function() Snacks.picker.lsp_workspace_symbols() end, }, { "<leader>ts", function() Snacks.picker.lsp_workspace_symbols() end, },