yazi archives
This commit is contained in:
parent
e1b37dbb5b
commit
a72a24fabb
2 changed files with 19 additions and 17 deletions
|
@ -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