openeditorcode.devFIELD MANUAL / 0.2.43Españ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.43Source review ·
On this page

How to read the catalog

Keys are defaults. Configurable ID maps to keyboard.bindings; the record ID is only a link. Palette # orders 34 fixed and three conditional entries: rename (#10), select-all in editable source (#25) and npm update (#37). Missing conditional entries shift subsequent positions. Git: push changes is #21.

A record groups related keys. Some Explorer labels remain 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 #25Source ↗
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 #35Source ↗
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.

F7

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

Configurable ID: panel.toggleExplorerPalette #03Source ↗
F8

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 #23Source ↗
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 #27Source ↗
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 #32Source ↗
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 #26Source ↗
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 #30 · conditionalSource ↗
Alt+Shift+Up

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

Configurable ID: editor.duplicateLineBelowPalette #31Source ↗
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 text files by descending line count (ties by path). Excludes paths ignored by root and nested .gitignore files, not temporary exclusions. The header returns to the tree. Does not measure complexity or byte size.

—

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.

Shift+F6

With Git focused, run git push in local mode. Also available in the palette. OEC does not provide a remote selector.

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 ↗