MCPcopy
hub / github.com/ayn2op/discordo / defaultKeybinds

Function defaultKeybinds

internal/config/keybinds.go:200–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198}
199
200func defaultKeybinds() Keybinds {
201 return Keybinds{
202 ToggleGuildsTree: desc("toggle guilds"),
203 ToggleChannelsPicker: desc("channels picker"),
204 ToggleHelp: desc("help"),
205 Suspend: desc("suspend"),
206
207 FocusGuildsTree: desc("guilds"),
208 FocusMessagesList: desc("messages"),
209 FocusComposer: desc("composer"),
210
211 FocusPrevious: desc("focus prev"),
212 FocusNext: desc("focus next"),
213
214 Logout: desc("logout"),
215 Quit: desc("quit"),
216
217 Picker: defaultPickerKeybinds(),
218 GuildsTree: defaultGuildsTreeKeybinds(),
219 MessagesList: defaultMessagesListKeybinds(),
220 Composer: defaultComposerKeybinds(),
221 MentionsList: defaultMentionsListKeybinds(),
222 }
223}

Callers 1

LoadFunction · 0.85

Calls 6

descFunction · 0.85
defaultPickerKeybindsFunction · 0.85
defaultComposerKeybindsFunction · 0.85

Tested by

no test coverage detected