diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 1823c2955..b996e2e95 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -219,6 +219,12 @@ func (gui *Gui) GetKeybindings() []*Binding { Handler: gui.handleSwitchToStagingPanel, Description: gui.Tr.SLocalize("StageLines"), KeyReadable: "enter", + }, { + ViewName: "files", + Key: 'f', + Modifier: gocui.ModNone, + Handler: gui.handleGitFetch, + Description: gui.Tr.SLocalize("fetch"), }, { ViewName: "main", Key: gocui.KeyEsc, @@ -304,12 +310,6 @@ func (gui *Gui) GetKeybindings() []*Binding { Modifier: gocui.ModNone, Handler: gui.handleForceCheckout, Description: gui.Tr.SLocalize("forceCheckout"), - }, { - ViewName: "branches", - Key: 'f', - Modifier: gocui.ModNone, - Handler: gui.handleGitFetch, - Description: gui.Tr.SLocalize("fetch"), }, { ViewName: "branches", Key: 'n', diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go index 26186c6d9..15179ccbc 100644 --- a/pkg/i18n/english.go +++ b/pkg/i18n/english.go @@ -431,7 +431,7 @@ func addEnglish(i18nObject *i18n.Bundle) error { Other: `No automatic git fetch`, }, &i18n.Message{ ID: "NoAutomaticGitFetchBody", - Other: `Lazygit can't use "git fetch" in a private repo use f in the branches panel to run "git fetch" manually`, + Other: `Lazygit can't use "git fetch" in a private repo; use 'f' in the files panel to run "git fetch" manually`, }, &i18n.Message{ ID: "StageLines", Other: `stage individual hunks/lines`,