summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-11-13 23:18:31 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-21 22:07:14 +1100
commite6be849eb2f01861ad29caa92595f32c2854bfb0 (patch)
tree3401bc68cc867a95181cc5a07702e8c518e5f33b /pkg/gui/keybindings.go
parent092f27495a6b362537d2f8b7ff95bf29ee21f285 (diff)
add remotes context to branches view
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index c02176a4f..a31a8123b 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -631,6 +631,11 @@ func (gui *Gui) keybindings(g *gocui.Gui) error {
if err := gui.setInitialContext(); err != nil {
return err
}
+
+ if err := g.SetTabClickBinding("branches", gui.onBranchesTabClick); err != nil {
+ return err
+ }
+
return nil
}