diff options
author | David Chen <weichen2000121@gmail.com> | 2019-12-07 09:19:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-07 09:19:43 -0800 |
commit | c507e5f562f6753110e5dc582b5cab9bda76b6ee (patch) | |
tree | 527c520534d230fd5951c5729e0b54dee7c02a7c /pkg/gui/keybindings.go | |
parent | 63e353ad6a86c04b7b02100ff2ddc7337369b1ea (diff) | |
parent | 3f4613feb010fbafa405e8caa6b48e7e6bca3000 (diff) |
Merge branch 'master' into custom-keybindings
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 2b0719189..0d9607574 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -738,6 +738,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: gui.getKey("commits.squashDown"), Modifier: gocui.ModNone, |