diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-16 16:38:38 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-21 22:07:14 +1100 |
commit | 61dac10bb94874800d7b955c875cbcc3b3efa546 (patch) | |
tree | 8a70a7645b60eeaf31b4725525dff112af581bb3 /pkg/gui/keybindings.go | |
parent | b5385f2560d10fe74af34d9b09c7ebbfe0a46424 (diff) |
support navigating remotes view
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index ce3dc91c7..3b469d81e 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1020,6 +1020,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Handler: gui.handleBranchesClick, }, { + ViewName: "branches", + Contexts: []string{"remotes"}, + Key: gocui.MouseLeft, + Modifier: gocui.ModNone, + Handler: gui.handleRemotesClick, + }, + { ViewName: "commits", Key: gocui.MouseLeft, Modifier: gocui.ModNone, |