Keybindings Customizer
Use this skill for shortcut rebinding, unbinding, or chord creation.
Workflow
- 1. Read the current keybindings file first.
- Merge changes instead of replacing the entire file.
- Keep schema and docs fields intact.
- Validate against reserved and non-rebindable shortcuts.
- Explain any conflicts or terminal-level limitations.
Guardrails
- - Never overwrite the full file blindly.
- Preserve unrelated existing bindings.
- Flag OS or terminal-reserved shortcuts before saving.
Example Requests
- - Rebind the external editor shortcut.
- Add a chord to toggle todos without overwriting my keybindings file.
Inputs
- - Requested key changes
- Existing keybindings file
- OS or terminal constraints
Outputs
- - Merged keybinding config
- Conflict explanations
Success Criteria
- - The file was merged, not clobbered.
- Reserved shortcuts were handled correctly.
- Schema and docs fields remain intact.
Non-Goals
- - Whole-file replacement for a small binding change
Source Provenance
Derived from
src/skills/bundled/keybindings.ts.
快捷键自定义器
使用此技能进行快捷键重绑定、解绑或和弦创建。
工作流程
- 1. 首先读取当前的快捷键配置文件。
- 合并更改而非替换整个文件。
- 保持schema和docs字段完整。
- 验证保留和不可重绑定的快捷键。
- 解释任何冲突或终端级别的限制。
防护措施
- - 切勿盲目覆盖整个文件。
- 保留无关的现有绑定。
- 在保存前标记操作系统或终端保留的快捷键。
示例请求
- - 重绑定外部编辑器快捷键。
- 添加和弦以切换待办事项,而不覆盖我的快捷键配置文件。
输入
- - 请求的按键更改
- 现有的快捷键配置文件
- 操作系统或终端约束
输出
成功标准
- - 文件已合并,未被覆盖。
- 保留的快捷键已正确处理。
- schema和docs字段保持完整。
非目标
来源出处
源自src/skills/bundled/keybindings.ts。