mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-22 23:47:02 -10:00
12 lines
365 B
TypeScript
12 lines
365 B
TypeScript
type CommandKeybind = {
|
|
keybindParts: (id: string) => string[]
|
|
}
|
|
|
|
export function reviewTooltipKeybind(command: CommandKeybind, _translate?: (key: string) => string) {
|
|
return command.keybindParts("review.toggle")
|
|
}
|
|
|
|
export function newTabTooltipKeybind(command: CommandKeybind, _translate?: (key: string) => string) {
|
|
return command.keybindParts("tab.new")
|
|
}
|