mirror of
https://github.com/eugeny/tabby
synced 2025-12-08 16:56:00 +00:00
15 lines
366 B
TypeScript
15 lines
366 B
TypeScript
export interface HotkeyDescription {
|
|
id: string
|
|
name: string
|
|
}
|
|
|
|
/**
|
|
* Extend to provide your own hotkeys. A corresponding [[ConfigProvider]]
|
|
* must also provide the `hotkeys.foo` config options with the default values
|
|
*/
|
|
export abstract class HotkeyProvider {
|
|
hotkeys: HotkeyDescription[] = []
|
|
|
|
abstract provide (): Promise<HotkeyDescription[]>
|
|
}
|