summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-12-07 16:20:22 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-12-07 16:23:04 +1100
commit3f4613feb010fbafa405e8caa6b48e7e6bca3000 (patch)
tree49243085fc8efbb17faef420f2feeef850efc7e7 /pkg/gui/keybindings.go
parent033c21754b6eb5ead47a56b9dbee54a976c7fcff (diff)
allow fetching remotes with 'f'
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 2f82bcfb9..ae0f8f8ad 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -455,6 +455,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
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',
Modifier: gocui.ModNone,