config.example.toml

76 lines · 1641 bytes

 1default_profile = "default"
 2
 3[profiles.default]
 4user_id = "@user:matrix.org"
 5password_file = "/path/to/password"
 6url = "https://matrix.org"
 7
 8[settings]
 9default_markup = "html"
10default_room = "#iamb-users:0x.badd.cafe"
11default_split = "vertical"
12external_edit_file_suffix = ".md"
13log_level = "warn"
14members_split = "vertical"
15message_shortcode_display = false
16open_command = ["my-open", "--file"]
17reaction_display = true
18reaction_shortcode_display = false
19read_receipt_display = true
20read_receipt_send = true
21request_timeout = 10000
22typing_notice_display = true
23typing_notice_send = true
24user_gutter_width = 30
25username_display = "username"
26
27[settings.encryption]
28indicator = "only-encrypted"
29indicator_location = "title|prompt"
30
31[settings.image_preview]
32protocol.type = "sixel"
33size = { "width" = 66, "height" = 10 }
34
35[settings.proxy]
36url = "" # An empty string disables any proxying
37auth = "Bearer abcd1234"
38headers.X-Proxy-Config = "foobar"
39
40[settings.sort]
41rooms = ["favorite", "lowpriority", "unread", "name"]
42members = ["power", "id"]
43
44[settings.terminal]
45cursor_shape = "default"
46enable_extended_keys = false
47enable_title = true
48
49[settings.users]
50"@user:matrix.org" = { "name" = "John Doe", "color" = "magenta" }
51
52[layout]
53style = "config"
54
55[[layout.tabs]]
56window = "iamb://dms"
57
58[[layout.tabs]]
59window = "iamb://rooms"
60
61[[layout.tabs]]
62split = [
63    { "window" = "#iamb-users:0x.badd.cafe" },
64    { "window" = "#iamb-dev:0x.badd.cafe" }
65]
66
67[macros.insert]
68"jj" = "<Esc>"
69
70[macros."normal|visual"]
71"V" = "<C-W>m"
72
73[dirs]
74cache = "/home/user/.cache/iamb/"
75logs = "/home/user/.local/share/iamb/logs/"
76downloads = "/home/user/Downloads/"