This ensures Claude Code starts in normal editor mode rather than potentially using vim mode, which can cause issues with automated text input via tmux send-keys. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
82 lines
1.8 KiB
JSON
82 lines
1.8 KiB
JSON
{
|
|
"editorMode": "normal",
|
|
"enabledPlugins": {
|
|
"beads@beads-marketplace": false
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash(gh pr create*)",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "export PATH=\"$HOME/go/bin:$HOME/.local/bin:$PATH\" && gt tap guard pr-workflow"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash(git checkout -b*)",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "export PATH=\"$HOME/go/bin:$HOME/.local/bin:$PATH\" && gt tap guard pr-workflow"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash(git switch -c*)",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "export PATH=\"$HOME/go/bin:$HOME/.local/bin:$PATH\" && gt tap guard pr-workflow"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime --hook && gt nudge deacon session-started"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt prime --hook"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt mail check --inject"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"matcher": "",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "export PATH=\"$HOME/go/bin:$HOME/bin:$PATH\" && gt costs record"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|