1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

allow editing remotes

This commit is contained in:
Jesse Duffield
2019-11-17 18:15:32 +11:00
parent 64017cf874
commit cea24c2cf9
4 changed files with 65 additions and 0 deletions

View File

@ -1030,6 +1030,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Handler: gui.handleRemoveRemote,
Description: gui.Tr.SLocalize("removeRemote"),
},
{
ViewName: "branches",
Contexts: []string{"remotes"},
Key: 'e',
Modifier: gocui.ModNone,
Handler: gui.handleEditRemote,
Description: gui.Tr.SLocalize("editRemote"),
},
{
ViewName: "branches",
Contexts: []string{"remote-branches"},