diff --git a/CONFIG/yazi/yazi.toml b/CONFIG/yazi/yazi.toml index be65942..892e43c 100644 --- a/CONFIG/yazi/yazi.toml +++ b/CONFIG/yazi/yazi.toml @@ -12,7 +12,7 @@ max_height = 1500 [open] prepend_rules = [ - { name = "*.csv", use = "text" }, + { url = "*.csv", use = "text" }, ] [opener] @@ -24,36 +24,36 @@ text = [ [input] cursor_blink = true +[[plugin.append_previewers]] +url = "*" +run = "file-extra-metadata" + [[plugin.prepend_fetchers]] -id = "git" -name = "*" +group = "git" +url = "*" run = "git" [[plugin.prepend_fetchers]] -id = "git" -name = "*/" +group = "git" +url = "*/" run = "git" [[plugin.prepend_previewers]] -name = "*.tar*" +url = "*.tar*" run = 'piper --format=url -- tar tf "$1"' [[plugin.prepend_previewers]] -name = "*.csv" +url = "*.csv" run = 'piper -- bat -p --color=always "$1"' [[plugin.prepend_previewers]] -name = "*.md" +url = "*.md" run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"' [[plugin.prepend_previewers]] -name = "*/" +url = "*/" run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"' -[[plugin.append_previewers]] -name = "*" -run = 'file-extra-metadata' - [[plugin.prepend_spotters]] -name = "*" -run = 'file-extra-metadata' +url = "*" +run = "file-extra-metadata"