diff options
author | David Chen <weichen2000121@gmail.com> | 2020-01-07 09:57:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 09:57:06 -0800 |
commit | 844a2db83af5b23411ee5794033a1b8baeb97af0 (patch) | |
tree | 216b05fa42f26c4cfbcc4d1421511981fbeaab1e /pkg/gui/keybindings.go | |
parent | 529ba45cc74c9f777c0589fa85b4a5f3ee109402 (diff) | |
parent | 09aabce3cd38312e854fdbb29046acba42a67f38 (diff) |
Merge branch 'master' into custom-keybindings
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 032281608..dade5aa51 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -718,6 +718,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding { ViewName: "commits", Key: gui.getKey("universal.select"), Modifier: gocui.ModNone, + Handler: gui.handleCheckoutCommit, + Description: gui.Tr.SLocalize("checkoutCommit"), + }, + { + ViewName: "commits", + Key: 'h', + Modifier: gocui.ModNone, Handler: gui.handleToggleDiffCommit, Description: gui.Tr.SLocalize("CommitsDiff"), }, |