Hide already typed keys inside showbinds menu (#2249)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2025-11-07 02:08:52 +01:00
1 parent c19e3a68c1
commit 0283b2a71a
3 files changed
+31 -21

No files matched your search

+4 -4
View File
@@ -564,16 +564,16 @@ func (app *app) runShell(s string, args []string, prefix string) {
gState.data["maps"] = listBinds(map[string]map[string]expr{
"n": gOpts.nkeys,
"v": gOpts.vkeys,
}, true)
})
gState.data["nmaps"] = listBinds(map[string]map[string]expr{
"n": gOpts.nkeys,
}, true)
})
gState.data["vmaps"] = listBinds(map[string]map[string]expr{
"v": gOpts.vkeys,
}, true)
})
gState.data["cmaps"] = listBinds(map[string]map[string]expr{
"c": gOpts.cmdkeys,
}, true)
})
gState.data["cmds"] = listCmds(gOpts.cmds)
gState.data["jumps"] = listJumps(app.nav.jumpList, app.nav.jumpListInd)
gState.data["history"] = listHistory(app.cmdHistory)