Gajae-Code
Gajae-Codev0.9.1

Keybindings

View the active chords with /hotkeys, customize remaps in ~/.gjc/agent/keybindings.json, and reference the common namespaced action IDs and their defaults.

Gajae-Code (gjc) ships a set of interactive keybindings. The exact chords depend on your build, any remaps you have loaded, and bindings added by extensions.

See the active bindings

Run /hotkeys inside a gjc session to see the active chords for your current build. The list reflects any remaps loaded from disk plus any bindings contributed by extensions, so it is always the authoritative view for your environment.

Customize keybindings

User remaps live in:

~/.gjc/agent/keybindings.json

The file is a JSON object whose keys are keybinding action IDs and whose values are either one chord string or an array of chord strings. It is not read from ~/.gjc/agent/config.yml, and there is no nested keybindings object.

{
  "app.model.cycleForward": "Ctrl+P",
  "app.model.selectTemporary": "Alt+P",
  "app.plan.toggle": "Alt+Shift+P"
}

Chord names are case-insensitive and use the same notation shown in the UI, such as Ctrl+P, Alt+Shift+P, Shift+Enter, and Ctrl+Backspace.

Set an action to an empty array to disable it:

{
  "app.stt.toggle": []
}

Older unqualified action names are migrated when keybindings.json is loaded, but new configs should use the namespaced action IDs below.

Common action IDs

Action IDDefaultMeaning
app.model.cycleForwardCtrl+PCycle role models forward
app.model.cycleBackwardShift+Ctrl+PCycle role models backward
app.model.selectTemporaryAlt+PPick a model temporarily for this session
app.model.selectCtrl+LOpen the model selector and set roles
app.plan.toggleAlt+Shift+PToggle plan mode
app.history.searchCtrl+RSearch prompt history
app.tools.expandCtrl+OToggle tool-output expansion
app.thinking.toggleCtrl+TToggle thinking-block visibility
app.thinking.cycleShift+TabCycle thinking level
app.editor.externalCtrl+GEdit the draft in $VISUAL / $EDITOR
app.message.followUpCtrl+EnterQueue a follow-up message
app.message.queueAlt+EnterExplicitly queue a message for the next turn
app.message.dequeueAlt+UpDequeue a queued message back into the editor
app.clipboard.pasteImageCtrl+V (Alt+V on Windows)Paste an image from the system clipboard
app.clipboard.copyLineAlt+Shift+LCopy the current line
app.clipboard.copyPromptAlt+Shift+CCopy the whole prompt
app.stt.toggleAlt+HToggle speech-to-text recording

These are the common bindings; run /hotkeys for the complete, build-accurate list including extension-contributed actions. The registry intentionally reuses some default chords across different focused contexts, such as Enter, Ctrl+C, and Ctrl+P; only the active component dispatches its binding.

On this page