diff options
Diffstat (limited to 'dot_config/yazi')
| -rw-r--r-- | dot_config/yazi/yazi.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dot_config/yazi/yazi.toml b/dot_config/yazi/yazi.toml index 0ef2780..747f18c 100644 --- a/dot_config/yazi/yazi.toml +++ b/dot_config/yazi/yazi.toml @@ -10,3 +10,10 @@ title_format = "Yazi: {cwd}" open = [ { run = 'xdg-open "$@"', desc = "Open", orphan = true }, ] + +# Route markdown through xdg-open (→ okular) instead of $EDITOR. +[open] +prepend_rules = [ + { name = "*.md", use = "open" }, + { mime = "text/markdown", use = "open" }, +] |
