dotfiles/.config/yazi/yazi.toml-1748460725228885

30 lines
936 B
Text

[manager]
show_hidden = true
# linemode = "git"
title_format = "{cwd}"
[plugin]
prepend_previewers = [
# { name = "*.md", run = "glow" },
# { mime = "text/csv", run = "miller" },
{ mime = "audio/*", run = "exifaudio" },
{ 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" },
]
append_previewers = [{ name = "*", run = "hexyl" }]
prepend_fetchers = [
{ id = "git", name = "*", run = "git" },
{ id = "git", name = "*/", run = "git" },
]
[opener]
extract = [
{ run = 'ouch d -y "%*"', desc = "Extract here with ouch", for = "windows" },
{ run = 'ouch d -y "$@"', desc = "Extract here with ouch", for = "unix" },
]
open = [{ run = 'xdg-open "$@"', desc = "Open", orphan = true }]