| name | setup_keybindings |
| description | Merges workspace keybindings (.vscode/keybindings.json) into the user's global IDE configuration (VS Code, Cursor, Windsurf, Antigravity, etc.). |
Setup Keybindings
This skill applies the project's recommended keybindings to the user's IDE.
It supports multiple IDEs by checking standard configuration paths on macOS.
Prerequisites
- Dart must be installed and available via
fvm dart or dart.
- The script
scripts/setup_keybindings.dart must exist in the project root.
Instructions
-
Verify Script Existence
- Check if
scripts/setup_keybindings.dart exists.
- If not, report an error.
-
Run Setup Script
-
Verify Output
- Check the output for success messages (e.g., "Successfully added X keybindings" or "All keybindings already exist").
- If "No compatible IDE configurations found" is printed, ask the user for their specific IDE config path.
-
Reload Window
- Remind the user to reload their IDE window (
Cmd+Shift+P -> Reload Window) for changes to take effect.