summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 51fcdd2a2..fed17e291 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -892,6 +892,12 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Description: gui.Tr.SLocalize("drop"),
},
{
+ ViewName: "stash",
+ Key: gui.getKey("universal.new"),
+ Handler: gui.wrappedHandler(gui.handleNewBranchOffCurrentItem),
+ Description: gui.Tr.SLocalize("newBranch"),
+ },
+ {
ViewName: "commitMessage",
Key: gui.getKey("universal.confirm"),
Modifier: gocui.ModNone,