mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 07:49:24 +08:00
modules.packages.yazi: add compress plugin and keymap
This commit is contained in:
@@ -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; };
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user