config.example.toml

89 lines · 1862 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_register = "+"
11default_room = "#iamb-users:0x.badd.cafe"
12default_split = "vertical"
13external_edit_file_suffix = ".md"
14ignorecase = false
15input_prompt = "❯ "
16log_level = "warn"
17members_split = "vertical"
18message_shortcode_display = false
19open_command = ["my-open", "--file"]
20reaction_display = true
21reaction_shortcode_display = false
22read_receipt_display = true
23read_receipt_send = true
24request_timeout = 10000
25typing_notice_display = true
26typing_notice_send = true
27user_gutter_width = 30
28username_display = "username"
29
30[settings.encryption]
31indicator = "only-encrypted"
32indicator_location = "title|prompt"
33
34[settings.image_preview]
35protocol = { type = "sixel", filter = "Nearest" }
36size = { "width" = 66, "height" = 10 }
37
38[settings.proxy]
39url = "" # An empty string disables any proxying
40auth = "Bearer abcd1234"
41headers.X-Proxy-Config = "foobar"
42
43[settings.sort]
44rooms = ["favorite", "lowpriority", "unread", "name"]
45members = ["power", "id"]
46
47[settings.terminal]
48cursor_shape = "default"
49enable_extended_keys = false
50enable_title = true
51
52[settings.users]
53"@user:matrix.org" = { "name" = "John Doe", "color" = "magenta" }
54
55[layout]
56style = "config"
57
58[[layout.tabs]]
59window = "iamb://dms"
60
61[[layout.tabs]]
62window = "iamb://rooms"
63
64[[layout.tabs]]
65split = [
66    { "window" = "#iamb-users:0x.badd.cafe" },
67    { "window" = "#iamb-dev:0x.badd.cafe" }
68]
69
70[macros.insert]
71"jj" = "<Esc>"
72
73[macros."normal|visual"]
74"V" = "<C-W>m"
75
76[aliases]
77"c" = "chats"
78"d" = "download"
79"e" = "edit"
80"o" = "open"
81"r" = "rooms"
82"ed" = "editor"
83"ca" = "cancel"
84"red" = "redact"
85
86[dirs]
87cache = "/home/user/.cache/iamb/"
88logs = "/home/user/.local/share/iamb/logs/"
89downloads = "/home/user/Downloads/"