1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

add git flow support

This commit is contained in:
Jesse Duffield
2020-01-07 21:42:33 +11:00
parent c3d54f3c2e
commit 80377e4716
5 changed files with 127 additions and 1 deletions

View File

@@ -1,9 +1,10 @@
package gui
import (
"github.com/jesseduffield/gocui"
"log"
"strings"
"github.com/jesseduffield/gocui"
)
// Binding - a keybinding mapping a key and modifier to a handler. The keypress
@@ -520,6 +521,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Handler: gui.handleMerge,
Description: gui.Tr.SLocalize("mergeIntoCurrentBranch"),
},
{
ViewName: "branches",
Contexts: []string{"local-branches"},
Key: gui.getKey("branches.viewGitFlowOptions"),
Modifier: gocui.ModNone,
Handler: gui.handleCreateGitFlowMenu,
Description: gui.Tr.SLocalize("gitFlowOptions"),
},
{
ViewName: "branches",
Contexts: []string{"local-branches"},