yazi plugin refactor

This commit is contained in:
Matt Nish-Lapidus 2025-04-04 15:42:26 -04:00
parent a00af3e849
commit cd215f8df6

View file

@ -13,6 +13,7 @@
"smart-filter" "smart-filter"
"git" "git"
"mount" "mount"
"toggle-pane"
]; ];
officialPluginsSrc = pkgs.fetchgit { officialPluginsSrc = pkgs.fetchgit {
@ -81,9 +82,9 @@
{ on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; } { on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; }
{ on = ["t" "p"]; run = "plugin toggle-view parent"; desc = "Toggle parent"; } { on = ["t" "p"]; run = "plugin toggle-pane min-parent"; desc = "Toggle parent"; }
{ on = ["t" "c"]; run = "plugin toggle-view current"; desc = "Toggle current"; } { on = ["t" "c"]; run = "plugin toggle-pane min-current"; desc = "Toggle current"; }
{ on = ["t" "r"]; run = "plugin toggle-view preview"; desc = "Toggle preview"; } { on = ["t" "r"]; run = "plugin toggle-pane min-preview"; desc = "Toggle preview"; }
{ on = "<C-t>"; run ="tab_create"; } { on = "<C-t>"; run ="tab_create"; }
{ on = "<C-w>"; run ="tab_close"; } { on = "<C-w>"; run ="tab_close"; }
@ -106,8 +107,6 @@
{ on = "f"; run = "plugin smart-filter"; desc = "Find file"; } { on = "f"; run = "plugin smart-filter"; desc = "Find file"; }
{ on = "F"; run = "find --smart"; desc = "Find file"; } { on = "F"; run = "find --smart"; desc = "Find file"; }
]; ];
}; };
settings = { settings = {