setup_local_keybindings

Merge workspace keybindings into IDE user profiles with backups.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/DanhDue/bloc_digital_wallet --skill setup-local-keybindings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup_local_keybindings
Source: https://github.com/DanhDue/bloc_digital_wallet/tree/main/.agent/skills/setup_local_keybindings
Command: npx skills add https://github.com/DanhDue/bloc_digital_wallet --skill setup-local-keybindings

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about setup_local_keybindings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I merge IDE keybindings into a user profile without losing my custom shortcuts?

Merging IDE keybindings into user profiles safely preserves existing custom shortcuts by backing up the original file to a .bak file and only injecting missing bindings from the source resources/keybindings.json file.

Can I automatically detect and apply keybindings across multiple IDEs like VS Code and Cursor?

Auto-detection automatically identifies running processes for Antigravity, VS Code, Cursor, and Windsurf, allowing you to apply keybindings directly to the selected active IDE profile without manual directory searching.

What is the best way to standardize keyboard shortcuts across multiple local development profiles?

Standardizing keyboard shortcuts across local profiles relies on running a setup script that merges a dedicated keybindings.json source file into specified IDE user profile directories, ensuring consistent configurations.

Does the keybinding merge process overwrite my existing keyboard configurations?

The keybinding merge process does not overwrite your existing keyboard configurations; it creates a .bak backup of the current file and idempotently merges only the missing bindings.

How do I manually apply workspace keybindings when auto-detection fails or multiple profiles exist?

To manually apply workspace keybindings when auto-detection fails, run the setup script with the explicit profile directory path as an argument, such as bash setup.sh ~/antigravity-profile-2.