summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go12
1 files changed, 6 insertions, 6 deletions
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
@@ -220,6 +220,12 @@ func (gui *Gui) GetKeybindings() []*Binding {
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,
Modifier: gocui.ModNone,
@@ -306,12 +312,6 @@ func (gui *Gui) GetKeybindings() []*Binding {
Description: gui.Tr.SLocalize("forceCheckout"),
}, {
ViewName: "branches",
- Key: 'f',
- Modifier: gocui.ModNone,
- Handler: gui.handleGitFetch,
- Description: gui.Tr.SLocalize("fetch"),
- }, {
- ViewName: "branches",
Key: 'n',
Modifier: gocui.ModNone,
Handler: gui.handleNewBranch,