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