Modify the default keybindings
This commit is contained in:
parent
464551cc98
commit
83f2924186
2 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue