modules.packages.yazi: add compress plugin and keymap

This commit is contained in:
2026-01-06 13:59:19 +08:00
parent 26371c3076
commit 65bf14958b

View File

@@ -1,4 +1,4 @@
inputs:
{ pkgs, ... }:
{
config =
{
@@ -8,7 +8,12 @@ inputs:
config.programs.yazi =
{
enable = true;
keymap.mgr.append_keymap = [{ on = "T"; run = "shell --orphan ghostty"; }];
keymap.mgr.append_keymap =
[
{ on = "T"; run = "shell --orphan ghostty"; }
{ on = [ "c" "a" "a" ]; run = "plugin compress"; }
];
plugins = { inherit (pkgs.yaziPlugins) compress; };
};
}];
};