mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Added commit keybinding to staging views
This commit is contained in:
committed by
Jesse Duffield
parent
5f53d50492
commit
47d7d87c82
@ -1148,6 +1148,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
|||||||
Modifier: gocui.ModNone,
|
Modifier: gocui.ModNone,
|
||||||
Handler: gui.handleMouseScrollDown,
|
Handler: gui.handleMouseScrollDown,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ViewName: "main",
|
||||||
|
Contexts: []string{"patch-building", "staging"},
|
||||||
|
Key: gui.getKey("files.commitChanges"),
|
||||||
|
Modifier: gocui.ModNone,
|
||||||
|
Handler: gui.handleCommitPress,
|
||||||
|
Description: gui.Tr.SLocalize("CommitChanges"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
ViewName: "main",
|
ViewName: "main",
|
||||||
Contexts: []string{"merging"},
|
Contexts: []string{"merging"},
|
||||||
|
Reference in New Issue
Block a user