1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

customizable keybinding for toggleDiffCommit

This commit is contained in:
David Chen
2020-01-07 10:03:13 -08:00
parent 844a2db83a
commit e72cab81c1
3 changed files with 3 additions and 1 deletions

View File

@ -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"),