diff --git a/README.md b/README.md index 76d0723..c141053 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,10 @@ By default, Discordo utilizes OS-specific keyring to store credentials such as c ### Default Keybindings -- `Alt` + `1`: Sets the focus on the guilds treeview. -- `Alt` + `2`: Sets the focus on the channels treeview. -- `Alt` + `3`: Sets the focus on the messages textview. -- `Alt` + `4`: Sets the focus on the message inputfield. +- `Alt` + `g`: Sets the focus on the guilds treeview. +- `Alt` + `c`: Sets the focus on the channels treeview. +- `Alt` + `m`: Sets the focus on the messages textview. +- `Alt` + `i`: Sets the focus on the message inputfield. ### Clipboard diff --git a/discordo.go b/discordo.go index 14179a0..56b74c1 100644 --- a/discordo.go +++ b/discordo.go @@ -70,13 +70,13 @@ func main() { func onAppInputCapture(e *tcell.EventKey) *tcell.EventKey { switch e.Name() { - case "Alt+Rune[1]": + case "Alt+Rune[g]": app.SetFocus(guildsTreeView) - case "Alt+Rune[2]": + case "Alt+Rune[c]": app.SetFocus(channelsTreeView) - case "Alt+Rune[3]": + case "Alt+Rune[m]": app.SetFocus(messagesTextView) - case "Alt+Rune[4]": + case "Alt+Rune[i]": app.SetFocus(messageInputField) }