diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-22 10:08:44 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 63209ef71e3de50cce815b5982fec5f659f2eb74 (patch) | |
tree | 0c6a492ef5a70453ca5e2261f21804cc3540dc0b /pkg/gui/keybindings.go | |
parent | f63ec38aae9800a05d1b39977c8b51f6f1d4201c (diff) |
try allowing creating branches off the stash too
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 6 |
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, |