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"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744045453,
|
"lastModified": 1744048597,
|
||||||
"narHash": "sha256-CqGBZzGZCTcAeFC4MQBXYKE9fCb6KncBr0JVKMFEvas=",
|
"narHash": "sha256-vkOXbsZywjjFl9KEye9rwgptq7F4mWb5hu/dPZG4bEM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "00b6ee68e9fef7cce2a827f248ab935bca5eca6e",
|
"rev": "0e8ebcd53894f053d5a08b057741191850995983",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -126,10 +126,6 @@
|
||||||
show_symlink = true;
|
show_symlink = true;
|
||||||
};
|
};
|
||||||
opener = {
|
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 = [
|
edit = [
|
||||||
{ run = "emacsclient -r -n \"$@\""; desc = "open in current emacsclient"; orphan = true; }
|
{ run = "emacsclient -r -n \"$@\""; desc = "open in current emacsclient"; orphan = true; }
|
||||||
];
|
];
|
||||||
|
@ -137,6 +133,11 @@
|
||||||
{ run = "ouch d -y \"$@\""; desc = "Extract here with ouch"; }
|
{ run = "ouch d -y \"$@\""; desc = "Extract here with ouch"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
open = {
|
||||||
|
prepend_rules = [
|
||||||
|
{ name = "*.zip"; use = "extract"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
plugin = {
|
plugin = {
|
||||||
prepend_preloaders = [
|
prepend_preloaders = [
|
||||||
{ name = "/mnt/**"; run = "noop"; }
|
{ name = "/mnt/**"; run = "noop"; }
|
||||||
|
@ -156,6 +157,7 @@
|
||||||
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
|
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
|
||||||
{ mime = "application/x-subrip"; run = "mediainfo";}
|
{ mime = "application/x-subrip"; run = "mediainfo";}
|
||||||
# Archive previewer
|
# Archive previewer
|
||||||
|
{ name = "*.zip"; run = "ouch"; }
|
||||||
{ mime = "application/*zip"; run = "ouch"; }
|
{ mime = "application/*zip"; run = "ouch"; }
|
||||||
{ mime = "application/x-tar"; run = "ouch"; }
|
{ mime = "application/x-tar"; run = "ouch"; }
|
||||||
{ mime = "application/x-bzip2"; run = "ouch"; }
|
{ mime = "application/x-bzip2"; run = "ouch"; }
|
||||||
|
@ -174,16 +176,16 @@
|
||||||
# run = "mime-ext";
|
# run = "mime-ext";
|
||||||
# prio = "high";
|
# prio = "high";
|
||||||
# }
|
# }
|
||||||
# {
|
{
|
||||||
# id = "git";
|
id = "git";
|
||||||
# name = "*";
|
name = "*";
|
||||||
# run = "git";
|
run = "git";
|
||||||
# }
|
}
|
||||||
# {
|
{
|
||||||
# id = "git";
|
id = "git";
|
||||||
# name = "*/";
|
name = "*/";
|
||||||
# run = "git";
|
run = "git";
|
||||||
# }
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue