defaultKeymapLabels
constdefaultKeymapLabels: [string,string][]
Defined in: extensions/commands/format.ts:77
Array of keyboard shortcuts and descriptions for defaultKeymap. 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.
Example
Section titled “Example”for (const [key, description] of defaultKeymapLabels) { console.log(formatHotkey(key), description)}