summaryrefslogtreecommitdiff
path: root/config/yazi/yazi.toml
diff options
context:
space:
mode:
Diffstat (limited to 'config/yazi/yazi.toml')
-rw-r--r--config/yazi/yazi.toml28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/yazi/yazi.toml b/config/yazi/yazi.toml
new file mode 100644
index 000000000..136965e3f
--- /dev/null
+++ b/config/yazi/yazi.toml
@@ -0,0 +1,28 @@
+[mgr]
+linemode = "mtime"
+sort_by = "alphabetical"
+show_symlink = true
+show_hidden = true
+ratio = [1, 1, 3]
+
+[preview]
+max_width = 1920
+max_height = 1080
+image_quality = 90
+image_delay = 0
+
+[open]
+rules = [
+ { mime = "text/*", use = "nvim" },
+ { mime = "image/*", use = "feh" }
+]
+
+[opener]
+nvim = [
+ { run = 'nvim "$@"', block = true }
+]
+
+feh = [
+ { run = 'feh "$@"', block = false }
+]
+