fix cheatsheet crash

This commit is contained in:
Jesse Duffield 2022-02-13 10:39:14 +11:00
parent 722410aded
commit 3188526ecb
7 changed files with 66 additions and 42 deletions

View file

@ -124,7 +124,7 @@ func formatBinding(binding *types.Binding) string {
func getBindingSections(mApp *app.App) []*bindingSection {
bindingSections := []*bindingSection{}
bindings, _ := mApp.Gui.GetInitialKeybindings()
bindings := mApp.Gui.GetCheatsheetKeybindings()
type contextAndViewType struct {
subtitle string