first commit

This commit is contained in:
pika 2024-11-10 13:31:23 +01:00
commit a5329b6832
16 changed files with 803 additions and 0 deletions

42
yazi.toml Normal file
View file

@ -0,0 +1,42 @@
[manager]
sort_dir_first = true
[preview]
wrap = "yes"
image_quality = 90
sixel_fraction = 15
[opener]
play = [
{ run = 'mpv "$@"', orphan = true, for = "unix" },
]
edit = [
{ run = '$EDITOR "$@"', block = true, for = "unix" },
]
open = [
{ run = 'xdg-open "$@"', desc = "Open" },
]
[open]
prepend_rules = [
{ name = "*.json", use = "edit" },
# Multiple openers for a single rule
{ name = "*.html", use = [ "open", "edit" ] },
]
append_rules = [
{ name = "*", use = "nvim" },
]
[tasks]
image_alloc = 0
[[plugin.prepend_fetchers]]
id = "git"
name = "*"
run = "git"
[[plugin.prepend_fetchers]]
id = "git"
name = "*/"
run = "git"