updated yazi config
This commit is contained in:
1 parent
a8a1b5a718
commit
6868bb0f46
38 files changed
+4634
-66
No files matched your search
@@ -136,15 +136,28 @@ fetchers = [
|
||||
{ url = "local://*", run = "mime.local", prio = "high", group = "mime" },
|
||||
{ url = "trash://*", run = "mime.trash", prio = "high", group = "mime" },
|
||||
{ url = "remote://*", run = "mime.remote", prio = "high", group = "mime" },
|
||||
# ### current-size ###
|
||||
# { id = "current-size", name = "*/", run = "current-size", prio = "normal" },
|
||||
# { id = "current-size", name = "*", run = "current-size", prio = "normal" },
|
||||
]
|
||||
|
||||
|
||||
### git ###
|
||||
[[plugin.prepend_fetchers]]
|
||||
url = "*"
|
||||
run = "git"
|
||||
group = "git"
|
||||
[[plugin.prepend_fetchers]]
|
||||
url = "*/"
|
||||
run = "git"
|
||||
group = "git"
|
||||
|
||||
### mime-ext ###
|
||||
[[plugin.prepend_fetchers]]
|
||||
url = "local://*"
|
||||
run = "mime-ext.local"
|
||||
prio = "high"
|
||||
group = "mime"
|
||||
|
||||
[[plugin.prepend_fetchers]]
|
||||
url = "remote://*"
|
||||
run = "mime-ext.remote"
|
||||
@@ -197,6 +210,16 @@ spotters = [
|
||||
# Fallback
|
||||
{ url = "*", run = "file" },
|
||||
]
|
||||
|
||||
### extra-metadata ###
|
||||
[[plugin.append_previewers]]
|
||||
url = "*"
|
||||
run = "file-extra-metadata"
|
||||
# Setup keybind for spotter: https://github.com/sxyazi/yazi/pull/1802
|
||||
[[plugin.append_spotters]]
|
||||
url = "*"
|
||||
run = "file-extra-metadata"
|
||||
|
||||
preloaders = [
|
||||
# Image
|
||||
{ mime = "image/{avif,hei?,jxl}", run = "magick" },
|
||||
@@ -212,6 +235,17 @@ preloaders = [
|
||||
# Trash
|
||||
{ mime = "trash/**", run = "trash" },
|
||||
]
|
||||
|
||||
### exifaudio ###
|
||||
[[plugin.prepend_previewers]]
|
||||
mime = "audio/*"
|
||||
run = "exifaudio"
|
||||
|
||||
### eza-preview ###
|
||||
[[plugin.prepend_previewers]]
|
||||
url = "*/"
|
||||
run = "eza-preview"
|
||||
|
||||
prepend_previewers = [
|
||||
### rich-preview ###
|
||||
{ url = "*.csv", run = "rich-preview" }, # for csv files
|
||||
|
||||
Reference in new issue
Block a user