dotfiles/dot_config/yazi/yazi.toml
2024-05-21 22:56:02 +08:00

21 lines
No EOL
497 B
TOML

# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/yazi.json"
[manager]
sort_by = "natural"
sort_dir_first = true
show_hidden = true
[opener]
nano = [
{ run = 'nano "$@"', block = true }
]
code = [
{ run = 'code "$@"', orphan = true }
]
[open]
rules = [
{ mime = "text/*", use = [ "nano", "code" ] },
]