Command reference ยท Antigravity CLI
/keybindings
Opens the interactive keybinding editor.
/keybindings belongs to the "Configurations" category and, according to the official reference, opens "the interactive Keyboard Shortcut Editor" โ that is, an interactive editor inside the TUI where you can customize Antigravity CLI keyboard shortcuts.
The "Using AGY CLI" docs page adds that the shortcuts can be edited either via this editor or directly in a JSON file. According to the official documentation, the file is located at ~/.gemini/antigravity-cli/keybindings.json. To reset to the default configuration, according to the docs it's enough to delete this file.
/keybindings is therefore suited both for one-off adjustments via the interface and for version-controllable, manual editing of the JSON file โ for example, to sync your own keyboard shortcut set across multiple machines.
โ WHEN TO USE IT?
Change a keyboard shortcut that conflicts with another application
Open /keybindings and reassign the affected shortcut in the interactive editor
Sync your own keybindings across multiple machines
Edit or copy the file ~/.gemini/antigravity-cli/keybindings.json directly, instead of opening the editor every time
โ WHEN NOT TO?
Change general settings instead of keyboard shortcuts
According to the docs, /keybindings only covers keyboard shortcuts, not the rest of the configuration.
Better: Use /config or /settings
SOURCES
- Antigravity CLI docs: command reference โ antigravity.google
- Antigravity CLI docs: Settings โ antigravity.google
MORE COMMANDS ยท Antigravity CLI