Keybinds
Customize keyboard shortcuts in OpenCode.
Configuration
{
"keybinds": {}
}Default Keybinds
| Action | Keybind |
|---|---|
| Compact session | ctrl+x c |
| Toggle details | ctrl+x d |
| Open editor | ctrl+x e |
| Exit | ctrl+x q |
| Export | ctrl+x x |
| Help | ctrl+x h |
| Init project | ctrl+x i |
| Models | ctrl+x m |
| New session | ctrl+x n |
| Redo | ctrl+x r |
| Sessions | ctrl+x l |
| Share | ctrl+x s |
| Themes | ctrl+x t |
| Undo | ctrl+x u |
Customization
Override default keybinds in your configuration file.