mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
allow opening files on the selected line in the staging panel
This commit is contained in:
@ -995,6 +995,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
|
||||
Handler: gui.handleEscapePatchBuildingPanel,
|
||||
Description: gui.Tr.SLocalize("ExitLineByLineMode"),
|
||||
},
|
||||
{
|
||||
ViewName: "main",
|
||||
Contexts: []string{"patch-building", "staging"},
|
||||
Key: gui.getKey("universal.openFile"),
|
||||
Handler: gui.wrappedHandler(gui.handleOpenFileAtLine),
|
||||
// Description: gui.Tr.SLocalize("PrevLine"),
|
||||
},
|
||||
{
|
||||
ViewName: "main",
|
||||
Contexts: []string{"patch-building", "staging"},
|
||||
|
Reference in New Issue
Block a user