yazi archives
This commit is contained in:
parent
e1b37dbb5b
commit
a72a24fabb
2 changed files with 19 additions and 17 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -70,11 +70,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1744045453,
|
||||
"narHash": "sha256-CqGBZzGZCTcAeFC4MQBXYKE9fCb6KncBr0JVKMFEvas=",
|
||||
"lastModified": 1744048597,
|
||||
"narHash": "sha256-vkOXbsZywjjFl9KEye9rwgptq7F4mWb5hu/dPZG4bEM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "00b6ee68e9fef7cce2a827f248ab935bca5eca6e",
|
||||
"rev": "0e8ebcd53894f053d5a08b057741191850995983",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -126,10 +126,6 @@
|
|||
show_symlink = true;
|
||||
};
|
||||
opener = {
|
||||
# open = [
|
||||
# { run = "plugin open-with-cmd block"; desc = "Open with command in the terminal"; }
|
||||
# { run = "plugin open-with-cmd"; desc = "Open with command"; }
|
||||
# ];
|
||||
edit = [
|
||||
{ run = "emacsclient -r -n \"$@\""; desc = "open in current emacsclient"; orphan = true; }
|
||||
];
|
||||
|
@ -137,6 +133,11 @@
|
|||
{ run = "ouch d -y \"$@\""; desc = "Extract here with ouch"; }
|
||||
];
|
||||
};
|
||||
open = {
|
||||
prepend_rules = [
|
||||
{ name = "*.zip"; use = "extract"; }
|
||||
];
|
||||
};
|
||||
plugin = {
|
||||
prepend_preloaders = [
|
||||
{ name = "/mnt/**"; run = "noop"; }
|
||||
|
@ -156,6 +157,7 @@
|
|||
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
|
||||
{ mime = "application/x-subrip"; run = "mediainfo";}
|
||||
# Archive previewer
|
||||
{ name = "*.zip"; run = "ouch"; }
|
||||
{ mime = "application/*zip"; run = "ouch"; }
|
||||
{ mime = "application/x-tar"; run = "ouch"; }
|
||||
{ mime = "application/x-bzip2"; run = "ouch"; }
|
||||
|
@ -174,16 +176,16 @@
|
|||
# run = "mime-ext";
|
||||
# prio = "high";
|
||||
# }
|
||||
# {
|
||||
# id = "git";
|
||||
# name = "*";
|
||||
# run = "git";
|
||||
# }
|
||||
# {
|
||||
# id = "git";
|
||||
# name = "*/";
|
||||
# run = "git";
|
||||
# }
|
||||
{
|
||||
id = "git";
|
||||
name = "*";
|
||||
run = "git";
|
||||
}
|
||||
{
|
||||
id = "git";
|
||||
name = "*/";
|
||||
run = "git";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue