yazi plugin refactor and cache

This commit is contained in:
Matt Nish-Lapidus 2025-04-04 15:52:29 -04:00
parent cd215f8df6
commit 62a382f2f5
3 changed files with 16 additions and 12 deletions

View file

@ -10,10 +10,9 @@
officialPluginsNames = [
"chmod"
"diff"
"smart-filter"
"git"
"mount"
"toggle-pane"
# "toggle-pane"
];
officialPluginsSrc = pkgs.fetchgit {
@ -82,9 +81,9 @@
{ on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; }
{ on = ["t" "p"]; run = "plugin toggle-pane min-parent"; desc = "Toggle parent"; }
{ on = ["t" "c"]; run = "plugin toggle-pane min-current"; desc = "Toggle current"; }
{ on = ["t" "r"]; run = "plugin toggle-pane min-preview"; desc = "Toggle preview"; }
# { on = ["t" "p"]; run = "plugin toggle-pane min-parent"; desc = "Toggle parent"; }
# { on = ["t" "c"]; run = "plugin toggle-pane min-current"; desc = "Toggle current"; }
# { on = ["t" "r"]; run = "plugin toggle-pane min-preview"; desc = "Toggle preview"; }
{ on = "<C-t>"; run ="tab_create"; }
{ on = "<C-w>"; run ="tab_close"; }
@ -105,8 +104,11 @@
{ on = ["d" "d"]; run = "remove"; desc = "Delete files/folders"; }
{ on = ["d" "u"]; run = "plugin restore"; desc = "Restore last deleted files/folders"; }
{ on = "f"; run = "plugin smart-filter"; desc = "Find file"; }
{ on = "f"; run = "filter --smart"; desc = "Find file"; }
{ on = "F"; run = "find --smart"; desc = "Find file"; }
{ on = "z"; run = "plugin zoxide"; }
{ on = "Z"; run = "plugin fzf"; }
];
};
settings = {