KOSHI0.6.0
Keybindings
v0.6keybindingsfield manual

Default keymap

The default shortcuts for opening, floating, moving, resizing, and closing panes, tabs, and sessions, and for the floating pane tray and the notification center.

The default leader is the Ctrl modifier run, so <leader>p becomes <C-p>.

Normal mode

KeysAction
<C-l>Lock input
<C-q>Quit — leave the session, which keeps running
<C-g>Toggle mouse-selection mode
<C-p> nNew pane in configured direction
<C-p> hNew pane left
<C-p> jNew pane below
<C-p> kNew pane above
<C-p> lNew pane right
<C-p> sNew pane in the focused pane's stack
<C-p> fNew floating pane
<C-p> uFloat the focused pane, or dock it when it floats
<C-p> iPin or unpin the focused floating pane
<C-p> Tab / Shift+TabShow and focus the next / previous floating pane
<C-p> wOpen or close the floating pane tray
<C-p> mMove an existing pane
<C-p> xClose pane and its process tree
<C-p> ←↓↑→Focus nearby pane
<C-s> ←↓↑→Resize pane one cell
<C-t> nNew tab
<C-t> xClose tab
Alt+fToggle pane fullscreen
Alt+nOpen or close the notification center
TabNext tab
Shift+TabPrevious tab

Focus, resize, and floating-pane focus actions repeat from an open prefix: <C-s> ← ← ← moves the border three cells, and <C-p> Tab Tab steps two floating panes. Esc closes the prefix.

Move a pane

<C-p> m opens the move preview for tiled panes. When this client shows a floating pane it did not pin, it first opens a chooser (MOVE):

KeysResult
tMove a tiled pane
fMove a floating pane
EnterMove the focused floating pane, or a tiled pane when a tiled pane is focused
EscCancel

In the tiled move preview:

KeysResult
←↓↑→Choose a pane to swap with
Shift+←↓↑→Choose an edge to insert beside a pane or stack
sSwitch the target between the pane and its stack
SpaceCycle split spans
Tab / Shift+TabPreview the next / previous visible tab
EnterAccept the move
EscCancel the preview

The preview appears only on the client that started the move. Every attached client sees the changed layout after it is accepted. You can also drag a pane; hold Shift when starting the drag to insert it beside the target.

In floating pane move mode (MOVE FLOAT):

KeysResult
←↓↑→Move the selected floating pane one cell
Tab / Shift+TabSelect the next / previous floating pane
EnterAccept the move
EscDiscard the move

A floating pane move changes only this client's view.

Floating pane tray

After <C-p> w (TRAY):

KeysResult
←↓↑→Select a tile
EnterMinimize a shown pane, show a minimized one, or create a pane on + new
aMinimize every floating pane this client shows, or show them all when none shows
Esc or <C-p> wClose the tray

Notification center

After Alt+n (NOTIFICATIONS):

KeysResult
↑ / ↓Select a newer / older notification
xDismiss the selected notification
cClear every notification and close
Esc or Alt+nClose the center

<C-q> detaches this terminal; it never ends a session on its own. With auto-close-session #true, it ends the session when no other terminal is attached. To end a session whatever that setting says, run koshi kill-session.

Locked mode

KeysAction
<C-l>Unlock input
<C-q>Quit — leave the session
<C-g>Toggle mouse-selection mode

Every other key passes to the focused program. A locked client can start a move by dragging a pane's grab handle.

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 user

See keybinding.kdl to customize it.

On this page