Download packages/app/src/components/command-tooltip-keybind.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/app/src/components/command-tooltip-keybind.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/app/src/components/command-tooltip-keybind.ts
-
curl -L -o command-tooltip-keybind.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/app/src/components/command-tooltip-keybind.ts
365 Bytes
| 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") | |
| } | |