DocsBlinkReferenceKeybindings

Keybindings

The TUI action catalog, default keys, and the fixed navigation keys.

The TUI's keys are data-driven. A closed catalog of named actions is bound to keys by a default keymap, and control.keys in the config rebinds or unbinds any of them. See The TUI for how rebinding works.

control:
  keys:
    x: restart          # x now also restarts (r still works unless unbound)
    ctrl+r: restart-all
    enter: ""           # empty value unbinds a key

Key strings use bubbletea's form, for example r, R, ctrl+c, shift+tab, enter, esc, and a single space " " for the spacebar. Binding a key to an action name outside the catalog is a hard error at load time, and mapping a key to an empty string unbinds it and drops it from the help modal.

Action catalog

Every action is bound out of the box by the default keymap.

ActionDefault key(s)Description
restartrrestart the focused service
restart-allRrestart all services
insert-blankenterinsert a blank line into the focused output
next-tabrightnext tab
prev-tableftprevious tab
next-childtabfocus the next container (docker tab)
prev-childshift+tabfocus the previous container (docker tab)
hist-back[back to the previously viewed tab
hist-forward]forward in tab history
clearkclear the focused tab buffer
clear-allKclear all buffers
cursor-modeetoggle cursor mode (line cursor and selection)
cursor-upupscroll up (cursor up in cursor mode)
cursor-downdownscroll down (cursor down in cursor mode)
extend-upshift+upextend selection up
extend-downshift+downextend selection down
toggle-selectspacetoggle the cursor line in the selection
copyccopy selection (or cursor line) to the clipboard
clear-cursorescclear selection / exit cursor mode
write-selectionwrewrite <svc>.selected.log with the selection
append-selectionaappend the selection to <svc>.selected.log
toggle-logsLtoggle log-file writing
command-center/, ?open the help / key-bindings modal
toggle-zenztoggle zen mode
quitq, ctrl+cquit

Fixed navigation

A few log-navigation keys sit outside the rebindable keymap so they are always available. control.keys cannot touch these.

KeyAction
1-9jump to tab
pgup / pgdnpage up / down
home / endscroll to top / bottom

Mouse and touchpad scrolling also work.