diff options
| author | seraphim <18ycm9tx@anonaddy.me> | 2026-08-27 11:50:43 +0700 |
|---|---|---|
| committer | seraphim <18ycm9tx@anonaddy.me> | 2026-08-27 11:50:43 +0700 |
| commit | 6fc7f49449cb237e1aa37eb1025461fe3ea39589 (patch) | |
| tree | ceebc8a65556830627a4546da57e30e72945175e /.config/yazi/yazi.toml | |
| parent | cc7b61a1496d25a100f012300c1121835a9f8177 (diff) | |
.
Diffstat (limited to '.config/yazi/yazi.toml')
| -rw-r--r-- | .config/yazi/yazi.toml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml index 7f1fde1..bb7127f 100644 --- a/.config/yazi/yazi.toml +++ b/.config/yazi/yazi.toml @@ -1,2 +1,22 @@ [mgr] show_hidden = true + +[opener] +edit = [ + { run = "/usr/bin/vis %s", desc = "vis", block = true }, +] + +[open] +rules = [ + { mime = "text/*", use = [ "edit" ] }, + { mime = "application/json", use = [ "edit" ] }, + { mime = "application/javascript", use = [ "edit" ] }, + { mime = "application/typescript", use = [ "edit" ] }, + { mime = "application/xml", use = [ "edit" ] }, + { mime = "application/x-yaml", use = [ "edit" ] }, + { mime = "application/toml", use = [ "edit" ] }, + { mime = "application/x-sh", use = [ "edit" ] }, + { mime = "application/x-shellscript", use = [ "edit" ] }, + { mime = "inode/empty", use = [ "edit" ] }, + { url = "*", use = [ "open", "reveal" ] }, +] |
