mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-28 09:08:41 +02:00
customizable keybinding for toggleDiffCommit
This commit is contained in:
parent
844a2db83a
commit
e72cab81c1
@ -111,6 +111,7 @@ Default path for the config file: `~/.config/jesseduffield/lazygit/config.yml`
|
||||
cherryPickCopyRange: 'C'
|
||||
pasteCommits: 'v'
|
||||
tagCommit: 'T'
|
||||
toggleDiffCommit: 'h'
|
||||
stash:
|
||||
popStash: 'g'
|
||||
commitFiles:
|
||||
|
@ -344,6 +344,7 @@ keybinding:
|
||||
cherryPickCopyRange: 'C'
|
||||
pasteCommits: 'v'
|
||||
tagCommit: 'T'
|
||||
toggleDiffCommit: 'h'
|
||||
stash:
|
||||
popStash: 'g'
|
||||
commitFiles:
|
||||
|
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user