-
Notifications
You must be signed in to change notification settings - Fork 1
Sync and TUI
Chen Miao edited this page Mar 10, 2026
·
1 revision
This page covers the common sync commands, the main TUI navigation, and the background sync behavior that runs while the TUI stays open.
- Install CRIEW and verify the environment with
criew doctor. - Configure
[imap]only if you want real IMAPINBOXsync. - Configure a kernel tree if you want code browsing and local patch review context.
criew doctorcriew sync --mailbox io-uringcriew sync --mailbox INBOXcriew sync --mailbox test --fixture-dir ./fixturescriew tuiFor the full key list, including modal editors, Send Preview, and the inline code editor, see Keybindings.
-
:opens the command palette. - The header shows the active keymap scheme:
default,vim, orcustom. - A numeric prefix repeats vertical movement:
count+i/kfordefaultandcustom,count+j/kforvim. -
yandnenable or disable the selected subscription. -
Enteropens the selected mailbox or thread and moves focus to threads or preview. -
[and]expand the focused mail pane left or right. -
{and}shrink the focused mail pane and persist the widths inui-state.toml. -
-and=switch to the previous or next mail while preview stays focused. -
Tabswitches between the mail page and the code browser. - With
ui.keymap = "vim",ggjumps to the first line in the active pane,Gjumps to the last line, andqqexits quickly.
Common commands are:
syncsync <mailbox>configvimrestartquit!<shell command>
When IMAP is configured,
My Inbox joins startup sync
and continues periodic background sync while the TUI remains open.
Enabled mailing-list subscriptions also continue periodic background sync while the TUI remains open, so Linux lore and QEMU archive mailboxes keep pulling new mail.
Success means:
- the requested mailbox sync completes without transport errors
- thread lists populate after sync
- the TUI can open mailboxes, threads, and preview panes without falling back to empty-state errors