summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorGlenn Vriesman <glenn.vriesman@gmail.com>2018-11-29 17:57:51 +0100
committerJesse Duffield <jessedduffield@gmail.com>2018-12-11 09:39:54 +1100
commit88c01c1dede6fbfbfc6560a74e78a6594e3bd194 (patch)
tree0fc80c8e65ed139b0a5d182a55a4f92d72e04a25 /pkg
parent27994f7de83bdf14982544e7dce390bc1b157b66 (diff)
Added rebase keybinding
Diffstat (limited to 'pkg')
-rw-r--r--pkg/gui/keybindings.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index b0c141d73..5bc08db59 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -318,6 +318,12 @@ func (gui *Gui) GetKeybindings() []*Binding {
Description: gui.Tr.SLocalize("deleteBranch"),
}, {
ViewName: "branches",
+ Key: 'r',
+ Modifier: gocui.ModNone,
+ Handler: gui.handleRebase,
+ Description: gui.Tr.SLocalize("rebaseBranch"),
+ }, {
+ ViewName: "branches",
Key: 'm',
Modifier: gocui.ModNone,
Handler: gui.handleMerge,