diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-09 22:23:28 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-09 22:36:07 +1100 |
commit | d647a96ed55e134f1464878be8d0be3a464d996f (patch) | |
tree | 47b2818e5587d4cffbddc3b54523c7c795916e0c /pkg/gui/keybindings.go | |
parent | 1b64ea32102185229231907a843ab925146b0595 (diff) |
add reflog reset optionsv0.13
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 44417ad09..3048d3235 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -786,6 +786,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Description: gui.Tr.SLocalize("checkoutCommit"), }, { + ViewName: "commits", + Contexts: []string{"reflog-commits"}, + Key: gui.getKey("commits.viewResetOptions"), + Modifier: gocui.ModNone, + Handler: gui.handleCreateReflogResetMenu, + Description: gui.Tr.SLocalize("viewResetOptions"), + }, + { ViewName: "stash", Key: gui.getKey("universal.select"), Modifier: gocui.ModNone, |