Start

Keyboard basics

Tooee uses modal navigation like Vim. Learn the modes, keys, and commands.

Every Tooee screen runs in one of three modes. The status bar at the bottom shows the current mode as Mode:. View shows it at the right edge, and Ask shows it first.

ModeWhat keys doHow you get there
cursorKeys run commands: move, search, copy, quit.The default in View. Escape returns here from the other two modes.
insertKeys type into an input: the search bar, the Choose filter, or the Ask editor.In View, only inputs such as search. Ask and Choose start here, and a or i returns to it.
selectj and k extend a row range for copy.v in View.

Move

In cursor mode the cursor is the highlighted row.

KeyAction
jCursor down
kCursor up
ctrl+dHalf page down
ctrl+uHalf page up
g gTop
GBottom

g g is a sequence: press g twice. After the first g, a hint bar lists the keys that complete the sequence. The same bar appears after y.

After you scroll with the mouse wheel, g g and G scroll the first or last row back into view, also when the cursor is already on it.

Click a row to move the cursor there. Drag with the mouse to select text; on Linux, Tooee copies the dragged text to the primary selection.

KeyModeAction
/cursorOpen the search bar and switch to insert mode
EnterinsertRun the search and return to the previous mode
ncursorNext match
NcursorPrevious match
EscapeanyClear the search

Matches are highlighted in the rows. While a search is open, the search bar takes the place of the status bar and shows the query and the match count.

Fold and outline

Markdown in View adds these keys in cursor mode:

KeyAction
z aOpen or close the fold at the cursor
z c, z oClose or open the fold at the cursor
z zOpen the fold at the cursor when it is closed, else close it
z M, z RClose or open all folds
g oOpen the heading outline and move into it, or close it from inside

A fold hides the blocks under a heading. View covers folds and the keys inside the outline.

Select and copy

KeyModeAction
vcursorStart a selection at the cursor
j, kselectExtend the selection
Tabcursor, selectToggle the cursor row in a multi-row pick
Shift+TabcursorToggle the cursor row and move up
EscapeselectCancel the selection
y ycursor, selectCopy the cursor row
y vcursor, selectCopy the selection or the toggled rows, then return to cursor mode
y gcursor, selectCopy the whole document

y g comes from View and Ask. A custom document has it when the app registers useCopyCommand; Documents covers that. A toast confirms each copy. Copy uses the clipboard tool of your platform; Troubleshooting lists the tools Tooee looks for.

Commands and the palette

: opens the command palette in cursor or select mode. It lists the commands for the current mode with their hotkeys. Type to filter, move with up and down, press Enter to run the highlighted command, or Escape to close.

Apps add commands of their own. A hotkey is a single key such as q, a chord such as ctrl+d, or a sequence such as g g. Configuration shows how to remap them.

Themes

t opens the theme picker. Type to filter, move with up and down, and the screen previews each theme as you move. Enter keeps the theme and saves it to ~/.config/tooee/config.json. Escape restores the theme you started with. Tooee bundles 34 themes; Themes lists them.

Quit

q quits in cursor mode. ctrl+c quits in any mode. In Ask and Choose, q in cursor mode cancels the prompt.

ctrl+shift+j toggles the OpenTUI debug console.

Next

On this page