88 lines
2.5 KiB
Cheetah
88 lines
2.5 KiB
Cheetah
{
|
|
"slack_token": "yourslacktokenhere",
|
|
|
|
// OPTIONAL: set the width of the sidebar (between 1 and 11), default is 1
|
|
"sidebar_width": 1,
|
|
|
|
// OPTIONAL: turn on desktop notifications for all incoming messages, set
|
|
// the value as: "all". For only mentions and im messages set the
|
|
// value as: "mention", default is turned off: ""
|
|
"notify": "mention",
|
|
|
|
// OPTIONAL: turn on emoji's, default is false
|
|
"emoji": true,
|
|
|
|
// OPTIONAL: define custom key mappings, defaults are:
|
|
"key_map": {
|
|
"command": {
|
|
"i": "mode-insert",
|
|
"/": "mode-search",
|
|
"k": "channel-up",
|
|
"j": "channel-down",
|
|
"g": "channel-top",
|
|
"G": "channel-bottom",
|
|
"K": "thread-up",
|
|
"J": "thread-down",
|
|
"<previous>": "chat-up",
|
|
"C-b": "chat-up",
|
|
"C-u": "chat-up",
|
|
"<next>": "chat-down",
|
|
"C-f": "chat-down",
|
|
"C-d": "chat-down",
|
|
"n": "channel-search-next",
|
|
"N": "channel-search-previous",
|
|
"'": "channel-jump",
|
|
"q": "quit",
|
|
"<f1>": "help"
|
|
},
|
|
"insert": {
|
|
"<left>": "cursor-left",
|
|
"<right>": "cursor-right",
|
|
"<enter>": "send",
|
|
"<escape>": "mode-command",
|
|
"<backspace>": "backspace",
|
|
"C-8": "backspace",
|
|
"<delete>": "delete",
|
|
"<space>": "space"
|
|
},
|
|
"search": {
|
|
"<left>": "cursor-left",
|
|
"<right>": "cursor-right",
|
|
"<escape>": "clear-input",
|
|
"<enter>": "clear-input",
|
|
"<backspace>": "backspace",
|
|
"C-8": "backspace",
|
|
"<delete>": "delete",
|
|
"<space>": "space"
|
|
}
|
|
},
|
|
|
|
// OPTIONAL: override the default theme, defaults are:
|
|
"theme": {
|
|
"view": {
|
|
"fg": "white",
|
|
"bg": "default",
|
|
"border_fg": "white",
|
|
"border_bg": "",
|
|
"label_fg": "white",
|
|
"label_bg": ""
|
|
},
|
|
"channel": {
|
|
"prefix": "",
|
|
"icon": "",
|
|
"text": ""
|
|
},
|
|
"message": {
|
|
// This uses golang time formatting:
|
|
// - https://yourbasic.org/golang/format-parse-string-time-date-example/
|
|
// - https://golang.org/pkg/time/#Time.Format
|
|
"time_format": "15:04",
|
|
|
|
// You can use 'colorize' to give every name an individual color
|
|
"name": "",
|
|
|
|
"time": "",
|
|
"text": ""
|
|
}
|
|
}
|
|
}
|