What problem does it solve?
Merges workspace keybindings into IDE user profile configurations (e.g., ~/antigravity-profile-2/User/keybindings.json) to ensure consistent shortcuts across projects and profiles, reducing setup time and cognitive load for developers.
Core Features & Use Cases
- Auto-Detection (New!): detect running IDE processes (Antigravity, VS Code, Cursor, Windsurf) and automatically apply bindings to the selected profile.
- Manual Mode: specify a profile directory explicitly (e.g., bash setup.sh ~/antigravity-profile-2) when auto-detection is unavailable or multiple profiles exist.
- Safe merge with backups: backs up existing keybindings to .bak files and merges only missing bindings, preserving user customizations and making merges idempotent.
- Verified workflow: validates prerequisites (presence of resources/keybindings.json), creates missing User directory, and confirms the result.
Quick Start
Run bash .agent/skills/setup_local_keybindings/setup.sh ~/antigravity-profile-2 to apply the keybindings to that profile.