mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-24 06:33:01 -04:00
1bcb9d7cb9
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
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")
|
|
}
|