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

update cheatsheets

This commit is contained in:
Jesse Duffield
2023-04-15 14:40:28 +10:00
parent 5a7b2ab6d0
commit dd31f8ecea
7 changed files with 193 additions and 66 deletions

View File

@ -52,6 +52,7 @@ func (self *Gui) GetCheatsheetKeybindings() []*types.Binding {
self.helpers = helpers.NewStubHelpers()
self.State = &GuiRepoState{}
self.State.Contexts = self.contextTree()
self.State.ContextMgr = NewContextMgr(nil, self, self.State.Contexts)
self.resetControllers()
bindings, _ := self.GetInitialKeybindings()
return bindings