1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-20 05:19:24 +02:00

change key from 'H' to '?'

This commit is contained in:
Dawid Dziurla 2018-08-29 11:54:28 +02:00
parent 2416f585ce
commit 6a99d36ae1
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ func (gui *Gui) renderfilesOptions(g *gocui.Gui, file *commands.File) error {
"e": gui.Tr.SLocalize("edit"),
"a": gui.Tr.SLocalize("toggleStagedAll"),
"PgUp/PgDn": gui.Tr.SLocalize("scroll"),
"H": gui.Tr.SLocalize("help"),
"?": gui.Tr.SLocalize("help"),
}
if gui.State.HasMergeConflicts {
optionsMap["a"] = gui.Tr.SLocalize("abortMerge")

View File

@ -26,7 +26,7 @@ func (gui *Gui) getKeybindings() []Binding {
{ViewName: "", Key: 'P', Modifier: gocui.ModNone, Handler: gui.pushFiles},
{ViewName: "", Key: 'p', Modifier: gocui.ModNone, Handler: gui.pullFiles},
{ViewName: "", Key: 'R', Modifier: gocui.ModNone, Handler: gui.handleRefresh},
{ViewName: "", Key: 'H', Modifier: gocui.ModNone, Handler: gui.handleHelp},
{ViewName: "", Key: '?', Modifier: gocui.ModNone, Handler: gui.handleHelp},
{ViewName: "status", Key: 'e', Modifier: gocui.ModNone, Handler: gui.handleEditConfig},
{ViewName: "status", Key: 'o', Modifier: gocui.ModNone, Handler: gui.handleOpenConfig},
{ViewName: "status", Key: 'u', Modifier: gocui.ModNone, Handler: gui.handleCheckForUpdate},