yazi and wezterm changes
This commit is contained in:
parent
e17e8fd886
commit
d878a0f33c
8 changed files with 90 additions and 146 deletions
|
@ -25,7 +25,7 @@
|
|||
zip
|
||||
stdenv
|
||||
tldr
|
||||
glow
|
||||
rich-cli
|
||||
delta
|
||||
(btop-rocm.override { cudaSupport = true; })
|
||||
gnupg
|
||||
|
|
|
@ -54,10 +54,10 @@
|
|||
show_symlink = true;
|
||||
};
|
||||
opener = {
|
||||
open = [
|
||||
{ run = "plugin open-with-cmd --args=block"; desc = "Open with command in the terminal"; }
|
||||
{ run = "plugin open-with-cmd"; desc = "Open with command"; }
|
||||
];
|
||||
# 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; }
|
||||
];
|
||||
|
@ -70,7 +70,20 @@
|
|||
{ name = "/mnt/**"; run = "noop"; }
|
||||
{ name = "/home/emenel/Mounts/**"; run = "noop"; }
|
||||
];
|
||||
prepend_previewers = [
|
||||
{ name = "*.csv"; run = "rich-preview"; }
|
||||
{ name = "*.md"; run = "rich-preview" ; }
|
||||
{ name = "*.rst"; run = "rich-preview"; }
|
||||
{ name = "*.ipynb"; run = "rich-preview"; }
|
||||
{ name = "*.json"; run = "rich-preview"; }
|
||||
{ name = "*.lisp"; run = "rich-preview"; }
|
||||
{ name = "*.el"; run = "rich-preview"; }
|
||||
{ name = "*.org"; run = "rich-preview"; }
|
||||
];
|
||||
append_previewers = [
|
||||
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
|
||||
{ mime = "application/x-subrip"; run = "mediainfo";}
|
||||
|
||||
# Archive previewer
|
||||
{ mime = "application/*zip"; run = "ouch"; }
|
||||
{ mime = "application/x-tar"; run = "ouch"; }
|
||||
|
@ -80,16 +93,8 @@
|
|||
{ mime = "application/x-xz"; run = "ouch"; }
|
||||
{ mime = "application/octet-stream"; run = "ouch"; }
|
||||
|
||||
{ name = "*.el"; run = "code"; }
|
||||
{ name = "*.lisp"; run = "code"; }
|
||||
{ name = "*.org"; run = "glow"; }
|
||||
{ name = "*"; run = "file-extra-metadata"; }
|
||||
{ name = "*.md"; run = "glow"; }
|
||||
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
|
||||
{ mime = "application/x-subrip"; run = "mediainfo";}
|
||||
|
||||
];
|
||||
append_spotters = [
|
||||
_spotters = [
|
||||
{ name = "*"; run = "file-extra-metadata"; }
|
||||
];
|
||||
prepend_fetchers = [
|
||||
|
@ -99,16 +104,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