with one click
setup-local-keybindings
// Merges workspace keybindings into IDE user profile configurations (e.g., ~/antigravity-profile-2/User/keybindings.json).
// Merges workspace keybindings into IDE user profile configurations (e.g., ~/antigravity-profile-2/User/keybindings.json).
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | setup_local_keybindings |
| description | Merges workspace keybindings into IDE user profile configurations (e.g., ~/antigravity-profile-2/User/keybindings.json). |
This skill applies the project's recommended keybindings to IDE user profiles (custom profile directories).
Unlike setup_keybindings which targets global IDE configurations, this skill targets specific user profiles like ~/antigravity-profile-2.
[!IMPORTANT] User Data Directory Mapping: The profile directory you provide MUST match the
--user-data-dirargument used when launching the IDE.For example:
- If you launch with:
antigravity --user-data-dir ~/antigravity-profile-2- Then use this skill with:
bash setup.sh ~/antigravity-profile-2- Keybindings will be placed in:
~/antigravity-profile-2/User/keybindings.json
resources/keybindings.json.The script can automatically detect the --user-data-dir from running IDE processes:
You can also specify the profile directory manually if auto-detection doesn't work or if the IDE isn't running.
Launch your IDE with --user-data-dir:
antigravity --user-data-dir ~/antigravity-profile-2
Run the script without arguments:
bash .agent/skills/setup_local_keybindings/setup.sh
The script will automatically detect and use the running IDE's user data directory.
Run the script with the profile directory path:
bash .agent/skills/setup_local_keybindings/setup.sh ~/antigravity-profile-2
The script will:
User/keybindings.json if it doesn't exist..bak files.resources/keybindings.json into the profile's configuration.Verify Output
Reload Window
Cmd+Shift+P → Reload Window) for changes to take effect.If you launch Antigravity with:
antigravity --user-data-dir ~/antigravity-profile-2
Then apply keybindings with:
bash .agent/skills/setup_local_keybindings/setup.sh ~/antigravity-profile-2
This will place keybindings in: ~/antigravity-profile-2/User/keybindings.json
If you launch VS Code with:
code --user-data-dir ~/my-custom-vscode-profile
Then apply keybindings with:
bash .agent/skills/setup_local_keybindings/setup.sh ~/my-custom-vscode-profile
This will place keybindings in: ~/my-custom-vscode-profile/User/keybindings.json
--user-data-dir argument used when launching your IDE..bak files).<profile-dir>/User/keybindings.json.To verify the keybindings were applied to the correct location:
ls -la ~/antigravity-profile-2/User/keybindings.json--user-data-dir argument