diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-17 18:15:32 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-21 22:07:14 +1100 |
commit | cea24c2cf98c48e187900041d9e3bbeb93596019 (patch) | |
tree | 2390449a308f689470f6e944c2a317b89718ee9f /pkg/gui/keybindings.go | |
parent | 64017cf8745258cc6d4838a602295b8281585b9f (diff) |
allow editing remotes
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 79972837b..a64bb2965 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1032,6 +1032,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { }, { ViewName: "branches", + Contexts: []string{"remotes"}, + Key: 'e', + Modifier: gocui.ModNone, + Handler: gui.handleEditRemote, + Description: gui.Tr.SLocalize("editRemote"), + }, + { + ViewName: "branches", Contexts: []string{"remote-branches"}, Key: gocui.KeySpace, Modifier: gocui.ModNone, |