Glossary
Shared terms used across the code, specs, and docs.
- Action id — a stable string (e.g.
file.save,view.theme) that names a command. Menus, the palette, and shortcuts all dispatch one throughApp::run_action. - Buffer / Tab — one open file (or untitled document) shown as one editor tab.
- Preview tab — an ephemeral tab opened by single-click or arrow-scan in the explorer; the next preview reuses it instead of accumulating tabs.
- Dock — a side drawer: the left dock is the file explorer, the right dock is the message drawer.
- Region — a themeable area of the UI: menu bar, status bar, left dock, right dock, editor. Custom themes color regions individually.
- Mode (theme) — a built-in monochrome theme: Dark or Light.
- Custom theme — a JSON file giving per-region RGB colors (plus optional cursor and syntax colors), layered over the built-in modes.
- Choice (theme) — one entry in the theme chooser: a built-in mode or a custom theme.
- Locale — a UI language, identified by a code (
en,es,fr,de,cy,ga,gd,pl,pt,ru,ar,hi,bn,zh,jafully translated;it,ko,tr,nl,vi,id,th,fa,uk,el,tlh,sjnselectable with partial coverage: 27 in all,crates/vix-locale-model) and shown by its endonym (its name in itself). - Endonym — a language’s name in that language (e.g. “Deutsch” for German).
- i18n key — a dotted name (e.g.
status.saved) resolved to translated text byt!againstcrates/vix-i18n/locales/. - Fallback locale — English (
en); used for any key a language lacks. - Modal / overlay — a UI layer that consumes all input while open (help,
prompt, palette, search, choosers, …). Each has one row in the
OVERLAYStable (tui/src/app/overlays.rs,spec/overlay-priority), which orders both drawing and key routing. - Mark — a non-selection highlight in the editor, on separate channels:
search marks (other search hits / document-highlight occurrences,
underline), spell marks (misspelled words in comments/strings, red
underline; from the
spellcheckmodule), diagnostic marks (LSP severity-colored underlines), and gutter marks (git diff bars in the line-number gutter; fromgit::diff_marksagainst the cached HEAD blob). - Fold — a collapsed line range (from LSP
foldingRange): the start line stays visible with a ▾/▸ gutter marker; inner lines are hidden by the renderer. - Inlay hint — inline type/parameter annotation (LSP
inlayHint) drawn dimmed between real glyphs, shifting following glyphs right. - Soft wrap — a long logical line drawn across several screen rows instead of
scrolling horizontally (View → Toggle Soft Wrap, the
soft_wrapsetting). - Visual row — in soft-wrap mode, one screen row: a
[start, end)char slice of a logical line. The shared layout (Editor::visual_rows) drives the wrapped renderer, cursor scroll, and mouse hit-testing. - Bracket match — the partner of the bracket at (or just before) the cursor, highlighted by the editor (no pair auto-insertion).
- Monochrome — the built-in theme style: one foreground, one background, no hue; emphasis via dim and full intensity (no bold/italic); reversed only for selections/cursor.
- Keymap — the keyboard navigation style: Apple (modifier shortcuts, the
default), VSCode macOS, VSCode Windows, Emacs (
Ctrlchords), Vi (modal), Spacemacs (Vi +Spaceleader), IntelliJ macOS, IntelliJ Windows, Eclipse, Sublime, Zed, Fresh, ttt, or Helix. Exactly one is active; chosen in View → Keymap… and persisted in thekeymapsetting (idvi,intellij-mac, …). - Mode (Vi) — within the Vi keymap, Normal (motions/commands) vs
Insert (typing); the
:command line is a third input state. - Edit surface — a full-screen overlay editor for a non-plain-text view of the
active buffer, each a module owning its state and a
handle_keyreturning anOutcome: Edit Table (edit_table, CSV/TSV grid), Edit Outline (edit_outline, indented prose hierarchy with folding), Edit JSON / Edit YAML (edit_value, a foldable structured-value tree), Edit Bytes (edit_bytes, a hex/ASCII byte editor), Edit SQL (edit_sql, a SQL statement list). All under Edit → Mode. - Insert (Tools menu) — the submenu (formerly “Generate”) whose items insert
generated content at the cursor: UUID, ZID, Markdown/HTML/SQL/LaTeX/Org
snippets, inline Org markers and blocks, Lorem ipsum, and Date/Time presets.
Actions are
tools.insert.*. - Media type — a MIME-style content type (
text/rust,image/png) from themedia_typecatalog (crates/vix-media-type/spec). Each is classified text or binary (theBasecolumn) and maps to file extension(s). - Snippet — a reusable template with tabstops, defined in JSON files
(bundled, global, per-media-type, project scopes;
crate::snippets) and inserted via the picker or prefix-and-Tab expansion. Tabstops are parsed bysnippet_tool::parse. - Org (menu) — basic Org-mode editing on the active buffer (
crate::org): headline promote/demote, subtree move, TODO cycle, checkbox toggle, fold cycle, and export to Markdown/HTML. - DAP / debugger — the Run menu’s Debug Adapter Protocol client
(
crate::dap): breakpoints, stepping, call stack, variables, watches, REPL. - Database workbench — the DB menu’s full-screen overlay (
crate::db,crates/vix-db/spec) over embedded sqlxAnydrivers (SQLite / PostgreSQL / MySQL): a schema tree, a syntax-highlighted SQL editor with autocomplete, and a filterable results grid, plus history/saved queries, a query log, EXPLAIN, an ER diagram, CSV/TSV import, and export. Read-only by default (writableflag +F8); statements run async (streamed,Ctrl+Ccancels); transactions show aTXbadge. A session is one persistent connection on a worker thread. The AI assistant turns a natural-language question into SQL from schema only (never row data). Passwords resolve through a credential waterfall (password_command→ OS keyring → prompt) and can be forwarded over an SSH tunnel. - Column selection — a rectangular multi-caret selection spanning the same
columns across consecutive lines (Alt+Shift+↑/↓,
Editor::column_select); the block edits together via the multi-caret path. - Zen mode — a focus mode that hides the docks and status bar
(
view.zen); breadcrumbs — an optionalfile ▸ symbolbar above the editor (view.breadcrumbs). - Ghost text — a dimmed inline completion drawn after the cursor, from an LSP
server or an AI provider (
inline_completionsetting, T618). - Gutter base — what the change gutter compares the buffer against:
head,index,diskorbranch:<name>(git_gutter_basesetting, T664). - Authority — the one trait that owns workspace file access and process
spawning (local, SSH, container, fake);
crates/vix-authority.