mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-24 01:32:26 +03:00
Show escape binding for staging and patch building in the status bar
This commit is contained in:
@@ -43,9 +43,10 @@ func (self *PatchBuildingController) GetKeybindings(opts types.KeybindingsOpts)
|
|||||||
DisplayOnScreen: true,
|
DisplayOnScreen: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: opts.GetKey(opts.Config.Universal.Return),
|
Key: opts.GetKey(opts.Config.Universal.Return),
|
||||||
Handler: self.Escape,
|
Handler: self.Escape,
|
||||||
Description: self.c.Tr.ExitCustomPatchBuilder,
|
Description: self.c.Tr.ExitCustomPatchBuilder,
|
||||||
|
DisplayOnScreen: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -68,9 +68,10 @@ func (self *StagingController) GetKeybindings(opts types.KeybindingsOpts) []*typ
|
|||||||
Tooltip: self.c.Tr.EditFileTooltip,
|
Tooltip: self.c.Tr.EditFileTooltip,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: opts.GetKey(opts.Config.Universal.Return),
|
Key: opts.GetKey(opts.Config.Universal.Return),
|
||||||
Handler: self.Escape,
|
Handler: self.Escape,
|
||||||
Description: self.c.Tr.ReturnToFilesPanel,
|
Description: self.c.Tr.ReturnToFilesPanel,
|
||||||
|
DisplayOnScreen: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: opts.GetKey(opts.Config.Universal.TogglePanel),
|
Key: opts.GetKey(opts.Config.Universal.TogglePanel),
|
||||||
|
Reference in New Issue
Block a user