Skip to content

searchShortcutLabels

const searchShortcutLabels: [string, string][]

Defined in: extensions/commands/format.ts:136

Array of keyboard shortcuts and descriptions for the searchWidget extension. Useful for documenting key bindings to users. It consists of tuples containing two string each where the first string is the key binding and the second is the description.

for (const [key, description] of searchShortcutLabels) {
console.log(formatHotkey(key), description)
}