diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-12 22:33:42 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-12 22:33:42 +1100 |
commit | c71bcc64ed7e3a5dc921b14df53dbe9d2837a20a (patch) | |
tree | eddf9e4fb8f9eaae7976f39f84c192f8fd475b4f /pkg/gui/keybindings.go | |
parent | e20d8366e1fb971dfb8d8cb2f8aebd17366f14a5 (diff) |
move fetch keybinding to files view to make way for branch-specific fetched
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 12 |
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, |