1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

allow fetching remotes with 'f'

This commit is contained in:
Jesse Duffield
2019-12-07 16:20:22 +11:00
parent 033c21754b
commit 3f4613feb0
4 changed files with 33 additions and 0 deletions

View File

@ -454,6 +454,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Handler: gui.handleRemoteBranchesEscape,
Description: gui.Tr.SLocalize("ReturnToRemotesList"),
},
{
ViewName: "branches",
Contexts: []string{"remotes"},
Key: 'f',
Modifier: gocui.ModNone,
Handler: gui.handleFetchRemote,
Description: gui.Tr.SLocalize("fetchRemote"),
},
{
ViewName: "commits",
Key: 's',