feat(plugins): switch to git file picker and disable multiple yazi tabs

This commit is contained in:
Prad Nukala committed 2026-07-22 12:44:17 -04:00
1 parent 0b30af954a
commit 7737e22d73
2 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -155,8 +155,8 @@ return {
["L"] = { "<Cmd>BufferLineCycleNext<CR>", desc = "Next buffer" }, ["L"] = { "<Cmd>BufferLineCycleNext<CR>", desc = "Next buffer" },
["H"] = { "<Cmd>BufferLineCyclePrev<CR>", desc = "Previous buffer" }, ["H"] = { "<Cmd>BufferLineCyclePrev<CR>", desc = "Previous buffer" },
["<Leader>e"] = { ["<Leader>e"] = {
function() require("snacks").picker.files { transform = file_filter } end, function() require("snacks").picker.git_files { transform = file_filter } end,
desc = "Find files (cwd)", desc = "Find git files",
}, },
["<leader><leader>"] = { ["<leader><leader>"] = {
function() require("snacks").picker.smart() end, function() require("snacks").picker.smart() end,
+4 -2
View File
@@ -50,8 +50,10 @@ return {
opts = { opts = {
-- yazi replaces netrw/neo-tree when opening directories (nvim .) -- yazi replaces netrw/neo-tree when opening directories (nvim .)
open_for_directories = true, open_for_directories = true,
-- open visible splits as yazi tabs for fast navigation -- keep a single yazi tab: `true` would pass every visible split as an
open_multiple_tabs = true, -- extra path arg, and each one becomes a yazi tab that then persists
-- across <C-e> toggles (resume), piling up tabs over time
open_multiple_tabs = false,
-- occupy the whole screen instead of a floating popup -- occupy the whole screen instead of a floating popup
floating_window_scaling_factor = 1, floating_window_scaling_factor = 1,
yazi_floating_window_border = "none", yazi_floating_window_border = "none",