diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-17 14:50:12 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-21 22:07:14 +1100 |
commit | 07cbae40191a88a18b68d724b4c0983ad7790fa2 (patch) | |
tree | 00c1511fc078dcd5dae2b89bd96c6d8213874e59 /pkg/gui/keybindings.go | |
parent | b42202ea1c82d93d828fec38ddfdc073c041dec9 (diff) |
support setting upstream
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 85678b6ad..85d7c5faf 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1090,6 +1090,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Description: gui.Tr.SLocalize("rebaseBranch"), }, { + ViewName: "branches", + Contexts: []string{"remote-branches"}, + Key: 'u', + Modifier: gocui.ModNone, + Handler: gui.handleSetBranchUpstream, + Description: gui.Tr.SLocalize("setUpstream"), + }, + { ViewName: "commits", Key: gocui.MouseLeft, Modifier: gocui.ModNone, |