feat(plugins): switch to git file picker and disable multiple yazi tabs
This commit is contained in:
1 parent
0b30af954a
commit
7737e22d73
2 files changed
+6
-4
No files matched your search
@@ -155,8 +155,8 @@ return {
|
||||
["L"] = { "<Cmd>BufferLineCycleNext<CR>", desc = "Next buffer" },
|
||||
["H"] = { "<Cmd>BufferLineCyclePrev<CR>", desc = "Previous buffer" },
|
||||
["<Leader>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",
|
||||
},
|
||||
["<leader><leader>"] = {
|
||||
function() require("snacks").picker.smart() end,
|
||||
|
||||
@@ -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 <C-e> 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",
|
||||
|
||||
Reference in new issue
Block a user