yazi upgrade

This commit is contained in:
Henrik Bakken
2025-06-11 20:12:48 +02:00
parent fa31f410e0
commit 2ea7e04042
4 changed files with 58 additions and 7 deletions
+27 -2
View File
@@ -1,5 +1,4 @@
# https://ricoberger.de/cheat-sheets/yazi/
[manager]
[mgr]
linemode = "mtime"
show_hidden = true
sort_by = "natural"
@@ -13,3 +12,29 @@ max_height = 1500
[input]
cursor_blink = true
[[plugin.prepend_fetchers]]
id = "git"
name = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
name = "*/"
run = "git"
[[plugin.prepend_previewers]]
name = "*.tar*"
run = 'piper --format=url -- tar tf "$1"'
[[plugin.prepend_previewers]]
name = "*.csv"
run = 'piper -- bat -p --color=always "$1"'
[[plugin.prepend_previewers]]
name = "*.md"
run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"'
[[plugin.prepend_previewers]]
name = "*/"
run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"'