diff --git a/modules/home/yazi.nix b/modules/home/yazi.nix index 817c8c6..712f8ed 100644 --- a/modules/home/yazi.nix +++ b/modules/home/yazi.nix @@ -13,6 +13,7 @@ "smart-filter" "git" "mount" + "toggle-pane" ]; officialPluginsSrc = pkgs.fetchgit { @@ -81,9 +82,9 @@ { on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; } - { on = ["t" "p"]; run = "plugin toggle-view parent"; desc = "Toggle parent"; } - { on = ["t" "c"]; run = "plugin toggle-view current"; desc = "Toggle current"; } - { on = ["t" "r"]; run = "plugin toggle-view 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 = ""; run ="tab_create"; } { on = ""; run ="tab_close"; } @@ -106,8 +107,6 @@ { on = "f"; run = "plugin smart-filter"; desc = "Find file"; } { on = "F"; run = "find --smart"; desc = "Find file"; } - - ]; }; settings = {