1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

undo via rebase

This commit is contained in:
Jesse Duffield
2020-03-19 22:22:00 +11:00
parent a15a7b607d
commit b1941c33f7
4 changed files with 95 additions and 26 deletions

View File

@ -313,6 +313,13 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
Modifier: gocui.ModNone,
Handler: gui.handleCreateOptionsMenu,
},
{
ViewName: "",
Key: gui.getKey("main.undo"),
Modifier: gocui.ModNone,
Handler: gui.reflogUndo,
Description: gui.Tr.SLocalize("undoReflog"),
},
{
ViewName: "status",
Key: gui.getKey("universal.edit"),