Keybindings
Default keymap
Every keyboard shortcut koshi ships in normal and locked modes.
The default leader is the Ctrl modifier run, so <leader>p becomes
<C-p>.
Normal mode
| Keys | Action |
|---|---|
| <C-l> | Lock input |
| <C-q> | Quit |
| <C-g> | Toggle mouse-selection mode |
| <C-p> n | New pane in configured direction |
| <C-p> h | New pane left |
| <C-p> j | New pane below |
| <C-p> k | New pane above |
| <C-p> l | New pane right |
| <C-p> x | Close pane and its process tree |
| <C-p> ←↓↑→ | Focus nearby pane |
| <C-s> ←↓↑→ | Resize pane one cell |
| <C-t> n | New tab |
| <C-t> x | Close tab |
| Alt+f | Toggle pane fullscreen |
| Tab | Next tab |
| Shift+Tab | Previous tab |
Focus and resize actions repeat from an open prefix: <C-s> ← ← ← moves the border three cells.
Locked mode
| Keys | Action |
|---|---|
| <C-l> | Unlock input |
| <C-q> | Quit |
| <C-g> | Toggle mouse-selection mode |
Every other key passes to the focused program.
Inspect effective bindings
User config can replace or remove defaults. Check the merged result:
koshi keys list
koshi keys list --mode normal
koshi keys list --scope default
koshi keys list --scope userSee keybinding.kdl to customize it.