diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-09 22:08:28 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-09 22:36:07 +1100 |
commit | 1b64ea32102185229231907a843ab925146b0595 (patch) | |
tree | 8b9bb16ea3346719ebf4eb47dca7d5e921f4c6af /pkg/gui/keybindings.go | |
parent | 9b32e99eb80d3912ecfef3303418e6dce8219a75 (diff) |
add checkout reflog commit keybinding
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 932b01f03..44417ad09 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -778,6 +778,14 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { Description: gui.Tr.SLocalize("tagCommit"), }, { + ViewName: "commits", + Contexts: []string{"reflog-commits"}, + Key: gui.getKey("universal.select"), + Modifier: gocui.ModNone, + Handler: gui.handleCheckoutReflogCommit, + Description: gui.Tr.SLocalize("checkoutCommit"), + }, + { ViewName: "stash", Key: gui.getKey("universal.select"), Modifier: gocui.ModNone, |