mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
allow adding a submodule
This commit is contained in:
@ -1601,6 +1601,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
||||
Handler: gui.wrappedHandler(gui.handleResetSubmodule),
|
||||
Description: gui.Tr.SLocalize("submoduleStashAndReset"),
|
||||
},
|
||||
{
|
||||
ViewName: "files",
|
||||
Contexts: []string{SUBMODULES_CONTEXT_KEY},
|
||||
Key: gui.getKey("universal.new"),
|
||||
Handler: gui.wrappedHandler(gui.handleAddSubmodule),
|
||||
Description: gui.Tr.SLocalize("addSubmodule"),
|
||||
},
|
||||
}
|
||||
|
||||
for _, viewName := range []string{"status", "branches", "files", "commits", "commitFiles", "stash", "menu"} {
|
||||
|
Reference in New Issue
Block a user