-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyazi.toml
46 lines (38 loc) · 1001 Bytes
/
yazi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# general
[manager]
# this is according to my liking
sort_dir_first = true
sort_by_modified = true
sort_reverse = true
show_hidden = false
#[opener]
#edit = [
# { run = 'nvim "$@"', block = true },
#]
#play = [
# { run = 'mpv "$@"', orphan = true, for = "unix" },
#]
#view = [
# { run = 'gwenview "$@"', orphan = true, for = "unix" },
#]
#open = [
# { run = 'xdg-open "$@"', desc = "Open" },
#]
#[open]
# set rules for opening specific files
#rules = [
# { name = "*.mpv", use = "play" },
# { name = "*.png", use = "view" },
# { name = "*.jpg", use = "view" },
# { name = "*.jpeg", use = "view" },
# just examples
# For specific directories
# { mime = "text/*", use = "edit" },
# { mime = "video/*", use = "play" },
# { mime = "application/json", use = "edit" },
# { name = "*.json", use = "edit" },
# Multiple openers for a single rule
# { name = "*.html", use = [ "open", "edit" ] },
# ]
#For more modifications please visit :
#https://yazi-rs.github.io/docs/configuration/yazi