omfp keys and commands
Core bindings
Section titled “Core bindings”Every window has these, whatever the init files declare.
normal
Section titled “normal”:→cmdline.open?→help.openi→composer.focusCtrl-c→thread.abort
Esc→view.leave
insert
Section titled “insert”Esc→focus.leaveCtrl-c→composer.interrupt
Flavor bindings
Section titled “Flavor bindings”@omfp/flavor’s keys (keys part): bound from the user’s init file when it loads the flavor (the starter init.ts does). ctx.keys.bind and :set bindings of the same keys win.
threads
Section titled “threads”j→thread.nextk→thread.prevg g→thread.firstG→thread.lastCtrl-d→thread.halfDownCtrl-u→thread.halfUpv→view.focusEnter→view.focusd d→nav.deletez a→nav.toggleSectionAlt-ArrowUp→threads.moveUpAlt-ArrowDown→threads.moveDownAlt-Shift-ArrowUp→threads.moveToPrevWorkspaceAlt-Shift-ArrowDown→threads.moveToNextWorkspace
j→nav.nextk→nav.prevg g→nav.topG→nav.bottomCtrl-d→nav.halfDownCtrl-u→nav.halfUpCtrl-w h→pane.leftCtrl-w j→pane.downCtrl-w k→pane.upCtrl-w l→pane.rightg t→tab.nextg T→tab.prev
normal
Section titled “normal”/→nav.searchSpace /→threads.pick] v→view.next[ v→view.prevShift-F10→menu.openContextMenu→menu.openSpace a→thread.nextAttention] a→thread.nextAttentionSpace n→thread.newSpace w→workspace.newSpace r→thread.renameSpace x→thread.archiveSpace u→thread.unarchiveSpace d→thread.deleteSpace s→thread.stopSpace S→thread.stopSpawnedSpace R→thread.restartSpace t→threads.toggleSpace b→threads.collapseSpace :→cmdline.openSpace Space→cmdline.openSpace h h→help.openSpace h k→help.describeKeySpace h e→help.messagesSpace p n→workspace.newSpace p r→workspace.rescanSpace f→file.pickSpace v→view.picku→composer.restoreAlt-a→thread.nextAttentionAlt-j→thread.nextAlt-k→thread.prevAlt-h→view.prevAlt-l→view.nextAlt-n→thread.new
insert
Section titled “insert”Alt-a→thread.nextAttentionAlt-j→thread.nextAlt-k→thread.prevAlt-h→view.prevAlt-l→view.nextAlt-n→thread.newCtrl-a→composer.lineStartCtrl-e→composer.lineEndCtrl-b→composer.charBackCtrl-f→composer.charForwardAlt-b→composer.wordBackAlt-f→composer.wordForwardCtrl-p→composer.linePrevCtrl-n→composer.lineNextCtrl-d→composer.deleteForwardCtrl-h→composer.deleteBackCtrl-k→composer.killLineEndCtrl-u→composer.killLineStartCtrl-w→composer.killWordBackAlt-Backspace→composer.killWordBackAlt-d→composer.killWordForwardCtrl-y→composer.yankCtrl-t→composer.transposeCtrl-Shift-a→composer.selectAll
Commands
Section titled “Commands”auth.login— Log in to a provider (:login []; without one, pick it) (:login) auth.logout— Log out of a provider (:logout) (:logout) cmdline.open— Open the command linecomposer.charBack— Move back one charactercomposer.charForward— Move forward one charactercomposer.deleteBack— Delete the character before the caretcomposer.deleteForward— Delete the character after the caretcomposer.focus— Focus the composercomposer.interrupt— Clear the draft, or abort when it is empty (Ctrl-C)composer.killLineEnd— Kill to the end of the linecomposer.killLineStart— Kill to the start of the linecomposer.killWordBack— Kill the previous wordcomposer.killWordForward— Kill the next wordcomposer.lineEnd— Move to the end of the linecomposer.lineNext— Move to the next line, or the next prompt on the last linecomposer.linePrev— Move to the previous line, or the previous prompt on the first linecomposer.lineStart— Move to the start of the linecomposer.restore— Restore this thread’s last Ctrl-C-cleared draft, including images and pastes (normal-mode u)composer.selectAll— Select the whole draftcomposer.transpose— Swap the characters around the caretcomposer.wordBack— Move back one wordcomposer.wordForward— Move forward one wordcomposer.yank— Yank the last killed textdensity.set— Density (compact, normal), until the daemon restarts (:density)file.copyPath— Copy a file’s path (:copy-path), or the focused path (:copy-path) file.open— Open a file (:open[: ]), or the focused path (:open) (:open) file.pick— Pick a workspace filefocus.leave— Leave the composerhelp.describeCommand— Describe a command: its keys and where they are bound (:describe-command) (:describe-command) help.describeKey— Describe a key: what it runs and where it is bound (:describe-key)help.messages— Show the notices and toasts that went by (newest first) (:messages)help.open— Show every key and command (this help) (:help)job.disable— Disable a job of the current workspace until the daemon restarts (:job-disable) (:job-disable) job.enable— Enable a job of the current workspace until the daemon restarts (:job-enable) (:job-enable) job.kill— Stop the running run of a job of the current workspace (:job-kill) (:job-kill) job.list— Show the jobs of the current workspace (omfp:jobs) (:jobs)job.run— Run a job of the current workspace (:job-run) (:job-run) menu.open— Open the context menu of the focused message, file or thread (:menu)nav.bottom— Last messagenav.delete— Delete the focused thread or workspace, else the selected threadnav.halfDown— Scroll half a page downnav.halfUp— Scroll half a page upnav.next— Next message (a long one scrolls down to its end first)nav.prev— Previous message (a long one scrolls up to its top first)nav.search— Search the current conversation (:search)nav.toggleSection— Collapse or expand the focused workspace, else the selected thread’snav.top— First messagenotice.open— Open the newest notice (:notice)notifications.push— Push notifications to this browser while no omfp window has the focus (:push [on|off]) (:push)pane.down— Focus the pane belowpane.left— Focus the pane on the leftpane.right— Focus the pane on the rightpane.up— Focus the pane abovesettings.set— Change a setting until the daemon restarts (:set key=value; to keep it, declare it with ctx.settings in init.ts) (:set)tab.next— Next tab of the focused tabstab.prev— Previous tab of the focused tabsthread.abort— Interrupt the agentthread.approvals— Show or set the thread’s approval mode (:approvals [yolo|write|always-ask|always-ask-cached]) (:approvals): Which tool calls of the selected thread ask you first: yolo runs every tool; write runs file edits and asks before the other tools that are not read-only (commands, MCP tools, …); always-ask asks before file edits too; always-ask-cached is always-ask whose question can also allow that tool for the rest of the session. Without a mode it says the current one.thread.archive— Archive the thread (:archive)thread.compact— Compact the context (:compact [focus of the summary]) (:compact): Has pi summarize the selected thread’s conversation so far and continue from the summary, freeing context. Words after :compact tell the summary what to focus on. Refused while the thread works; the transcript shows the compaction as a notice.thread.copy— Copy the conversation as Markdown (the focused message only, in the transcript) (:copy): Copies the selected thread’s conversation to the clipboard as Markdown: messages under their author, tool calls as a line with their result, thinking left out, images as placeholders. With a message of the transcript focused (j and k move between them), only that message.thread.copy— Copy the conversation as Markdown (the focused message only, in the transcript) (:copy): Copies the selected thread’s conversation to the clipboard as Markdown: messages under their author, tool calls as a line with their result, thinking left out, images as placeholders. With a message of the transcript focused (j and k move between them), only that message.thread.delete— Delete thread now (:delete): Immediately removes the thread’s history without confirmation; its workspace is kept. Use Archive to keep the conversation.thread.export— Export the conversation as a Markdown file (:export): Saves the selected thread’s conversation as a Markdown file, the same text :copy copies: the browser downloads it, the desktop window saves it in your Downloads folder.thread.first— First thread (:first-thread)thread.fork— Fork a new thread from the selected message (transcript) or entry (session tree) (:fork): Makes a new thread in the same workspace holding the conversation up to the message, the message included; the thread you fork from is left as it is.thread.halfDown— Half a page of threads downthread.halfUp— Half a page of threads upthread.last— Last thread (:last-thread)thread.new— New thread in the current workspace (:new)thread.next— Next thread (:next-thread)thread.nextAttention— Next thread needing attention (:next)thread.pickModel— Pick the thread’s model (opens the header’s model list) (:model)thread.prev— Previous thread (:prev-thread)thread.rename— Rename the thread (:rename, or in place without one) (:rename) thread.restart— Restart the thread’s process (:restart)thread.resume— Resume the turn a daemon restart interrupted (:resume): Starts the selected thread’s agent and tells it that its previous turn was interrupted by a daemon restart, so it checks what was in progress and continues. Offered while the thread’s last turn is marked interrupted; any message you send clears the mark too.thread.stop— Stop process (:stop): Ends the thread’s pi session, with its background commands and live voice; Restart starts it again. To stop only the running turn, use Abort (ctrl+c).thread.stopSpawned— Stop process of the thread and of every thread it spawned (:stop!)thread.unarchive— Unarchive the thread (:unarchive)threads.collapse— Hide or show the left columnthreads.moveDown— Move the focused thread or workspace down, else the selected threadthreads.moveToNextWorkspace— Move the focused (else the selected) thread to the start of the next workspacethreads.moveToPrevWorkspace— Move the focused (else the selected) thread to the end of the previous workspacethreads.moveUp— Move the focused thread or workspace up, else the selected threadthreads.pick— Pick a thread (live preview; Escape restores the original) (:threads)threads.spawnedBy— Show only the threads the selected one spawned (again: every thread) (:spawned)threads.toggle— Focus threads (wide); show or hide threads (narrow)view.app— Open the view as an app of its own, which the browser can install (:app) (:app)view.appFull— Open omfp as an app opening on a new thread in this view, which the browser can install; threads and views stay (:app-full) (:app-full)view.focus— Focus the view where it was last (View mode: the keys go to its widget)view.leave— Leave the view (Threads mode: the keys switch threads)view.next— Next viewview.pick— Pick a view (Space v; fuzzy search, 1–9 or arrows and Enter)view.prev— Previous viewview.reset— Drop the live changes to the workspace’s views, back to the declared ones, after a confirmation (:view-reset)view.restoreTabs— Show again the tabs this window closed in the current view (:tabs-restore)view.switch— Switch view (:view) (:view) widget.manage— Add a widget to the view or copy one into the workspace (:widget add, :widget copy [ ]) (:widget) window.theme— Colour scheme (system, light, dark) and theme (synth, catppuccin, gruvbox, …; matugen: the user theme file, Synth without one); the theme lasts until the daemon restarts (:theme)workspace.new— New workspace (:workspace)workspace.reloadInit— Evaluate the init files again (the current workspace;all: every workspace) (:reload-init)workspace.rescan— Rescan the current workspace (:rescan)