stetv0.7.0
Reference

Keybindings

Every stet shortcut, grouped by what it acts on. Press ? in the app for the same list.

The keyboard drives everything in stet. Press ? at any time to see the full list inside the app.

KeyAction
j / kmove in the tree, viewer, or problems panel
h / lcollapse / expand folders (tree) or hop the caret by word (viewer)
tabswitch focus between tree and viewer
enteropen the focused item / jump to a problem
ctrl-pgo to file: fuzzy-search the whole repo
.jump to the most recently changed file
njump to the next file with findings

Viewer

KeyAction
/find in the viewer; n/N cycle matches, esc clears
ctrl-fproject search pane; regex/case/scope/glob toggles
vtoggle diff ↔ full file view for a changed file
zfold / unfold the region at the caret
xtoggle long-line wrap in the viewer
fload full content when truncated
ctrl-d/uhalf-page cursor movement in the viewer
g / Gjump to first / last line
F12go to definition of the symbol under the caret
Shift+F12find references to the symbol under the caret
Shift+Ifind implementations of the symbol under the caret
Shift+Hcall hierarchy of the symbol (Tab flips direction)
Khover: type and docs for the symbol under the caret
Sfind symbols: outline of the open file
< / >back / forward through viewer history
ycopy path (tree), path:line:col (viewer), or the selected search result
Ycopy the entire contents of the viewed file
Shift+↑ / ↓extend a line selection (drag or shift-click also select)
Ccopy the selected lines (or the caret line)

Tabs

KeyAction
ctrl-tpin / unpin the current file as a tab
ctrl-wclose the active tab
{ / }previous / next tab

Workspace

KeyAction
sscope picker: kinds, or drill into recent commits
ttheme switcher: filter, live-preview, apply
wswitch to another git worktree
ctoggle changes-only filter for the tree
rre-run checks

Layout

KeyAction
ptoggle the problems panel
ctrl-btoggle the file tree sidebar
[ / ] / \shrink (collapses past min) / grow / reset sidebar

App

KeyAction
eopen in terminal editor (suspends TUI, --editor template)
oopen in GUI / IDE (renderer stays live, --ide template)
Shift+F10context menu for the focused row or symbol (or right-click)
?show all keybindings
qquit (confirm with y)

Mouse

The keyboard drives everything, but the mouse works too. Click a file to open it, a folder to expand or collapse it, a diff line to move the cursor there, or a problem to jump to it. Double-click a file in the tree, or a tab in the strip, to pin it as a tab. Clicks also work in the overlays and the search pane, and hovering a theme in the switcher previews it live. Clicking a pane focuses it, and the wheel scrolls whichever pane the pointer is over. Right-click a tree row or a viewer symbol for a context menu of the actions that apply there, the same menu Shift+F10 opens on the focused pane.

On this page