mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-04 23:37:41 +02:00
better keybinding ('W') for viewing diff
This commit is contained in:
parent
771e87ebeb
commit
3ebb91c07a
@ -106,7 +106,8 @@ Default path for the config file:
|
|||||||
undo: 'z'
|
undo: 'z'
|
||||||
redo: '<c-z>'
|
redo: '<c-z>'
|
||||||
filteringMenu: '<c-s>'
|
filteringMenu: '<c-s>'
|
||||||
diffingMenu: '<c-e>'
|
diffingMenu: 'W'
|
||||||
|
diffingMenu-alt: '<c-e>' # deprecated
|
||||||
copyToClipboard: '<c-o>'
|
copyToClipboard: '<c-o>'
|
||||||
status:
|
status:
|
||||||
checkForUpdate: 'u'
|
checkForUpdate: 'u'
|
||||||
|
@ -334,7 +334,8 @@ keybinding:
|
|||||||
undo: 'z'
|
undo: 'z'
|
||||||
redo: '<c-z>'
|
redo: '<c-z>'
|
||||||
filteringMenu: <c-s>
|
filteringMenu: <c-s>
|
||||||
diffingMenu: '<c-e>'
|
diffingMenu: 'W'
|
||||||
|
diffingMenu-alt: '<c-e>'
|
||||||
copyToClipboard: '<c-o>'
|
copyToClipboard: '<c-o>'
|
||||||
status:
|
status:
|
||||||
checkForUpdate: 'u'
|
checkForUpdate: 'u'
|
||||||
|
@ -1037,6 +1037,12 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
|||||||
Handler: gui.handleCreateDiffingMenuPanel,
|
Handler: gui.handleCreateDiffingMenuPanel,
|
||||||
Description: gui.Tr.SLocalize("openDiffingMenu"),
|
Description: gui.Tr.SLocalize("openDiffingMenu"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ViewName: "",
|
||||||
|
Key: gui.getKey("universal.diffingMenu-alt"),
|
||||||
|
Handler: gui.handleCreateDiffingMenuPanel,
|
||||||
|
Description: gui.Tr.SLocalize("openDiffingMenu"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
ViewName: "secondary",
|
ViewName: "secondary",
|
||||||
Key: gocui.MouseWheelUp,
|
Key: gocui.MouseWheelUp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user