diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml new file mode 100644 index 0000000..49c88e1 --- /dev/null +++ b/.config/yazi/yazi.toml @@ -0,0 +1,30 @@ +[manager] +show_hidden = true +linemode = "size_and_mtime" + +[plugin] +prepend_previewers = [ + # Archive previewer + { mime = "application/*zip", run = "ouch" }, + { mime = "application/x-tar", run = "ouch" }, + { mime = "application/x-bzip2", run = "ouch" }, + { mime = "application/x-7z-compressed", run = "ouch" }, + { mime = "application/x-rar", run = "ouch" }, + { mime = "application/x-xz", run = "ouch" }, + { mime = "application/xz", run = "ouch" }, +] + +[[plugin.prepend_fetchers]] +id = "git" +name = "*" +run = "git" + +[[plugin.prepend_fetchers]] +id = "git" +name = "*/" +run = "git" + +[opener] +extract = [ + { run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" }, +]