first commit
This commit is contained in:
commit
a5329b6832
16 changed files with 803 additions and 0 deletions
42
yazi.toml
Normal file
42
yazi.toml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue