From 63209ef71e3de50cce815b5982fec5f659f2eb74 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 22 Aug 2020 10:08:44 +1000 Subject: try allowing creating branches off the stash too --- pkg/gui/keybindings.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/gui/keybindings.go') 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 @@ -891,6 +891,12 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Handler: gui.handleStashDrop, 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"), -- cgit v1.2.3