diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index a0906483d..b5dc95820 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1150,12 +1150,28 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { }, { ViewName: "main", - Contexts: []string{"patch-building", "staging"}, + Contexts: []string{"staging"}, Key: gui.getKey("files.commitChanges"), Modifier: gocui.ModNone, Handler: gui.handleCommitPress, Description: gui.Tr.SLocalize("CommitChanges"), }, + { + ViewName: "main", + Contexts: []string{"staging"}, + Key: gui.getKey("files.commitChangesWithoutHook"), + Modifier: gocui.ModNone, + Handler: gui.handleWIPCommitPress, + Description: gui.Tr.SLocalize("commitChangesWithoutHook"), + }, + { + ViewName: "main", + Contexts: []string{"staging"}, + Key: gui.getKey("files.commitChangesWithEditor"), + Modifier: gocui.ModNone, + Handler: gui.handleCommitEditorPress, + Description: gui.Tr.SLocalize("CommitChangesWithEditor"), + }, { ViewName: "main", Contexts: []string{"merging"},