summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorDavid Chen <weichen2000121@gmail.com>2020-01-07 10:03:13 -0800
committerDavid Chen <weichen2000121@gmail.com>2020-01-07 10:03:13 -0800
commite72cab81c1326eddd1d391e509dd66c06b03e57e (patch)
treee38ff6bc844dff4e73372b090cd8bf4dcfc100a7 /pkg/gui/keybindings.go
parent844a2db83af5b23411ee5794033a1b8baeb97af0 (diff)
customizable keybinding for toggleDiffCommit
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index dade5aa51..2928ed63b 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -723,7 +723,7 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
},
{
ViewName: "commits",
- Key: 'h',
+ Key: gui.getKey("commits.toggleDiffCommit"),
Modifier: gocui.ModNone,
Handler: gui.handleToggleDiffCommit,
Description: gui.Tr.SLocalize("CommitsDiff"),