openeditorcode.devFIELD MANUAL / 0.2.41Español
commands.md DOCUMENTATION

12 — Reference

All commands

OEC actions, palette, dialogs, basic Vim and inherited keys. Search by name, key, context or configurable ID.

v0.2.41Source review ·
On this page

How to read the catalog

Keys are defaults. Configurable ID identifies a keyboard.bindings entry; the record ID is a documentation link. Palette # is logical order: 33 fixed entries and three conditional ones: rename (#10), select all in an editable source (#24), and available npm update (#36). When a conditional entry is absent, later entries shift.

A record may group several keys for one action. Titles are translated for reference; some Explorer labels remain in Spanish. OpenTUI identifies inherited keys whose delivery depends on the terminal.

Action catalog

100 actions

Ctrl+A

Select the entire active file without modifying it. Source editor focus only, outside searches and dialogs; also works with the Vim profile. The palette entry requires an active editable source.

Configurable ID: editor.selectAllPalette #24Source ↗
Ctrl+P

Filter titles and shortcuts, ignoring case and accents. Opening it clears shared project-search state.

Global

Quit

Ctrl+Q

Checks all modified tabs and offers save, save and quit, or quit without saving.

F10

Open the root in a new Windows Explorer window or with xdg-open on Linux; requires a system file manager.

Configurable ID: app.openProjectFolderPalette #34Source ↗
F5

With Git focus: fetch and status according to settings. Otherwise: tree, rules and index; does not reload the central document.

Configurable ID: panel.refreshPalette #08Source ↗
Ctrl+Shift+Left

Git → Editor → Explorer. May reveal the destination pane.

Configurable ID: navigation.focusLeftPalette #01Source ↗
Ctrl+Shift+Right

Explorer → Editor → Git. May reveal Git.

Configurable ID: navigation.focusRightPalette #02Source ↗
Tab

Explorer → Editor → Git → Explorer. Modal inputs and Vim normal/visual modes may capture Tab first.

Ctrl+B

Showing it focuses Explorer; hiding it returns focus to the editor.

Configurable ID: panel.toggleExplorerPalette #03Source ↗
Ctrl+Alt+B

Show and focus Git or hide it. In narrow windows this may hide the other side pane.

Configurable ID: panel.toggleGitPalette #04Source ↗
Ctrl+N

Uses the selected Explorer folder or the selected file’s parent. No subpaths or replacement of existing files.

Ctrl+S

Save active tab content, including Markdown/SVG preview. Detects external changes; source can be formatted first. Retains newer edits made during I/O.

Ctrl+W

Close the active tab; asks about pending changes. Does not quit the application.

Shift+Tab

Cycle forward through open tabs. There is no corresponding OEC previous-tab command.

Configurable ID: file.nextTabPalette #22Source ↗
Ctrl+F

In Explorer, toggle the permanent filter between name/path and literal disk content with hierarchical results. In Editor, find text in the source buffer.

Configurable ID: search.localPalette #11Source ↗
F4

Toggle Markdown/SVG source and preview while retaining unsaved changes. In a diff, open the current file without closing the diff or restoring a revision. Manuals and raster images are not editable.

Configurable ID: editor.previewPalette #19Source ↗
Ctrl+L

Toggle none/word for the session. Use Settings to save a persistent preference.

Configurable ID: editor.toggleWrapPalette #26Source ↗
Alt+Shift+F

Project files in source view only, with an enabled formatter. The result changes the buffer; it does not save by itself.

Configurable ID: editor.formatDocumentPalette #31Source ↗
Ctrl+C

Copy the selection through OSC 52, including selected text from the F12 log. Requires terminal support.

Ctrl+V

Insert text through PowerShell on Windows or wl-paste/xclip/xsel on Linux. Requires a mounted editable textarea.

Configurable ID: editor.pastePalette #25Source ↗
Editor

Undo

Ctrl+Z

Undo an edit in the active buffer. Does not undo filesystem or Git operations.

Editor

Redo

Ctrl+Shift+Z

Redo an undone edit in the active buffer.

Alt+Shift+Down

Duplicate the current logical line above and move the cursor to its copy. Active source editor only.

Configurable ID: editor.duplicateLineAbovePalette #29Source ↗
Alt+Shift+Up

Duplicate the current logical line below; preserves line endings. Active source editor only.

Configurable ID: editor.duplicateLineBelowPalette #30 · conditionalSource ↗
PageUp / PageDown

Move the cursor by about one visible viewport minus one row, without selecting. In previews/manual these keys scroll the view.

Ctrl+E

Available within file/project search or through the palette. Not a global shortcut. Changes last for the session.

—

Palette: interface for wrap, line numbers, syntax, format on save and keyboard profile, at global or project scope.

—

Palette: count readable text files and show per-file totals. Uses base rules, not temporary search exclusions.

—

Rank readable project files by descending line count (ties by path); follows root .gitignore, not session exclusions. Click the header to return to the tree.

—

Only appears when an npm update is available. Handles pending changes and exits 42; the launcher uses the public npm registry, keeps a temporary backup and relaunches the old binary if installation fails.

F2

With an entry selected, open a prefilled dialog; Enter confirms, Esc cancels. Updates open tab paths and rejects collisions or subpaths. Only then appears in the palette.

Configurable ID: explorer.renamePalette #10Source ↗
Delete

Ask for confirmation. Folders are deleted recursively; affected dirty tabs block deletion. Does not use the recycle bin.

Enter / Esc

If the root is not inside Git and several nested repositories are found, Enter selects one; Esc from changes returns to the list. A sole repository is selected automatically.

H

In commit history, toggle abbreviated IDs in rows; enabled by default and globally configurable.

Esc

Files → commits → branches where applicable → local changes → repository list when several exist. Keeps diff tabs open.

Enter

Project: execute when there are no results, otherwise open the selection. Local: jump to line/column. Files: open the path and close the filter.

Esc

Cancel palette, new file, confirmations or settings. Confirmations block background keyboard input.

Enter

Execute the selected option. In delete/discard, confirm directly. For pending changes the initial choice is continue without saving.

Esc

With the vim profile and an editable textarea, leave insert/visual mode and clear selection. The profile starts in insert mode.

← / ↑ / → / ↓ · Shift

Arrows move the cursor; Shift extends selection. Inherited from OpenTUI 0.5.1, subject to OEC routing.

Ctrl+E · Ctrl+Shift+A / Ctrl+Shift+E

Ctrl+E goes to line end; Shift variants select to start/end. Ctrl+A without Shift is reserved by OEC to select the entire file.

Ctrl+Left / Ctrl+Right · Meta+B / Meta+F · Meta+Left / Meta+Right

Move by words. Meta+Shift extends selection; Ctrl+Shift+arrows is reserved by OEC for pane navigation.

Backspace / Delete / Ctrl+D · Shift+Backspace / Shift+Delete

Backspace deletes backward; Delete/Ctrl+D forward. Does not delete files from the editor.

Ctrl+Backspace / Meta+Backspace · Ctrl+Delete / Meta+Delete / Meta+D

First group deletes the previous word; second deletes the next.

Super+A

Inherited select-all binding; some systems capture Super before the terminal.

Super+Left / Right / Up / Down · Shift

Left/right: visual line. Up/down: buffer. Shift extends selection if the terminal delivers the combination.

↑ / ↓ / j / k · PageUp / PageDown · Home / End

Focused scrollbox: arrows/j/k scroll; PageUp/Down half a viewport; Home/End boundaries. These are not textarea movements.

Chapter sources

Links pinned to the reviewed commit; they do not follow main.

Static documentation · ES / ENView coverage ↗