Vix™ documentation index
A map of the documentation in this repository.
User guides
Highlights:
- Architecture — workspace layout (App shell +
vix-*member crates), event flow, rendering, theming, i18n, configuration, testing. - Keybindings — every keyboard shortcut and mouse gesture, including keymaps.
- Configuration — settings file, every key.
· Command line — flags, stdin,
--diff,git difftool/mergetoolintegration. · EditorConfig — per-project.editorconfig. - Themes · Internationalization · Keymaps · Menus
- Language Server Protocol — diagnostics, hover, go-to-definition, completion.
- Debugger — Debug Adapter Protocol: breakpoints with conditions, exception filters, attach, stepping, a call stack and variables tree, watches, inline values.
- Panels & tools: Command Palette,
File Explorer, Find Panel,
Outline, Git Panel,
Calendar,
Nerd Font Picker,
ASCII Picker,
System Information,
Markdown Preview (scroll-synced, with a
table of contents), and more under
docs/. - Edit surfaces (Edit → Mode): Edit SQL · Edit Table · Edit Outline · Edit JSON · Edit YAML · Edit Bytes.
- Large File Viewer: view multi-gigabyte files read-only without loading them.
- New in 2.0 (released; 2.0.2 is current): What’s new in 2.0
(release notes) · Launch kit (announcement drafts) · Releasing ·
Remote Editing (a
folder over SSH, experimental) · Cowork (real-time
co-editing, opt-in
coworkbuild) · IM (code-aware chat, threads on lines, IRCv3) · MCP Server (vix --mcp) · IDE Parity Features (Local History, Search Everywhere, Refactor, run configurations, …) · OC (containers) · Git Graph · Todo Tree · Prettier · FHIR Client · HL7. - Start and switch: Getting Started · Comparison · pages for users of Vim, Emacs, Helix, VS Code, IntelliJ, Zed, Atom, Notepad++ and others; side-by-side pages for VS Code, Neovim and Helix.
- Generators & editing: Insert (UUID, ZID, Markdown, HTML, Lorem ipsum, Date/Time) · Snippets (with tabstops) · QR Code · Multiple Cursors (select-all-occurrences, column selection) · Macros (record, save, replay).
- View: Zen Mode · Breadcrumb Bar ·
Desktop window on BUI (the experimental
vix-buiGUI) · Desktop window on zgui (the experimentalvix-zguiGUI). - AI: AI Chat Panel (conversation with the configurable
ai_commandassistant). AI is optional:ai = "off"turns it all off. - Scripting (Rhai
.rhaiscripts — new palette commands, key bindings, buffer transforms, no rebuild). - DB: Database Workbench (SQLite/Postgres/MySQL — connections, schema tree, query editor, transactions, history, export).
- Workflow: Tasks (named
tasks.tomlcommands) · Compare With File (diff against another file) · Integrated Terminal (a shell in a panel) · Switch Project (re-root at a recent workspace) · Test Runner (pass/fail panel) · Coverage Gutter (visualize an LCOV/Cobertura report). - Git depth: Change Gutter Base (compare the gutter with HEAD, the index, disk or a branch) · Branch Review (a range as one diff, with saved line comments) · Interactive Rebase (and cherry-pick).
- Safety and environment: Safe Save (hard links, ownership, interrupted saves) · Project Environment (direnv, mise, venv, gated by trust) · File Encodings.
- Inline Suggestions (dimmed ghost text from an LSP or AI source, off by default).
- Markup: Org (Org-mode basics — headlines, TODO, export).
- Reference: Media Types (MIME picker by type/extension).
Specification — source of truth
Specs are per crate: each member crate owns crates/<crate>/spec/index.md
(multi-topic crates add spec/<topic>/index.md sub-specs). The repo-root
spec/ holds only cross-cutting / app-level and build/meta specs.
- Overview: spec/index — goals, dependency crates, build/run.
- Core: menus · keyboard · keymaps · navigation · command-palette · file-explorer · editor · find-and-replace · hover
- Features: lsp · git-integration · spellcheck · case-change · themes · localization · tools under spec/tools/ · comparisons
- Editor actions: one
spec/<action>/index.mdper action undercrates/vix-editor/spec/, catalogued incrates/vix-editor-core/spec/index.md.
Contributor & agent guidance (agents/)
- AGENTS.md — entry point: build/test, hard rules, conventions.
- AI_STATEMENT.md — how AI-authored work is disclosed,
what bar it clears, and what an AI agent is (and isn’t) pre-authorized to
do here without asking first: currently
cargo publishand judging that a specific release is ready, and nothing beyond that. - agents/conventions.md — coding style and patterns.
- agents/workflow.md — the spec-driven workflow and drift audits.
- agents/share/crate-map.md — every module and file.
- agents/share/glossary.md — shared terminology.
- Performance —
cargo benchbaselines for the per-keystroke and per-frame hot paths, cold start, the Large File Viewer benchmark and the binary-size budget.
For AI tools
- llms.txt / llms.json: a curated map of the
repository’s most important content, in the llms.txt
convention, kept under 40 KB so an LLM can read it without getting bogged
down. See
spec/llms-json-and-llms-txt/index.md.
Code documentation
The crates are documented inline (the build denies missing docs). Browse it with:
cargo doc --workspace --no-deps --open
Vix™ and Vix IDE™ are trademarks.
Why Vix?
Most people choosing an editor today are choosing between VS Code, Neovim, a JetBrains IDE and Sublime Text. This page says where Vix fits among them: what it does that they don’t, what they do better, and who should pick which. For Vim, Emacs, Helix, Zed, Fresh and ttt, see the full feature comparison.
The short answer
- An IDE in your terminal, with nothing to assemble. Language servers, a debugger, Tree-sitter highlighting, a Git client, a test runner, tasks and an integrated terminal ship in one binary and work on first launch. In Neovim most of that is plugins you choose and configure; in VS Code it is extensions.
- Ordinary keys by default.
Ctrl+Ccopies,Ctrl+Ssaves, and there is a menu bar. Fourteen keymaps (VS Code, IntelliJ, Sublime, Vi, Helix, Emacs, Spacemacs and more) are one menu choice away: View → Keymap…. - It goes where a terminal goes. SSH, tmux, a container, a Raspberry Pi: the whole IDE runs there, with no server component to install and no GUI.
- Things the others leave to extensions. An Org-mode suite with an
agenda, tables and Org-roam; a SQLite, PostgreSQL and MySQL workbench; a
REST client for
.httpfiles; a Jujutsu client; a persistent, branching undo tree. - Private and careful by default. No telemetry, no accounts, no update
check. No
unsafecode. Scripts are sandboxed, and a project’s own scripts run only after you trust the workspace. SeeSECURITY.md. - Free and open source, under your choice of Apache-2.0, BSD-3-Clause, MIT, GPL-2.0, GPL-3.0, OGL-UK-3.0 or CC-BY-SA-4.0.
Compared with VS Code, Neovim, JetBrains and Sublime
✓ built in, no extension or plugin needed. - not built in (an extension
or plugin may exist). ~ partial: see the footnote. The other editors are
marked from their own documentation as of November 2026; they change fast,
so check anything that matters to you.
| Vix | VS Code | Neovim | JetBrains IDEs | Sublime Text | |
|---|---|---|---|---|---|
| Runs in a terminal, over SSH | ✓ | -1 | ✓ | -2 | - |
| Desktop window | ~3 | ✓ | ~4 | ✓ | ✓ |
| Familiar keys and a menu bar by default | ✓ | ✓ | - | ✓ | ✓ |
| Modal (Vim-style) editing | ✓5 | -6 | ✓ | -7 | ~8 |
| Language servers (LSP) | ✓ | ~9 | ✓10 | ~11 | -12 |
| Debugger | ✓ | ✓ | -13 | ✓ | - |
| Tree-sitter highlighting | ✓ | -14 | ✓ | -15 | -16 |
| Fuzzy file finder and command palette | ✓ | ✓ | -17 | ✓ | ✓ |
| Multiple cursors | ✓ | ✓ | - | ✓ | ✓ |
| Git client (stage, commit, log, blame) | ✓ | ✓ | - | ✓ | ~18 |
| Jujutsu client | ✓ | - | - | - | - |
| Integrated terminal | ✓ | ✓ | ✓ | ✓ | - |
| Database workbench | ✓ | - | - | ~19 | - |
HTTP client for .http files | ✓ | - | - | ~19 | - |
| Org mode (outline, TODO, agenda) | ✓ | - | - | - | - |
| Persistent, branching undo | ✓ | - | ~20 | - | - |
| Scripting | Rhai, sandboxed | JS/TS extensions | Lua | Java/Kotlin plugins | Python plugins |
| Price | Free | Free21 | Free | ~22 | Paid23 |
Where each one is the better choice
Vix does not win every row, and it is the wrong tool for some people.
- VS Code, when your work depends on a particular extension (Jupyter notebooks, Live Share, a proprietary language pack), or when you want rich graphical surfaces: webviews, image diffs, drag and drop. Its marketplace covers needs Vix never will. See Vix for VS Code users.
- Neovim, when you want to build your own editor. Lua reaches far deeper than Vix’s Rhai scripts, and its plugin ecosystem is vast. It also starts faster and uses less memory (see below). See Vix for Vim users.
- A JetBrains IDE, for large Java, Kotlin or C# codebases, where its own code analysis and refactorings go further than a language server. See Vix for IntelliJ users.
- Sublime Text, when you want a fast, polished desktop editor and little else. See Vix for Sublime users.
- Vix, when you want a full IDE in a terminal, over SSH or in tmux, that works the day you install it; when you would rather not maintain an editor configuration; or when you want Org mode, a database client and a REST client next to your code.
Vix’s own gaps: it is young, remote editing over SSH is experimental, its desktop windows are experimental, and its scripting is far younger than Lua, Python or the VS Code extension API.
Speed and memory
Measured on one Apple M4 Max with each editor’s configuration disabled (see the method and the full table):
| Vix | Neovim | |
|---|---|---|
| 10,000-line Rust file: time to first screen | 40 ms | 32 ms |
| 10,000-line Rust file: memory | 33 MiB | 25 MiB |
| 100 MB log file: time to first screen | 87 ms | 121 ms |
| 100 MB log file: memory | 126 MiB | 130 MiB |
Both use no CPU when idle. The table covers terminal editors only, so VS Code, JetBrains IDEs and Sublime Text were not measured.
Try it
brew install vixide/tap/vix # or: cargo install vix-tui
vix .
Then pick the keys you already know from View → Keymap…, and see the migration guide for bringing your settings, keys, themes and snippets across. Getting Started has every install option.
See also
- Comparison with other editors: Vim, Emacs, Helix, Zed, Fresh and ttt.
- Keymaps: every keymap and binding.
- Performance: benchmarks and how they are run.
Vix™ and Vix IDE™ are trademarks.
-
Remote-SSH, a Microsoft extension, installs a VS Code server on the remote machine and drives it from the desktop app. VS Code itself does not run in a terminal. ↩
-
JetBrains Gateway runs the IDE backend on a remote machine behind a desktop client. ↩
-
Seven experimental desktop front ends run the same editor in a native window. See
gui/spec. ↩ -
Through third-party front ends such as Neovide. ↩
-
Off by default. The Vi, Spacemacs and Helix keymaps are a menu choice away. See keymaps. ↩
-
Through extensions such as VSCodeVim. ↩
-
Through the IdeaVim plugin, maintained by JetBrains. ↩
-
Vintage mode ships with Sublime Text but is off by default. ↩
-
VS Code speaks LSP to language servers, but each language’s support comes from an extension; a few (TypeScript, JSON, HTML, CSS) are bundled. ↩
-
The client is built in; you install and configure each server yourself. ↩
-
JetBrains IDEs analyze code with their own engines, which go deeper than most language servers for the languages they target. ↩
-
Through the LSP package. ↩
-
Through plugins such as nvim-dap. ↩
-
VS Code highlights with TextMate grammars. ↩
-
Highlighting comes from the IDE’s own parsers. ↩
-
Sublime Text uses its own syntax definitions. ↩
-
Command-line completion is built in; fuzzy pickers are plugins such as Telescope or fzf-lua. ↩
-
A Git diff gutter is built in; staging and history are in Sublime Merge, a separate app. ↩
-
In the paid editions (IntelliJ IDEA Ultimate and the database tools from DataGrip). ↩ ↩2
-
undofilekeeps undo history across sessions and the history branches, but browsing the branches needs a plugin. ↩ -
The source is MIT-licensed; Microsoft’s builds are under a product license and send telemetry by default (
telemetry.telemetryLevel). ↩ -
Community editions are free; Ultimate editions are paid. ↩
-
A paid license, with an unlimited evaluation. ↩
Getting Started
Install
Pick whichever fits how you work. All of these ship the same binary; none requires a Rust toolchain except building from source.
Any platform with a Rust toolchain (1.98 or newer), via Cargo:
cargo install vix # the vix command
cargo install vix --features egui # and the vix-egui desktop GUI
The crates.io crate vix (T883) builds the terminal editor by default and
has one feature per desktop GUI: gpui, egui, iced, gtk4, slint,
bui and zgui (--no-default-features --features iced installs only
vix-iced). cargo install vix-tui still works and builds the same vix
command; since both install vix, Cargo refuses the second without
--force. Add --locked for the exact tested dependency versions. The
features, their licenses and build needs are on
crates.io (gui/vix/README.md).
macOS or Linux, via Homebrew:
brew tap vixide/tap
brew install vix # or, without the tap step: brew install vixide/tap/vix
Up to 3.0.0 the formula was vix-tui; that name still resolves to vix, and
brew upgrade moves an existing install over (see
spec/brew).
macOS or Linux, via the installer script (downloads the right prebuilt
archive for your platform and puts vix on your PATH):
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vixide/vix/releases/latest/download/vix-tui-installer.sh | sh
Windows, via PowerShell:
powershell -ExecutionPolicy Bypass -c "irm https://github.com/vixide/vix/releases/latest/download/vix-tui-installer.ps1 | iex"
Via npm (any platform npm supports):
npm install -g @vixide/vix
The terminal app’s package is vix-tui (installers, release archives); the
command it installs, and its Homebrew formula, is vix. The npm package
keeps its name, @vixide/vix.
Desktop GUIs: vix-gpui, vix-egui, vix-iced and vix-slint ship
from the same release, each installed the same way under its own name, for
example:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vixide/vix/releases/latest/download/vix-gpui-installer.sh | sh
Desktop apps on macOS, via Homebrew: each of the seven front ends is a macOS app, listed under its own name in Launchpad, Spotlight and Open With, installed as a cask of that name:
brew tap vixide/tap
brew install vix-egui # or: brew install --cask vixide/tap/vix-egui
The same goes for vix-gpui, vix-iced, vix-slint, vix-gtk4 (pulls in
Homebrew’s GTK 4), vix-bui and vix-zgui; the last three are Apple silicon
only. The apps are not notarized, so macOS asks before the first start; the
cask prints how to allow it. If you installed a GUI as a Homebrew formula
before, brew uninstall it first.
Desktop apps on Linux, via Homebrew: the same brew install vix-egui
on Homebrew on Linux (x86_64 or aarch64, glibc 2.35 or newer) installs
~/Applications/vix-egui.AppImage and a desktop entry, so your desktop’s
app launcher and Open With list it as vix-egui. Every app but vix-gtk4
has one (that one needs your distribution’s GTK 4: cargo install --locked vix-gtk4).
vix-slint is GPL-3.0-only. vix-gtk4, vix-bui (GPL-3.0-only) and vix-zgui have no release archives yet (vix-bui and vix-zgui do have Linux packages, below). Every GUI is on crates.io and compiles from source with cargo install --locked <name> (for example cargo install --locked vix-egui), or through the vix crate’s features (cargo install --locked vix --features egui). See
gui/spec/index.md (Distribution) for platforms
and run-time libraries.
Linux packages (.deb, .rpm, Arch .pkg.tar.zst): every
release carries native packages of vix-tui and the desktop GUIs
(vix-gpui, vix-egui, vix-iced, vix-slint, vix-bui and
vix-zgui; not vix-gtk4) for x86_64 and aarch64. Download the one for your distribution from the
latest release, then:
sudo apt install ./vix-tui_*_amd64.deb # Debian, Ubuntu
sudo dnf install ./vix-tui-*.x86_64.rpm # Fedora, RHEL, Rocky
sudo pacman -U ./vix-tui-*-x86_64.pkg.tar.zst # Arch
They need glibc 2.35 or newer (Ubuntu 22.04+, Debian 12+, Fedora 36+,
RHEL/Rocky 10). On older distributions, and on Alpine, use cargo install vix for now.
There is no apt or dnf repository yet, so updates mean installing the next
release’s package; Linux package repositories
is the setup to use once one is published. See spec/linux-packages/index.md.
Direct download: prebuilt archives (.tar.xz for macOS/Linux, .msi/
.zip for Windows) are attached to every
GitHub Release.
Verifying a download says how to check each
file, and each install route, before installing.
Minimal build (small and locked down): every GitHub Release also carries
vix-minimal-<target>.tar.gz (.zip on Windows) plus a .sha256 file. It is
vix built with --no-default-features, so it leaves out the DB workbench,
image preview, scripting, the integrated terminal, the HTTP client, the AI
assistant, Git and Jujutsu integration, language servers, debug adapters, the
Run Command / project-task shell runner, and syntax highlighting. It links no
TLS stack, makes no network connections, and Vix starts no other program itself (no git,
no language server, no shell). It is built with the minimal Cargo profile (fat LTO, one codegen unit, panics abort), chosen to shrink the attack surface; as a side effect it is also about 66% smaller than the default build (7.4 MiB vs 21.8 MiB on macOS arm64). It has no
installer: unpack it and put vix on your PATH. Build the same thing from
source with cargo build --profile minimal --no-default-features, or keep what you want
with --features sql,git,… (see
spec/cargo-features/index.md).
From source (needs a Rust toolchain, 1.98+):
git clone https://github.com/vixide/vix.git
cd vix
cargo build --release # binary at target/release/vix
Not yet published / unverified
None of these work yet. They are templates in this repository (T742, T743), waiting to be verified on a real machine or CI runner and then published. Until then, use one of the channels above. The commands below are what each channel will look like; see
packaging/index.mdfor the status of each andspec/packagingfor how the templates are checked and, once a maintainer opts in, published.
- winget (Windows):
winget install vixide.vix-tui. Manifest not yet submitted to winget-pkgs. - Scoop (Windows):
scoop install vix-tuifrom a Vix bucket. The bucket does not exist yet. - AUR (Arch):
vix-tui-bin, for exampleyay -S vix-tui-bin. Not yet pushed to the AUR. cargo binstall:cargo binstall vix-tui.vix-tuiis on crates.io and the published crate carries the binstall metadata, but nobody has tried it yet.- Nix:
nix run github:vixide/vixto try it,nix profile install github:vixide/vixto install it. The flake has not been built with Nix yet. - mise:
mise use -g cargo:vix-tui, ormise use -g "ubi:vixide/vix[matching=vix-tui,exe=vix]". Not yet tested. - Container image (try without installing):
docker run --rm -it ghcr.io/vixide/vixopens Vix on a demo workspace. The image builds and runs fromdocker/Dockerfileand is built and pushed on every version tag, but the ghcr.io package is not public yet, sodocker pulldoes not work yet.
First launch
vix # open rooted at the current directory
vix tui/src/main.rs # open one or more files directly
The first time Vix runs anywhere, it shows a scrollable welcome overlay —
see docs/welcome-panel/index.md. Press Esc
to close it; it won’t show automatically again (reopen any time from
Help → Welcome…).
For the file/folder/clock glyphs in the explorer and status areas to render as intended, use a [Nerd Font] in your terminal. Vix works without one — it just falls back to plainer characters.
The 10 things to learn first
Vix’s keybindings vary by keymap (Apple, VSCode, Emacs, Vi, Spacemacs,
IntelliJ, Eclipse, Sublime, Zed, Fresh, ttt, Helix — see View → Keymap, and
docs/reference/ for the full binding tables).
Everything below shows the Apple keymap, Vix’s default — every action is
also always reachable from its menu or the command palette regardless of
keymap.
- Open a file —
Ctrl+O(File → Open…), or browse the file explorer (see below) and pressEnteron an entry.Ctrl+Nstarts a new, unsaved buffer. - Save —
Ctrl+S(File → Save).Ctrl+Shift+Sis Save As. - The command palette —
Ctrl+P(Tools → Command Palette…) is the fastest way into anything else in this list, and everything not listed here: type to fuzzy-search files (default) or prefix with>to search commands by name instead of remembering a keybinding. - The file explorer —
Ctrl+Btoggles it,Ctrl+Efocuses it directly. It’s the left-hand pane in the screenshot at the top of this repo’sindex.md. - Find (and replace) —
Ctrl+Ffinds in the current file;Ctrl+Ris find & replace;Ctrl+Shift+Fsearches the whole workspace. Seedocs/find/index.md. - Panes and docks — the explorer (left), messages (right), and an
optional bottom dock (terminal, test results, DB workbench, …) frame the
editor’s tab area in the middle;
F6moves focus to the other editor pane when more than one is open. Seedocs/left-dock/index.md,docs/right-dock/index.md, anddocs/bottom-dock/index.md. - Undo and redo —
Ctrl+Z/Ctrl+Shift+Z. Unlike most bindings in this list, these two are wired the same in every keymap — they never change. - Git — Git → Changes… opens the working-tree status panel (stage,
unstage, diff, commit); see
docs/git-panel/index.mdfor the rest (blame, log, conflicts, and more). - Help —
F1opens a searchable overlay of every keyboard shortcut in your active keymap. Help also has the welcome screen, license, and issue-reporting link. - Quit —
Ctrl+Q(File → Quit). Vix prompts before discarding any unsaved buffer.
Where to go next
docs/index.md— the full documentation map.docs/configuration/index.md— every settings key, and where the config file lives.docs/keybindings/index.mdanddocs/keymaps/index.md— the complete keybinding reference and how to switch keymaps.- The
for-*-userspages (indocs/SUMMARY.md) if you’re coming from Vim, Emacs, Spacemacs, IntelliJ, Eclipse, Sublime, Zed, Fresh, ttt, Helix, or VS Code.
Vix™ and Vix IDE™ are trademarks.
Linux package repositories
Not published yet. The repositories are built by every release once the project’s signing key and host are set up (T669). Until then the URL below,
https://vixide.github.io/packages/, does not exist: install a package file from the latest release as Getting Started shows. This page is the setup to use once published.
With the repository configured, your package manager installs Vix by name and
apt upgrade or dnf upgrade brings each new release. It carries
vix-tui (the vix command) and the desktop apps vix-egui, vix-gpui,
vix-iced, vix-slint, vix-bui and vix-zgui, for x86_64 and aarch64, and keeps the five
newest versions of each.
Debian and Ubuntu (apt)
Debian 12+ and Ubuntu 22.04+. The repository is signed; apt trusts its key
only for this source (Signed-By), not for every source on the system.
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://vixide.github.io/packages/vix-archive-keyring.gpg \
| sudo tee /etc/apt/keyrings/vix-archive-keyring.gpg >/dev/null
curl -fsSL https://vixide.github.io/packages/vix.sources \
| sudo tee /etc/apt/sources.list.d/vix.sources >/dev/null
sudo apt update
sudo apt install vix-tui # or vix-egui, vix-gpui, vix-iced, vix-slint, vix-bui, vix-zgui
vix.sources is a deb822 source file. To write it yourself instead:
Types: deb
URIs: https://vixide.github.io/packages/apt
Suites: stable
Components: main
Architectures: amd64 arm64
Signed-By: /etc/apt/keyrings/vix-archive-keyring.gpg
Fedora, RHEL, Rocky and Alma (dnf)
Fedora 36+ and RHEL/Rocky/Alma 8+ (vix-tui on x86_64 is a static build
that runs on 8 and 9; the other packages need glibc 2.35 or newer). Both the
packages and the repository metadata are signed; dnf asks you to accept the
key the first time.
sudo curl -fsSLo /etc/yum.repos.d/vix.repo https://vixide.github.io/packages/vix.repo
sudo dnf install vix-tui # or vix-egui, vix-gpui, vix-iced, vix-slint, vix-bui, vix-zgui
vix.repo contains:
[vix]
name=Vix
baseurl=https://vixide.github.io/packages/rpm/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://vixide.github.io/packages/vix.asc
Checking the key
Before trusting the key, compare its fingerprint with the one in the Vix README and the release notes, which will list it once the key exists:
curl -fsSL https://vixide.github.io/packages/vix.asc | gpg --show-keys
Removing the repository
sudo rm /etc/apt/sources.list.d/vix.sources /etc/apt/keyrings/vix-archive-keyring.gpg # apt
sudo rm /etc/yum.repos.d/vix.repo # dnf
How the repositories are built and signed:
spec/linux-packages/index.md, “Package
repositories”.
Command line
vix [OPTIONS] [FILES]... — see vix --help for the definitive, always-current
list; this page adds usage detail and the git integration snippets.
Arguments
| Form | Effect |
|---|---|
vix | Open the editor rooted at the current directory, restoring the previous session for this workspace (if restore_session is on). |
vix FOLDER | Open that folder as the workspace (vix ., vix ~/src/app), as if Vix had been started inside it. |
vix FILE... | Open one or more files; the last one is focused. |
vix FILE:LINE:COL | Open FILE and jump straight to LINE, column COL (both 1-based). |
vix - | Read standard input into an unsaved scratch buffer instead of opening a file — e.g. git show HEAD:path/to/file | vix -. |
vix ssh://[USER@]HOST[:PORT]/PATH | Experimental (T712). Work on a folder (or file) on another machine over SSH: the remote directory becomes the workspace, and its files, explorer, search, git and tasks go through ssh. TRAMP’s /ssh:[USER@]HOST[#PORT]:/PATH works too, and ssh://HOST/~/src starts from the remote home. Vix connects before the editor starts, so ssh can ask for a password or a host-key confirmation as usual; later commands share that connection. Nothing is installed remotely: it needs a POSIX sh and the usual commands (cat, stat, find, mv). Settings, themes and keybindings stay local. See remote editing. |
Options
| Flag | Effect |
|---|---|
-l, --locale <LOCALE> | UI language for this run only (e.g. en, es, fr, de, cy) — overrides the saved locale setting without persisting the change. |
--diff <OLD> <NEW> | Compare the two files side by side, both editable (Tools → Compare). This is the shape a git difftool driver invokes with ($LOCAL $REMOTE) — see below. |
--tutor | Launch straight into the interactive tutorial (also reachable from a running session via Help → Tutorial), in place of any files also passed — see crates/vix-tutor/spec/index.md. |
--doctor | Check the environment for common setup friction (git on PATH, configured LSP servers spawnable, the active locale’s spellcheck dictionary loadable, terminal color support) and print a plain pass/fail report, then exit without starting the editor. Also reachable via Help → Run Diagnostics — see crates/vix-doctor/spec/index.md. |
--export-settings <PATH> | Bundle config.toml, macros, keybindings, the user dictionary, and the active custom theme into one file at PATH, then exit. Also reachable via Vix → Export Settings… — see crates/vix-settings-bundle/spec/index.md. |
--import-settings <PATH> | Restore a bundle written by --export-settings from PATH (backing up any file it replaces first), then exit. Also reachable via Vix → Import Settings…. |
--mcp [DIR] | Serve the Model Context Protocol over stdin/stdout instead of starting the editor, so an AI agent can read the workspace (DIR, or the current directory) as Vix sees it: open buffers, symbols, outline, offline diagnostics and SQLite schemas. Read-only — see MCP server. |
--remote-agent | Serve Vix’s remote-agent protocol over stdin/stdout instead of starting the editor. A Vix on another machine starts this over SSH to work on this machine’s files faster; not for interactive use — see Remote editing. |
--plugin <COMMAND> [ARG] | Manage Rhai plugins, then exit: install <git-url>[@rev], list, update [name], remove <name>. A new plugin is disabled until enabled in Vix → Plugins… — see docs/scripting/index.md and crates/vix-script/spec/index.md. |
--version | Print the version and exit. |
--version --json | Print {"name":"vix","version":"…","capabilities":[…]} instead of plain text, for scripts/tooling. capabilities lists the optional areas compiled into this build. |
--help | Full flag reference (clap-generated, always in sync with the binary). |
git difftool
Point git difftool at vix --diff:
# ~/.gitconfig
[difftool "vix"]
cmd = vix --diff \"$LOCAL\" \"$REMOTE\"
[diff]
tool = vix
git difftool # every changed file, one at a time
git difftool HEAD~1 # against a specific revision
git difftool --dir-diff # not applicable — vix compares one file pair
Both sides open as ordinary, editable tabs side by side: Tools → Compare →
Next/Previous Difference step through the changes, Copy Change to
Left/Right copy the change at the cursor across (like vimdiff do/dp), and
saving a side saves that file. Git passes the old version as a temporary copy
($LOCAL), so edits worth keeping go on the right ($REMOTE, your working-tree
file). Show as Unified Diff opens the read-only unified view.
git mergetool
Merge-conflict resolution doesn’t need a dedicated flag: a file with
unresolved <<<<<<</=======/>>>>>>> markers opens normally, and Vix’s
built-in conflict tool (crates/vix-conflict-tool/spec/index.md) resolves
the block under the cursor with ours/theirs/both — no special CLI shape
required, just point mergetool at the merged file:
# ~/.gitconfig
[mergetool "vix"]
cmd = vix \"$MERGED\"
trustExitCode = false
[merge]
tool = vix
git mergetool
trustExitCode = false is intentional: Vix doesn’t report a resolved/
unresolved outcome via its exit code (a TUI editor’s exit code reflects
whether it launched and ran, not whether the user finished resolving
anything), so git should ask whether the merge succeeded rather than
trust the process result — its normal behavior for trustExitCode = false.
Man page
man vix
is available wherever Vix was installed via a package manager (Homebrew,
the shell/PowerShell installers) — see
docs/getting-started/index.md.
It’s generated from this same flag set (cargo run --example generate_man, see spec/ci/index.md), so it never drifts from what
--help above actually shows.
Configuration
Vix™ stores its settings with confy as a TOML
file in the platform configuration directory, under the application name vix.
| Platform | Path |
|---|---|
| Linux | ~/.config/vix/config.toml |
| macOS | ~/Library/Application Support/rs.vix/config.toml |
| Windows | %APPDATA%\vix\config\config.toml |
The exact location follows confy’s platform conventions. The file is created
with default values on first save (e.g. on quit) and missing keys fall back to
their defaults, so it is safe to delete or hand-edit.
Settings
| Key | Type | Default | Meaning |
|---|---|---|---|
line_numbers | bool | true | Show the line-number gutter. |
show_whitespace | bool | false | Show visible glyphs for space (·), tab (→), and line ending (¶). |
soft_wrap | bool | false | Wrap long lines across screen rows instead of scrolling horizontally. |
prose_soft_wrap | bool | true | Soft-wrap Markdown and Org files even when soft_wrap is off. A [languages.<id>] table or a modeline can still turn wrapping off for a file. |
show_explorer | bool | true | Show the file-explorer drawer on startup. |
explorer_delete | string | "trash" | How the explorer’s Delete acts: "trash" (move to the OS trash/Recycle Bin, undoable there) or "hard" (remove outright, no undo). Any other value falls back to "trash". |
review_view | string | "inline" | The view a branch review opens in: "inline" or "side_by_side" (old text left, new text right; inline is used on a narrow terminal). v in the review switches it. Any other value behaves as "inline". See Branch review. |
remote_agent | string | "installed" | Remote (SSH) workspaces: "installed" uses a vix of this exact version already on the remote machine as a faster file helper; "upload" also copies this vix there when it has none and the platform matches (SHA-256 checked on the remote side first); "off" uses shell commands only. Any other value behaves as "installed". See Remote editing. |
git_gutter_base | string | "head" | What the editor’s change gutter compares against: "head" (the last commit), "index" (the staged version, so staged hunks stop being marked), "disk" (the saved file, so only unsaved edits show) or "branch:<name>". Any other value falls back to "head". Git → Change Gutter Base… sets it. |
smart_commit | string | "ask" | What Git → Commit does when nothing is staged but files changed: "ask" (confirm, then stage everything with git add -A), "always" (stage everything without asking) or "never" (refuse). Any other value behaves as "ask". |
oc_engine | string | "auto" | Which container engine the OC menu drives: "auto" (the first of docker, podman, nerdctl found on PATH) or one of those names. A named engine that is not installed falls back to the auto order. |
oc_mode | string | "full" | "full", or "read-only" to let the OC menu list, inspect and show logs only. Any other value behaves as "read-only". |
clipboard_provider | string | "auto" | How copy/paste reach the clipboard: "auto" (OSC 52 over SSH — SSH_TTY/SSH_CONNECTION set — or when the system clipboard fails; the system clipboard otherwise), "system" (system clipboard only) or "osc52" (always write the terminal’s OSC 52 escape, wrapped in tmux passthrough under TMUX; tmux needs allow-passthrough on). Under OSC 52, paste reads Vix’s own last copy. Any other value behaves as "auto". |
inline_diagnostics | string | "cursor-line" | Which lines show their language-server diagnostic as dimmed text at the end of the line: "off", "cursor-line" (the cursor’s line only) or "all". Any other value behaves as "cursor-line". The status bar shows the cursor’s diagnostic whatever this is set to. |
inline_completion | string | "off" | Where dimmed inline ghost-text suggestions come from: "off", "lsp" (a language server that offers textDocument/inlineCompletion) or "ai" (a fill-in-the-middle prompt to the configured AI provider; the text around the cursor is sent to it). Tab accepts, Ctrl+Right accepts one word, Esc dismisses. Any other value behaves as "off". |
show_messages | bool | true | Show the message drawer on startup. |
show_status_bar | bool | true | Show the bottom status bar. |
show_scrollbar | bool | true | Show the editor’s right-side scroll bar. |
show_scrollbar_markers | bool | true | Mark the scroll bar where git changes, diagnostics and search matches are. |
show_bottom_dock | bool | false | Show the bottom dock (log/output/data panel). |
bottom_dock_height | int | 9 | Height (rows) of the bottom dock; drag its top edge to resize. |
scrollback | int | 1000 | Maximum lines kept in the bottom dock; the oldest are dropped past this. |
terminal_scrollback | int | 2000 | Lines of scrollback each integrated terminal keeps (Shift+PgUp scrolls back). At most 50000; 0 keeps none. Applies to terminals opened afterwards. See Integrated Terminal. |
preview_tabs | bool | true | Open single-clicked / arrow-scanned files in an ephemeral preview tab. |
show_welcome_dialog | bool | true | Show the welcome dialog on launch. Vix sets it to false and saves once the dialog has been shown, so it appears on the first run only; set it back to true to see it again. |
indent_style | string | "spaces" | What Tab inserts: "spaces" or "tabs". |
tab_width | int | 4 | Number of spaces per indent when indent_style = "spaces". |
wrap_column | int | 80 | Column that Edit → Wrap hard-wraps (fills) text at. |
trim_trailing_whitespace | bool | true | On save, strip trailing spaces/tabs from every line. |
ensure_final_newline | bool | true | On save, append a final newline if the file lacks one. |
theme | string | "dark" | "dark", "light", the name of a custom theme, or "auto" to follow the terminal’s background. |
theme_light | string | "light" | The theme "auto" picks on a light terminal. |
theme_dark | string | "dark" | The theme "auto" picks on a dark terminal (or when it can’t tell). |
locale | string | "en" | UI language code (en, es, fr, de, cy, …). |
bidi | string | "auto" | Reorder right-to-left text (Arabic) for display: auto, on or off. |
mirror_layout | string | "auto" | Mirror docks and the scroll bar for right-to-left languages: auto, on or off. |
bidi | string | "auto" | Reorder right-to-left text (Arabic) for display: auto, on or off. |
keymap | string | "apple" | Keyboard navigation style: one of the fourteen in Keymaps (apple, vscode-macos, vscode-windows, emacs, vi, spacemacs, helix, intellij-macos, intellij-windows, eclipse, sublime, zed, fresh, ttt). |
explorer_width | int | 24 | Width (columns) of the left dock; drag its right edge to resize. |
messages_width | int | 26 | Width (columns) of the right dock; drag its left edge to resize. |
recent_files | list | [] | Recently opened files (absolute paths), most-recent first, capped at 15. Updated automatically; surfaced by File → Open Recent…. |
spellcheck | bool | false | Underline misspelled words in comments/strings (View → Editor → Toggle Spellcheck). |
dictionary_path | string | "" | Extra directory to search for Hunspell dictionaries, on top of the autodetected standard locations (/usr/share/hunspell, /Library/Spelling, ~/.local/share/hunspell, hunspell -D, …). Empty = autodetect only. Both <dir>/<name>.{aff,dic} and <dir>/<name>/index.{aff,dic} layouts work. The spellcheck language follows the UI locale. |
lsp_enabled | bool | true | Master switch for Language Server Protocol features (diagnostics, hover, go-to-definition, completion). When off, no servers launch. See crates/vix-lsp/spec/index.md. |
lsp_auto_complete | bool | true | Request LSP completion automatically while typing an identifier or a server trigger character (debounced). Off = only on Ctrl+Space. |
format_on_type | bool | false | Ask the language server to format as you type: after a character it lists as an on-type trigger (such as ;, } or Enter) its edits are applied. Toggle with View → Format on Type. |
lsp_servers | list | [] | Language servers, matched to files by extension. Each entry has language_id, extensions, and command. Empty by default: in a trusted workspace Vix starts well-known servers it finds on PATH (rust-analyzer, gopls, pyright or pylsp, typescript-language-server, clangd, …). An entry for an extension replaces the built-in for it. |
contacts_dir | string | "" | Directory of vCard (.vcf) files for Tools → Contacts…. Empty = the workspace root. |
ai | string | "on" | The AI optional switch. "off" hides the AI menu and every AI palette entry and refuses every AI request (the AI menu, the chat panel, the generated commit message, the DB assistant) without a rebuild; nothing is sent anywhere. Any value other than "on" counts as "off". |
ai_command | string | claude -p {prompt} | Command template the AI menu runs. {prompt} is replaced with the action’s instruction, quoted by Vix (so don’t add quotes of your own; quotes written right around it are dropped); the input text is fed on stdin (or substituted for {file} if the template contains it). Point this at any assistant CLI — claude, codex, mistral, ollama run …. Ignored unless ai_provider is "cli" (the default). |
ai_provider | string | "cli" | Which backend the AI menu, chat panel, and DB assistant use: "cli" (shells out to ai_command, no API key needed) or "anthropic"/"openai"/"ollama" (calls that provider’s HTTP API directly — see crates/vix-ai-core/spec/index.md). An unrecognized value falls back to "cli". |
ai_endpoint | string | "" | HTTP provider endpoint override; empty uses the provider’s own default. Ignored when ai_provider is "cli". |
ai_model | string | "" | HTTP provider model id override; empty uses the provider’s own default. Ignored when ai_provider is "cli". |
ai_api_key_command | string | "" | Command whose stdout is the HTTP provider’s API key, tried before the OS keyring (same shape as the DB workbench’s password_command). Ignored when ai_provider is "cli". |
ai_agents | list | [] | Agent Client Protocol coding agents (T635): each entry is a command line, e.g. "gemini --experimental-acp", run without a shell. AI → Start Agent starts it (or asks which, when several are listed), only in a trusted workspace. See crates/vix-acp/spec/index.md. |
ai_diff_review | bool | true | Review AI replace transforms (Annotate / Improve) as an accept/reject diff before applying, instead of overwriting immediately. |
editorconfig | bool | true | Apply .editorconfig rules (indent style/size, trim trailing whitespace, final newline) per opened file, overriding the global settings. |
modeline_lines | int | 5 | Lines at the start and end of a file searched for Vim modelines (vim: set sw=2 et:); Emacs -*- … -*- lines and Local Variables: blocks are read too. A modeline wins over .editorconfig and these settings. 0 turns modelines off. See Modelines. |
auto_pair | bool | true | Auto-insert the matching closer when typing ( [ { " ' ` (wrap a selection; step over a closer; Backspace deletes an empty pair). Toggle via View → Editor → Auto-Pair Brackets. |
inline_blame | bool | false | Show the cursor line’s git blame (author, date · summary) dimmed at the end of the line. Toggle via Git → Toggle Inline Blame. |
show_outline_dock | bool | false | Show the code-outline sidebar (symbol list that follows the cursor). Toggle via View → Layout → Outline Sidebar. |
outline_width | int | 28 | Width (columns) of the outline sidebar. |
debug_width | int | 36 | Width (columns) of the debugger panel. |
debug_adapters | list | [] | Debug adapters (DAP), matched to files by extension. Each entry has adapter_id, extensions, command, and optional launch and attach tables (attach is used by Run → Attach). See crates/vix-dap/spec/index.md. |
test_command | string | cargo test | Command run by Tools → Run Tests; its output is parsed into the test panel. |
test_width | int | 40 | Width (columns) of the test-results panel. |
project_snippets | string | <config>/snippets/snippets.json | Project snippet file, relative to the project root. See crates/vix-snippets/spec/index.md. |
coverage_path | string | "" (unset) | Default path pre-filled in Tools → Load Coverage File…’s prompt (an LCOV or Cobertura XML report). See crates/vix-coverage/spec/index.md. |
relative_line_numbers | bool | false | Number lines relative to the cursor line (the cursor’s own line stays absolute). |
show_breadcrumbs | bool | false | Show the breadcrumb bar (file ▸ enclosing symbol) above the editor. |
show_minimap | bool | false | Show the code-overview minimap column at the right of the editor. |
sticky_scroll | bool | true | Pin the enclosing scope’s header line at the top while scrolling. |
code_lens | bool | true | Draw code lenses (Run, Debug, references, local Run test) as dimmed rows above their lines. |
document_colors | bool | true | Draw a swatch for each color a language server reports. |
rainbow_brackets | bool | false | Color matching brackets by nesting depth. |
highlight_word | bool | false | Passively highlight every occurrence of the word under the cursor. |
sticky_search_highlight | bool | true | Keep search-match highlights after the Find box closes, until toggled off. |
show_menu_tooltips | bool | true | Show hover tooltips on menu names and items. |
format_on_save | bool | false | On save, run the language server’s formatter when the file has one. |
prettier_languages | list of strings | [] | Languages formatted with your own Prettier by Format Document and format-on-save: any of javascript, typescript, json, css, html, markdown, yaml, graphql, handlebars. See Format with Prettier. |
auto_save | string | "off" | Save dirty file-backed buffers on their own: "off", "interval" (the active buffer every few seconds) or "focus_lost" (every buffer Save All could write, when the terminal window loses focus). An old true/false still loads as "interval"/"off". |
persistent_undo | bool | true | Persist each file’s undo tree across sessions, restored when the content still matches. |
hot_exit | bool | true | Back up unsaved buffers while idle and on quit, and offer them back (with a diff) when the file is next opened. A clean save deletes the backup. See Hot exit. |
large_file_mb | int | 50 | Ask before opening a file larger than this many megabytes (0: no limit of your own; a file over 500 MiB always asks, with a memory warning, and one over 1 GiB opens in the Large File Viewer). |
read_only_paths | list of strings | Cargo registry/git, ~/.rustup, /nix/store, Homebrew Cellar, node_modules, site-packages | Path globs that open read-only (~/ is home, ** spans directories). View → Editor → Read-Only unlocks a tab. |
ephemeral_paths | list of strings | ["**/.git/**"] | Path globs the session never records, such as COMMIT_EDITMSG. |
restore_session | bool | true | Reopen the previous session (files, focus, cursors) when launched in a workspace with no file argument. |
recent_files_max | int | 20 | How many entries to keep in recent_files. |
time_zone | string | UTC | Active IANA time zone (e.g. America/New_York), chosen via Tools → Time Zone…. |
calendar_first_weekday | string | "monday" | The day the calendar’s weeks start on: "monday" through "sunday" (or "mon".."sun"), independent of the UI language. Missing or unrecognized means Monday. |
org_agenda_files | list of strings | [] | The Org agenda’s explicit file list (workspace-relative). Empty means every .org file in the project. |
org_capture_templates | list of tables | Anything, Task, Babel, Note, Contact | Org-capture templates for Org → Capture. See crates/vix-org-capture/spec/index.md. |
org_priority_highest | char | 0 | Highest [#X] priority cookie character (Vix defaults to numeric 0..9, unlike Emacs’s A..C). |
org_priority_lowest | char | 9 | Lowest priority cookie character. |
org_priority_default | char | 0 | Priority given to a headline that had no cookie yet. |
command_recents | list of strings | [] | Action ids recently run from the palette, surfaced at the top of the > list. Managed by Vix. |
db_connections | list of tables | [] | Saved database connections for the DB menu. Passwords are never stored; they are prompted per session. See crates/vix-db/spec/index.md. |
[db_environments] | table | {} | Each saved database connection’s environment, as name = "production" (local, development, testing, staging or production); a connection with no entry is local. Production connections confirm every write, even inside a transaction. Set on the connection form. See DB. |
[db_mcp_shared] | table | {} | Which saved database connections vix --mcp shares with MCP clients, read-only, as name = true; a connection with no entry is not shared. Set with the connection form’s Share with MCP row. See MCP server. |
[im] | table | see below | The IM menu: nick ("" = OS user name), notify ("mentions"; or "all", "off"), history ("session"; or "disk"), history_days (30), blocked ([]), [[im.accounts]] accounts (name, protocol = "irc" or "matrix"; IRC: server, port = 6697, tls = true, channels, sasl_user; Matrix: homeserver, user), and matrix_helper ("" = find vix-matrix beside vix or on PATH). Passwords come only from VIX_IM_PASSWORD_<NAME>. See IM. |
jupyter_confirm_evaluate | string | "untrusted" | When running an Org src block in a Jupyter kernel asks first: "untrusted" asks before a block’s first run in a session unless the workspace is trusted (and always for a file outside the workspace), "always" asks before every run, "never" never asks. A block’s :eval query still asks and :eval never still refuses. Only in a build with the jupyter feature. See Jupyter Kernels. |
[jupyter_kernels] | table | {} | Which Jupyter kernelspec runs each language, as language = "kernelspec name" (for example python = "python3"). Used by Run → Jupyter → Run when no kernel for the language is running yet; empty picks the first installed kernelspec for the language. Only in a build with the jupyter feature. See Jupyter Kernels. |
Example config.toml:
line_numbers = true
show_whitespace = false
show_explorer = true
explorer_delete = "trash"
review_view = "inline"
remote_agent = "installed"
git_gutter_base = "head"
smart_commit = "ask"
oc_engine = "auto"
oc_mode = "full"
clipboard_provider = "auto"
inline_diagnostics = "cursor-line"
inline_completion = "off"
show_messages = true
show_status_bar = true
show_scrollbar = true
show_scrollbar_markers = true
show_bottom_dock = false
bottom_dock_height = 9
preview_tabs = true
indent_style = "spaces"
tab_width = 4
wrap_column = 80
trim_trailing_whitespace = true
ensure_final_newline = true
theme = "dark"
locale = "en"
bidi = "auto"
keymap = "apple"
explorer_width = 24
messages_width = 32
lsp_enabled = true
# AI is optional: ai = "off" hides the AI menu and refuses every AI request.
ai = "on"
# The AI menu shells out to this command (text is piped on stdin). Swap in any
# assistant CLI, e.g. ai_command = "codex exec {prompt}". Vix quotes {prompt}
# itself, so leave it bare.
ai_command = "claude -p {prompt}"
# Or skip the CLI and call a provider's HTTP API directly (see
# crates/vix-ai-core/spec/index.md). The key comes from ai_api_key_command's
# stdout, or the OS keyring (service "vix-ai", account "anthropic") if that's
# empty -- never written here.
# ai_provider = "anthropic"
# ai_model = "claude-sonnet-5"
# ai_api_key_command = "pass show anthropic-api-key"
# Coding agents that speak the Agent Client Protocol (AI -> Start Agent runs the
# first, only in a trusted workspace; see crates/vix-acp/spec/index.md):
# ai_agents = ["gemini --experimental-acp"]
# One [[lsp_servers]] block per language server you have installed:
[[lsp_servers]]
language_id = "rust"
extensions = ["rs"]
command = ["rust-analyzer"]
trim_trailing_whitespace and ensure_final_newline normalize each file when it
is saved (both default on). Note that trimming removes Markdown’s trailing
two-space hard line breaks — set trim_trailing_whitespace = false if you rely on
them.
Some keys are managed by Vix rather than hand-edited — recent_files,
command_recents, db_connections, db_environments, db_mcp_shared, and the window/dock geometry are written
back as you use the editor.
Most settings are also changed from inside the app and saved on quit: toggling line numbers / visible whitespace / explorer / messages, resizing a dock (drag its inner edge), and choosing a theme (View → Theme…), language (View → Locale…), or keymap (View → Keymap…).
Project and language settings
A workspace can carry its own settings in <root>/.vix/settings.toml, in the
same format as config.toml, naming only the keys it changes. A
[languages.<id>] table sets per-language values, in either file, for each
of Vix’s language ids (rust, python, markdown, shell, text, …):
# <root>/.vix/settings.toml
tab_width = 2
format_on_save = true
[languages.python]
tab_width = 4
[languages.markdown]
soft_wrap = true
trim_trailing_whitespace = false
Later layers win: built-in defaults, then your config.toml, then the
project file, then the buffer’s language table. Tables merge key by key, so
a project’s [languages.python] adds to yours rather than replacing it;
any other value replaces yours whole.
- Trust first. A project file can change which commands Vix runs, so it
applies only after you trust the workspace, at the same prompt that asks
about
.vix/scripts/(“Trust Workspace?”). Until then, or after N, it is ignored. A remote (SSH) workspace’s project file is never read. - Per-language keys are the ones about a single buffer:
indent_style,tab_width,wrap_column,trim_trailing_whitespace,ensure_final_newline,format_on_save,soft_wrap,show_whitespace,line_numbers,relative_line_numbers,auto_pairandrainbow_brackets. Other keys in a language table are reported and ignored. A file’s.editorconfigstill wins for indentation and the on-save rules. - Unknown keys in the project file (a typo, or a key from a newer Vix) are reported in the message drawer and ignored; a value of the wrong type makes Vix ignore the whole project file and say why.
- Your file stays yours. Changes made inside Vix are saved to
config.toml, never to the project file, and the project’s values are never copied intoconfig.toml. - Live reload. Saving
.vix/settings.toml(orconfig.toml) in Vix applies it at once, as does Vix → Reload Settings.
Custom themes directory
Custom JSON themes live next to the config file, in a themes/ subdirectory
(e.g. ~/.config/vix/themes/*.json on Linux). See themes.md for the
file format. Set theme to a custom theme’s name to load it on startup.
Command-line flags
vix [FILES]... Open one or more files; the last is focused.
A file may include a position: path:line[:col].
--locale <CODE> Use language CODE for this run (overrides `locale`,
not saved). e.g. --locale fr
--help Print usage.
--version Print the version.
See also
Vix™ and Vix IDE™ are trademarks.
Settings
Vix™ and Vix IDE™ are trademarks.
Vix™ Keybindings
Every shortcut Vix currently implements. The bindings below are the Apple
keymap (the default): familiar macOS/Windows modifier shortcuts. Two other
keymaps change this dispatch — Emacs (Ctrl chords) and Vim (modal).
Switch via View → Keymap…; the choice persists. See Keymaps.
Global
| Shortcut | Action |
|---|---|
Ctrl+N | New buffer |
Ctrl+O | Open file… (prompt; accepts path:line[:col]) |
Ctrl+Shift+O | Open Recent… (chooser of recently opened files) |
Ctrl+S | Save (prompts for a path if the buffer is untitled) |
Ctrl+Shift+S | Save As… |
Ctrl+W | Close the active tab |
Ctrl+Shift+T | Reopen the most recently closed tab |
Ctrl+Q | Quit |
Ctrl+P | Open the command palette |
Ctrl+F | Open the find dialog |
Alt+H | In the find dialog: turn replace on or off |
Alt+I | In the find dialog: where to look — buffer, files, workspace |
Ctrl+R | Find & Replace |
Ctrl+Alt+R | Interactive query-replace (y/n/!/q) |
Ctrl+Shift+F | Search across the whole workspace |
F3 / Shift+F3 | Find next / previous |
Ctrl+G / Ctrl+Shift+G | Find next / previous (repeats the last search, even after the box closes) |
Alt+N / Alt+P | Find next / previous occurrence of the selection |
Ctrl+B | Toggle the file explorer (reveals the active file) |
Ctrl+E | Toggle focus between explorer and editor |
Alt+Left / Alt+Right | Position history: jump back / forward |
F12 | Go to definition of the symbol under the cursor |
F10 | Open / close the menu bar |
Alt+F/E/V/T/H | Open the File / Edit / View / Tools / Help menu |
F1 | Open the searchable keyboard-shortcut browser (type to filter) |
macOS: the Command key
On macOS, Command does whatever Control does — Cmd+S saves, Cmd+F finds,
Cmd+Shift+Z redoes — for every shortcut on this page and in every keymap.
Whether Vix ever sees the key is up to the terminal: it must speak the kitty
keyboard protocol (Vix asks for it at startup; Terminal.app does not support it)
and it must forward that particular shortcut rather than keep it for its own
menus. Most terminals keep Cmd+C, Cmd+V, and Cmd+N for themselves; you can
usually free a specific one in the terminal’s keyboard settings.
Editor (when the editor is focused)
| Shortcut | Action |
|---|---|
Ctrl+Z | Undo |
Ctrl+Shift+Z | Redo |
Ctrl+X | Cut selection |
Ctrl+C | Copy selection |
Ctrl+V | Paste |
Ctrl+A | Select all |
Ctrl+D | Forward delete: the character to the right of the cursor |
Ctrl+Shift+D | Duplicate the current line (or selection) |
Ctrl+K | Delete the current line |
Alt+↑ / Alt+↓ | Move the current line up / down |
Ctrl+] | Jump to the matching bracket |
Ctrl+/ | Toggle line comment (line or selection) |
Ctrl+; | Spelling suggestions for the word at the cursor |
Ctrl+Shift+B | Open the code outline panel (symbols) |
Arrows / End / PgUp / PgDn | Move the cursor |
Home | Smart Home: first non-blank, then column 0 |
Enter | New line, carrying the previous line’s indentation |
Typing / Backspace / Delete / Tab | Edit text |
Pasting with the terminal’s own shortcut (Cmd+V on macOS, Ctrl+Shift+V
elsewhere) works too: Vix enables bracketed paste, so the text arrives in one
piece — inserted verbatim, and undone in a single step.
The editor is the editor_core widget, which adds Tree-sitter
syntax highlighting and the line operations above.
Mouse
| Gesture | Action |
|---|---|
| Click in the editor | Place the cursor there (and focus the editor) |
| Drag in the editor | Select text |
| Wheel over editor | Scroll the buffer |
| Click a tab | Switch to that buffer |
| Click a file in explorer | Preview it; click again to open permanently |
| Click a directory | Expand / collapse it |
| Wheel over explorer | Move the selection |
Click a message’s x | Dismiss that message |
| Click a menu name | Open that menu |
| Hover over an open menu | Move the highlight (rows) / switch menus (names) |
| Click a dock toggle icon | Toggle the explorer / messages drawer (top-right of the menu bar) |
File explorer (when focused — Ctrl+E)
| Shortcut | Action |
|---|---|
Up / Down | Move selection (scans a preview tab on the way) |
PgUp / PgDn | Move by a page |
Home / End | Jump to first / last entry |
Enter / Right | Open the file, or expand a directory |
Left | Collapse the directory, or jump to its parent |
Shift+Up/Down | Extend the multi-selection |
Ctrl+C/Ctrl+X | Copy / cut the selection |
Ctrl+V | Paste into the selected directory |
Delete | Delete the selection (asks to confirm) |
Esc | Cancel a pending cut / clear selection / unfocus |
During a paste with a name conflict, choose (o) overwrite, (O) overwrite
all, (s) skip, (S) skip all, or (c) cancel. Same-directory copies are
auto-renamed (name copy, name copy 2, …); a same-directory cut is a no-op.
Open buffers follow their files when moved and close when deleted.
Message drawer (when focused)
| Shortcut | Action |
|---|---|
Up / Down | Move selection |
x / Delete / Enter | Dismiss the selected message |
Esc | Return focus to the editor |
Command palette (Ctrl+P)
| Key | Action |
|---|---|
| (type) | Filter the current mode |
Up / Down | Move the selection |
Tab | Accept the top suggestion |
Enter | Accept the highlighted entry |
Esc | Close the palette |
Prefixes switch modes: (none) file finder, > commands, # buffers,
: go-to-line (the cursor previews the line live as you type; Esc reverts),
@ go-to-symbol (declarations in the current file). In file-finder mode, append
:line[:col] to jump on open.
Find & Replace
| Key | Action |
|---|---|
| (type) | Edit the focused field (incremental in Find) |
Tab | Switch between the Find and Replace fields |
Enter | Find next (or Replace-All from the Replace field) |
Alt+Enter | Replace all |
F3 / Shift+F3 | Find next / previous |
Alt+C | Toggle case sensitivity |
Alt+W | Toggle whole-word matching |
Alt+R | Toggle regular-expression mode |
Esc | Close the toolbar |
In regex mode the replacement supports capture groups ($1, ${name}) and the
escapes \n, \t, \r, \\.
Interactive query-replace
Start with Ctrl+Alt+R (or the palette’s “Query Replace”), type the search and
replacement, then press Enter to step through each match:
| Key | Action |
|---|---|
y / Space | Replace this match, go to the next |
n / Delete | Skip this match, go to the next |
! | Replace this match and all remaining |
q / Esc | Stop |
View menu overlays
The View menu opens small chooser overlays:
| Overlay | Keys |
|---|---|
| Theme… | ↑/↓ preview live, Enter apply & save, Esc cancel |
| Locale… (language) | ↑/↓ preview live, Enter apply & save, Esc cancel |
| Keymap… | ↑/↓ highlight, Enter apply & save, Esc cancel |
In every chooser a left click on a row highlights it (Themes/Locale also preview live).
View also has toggles for the line-number gutter, visible whitespace (glyphs
for space ·, tab →, and line ending ¶), soft wrap (long lines wrap instead
of scrolling), and the explorer / messages docks.
Calendar box (Tools → Calendar)
| Key | Action |
|---|---|
Left / Right | Previous / next month |
Esc / q | Close the calendar |
The date/time area always shows the present; only the month grid navigates.
Keymaps
A keymap is the keyboard navigation style. Exactly one is active at a time;
choose it in View → Keymap…. Menu mnemonics (Alt+F/E/V/T/H) and function
keys (F1, F3, F10, F12) work in every keymap.
Apple (default)
Modifier shortcuts — the tables above.
Emacs
Ctrl chords, with a Ctrl+X prefix for file commands:
| Keys | Action |
|---|---|
Ctrl+X Ctrl+F | Open file… |
Ctrl+X Ctrl+S | Save |
Ctrl+X Ctrl+C | Quit |
Ctrl+X k | Close the active tab |
Ctrl+F / Ctrl+B | Forward / back one character |
Ctrl+N / Ctrl+P | Next / previous line |
Ctrl+A / Ctrl+E | Start / end of line |
Ctrl+V | Page down |
Ctrl+D | Delete the character ahead |
Ctrl+S | Find |
Ctrl+G | Cancel |
Vim
Modal. The status bar shows -- NORMAL --, -- INSERT --, or the : command
line. Press Esc to return to Normal mode.
| Mode | Keys | Action |
|---|---|---|
| Normal | h j k l | Left / down / up / right |
| Normal | 0 / $ | Start / end of line |
| Normal | x | Delete the character ahead |
| Normal | i / a | Insert before / after the cursor |
| Normal | o / O | Open a line below / above |
| Insert | Esc | Return to Normal mode |
| Command | :w | Save |
| Command | :q / :q! | Close tab / close tab, discarding edits; :qa / :qa! quit |
| Command | :wq / :x | Save and close |
| Command | :Ex | Focus the file explorer |
| Command | :s/a/b/ / :%s/a/b/gc | Literal substitute, line / buffer (g all, c confirm) |
| Command | :cn / :cp / :cope | Next / previous task problem; list them |
Overrides
Rebind a key yourself by hand-editing keybindings.toml in Vix’s config
directory (next to config.toml):
[[binding]]
key_token = "C-S-k"
action_id = "edit.duplicate_line"
key_token uses the same grammar as a saved macro (C-/A-/S- prefixes
plus the key, e.g. C-c, S-Tab, C-S-k); action_id is any action id —
the same strings behind every menu item and shortcut on this page, or a
script command (script:<stem>:<id>). An override
takes priority over whatever the active keymap normally does with that key.
Changes apply on restart, or immediately via Tools → Reload Keybindings.
Two overrides claiming the same key — from keybindings.toml, from a
script, or one of each — are both rejected, reported in the message
drawer so neither silently wins. An override that simply claims a key a
built-in binding already used still wins outright, but is reported once so
you’re not surprised later when that built-in stops firing. To edit
overrides without hand-editing the file, use Vix → Keybindings….
Vix™ and Vix IDE™ are trademarks.
Keymaps
A keymap is a keyboard navigation style for moving through the editor, menus, file explorer, and more. Vix™ ships fourteen keymaps — Apple, VSCode macOS, VSCode Windows, Emacs, Vi, Spacemacs, IntelliJ macOS, IntelliJ Windows, Eclipse, Sublime, Zed, Fresh, ttt, and Helix — and exactly one is active at a time.
Status: Shipped. The choice persists in the keymap setting (default
apple).
Choosing a Keymap
Open View → Keymap… to pick the active keymap. The options are:
| Title | Tooltip | Example: open file chooser | Example: quit |
|---|---|---|---|
| Apple | Apple controls | Control-O | Control-Q |
| VSCode macOS | VS Code (macOS) bindings | Control-P (Quick Open) | Control-Q |
| VSCode Windows | VS Code (Windows) bindings | Control-P (Quick Open) | Control-Q |
| Emacs | Emacs chords | Control-X Control-F | Control-X Control-C |
| Vi | Vi modes | :Ex | :q! |
| Spacemacs | Vi modes + Space leader | SPC f f | SPC q q |
| IntelliJ macOS | IntelliJ (macOS) | Control-Shift-O (Go to File) | Control-Q |
| IntelliJ Windows | IntelliJ (Windows) | Control-Shift-N (Go to File) | Control-Q |
| Eclipse | Eclipse (Windows) | Control-Shift-R (Open Resource) | Control-Q |
| Sublime | Sublime bindings | Control-P (Goto Anything) | — |
| Zed | Zed bindings | Control-P (file finder) | Control-Q |
| Fresh | Fresh bindings | Control-P (Quick Open) | Control-Q |
| ttt | ttt bindings | Control-K P (Quick Open) | Control-Q |
| Helix | Helix modes | Space f | :q! |
Your selection is saved to the keymap setting, so it persists across sessions.
On macOS the Command key drives whatever Control drives, in every keymap —
Vix folds the modifier before dispatch. The terminal has to forward the
shortcut for that to happen; see ../keybindings/index.md.
IntelliJ
Two keymaps mirror IntelliJ’s defaults (macOS uses Control in place of
Cmd). Common bindings: Ctrl+F/Ctrl+R find/replace, Ctrl+Shift+F/R
in-project, Ctrl+Shift+A find action, Ctrl+B go to declaration, Ctrl+D
duplicate line, Ctrl+/ comment, Ctrl+Alt+L reformat, Ctrl+Alt+O go to
symbol. The platforms differ on a few: macOS uses Ctrl+O/Ctrl+Shift+O (go
to class/file), Ctrl+L (go to line), Ctrl+, (settings); Windows uses
Ctrl+N/Ctrl+Shift+N (go to class/file), Ctrl+G (go to line), Ctrl+Y
(delete line). Editing chords (Ctrl+Z/X/C/V/A) are the editor’s own.
Eclipse
Mirrors Eclipse’s Windows defaults: Ctrl+Shift+R open resource, Ctrl+Shift+T
open type, Ctrl+O quick outline, Ctrl+L go to line, Ctrl+K/Ctrl+Shift+K
find next/previous, Ctrl+H search, Ctrl+D delete line, Ctrl+/ comment,
Ctrl+Shift+F format, Ctrl+3 quick access (palette), Ctrl+Y redo, Alt+/
word completion, F3 open declaration.
Spacemacs
The Spacemacs keymap is the Vi modal model — the same Normal-mode
vocabulary as the Vi keymap (hjkl, w/b, gg/G, dd/yy/p, u,
/ + n/N, %, i/a/o to insert, : command line) — plus a
Space leader in Normal mode
that opens menu-like command sequences. Press Space, then the keys for the
command; the status bar shows the pending sequence (SPC …).
| Sequence | Action |
|---|---|
SPC SPC | Command palette |
SPC f f | Open file |
SPC f r | Open recent |
SPC f s | Save |
SPC f p | Switch project |
SPC b n / b p / b d | Next / previous / close buffer |
SPC p p / p f / p t | Switch project / palette / file tree |
SPC g s / g g / g b | Git changes / status / blame |
SPC w / / w - / w d / w w | Split vertical / horizontal / unsplit / focus other |
SPC s s / s p | Find / search workspace |
SPC t n / t w | Toggle line numbers / whitespace |
SPC ; | Toggle comment |
SPC q q | Quit |
Esc cancels a pending leader sequence; an unknown sequence is reported in the
status bar.
What Each Keymap Does Today
The bindings below are exactly what Vix dispatches today. Menu mnemonics (Alt+…)
and the function keys (F1, F3, F10, F12) work in every keymap.
Apple (default)
Modifier shortcuts in the style of macOS and Windows — for example, Ctrl-C for
Copy, and Ctrl-D for forward delete (the character to the right of the
cursor), as in every macOS text field. Apple is not modal. See
../keybindings/index.md for the full list.
VSCode macOS
VS Code’s signature shortcuts (with Ctrl standing in for Cmd):
Ctrl+PQuick Open (open file by name),Ctrl+Shift+PCommand Palette.Ctrl+Shift+OGo to Symbol,Ctrl+Tworkspace symbol,Ctrl+GGo to Line.Ctrl+Btoggle the sidebar,Ctrl+Shift+Efocus the explorer,Ctrl+Jtoggle the bottom panel,Ctrl+`the terminal,Ctrl+Shift+MProblems.Ctrl+\split the editor;Ctrl+]/Ctrl+Shift+\jump to the matching bracket.- The familiar editing chords:
Ctrl+Ssave,Ctrl+Wclose,Ctrl+Ffind,Ctrl+Shift+Ffind in workspace,Ctrl+/comment,Ctrl+Rreplace,Ctrl+Shift+Kdelete line,Ctrl+Shift+Lselect all occurrences.
Emacs
Chorded commands with a Ctrl+X prefix and Meta (Alt) bindings:
Ctrl+X Ctrl+Fopen,Ctrl+X Ctrl+Ssave,Ctrl+X Ctrl+Cquit,Ctrl+X kclose,Ctrl+X bswitch buffer.- Windows:
Ctrl+X 2/Ctrl+X 3split,Ctrl+X 1/Ctrl+X 0unsplit,Ctrl+X oother pane. The which-key popup lists chords whileC-xpends. - Motion:
Ctrl+F/Ctrl+B(character),Alt+F/Alt+B(word),Ctrl+N/Ctrl+P(line),Ctrl+A/Ctrl+E(line ends),Ctrl+V/Alt+V(page),Alt+</Alt+>(buffer ends). - Kill ring:
Ctrl+Wkill,Alt+Wsave,Ctrl+Yyank,Ctrl+Kkill line. Alt+Xcommand palette (M-x),Ctrl+T/Alt+Ttranspose,Ctrl+/undo,Ctrl+Ddelete,Ctrl+Sfind,Ctrl+Gcancel.
Vi
Modal editing:
- Normal mode:
h/j/k/l,w/bwords,0/^/$,gg/Gfile ends,x,dd/yy/pcut/copy/paste line,uundo,/+n/Nsearch,%matching bracket, andi/a/I/A/o/O(which enter Insert mode). - Insert mode:
Escreturns to Normal mode. - Command line:
:w,:q,:q!,:wq/:x,:N(go to line),:e [path],:Ex.
The status bar shows -- NORMAL --, -- INSERT --, or the : command line,
followed by any count or operator you’ve typed so far (-- NORMAL -- 2d3).
Sublime
Sublime’s signature shortcuts (with Ctrl standing in for Cmd):
Ctrl+PGoto Anything (file finder),Ctrl+Shift+PCommand Palette,Ctrl+RGoto Symbol,Ctrl+GGoto Line.Ctrl+Dselect all occurrences of the word (Sublime’s add-next-occurrence, all at once),Ctrl+Lexpand selection to line,Ctrl+Jjoin lines,Ctrl+Mjump to the matching bracket.Ctrl+Shift+Dduplicate line,Ctrl+Shift+Kdelete line,Ctrl+/comment.Ctrl+Ffind,Ctrl+Hreplace,Ctrl+Shift+Ffind in files.Ctrl+Bbuild (runs the test suite),Ctrl+`the console (terminal).Ctrl+S/Ctrl+Shift+S/Ctrl+W/Ctrl+Shift+Tsave / save as / close / reopen closed.
Zed
Zed’s default Linux shortcuts (on macOS Zed uses Cmd where Linux uses
Ctrl; here Ctrl stands in for both):
-
Ctrl+P(orCtrl+E) file finder,Ctrl+Shift+PCommand Palette. -
Ctrl+Shift+Ooutline (symbols in this file),Ctrl+Tproject symbols,Ctrl+Ggo to line. -
Ctrl+Dselect the next occurrence,Ctrl+Shift+Lselect all occurrences,Ctrl+Lselect line,Ctrl+Mjump to the enclosing bracket. -
Ctrl+Shift+Dduplicate line,Ctrl+Shift+Kdelete line,Ctrl+/comment. -
Ctrl+Ffind,Ctrl+Hreplace,Ctrl+Shift+Fproject search. -
Ctrl+.code actions,Ctrl+Shift+Mdiagnostics. -
Alt+Up/Alt+Downmove the line,Alt+./Alt+,next / previous Git change. -
Ctrl+Bleft dock (the file explorer),Ctrl+Shift+Efocus the explorer,Ctrl+Jbottom dock,Ctrl+`terminal,Ctrl+Shift+GGit panel,Ctrl+,settings. -
Ctrl+N/Ctrl+S/Ctrl+Shift+S/Ctrl+W/Ctrl+Shift+W/Ctrl+Shift+T/Ctrl+Qnew / save / save as / close / close all / reopen closed / quit. -
Ctrl+Kthen:Ctrl+Ltoggle fold,Ctrl+0fold all,Ctrl+Junfold all,Ctrl+Ccomment,Ctrl+Skeyboard shortcuts,Ctrl+Wclose all,Ctrl+Zsoft wrap,Ctrl+Oopen a path,VMarkdown preview.
Zed’s other Ctrl+K chords (the theme picker, pane splits with the arrow
keys, Ctrl+K Ctrl+[/Ctrl+] recursive folds) are not bound yet.
Fresh
The default keymap of Fresh, a terminal editor with GUI-style keys:
Ctrl+PQuick Open (the file finder),Ctrl+Oopen a file by path,Ctrl+Nnew,Ctrl+Ssave,Ctrl+Qquit.Ctrl+Efocus the file explorer,Ctrl+Btoggle it.Ctrl+Ffind,Ctrl+Rreplace,Ctrl+Shift+Nfind previous,Ctrl+Ggo to line,Ctrl+]jump to the matching bracket.Ctrl+Dadd a cursor at the next match,Ctrl+Lselect line,Ctrl+Wselect word,Ctrl+Ttranspose characters,Ctrl+/comment.Ctrl+Kcut to the end of the line,Ctrl+Hdelete the word before the cursor.Alt+Up/Alt+Downmove the line,Alt+Left/Alt+Rightgo back / forward,Alt+.code actions,Alt+/project search.
Fresh’s Quick Open also runs commands after a >; in Vix, use the command
palette.
ttt
The default keybindings of ttt, a
terminal editor with GUI-style keys. ttt groups many commands under two-key
chords: press Ctrl+K or Ctrl+L, release, then press the letter.
Ctrl+Pcommand palette,Ctrl+Nnew,Ctrl+Ssave,Ctrl+Wclose,Ctrl+Qquit.Ctrl+Btoggle the sidebar (file explorer),Ctrl+0focus it,Ctrl+Tterminal.Ctrl+Ffind,Ctrl+Rreplace,Ctrl+Ggo to line,Ctrl+Dselect the next match,Ctrl+/comment,Ctrl+Ucomplete,Ctrl+.code actions.Alt+./Alt+,next / previous tab,Alt+Up/Alt+Downmove the line.Ctrl+Kthen:PQuick Open,Ssave as,Eexplorer,Fproject search,Rproject replace,CGit changes,Tterminal,Ihover,Lselect all matches,Kdelete line,Jjoin lines,Osort lines,Mmatching bracket,Bbottom panel,Ykeyboard shortcuts,,settings,[toggle fold,0fold all,9unfold all.Ctrl+L(language) then:Fformat,Rreferences,Igo to implementation,Tgo to type definition,Oorganize imports.
Their Alt+letter keys are left out, because in every Vix keymap
Alt+letter opens a menu. An unbound second key ends a chord and is not
typed. While a chord is
pending, the status bar shows C-k- (or C-l-) and the which-key popup lists
the second keys.
Helix
Selection-first modal editing, as in Helix: in Normal mode a motion selects, then an action acts on the selection. With nothing selected, an action acts on the character under the cursor.
- Select:
w/b/e(andW/B/Eover runs of non-whitespace) select to the next word start / previous word start / word end;f/t/F/T+ a character select to it on the line;xselects the line (press again to add the next line);%selects everything.h/j/k/lmove and drop the selection. - Act:
ddelete,cchange (delete, then Insert mode),yyank,p/Ppaste after / before,r+ a character replace each selected character,~switch case,>/<indent / outdent,Jjoin lines,u/Uundo / redo. - Selections:
vtoggles Select mode, where motions extend the selection;;collapses it;,drops extra cursors;Cadds a cursor on the line below;sselects regex matches inside the selection;*jumps to the next occurrence of the selection. - Several selections: with more than one selection (after
Cors), the motions (w/b/e,W/B/E,f/t/F/T,x,h/j/k/l) move every one, andd,c(then typing at every cursor),r,~,>/<,p/Pand.act on every one, each as one undo step.ycopies them all into the one register, joined by newlines in buffer order; pasting into the same number of selections puts one line back at each. The goto keys,J,I/A,o/O,*and search still act on the primary selection only. - Insert:
i/abefore / after the selection,I/Aat the line start / end,o/Oa new line below / above;Escreturns to Normal. - Counts: a number before a command repeats it:
3wselects the third word (v3weverything through it),2xtwo lines,5jmoves down five,3fxfinds the thirdx,2ppastes twice,10gggoes to line 10. - Repeat:
.repeats the last change on the current selection:d,cwith what you typed,i/awith what you typed,r,~,>/<, andp/P.3.repeats it three times. - Goto (
g):gg/gefile start / end,gh/gl/gsline start / end / first non-blank,gddefinition,gDdeclaration,gytype definition,giimplementation,grreferences,gn/gpnext / previous buffer;mmmatching bracket. - Space leader:
Space ffile picker,Space bbuffers,Space s/Space Ssymbols / workspace symbols,Space /global search,Space khover,Space rrename,Space acode action,Space ddiagnostics,Space p/Space P/Space ypaste / yank,Space ?command palette. The which-key popup lists the keys afterg,m, orSpace. - Command line and search:
:w,:q,:q!,:wq/:x,:N, plus Helix’s:write,:quit,:write-quit, and:o path/:open path(bare:oopens the file picker);/and?find,n/Nnext / previous.
The status bar shows -- NORMAL --, -- INSERT --, -- SELECT --, or the
: command line.
Not yet: named registers (yank and paste use the one clipboard, so several
selections share one register value); match mode beyond mm;
view mode (z), window mode (Ctrl+w), the jump list, macros, Alt-.,
and jump labels; reverse search with ?; and the block cursor.
Not Yet Built
The following are described in the broader keymap philosophy but are not implemented:
- Vi counts (
3w,2dd), text objects (diw), registers, and visual mode. - Emacs
Ctrl+Spacemark/region commands (useShift+motion to select).
Background
The keymaps treat the keyboard differently: as a way to trigger system actions (Apple, and the VS Code variant), as a language for text manipulation (Vi), or as a layered set of chords for executing functions (Emacs).
| Feature | Apple (macOS) | Vi | Emacs |
|---|---|---|---|
| Logic | System commands & UI focus | Modal “language” (verb + noun) | Layered modifiers & chords |
| Primary keys | Command (⌘) + Tab | Home row (h, j, k, l) | Control (⌃) + Meta (⌥) |
| Philosophy | Universal accessibility | Speed and home-row efficiency | Everything is a function |
Vix™ and Vix IDE™ are trademarks.
EditorConfig
Vix™ reads EditorConfig files so a project can pin its
indentation and on-save normalization regardless of each contributor’s global
settings. Support is on by default; set editorconfig = false in your config to
turn it off.
What is applied
When you open a file, Vix walks up from its directory collecting .editorconfig
files (stopping at one whose preamble sets root = true) and applies the matching
properties:
| Property | Effect in Vix |
|---|---|
indent_style | Tab inserts a tab (tab) or spaces (space) |
indent_size / tab_width | Number of spaces per indent (when style is space) |
trim_trailing_whitespace | Strip trailing whitespace on save |
insert_final_newline | Ensure a final newline on save |
The indent is applied to the buffer when it opens; the trim / final-newline rules
are applied per file when it is saved, overriding the global
trim_trailing_whitespace / ensure_final_newline settings.
Precedence
Properties from a .editorconfig nearer the file win over those farther up
the tree, and within one file a later matching [section] wins. Section globs
support the common forms (*, **, ?, [...], {a,b} and extension lists like
*.{js,ts}).
Example
# .editorconfig at the project root
root = true
[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
[*.{js,ts}]
indent_size = 2
[Makefile]
indent_style = tab
See the specification at crates/vix-editorconfig/spec/index.md. EditorConfig and editor
modelines cover similar ground; EditorConfig is
project-wide, modelines are per-file directives.
Vix™ and Vix IDE™ are trademarks.
Modelines
A modeline is a comment in a file that sets how that file is edited: its indentation, its wrap column, whether it ends with a newline. Vix™ reads Vim modelines and Emacs file variables, so files that already carry them for Vim or Emacs users work the same way in Vix.
# vim: set et sw=4 tw=79:
/* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8 -*- */
A modeline wins over the file’s .editorconfig,
which wins over your settings.
What Vix reads
| Setting | Vim | Emacs |
|---|---|---|
| Indent with a tab, or with spaces | noet / noexpandtab, et / expandtab | indent-tabs-mode: t / nil |
| Indent size | sw=N / shiftwidth=N | c-basic-offset: N, python-indent-offset: N, js-indent-level: N, … |
| Tab width | ts=N / tabstop=N | tab-width: N |
| Wrap column for Wrap Text | tw=N / textwidth=N | fill-column: N |
| Soft wrap | wrap, nowrap | truncate-lines: nil / t |
| End the file with a newline on save | eol, fixeol, and noeol, nofixeol | require-final-newline: t / nil |
Everything else in a modeline is ignored. That is deliberate: a file can set
its own layout, but it cannot make Vix run anything or change any other
setting. A file type (ft=, mode:) is ignored too; Vix picks the language
from the file name.
Where Vix looks
-
Vim modelines in the first and last five lines of the file:
vim:,vi:orex:at the start of a line or after a space. Both forms work:vim: set ts=4 sw=4:andvim: ts=4 sw=4. -
An Emacs
-*- … -*-line, as the first line of the file, or the second after a#!line. -
An Emacs
Local Variables:block near the end of the file:# Local Variables: # fill-column: 72 # End:
When a file has both, the Emacs settings win. Among Vim modelines, as in Vim, a later one wins.
Turning it off
The modeline_lines setting is how many lines at each end of a file Vix
searches. 0 turns modelines off:
modeline_lines = 0
Vix™ and Vix IDE™ are trademarks.
Internationalization (i18n)
The whole Vix™ UI is translatable. Translations are powered by
rust-i18n: user-facing text is looked up
at render time with the t! macro, so switching language re-renders everything
immediately.
Bundled languages
| Code | Language | Endonym | Code | Language | Endonym |
|---|---|---|---|---|---|
en | English | English | pl | Polish | Polski |
es | Spanish | Español | pt | Portuguese | Português |
fr | French | Français | ru | Russian | Русский |
de | German | Deutsch | ar | Arabic | العربية |
cy | Welsh | Cymraeg | hi | Hindi | हिन्दी |
ga | Irish | Gaeilge | bn | Bengali | বাংলা |
gd | Scottish Gaelic | Gàidhlig | zh | Chinese | 中文 |
ja | Japanese | 日本語 |
These fifteen are complete: every key in crates/vix-i18n/locales/*.yml
has a translation in each of them.
The language chooser also offers twelve more that are only started: Italian
(it), Korean (ko), Turkish (tr), Dutch (nl), Vietnamese (vi),
Indonesian (id), Thai (th), Persian (fa), Ukrainian (uk) and Greek
(el) translate the top-level menu titles, and the two playful ones, Klingon
(tlh) and Sindarin (sjn), a handful of keys more. The list itself is
vix_locale_model::LOCALES.
English is the fallback: any key missing from another language renders its
English text, so a partially-translated language still works everywhere.
Filling one in is YAML-only (see below). Right-to-left
scripts (e.g. Arabic) are reordered into visual order after each frame is drawn
(UAX #9), controlled by the bidi setting: "auto" (default; on when the UI
language is right-to-left), "on", or "off". Turn it off if your terminal
already reorders bidirectional text itself, otherwise the text is reversed twice.
With a right-to-left language the layout is mirrored too (mirror_layout:
"auto" default, "on", "off"): the explorer moves to the right, the message
drawer and other docks to the left, and the editor’s scroll bar to the left.
Mouse dragging to resize a dock follows the mirrored edges. The menu bar
mirrors too: the first menu is rightmost, dropdowns line up with their title’s
right edge, submenus open to the left, and the dock toggles move to the left
edge. In the explorer, the menu dropdowns, the messages dock and the bottom dock,
text is right-aligned and tree indentation grows from the right. The status bar
swaps its two halves, and the tab strip sits against the right edge (clicks follow
the drawing). The dialogs right-align their text too; the Find box and Calculator move
their recorded button rectangles with the drawing, and the info box and
Pomodoro dialog are centred, so clicks always land on what is drawn.
Choosing a language
Three ways, in increasing precedence:
- Setting — the
localekey in the config file (see configuration.md). - In-app — View → Locale… (↑↓ to preview live, Enter to apply and save, Esc to cancel). Languages are listed by their endonym.
- CLI —
vix --locale froverrides both for one run, without saving.
At startup main resolves the locale (--locale → locale setting → default
en) and calls rust_i18n::set_locale before building the UI, so even the
welcome messages appear in the chosen language.
How it works in the code
crates/vix-i18n/src/lib.rsinitializes the catalog once, but not viarust_i18n::i18n!— that macro’s codegen builds every locale eagerly, sobuild.rsmergeslocales/at build time and splits it per locale, andlib.rsparses each locale’s blob lazily, only when something actually asks for a translation in it (T517). Every other crate still reads throughvix_i18n::t!unchanged.- All translation strings live under
crates/vix-i18n/locales/, one file per key namespace (menu.yml,status.yml, …, T148) — rust-i18n merges every file in the directory into one table, each following its own “version 2” format (every language under each dotted key). - Data-only crates (menus, command palette, theme names, keyboard help) store
i18n keys, not translated text; the host calls
t!(key)when rendering. - Interpolated values use
%{name}placeholders, e.g.status.saved: "Saved %{path}", called ast!("status.saved", path = …).
Adding or extending a language
No code changes are needed — edit YAML only.
-
Open the
locales/*.ymlfile for the key’s namespace (see “Key namespace” below) —crates/vix-i18n/locales/menu.ymlfor a menu label, and so on. -
For each key, add (or correct) your language line. Example:
menu.file: en: "File" es: "Archivo" fr: "Fichier" de: "Datei" cy: "Ffeil" it: "File" # add a new language here -
To make a new language selectable in View → Locale…, add it to
LOCALESin thelocale_modelmodule (code+ endonymname).
Because English is the fallback, you can translate incrementally: add the keys you have, and the rest stay in English until you fill them in.
Key namespace
Each namespace lives in the locales/*.yml file named for it, except a
handful of low-volume ones grouped into crates/vix-i18n/locales/misc.yml.
| Prefix | File | Used for |
|---|---|---|
menu.* | menu.yml | Menu names and items (keyed by action). |
action.* | action.yml | vix-action-catalog titles for menu-less actions. |
cmd.* | cmd.yml | Command-palette command labels. |
ui.* | ui.yml | Panel/overlay titles, hints, field labels, toggles. |
help.* | help.yml | Keyboard-shortcut descriptions. |
prompt.* | prompt.yml | Open/Save-as prompt titles. |
msg.* | msg.yml | Welcome and message-drawer / error text. |
status.* | status.yml | Status-bar messages. |
palette.*, agenda.*, blame.*, welcome.*, scratch.*, confirm.* | misc.yml | Command-palette chrome, Org agenda, git blame, first-run welcome, the scratch buffer, counted confirmations. |
See also
crates/vix-i18n/spec/index.md— the localization specification (source of truth).
Vix™ and Vix IDE™ are trademarks.
Counted messages
rust-i18n has no plural rules: a key is one fixed string whatever the number. English
gets away with item(s), but Arabic (six number categories), Russian and Polish (three
each) read wrongly at most counts when the number precedes the noun (%{n} wierszy is
right for 5, wrong for 1 and 2). So in ar, ru and pl a counted message is phrased
count-invariantly: a label, a colon, the number (Wiersze: %{n}, Строк: %{count},
الصفوف: %{count}). tui/tests/i18n_keys.rs keeps the list of counted keys
(COUNTED_KEYS) and fails if one of those three locales puts the count directly before a
noun (an abbreviation like elem. or a one/two-letter particle is fine). Add a new counted
key to that list. Welsh, Irish and Scottish Gaelic have several plural categories too; they
were not part of this change and still use the single English-shaped form.
Locales
Vix™ can show its user interface in many languages. This covers localization (l10n) and internationalization (i18n) of the UI text.
Status: Shipped. 27 languages are selectable today: English, Spanish, French,
German, Welsh, Irish, Scottish Gaelic, Polish, Portuguese, Russian, Arabic,
Hindi, Bengali, Chinese, Japanese, Italian, Korean, Turkish, Dutch, Vietnamese,
Indonesian, Thai, Persian, Ukrainian, Greek — plus the constructed languages
Klingon (tlh) and Sindarin (sjn).
Choosing a Language
Open View → Locale… to pick the active UI language. The change applies live — the interface re-renders in the selected language immediately.
Configuration
The selected language persists in the locale setting, so it applies the next
time you start Vix.
To override the saved language for a single run without persisting it, pass the
--locale flag at startup, for example:
vix --locale fr
Coverage and Fallback
Translation coverage varies. The first fifteen (English through Japanese in the table below) have every UI string translated; Italian, Korean, Turkish, Dutch, Vietnamese, Indonesian, Thai, Persian, Ukrainian and Greek have only a handful of keys so far, and Klingon and Sindarin a few more. Any key that is not translated for the active language falls back to English, so the interface is always fully usable.
Adding a Language
Adding a language is a matter of filling in its column across the locales/*.yml
files and listing it in locale_model. See also ../internationalization/index.md.
Available Languages
The list is LOCALES in crates/vix-locale-model, in this order.
| Code | Endonym | English equivalent |
|---|---|---|
| en | English | English |
| es | Español | Spanish |
| fr | Français | French |
| de | Deutsch | German |
| cy | Cymraeg | Welsh |
| ga | Gaeilge | Irish |
| gd | Gàidhlig | Scottish Gaelic |
| pl | Polski | Polish |
| pt | Português | Portuguese |
| ru | Русский | Russian |
| ar | العربية | Arabic |
| hi | हिन्दी | Hindi |
| bn | বাংলা | Bengali |
| zh | 中文 | Chinese |
| ja | 日本語 | Japanese |
| it | Italiano | Italian |
| ko | 한국어 | Korean |
| tr | Türkçe | Turkish |
| nl | Nederlands | Dutch |
| vi | Tiếng Việt | Vietnamese |
| id | Bahasa Indonesia | Indonesian |
| th | ไทย | Thai |
| fa | فارسی | Persian |
| uk | Українська | Ukrainian |
| el | Ελληνικά | Greek |
| tlh | tlhIngan Hol | Klingon (constructed) |
| sjn | Edhellen | Sindarin (constructed) |
Vix™ and Vix IDE™ are trademarks.
Switch Project
Jump between the projects you’ve recently worked on without quitting Vix™. File → Switch Project… (or the command palette) lists your recent workspaces; pick one and the editor re-roots there.
Using it
- Open File → Switch Project…. The list shows every workspace Vix has opened before (most recent first), except the current one.
↑/↓to choose,Enterto switch,Escto cancel.
When you switch, Vix:
- saves your current session (open files, cursors, scroll, split layout),
- reopens the chosen project exactly where you left it last time,
- rebuilds the file explorer and Git state, and restarts language servers for the new root.
Recent projects come from the same per-workspace session store described under session restore; each workspace you open is remembered automatically.
See the specification at crates/vix-workspace/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Tutorials
Hands-on lessons that take you from your first session to using Vix’s deeper features. Each one is a set of steps you do in Vix, mostly against the demo workspace that ships in the repository:
cd tui/examples/demo-workspace
vix .
Do the first three in order; after that, pick what you need.
The basics
- Your First Session: the file explorer, tabs, the command palette, the menu bar, the status bar and the docks.
- Editing Power Techniques: macros, snippets, text transforms and structural moves.
- Find & Replace and Multi-Cursor: searching one file or the whole workspace, and editing in many places at once.
Working on code
- Tutorial 4: The Git Workflow: diffs, staging hunks, committing, blame and the history graph.
- Tutorial 5: Setting Up LSP: language servers for diagnostics, completion, go to definition and rename.
- Tutorial 10: Debugging with DAP: breakpoints, stepping, watches and the REPL.
- Tutorial 11: Tasks, Tests and the Terminal: running project tasks and tests, and the integrated terminal.
Beyond the editor
- Tutorial 6: Org Mode & Roam: outlines, TODOs, the agenda, tables and linked notes.
- Tutorial 7: The DB Workbench: querying SQLite, PostgreSQL and MySQL.
- Tutorial 8: HTTP Client & Tools Suite:
.httprequests and the Tools menu. - Tutorial 14: AI and Agents: AI providers, the agent panel, reviewing AI edits, and the MCP server.
Mastering Vix
- Tutorial 9: Make Vix Yours: themes, keymaps, snippets and settings.
- Tutorial 13: Scripting with Rhai: adding your own commands and key bindings.
- Tutorial 12: Remote Editing: working on another machine over SSH or in a container.
- Tutorial 15: Large Files and Logs: opening huge files and staying responsive.
Coming from another editor? Start with Migrating from another editor.
Vix™ and Vix IDE™ are trademarks.
Tutorial 1: Your First Session
This is the first page of Vix’s tutorial series: a guided walkthrough of
opening Vix for the first time and getting oriented. If you haven’t
installed Vix yet, do that first — see
docs/getting-started/index.md. This
page assumes the binary is already on your PATH.
We’ll use the repository’s own demo workspace as the example project, so everything below is something you can actually type and see happen.
Open the demo workspace
Vix doesn’t have a “File → Open Folder…” menu item — the folder you launch
it from becomes the workspace root. So to open a folder, cd into it
first:
git clone https://github.com/vixide/vix.git
cd vix/examples/demo-workspace
vix
Take a look at tui/examples/demo-workspace/README.md
for what’s in this project — a tiny Rust binary, a Python script, some
Markdown notes, and a couple of data files. We’ll open several of these as
we go.
If this is the very first time Vix has run anywhere on your machine, it
opens a scrollable welcome overlay before anything else. Press Esc to
dismiss it — it won’t appear automatically again, but you can always
reopen it from Help → Welcome…. See
docs/welcome-panel/index.md.
Everything below shows the default Apple keymap. Vix ships nine other
keymaps (VS Code, Emacs, Vim, Spacemacs, IntelliJ, Eclipse, Sublime, Zed, Fresh, ttt, Helix,
…) — switch under View → Keymap, and see
docs/keymaps/index.md. Whichever keymap you
use, every action in this tutorial is also reachable from its menu or the
command palette, so nothing here is keymap-specific in spirit, only in
which key you press.
The file explorer
The left dock is Vix’s file explorer — a directory tree rooted at your
workspace. If you don’t see it, press Ctrl+B to show it; press it
again to hide it. Ctrl+E jumps focus between the explorer and the
editor without closing either.
With the explorer focused:
↑/↓move the selection.→orEnteropens a file, or expands a directory.←collapses an expanded directory, or steps up to its parent.
Move the selection down to rust-app/, press → to expand it, then drill
into tui/src/ the same way until you reach main.rs. Notice that as you
move the selection with the arrow keys, Vix opens each highlighted file in
a preview tab automatically — a lightweight, throwaway tab that the
next file you preview simply replaces, so browsing the tree doesn’t pile
up tabs. Press Enter on main.rs to commit to it: that promotes the
preview into a real, permanent tab and moves focus into the editor.
Full detail — multi-select, cut/copy/paste, delete-to-trash, and more —
lives in docs/file-explorer/index.md.
Reading and editing a file
You should now be looking at
tui/examples/demo-workspace/rust-app/src/main.rs, a small word-frequency
counter. Scroll to the bottom of main() and you’ll find two comments:
#![allow(unused)]
fn main() {
// TODO: report the total word count too, not just the per-word breakdown.
// FIXME: word_counts lowercases nothing, so "The" and "the" count separately.
}
That’s deliberate — the demo workspace ships a few real TODO/FIXME markers
for tutorials to use as targets. Click anywhere on the FIXME line, or
move the cursor there with the arrow keys, and type a few characters —
anything you like, this is just to see editing happen. Look at the bottom
of the window: the status bar now shows a small dirty-buffer glyph next to
the file path, meaning there are unsaved changes.
Undo your edit with Ctrl+Z (redo is Ctrl+Shift+Z) — these two
are wired the same in every keymap, so they never change no matter which
one you’re using.
Saving
Press Ctrl+S to save (File → Save). The dirty glyph in the
status bar clears once the write succeeds. Ctrl+Shift+S is Save As,
for writing the buffer out under a different name or location.
Working with multiple tabs
Let’s open a few more of the demo files. Switch focus back to the
explorer (Ctrl+E), navigate to scripts/hello.py, and press
Enter. Do the same for notes.md and data/sample.csv. Each opens in
its own tab across the top of the editor pane.
Ctrl+Tabmoves to the next tab;Ctrl+Shift+Tabmoves to the previous one. Both work the same in every keymap.Ctrl+Wcloses the active tab (File → Close).Ctrl+Shift+Treopens the most recently closed tab, if you close one by mistake (File → Reopen Closed Tab).Ctrl+Shift+Oopens a chooser of recently opened files (File → Open Recent…), handy once you’ve closed a few tabs.
With notes.md active, try Tools → Markdown Preview — a read-only,
formatted view of the file, scrolled to wherever your cursor was. Press
Esc or q to close it and return to editing. See
docs/markdown-preview/index.md.
The command palette
Ctrl+P opens the command palette — the fastest way into almost
anything in Vix, including things with no keybinding at all. With no
prefix it fuzzy-finds files, so from anywhere you can type hello and
press Enter to jump straight to scripts/hello.py, no matter which tab
is currently active.
A few more things worth trying right now, still inside the demo workspace:
main.rs:20— openstui/examples/demo-workspace/rust-app/src/main.rsat line 20 (append:<col>too, if you want a specific column).>save— type>to switch into command mode, then search commands by name instead of remembering a keybinding.@word_counts— withmain.rsfocused, type@to fuzzy-jump to a declaration in the current file;word_countsjumps straight to that function.#notes— type#to switch between open buffers by name.:15— type:and a line number to preview and jump within the current file as you type.
The full prefix table and matching rules are in
docs/command-palette/index.md.
The menu bar
Everything reachable by keybinding or palette is also on the menu bar along the top of the window: Vix · File · Edit · View · Go · Run · AI · DB · JJ · Git · Org · Project · Tools · Help.
Press F10 to open the bar, or jump straight into one menu with its
Alt mnemonic — Alt+F for File, Alt+E for Edit, Alt+T for
Tools, and so on. Once a menu is open, arrow keys navigate, Enter
runs the highlighted item, and Esc closes it. An item marked ▸ opens
a one-level submenu with → or a click.
Try it: press Alt+F to open File, and look at the shape of the
items — New, Open…, Save, Save As…, each with its
keybinding right-aligned next to it. That’s the same layout every menu
uses. The complete menu map, including every submenu, lives in
docs/menus/index.md.
A basic find
With tui/examples/demo-workspace/rust-app/src/main.rs focused, press
Ctrl+F to open the find box and type FIXME. Press Enter to
jump to the match; Ctrl+G (or F3) repeats the search forward,
Ctrl+Shift+G (or Shift+F3) repeats it backward. Esc closes
the box.
That’s the basic case — searching one open file. Find-and-replace,
interactive query-replace, and workspace-wide search across every file in
tui/examples/demo-workspace/ all build on the same box and get their own
tutorial (02-editing-power-techniques). For the full reference now, see
docs/find/index.md.
A tour of the status bar
The band across the very bottom of the window is the status bar. Toggle it
with View → Layout → Bottom Status. With
tui/examples/demo-workspace/rust-app/src/main.rs open and a change unsaved,
it reads roughly:
rust-app/src/main.rs ● — Saved Rust LF UTF-8 Ln 20:Col 9
From left to right:
- the active file path, with a small dirty-buffer glyph (
●) when there are unsaved changes; - the latest status message, after an em-dash;
- if the workspace is a git repository, the current branch name — clicking it opens the Git Changes panel;
- on the right, the buffer’s language, line ending (LF/CRLF),
encoding, the selection size when text is selected, and the
cursor position as
Ln <line>:Col <col>; - a small calendar icon at the far right.
Full detail is in docs/status-panel/index.md.
A tour of the docks
You’ve already met the left dock (the file explorer). Two more panes frame the editor:
- The right dock is a message drawer — dismissable advice and
notifications. Toggle it from View → Layout → Right Dock. See
docs/right-dock/index.md. - The bottom dock is a scrollable strip for command output, search
results, and similar text-heavy views — it stays empty and hidden until
something needs it, such as running a task or a workspace-wide search.
Toggle it from View → Layout → Bottom Dock. See
docs/bottom-dock/index.md.
Try the bottom dock now: press Ctrl+Shift+F to search the whole
workspace and type TODO — matches from
tui/examples/demo-workspace/rust-app/src/main.rs, scripts/hello.py, and
notes.md all stream into the bottom dock at once, each with its file and
line number.
Quitting
Ctrl+Q (Vix → Quit) exits Vix. If any buffer has unsaved
changes, Vix asks before discarding it — so it’s safe to press even if
you forgot to save something above.
Next
That covers first-session orientation: opening a workspace, moving around the explorer and tabs, the palette, the menu bar, a basic find, and what the status bar and docks are telling you. Multi-cursor editing, structural replace, and the rest of Vix’s editing toolkit are next, in Tutorial 2: Editing Power Techniques.
Vix™ and Vix IDE™ are trademarks.
Tutorial 2: Editing Power Techniques
Basic typing gets text in. This tutorial covers the techniques that make Vix fast once you’re past that: keyboard macros, snippets, text transforms (case, align, sort/dedupe, increment, transpose, wrap), surround, and rectangular (column) selection.
This tutorial does not cover multiple simultaneous cursors or find & replace — those are Tutorial 3: Find & Replace and Multi-Cursor’s subject. Where a technique below overlaps with multi-cursor editing (column select does, under the hood), this page only goes as far as using it.
Setup
Open the demo workspace at the repo root and use it for every example below:
vix tui/examples/demo-workspace
See tui/examples/demo-workspace/README.md for what’s in it. This tutorial uses
tui/examples/demo-workspace/rust-app/src/main.rs (from here on, just
main.rs), scripts/hello.py, and data/sample.csv.
Keyboard macros
A macro is a recorded sequence of editor keys you can replay anywhere the cursor happens to be — good for a small edit you need to repeat a few times in slightly different spots, where find & replace doesn’t apply because the text around each spot differs.
Open main.rs and look at its last two lines of comments:
#![allow(unused)]
fn main() {
// TODO: report the total word count too, not just the per-word breakdown.
// FIXME: word_counts lowercases nothing, so "The" and "the" count separately.
}
Tag both with a reviewer note:
- Click right before
TODO(just after//). - Edit → Macro → Record (
macro.record) — starts recording. - Type
REVIEW:. - Edit → Macro → Record again — stops recording.
- Click right before
FIXMEon the next line. - Edit → Macro → Play (
macro.play) — replays the typed text at the new cursor position.
Both lines now read // REVIEW: TODO: … and // REVIEW: FIXME: …. Since
playback is just “the same keys, wherever the cursor is now,” it works
equally well if you next jump to scripts/hello.py’s own TODO/FIXME
pair and play it there too.
To keep a macro past this session, Edit → Macro → Save… (macro.save)
prompts for a name and writes it to macros.toml in your config directory;
Edit → Macro → Play Saved… (macro.play_saved) opens a chooser of
everything you’ve saved. Saved macros are plain TOML you can hand-edit:
[[macro]]
name = "review-tag"
keys = ["R", "E", "V", "I", "E", "W", ":", "Space"]
Full reference (the key-token format, storage details): docs/macros/index.md.
Spec: crates/vix-macros/spec/index.md.
Snippets
A snippet is reusable text with tabstops — fields you Tab between, inserted either from a searchable picker or by typing a short prefix.
Turn existing code into a snippet
main.rs has a line worth reusing:
#![allow(unused)]
fn main() {
println!("{word}: {count}");
}
- Select that line.
- Tools → New Snippet from Selection… (
tools.snippet_new_from_selection). - Type a prefix at the prompt, e.g.
pln— this becomes both the snippet’s name and its expansion prefix.
The selection is now saved to your global snippets file
(~/.config/vix/global/snippets/snippets.json). Anywhere afterward — in this
file, in scripts/hello.py, anywhere — typing pln then Tab expands
back to println!("{word}: {count}"); with the cursor ready to edit it.
(With nothing selected, New Snippet from Selection… is a no-op — there’s
a status message rather than a prompt.)
The picker
Tools → Snippets… (tools.snippets) lists every snippet in scope for
the active buffer’s media type — type to filter by name, prefix, or
description; Enter inserts it. This is the same list pln-then-Tab
draws from, just browsable instead of typed from memory.
Tabstops
A snippet body can define fields visited in order on Tab, e.g.
${1:name} (pre-filled and selected) or $1 (empty), ending at $0. Vix’s
own bundled and project snippet files use this syntax; write your own in
<project>/config/snippets/snippets.json or per-media-type under
~/.config/vix/media-types/<type>/<subtype>/snippets/.
Full reference (file locations, scope merging, the complete tabstop syntax):
docs/snippets/index.md. Specs:
crates/vix-snippets/spec/index.md, crates/vix-snippet-tool/spec/index.md.
Text transforms
Vix has a set of small, focused text transforms — most live under Edit,
case conversion lives under Tools → Convert. None of these has a default
keybinding in any keymap; reach them from their menu or the command palette
(Ctrl+P, then > to search by command name).
Case conversion
Tools → Convert → Case turns the selection into one of seven cases.
Select the identifier word_counts in main.rs and try a few:
| Menu item | Action ID | word_counts becomes |
|---|---|---|
| Upper (FOO BAR) | edit.case_upper | WORD_COUNTS |
| Lower (foo bar) | edit.case_lower | word_counts |
| Title (Foo Bar) | edit.case_title | Word_Counts |
| Kebab (foo-bar) | edit.case_kebab | word-counts |
| Snake (foo_bar) | edit.case_snake | word_counts |
| Camel (fooBar) | edit.case_camel | wordCounts |
| Pascal (FooBar) | edit.case_pascal | WordCounts |
Undo (Ctrl+Z) before saving — this is a demo, not a rename.
Align on a delimiter
Edit → Align pads selected lines so each one’s first occurrence of a
delimiter lands in a common column. Open data/sample.csv and select the
four data rows (not the header):
Alice,engineer,92
Bob,designer,81
Carol,engineer,88
Dave,manager,75
Choose Edit → Align → On , (comma) (edit.align.comma):
Alice , engineer,92
Bob , designer,81
Carol , engineer,88
Dave , manager,75
Only the first comma on each line moved — everything after it is untouched,
which is the point: align is for tidying the one column you’re looking at,
not for reformatting a whole table (for that, see the CSV/TSV table editor
at Edit → Mode → Table, tools.edit_table). edit.align.equals / .colon
/ .pipe work the same way for =, :, and |.
Full reference: docs/align/index.md. Spec:
crates/vix-align/spec/index.md.
Sort, dedupe, and squeeze blank lines
Edit → Lines has a run of whole-line operations, applied to the selection or (with nothing selected) the whole buffer:
| Menu item | Action ID | Does |
|---|---|---|
| Sort | edit.sort_lines | Ascending, byte order |
| Sort Unique | edit.sort_unique | Sort, then drop duplicates |
| Shuffle | edit.shuffle | Random reorder |
| Reverse | edit.reverse_lines | Flip line order |
| Remove Duplicate Lines | edit.remove_duplicate_lines | Keep first occurrence of each |
| Squeeze Blank Lines | edit.squeeze_blank_lines | Collapse runs of blank lines to one |
| Trim Trailing Whitespace | edit.trim_trailing_whitespace | Strip trailing spaces per line |
Select the same four data/sample.csv rows again and try Reverse — Dave
moves to the top. Sort puts Alice back on top (the rows happen to
already be alphabetical by name, so Sort is a no-op there — a good
reminder that it sorts on the whole line, not a column; for column-aware
sorting use the table editor). Sort Unique and Remove Duplicate Lines
matter once there’s a duplicate — try them on a throwaway selection like:
engineer
designer
engineer
manager
Sort Unique → designer / engineer / manager. Remove Duplicate
Lines (which doesn’t also sort) → engineer / designer / manager,
i.e. the second engineer dropped, order otherwise kept.
Increment and decrement numbers
Edit → Increment Number (edit.increment_number) and Decrement
Number (edit.decrement_number) bump the next integer at or after the
cursor, on the current line, leaving the cursor on it — no selection needed.
Put the cursor anywhere before 92 on data/sample.csv’s Alice row and
run Increment Number three times: 92 → 95.
Transpose
Edit → Transpose swaps the text unit under the cursor with the one
before it, for six granularities: Chars, Words, Lines, Sentences,
Paragraphs, Sections (edit.transpose_chars / _words / _lines /
_sentences / _paragraphs / _sections). Put the cursor in lowercases
on main.rs’s FIXME line and run Edit → Transpose → Words:
// FIXME: word_counts lowercases nothing, …
becomes
// FIXME: lowercases word_counts nothing, …
Smart toggle
Toggle Value, directly under Edit (edit.toggle_value, no
submenu), flips the boolean-ish token at the cursor to its opposite:
true/false, yes/no, &&/||, ==/!=, case preserved. Type a
scratch line let ok = true;, put the cursor in true, and run it:
let ok = false;. It’s a no-op (with a status note) when there’s nothing
togglable under the cursor.
Wrap paragraph
Edit → Wrap (edit.wrap) hard-wraps text at the wrap_column setting
(80 by default — see docs/configuration/index.md).
With a selection, it wraps just that text; with none, it wraps the paragraph
around the cursor — the run of non-blank lines holding it — and keeps each
line’s indentation, shared comment marker, and any hanging bullet indent.
Put the cursor anywhere in scripts/hello.py’s module docstring and run it
to see the two lines re-flowed to the current wrap width; it’s a no-op (with
a status note) if the paragraph is already wrapped or the cursor isn’t in
one.
Everything above lives in crates/vix-textops/spec/index.md, applied by
App::transform_selection_or_buffer (whole selection/buffer) or
App::rewrite_at_cursor (cursor-relative).
Surround
Edit → Surround wraps the selection in a bracket or quote pair — or strips that pair if the selection is already wrapped, since each action toggles:
| Menu item | Action ID | Pair |
|---|---|---|
| ( Parentheses ) | edit.surround.paren | ( ) |
| [ Brackets ] | edit.surround.bracket | [ ] |
| { Braces } | edit.surround.brace | { } |
| < Angles > | edit.surround.angle | < > |
| “ Double Quotes “ | edit.surround.double_quote | " " |
| ’ Single Quotes ’ | edit.surround.single_quote | ' ' |
| ` Backticks ` | edit.surround.backtick | ` … ` |
Try it on main.rs: select the whole string literal
"the quick brown fox jumps over the lazy dog the fox runs" and run
Edit → Surround → ( Parentheses ): it gains an outer (…). Run the same
action again on the still-selected text and the parentheses come back off.
With nothing selected, Surround still runs: it inserts the empty pair at the
cursor with the cursor left between the two halves, ready to type. Undo
(Ctrl+Z) afterward — wrapping that particular literal in parentheses
doesn’t compile.
This is editor wiring around the pure vix-affix crate (add/drop/toggle
over a prefix/suffix pair) — full reference:
docs/affix/index.md. Spec:
crates/vix-affix/spec/index.md.
Column (rectangular) selection
Edit → Select → Column Select Up / Column Select Down
(edit.column_select_up / edit.column_select_down) extend a rectangular
selection one line at a time: a caret is added on the next line at the same
column as the current selection’s edge (clamped to that line’s length), and
every resulting caret edits together — type once and it types at every
caret in the block simultaneously.
Try it on the two comment lines in main.rs:
#![allow(unused)]
fn main() {
// TODO: report the total word count too, not just the per-word breakdown.
// FIXME: word_counts lowercases nothing, so "The" and "the" count separately.
}
- Click right before
TODO(same spot as the macro example above), with no selection. - Edit → Select → Column Select Down — adds a second caret on the next
line, at the same column: right before
FIXME. - Type
NOTE:.
Both lines gain the text at once:
#![allow(unused)]
fn main() {
// NOTE: TODO: report the total word count too, not just the per-word breakdown.
// NOTE: FIXME: word_counts lowercases nothing, so "The" and "the" count separately.
}
Under the hood, column select is one way of building a set of multiple cursors — the general mechanism, including adding carets freely and matching by selection, is Tutorial 3: Find & Replace and Multi-Cursor’s subject; this page only covers the up/down rectangle shown here.
Previous: Tutorial 1 — Your First Session Next: Tutorial 3 — Find & Replace and Multi-Cursor
Vix™ and Vix IDE™ are trademarks.
Tutorial 3: Find & Replace and Multi-Cursor
Tutorial 2 covered single-cursor editing moves. This one covers the two techniques that scale that editing up: finding and replacing text — in one buffer, or across an entire project — and driving several cursors at once so one keystroke changes several places at the same time.
Everything below runs against the demo workspace. If you don’t have it open already:
vix tui/examples/demo-workspace
The terse reference versions of this material live at
docs/find/index.md and
docs/multiple-cursors/index.md — this
page walks through the same features with worked examples against real
files, and links back to those pages for the full option tables.
1. The Find bar
Open tui/examples/demo-workspace/rust-app/src/main.rs (from here on, just
main.rs) and press Ctrl+F (Edit → Find → Find…).
Type counts — matches highlight as you type. Enter (or F3) jumps to the
next match, Shift+F3 to the previous one, and Esc closes the bar without
losing your place.
Four toggle buttons change how the query matches, each a click or an Alt
key:
| Toggle | Key | Effect |
|---|---|---|
| Case | Alt+C | Match case exactly |
| Smart case | Alt+S | Case-insensitive, until the query has an uppercase letter |
| Word | Alt+W | Whole words only |
| Regex | Alt+R | Treat the query as a regular expression |
Try Word: with the bar still open, clear the query and type word, then
press Alt+W. The standalone words scattered through the file (the loop
variable in for word in text.split_whitespace(), the {word} in the
println!, the one in the TODO comment, …) light up, but the two words
that are only the first half of word_counts — the function’s name — don’t:
a whole-word match needs a non-word character on both sides, and there
word is immediately followed by _, itself a word character. Turn
Alt+W back off and the same query also lights up both of those.
2. Replace and Replace All
Ctrl+R opens the same bar with Replace already on, and the cursor in
the new Replace field below the query — the same thing as pressing Alt+H
(Replace) in an open Find bar. Tab (or clicking a row) moves between
Find and Replace. Three buttons appear once Replace is on:
- Once — replace only the current match.
- Ask — replace with a confirmation prompt per match (the same
interactive flow as
Ctrl+Alt+R, see below). - All — replace every match at once.
Alt+Enterfrom either field does the same thing.
Regex mode adds capture groups to the replacement: $1, $2, or ${name}
for named groups, plus the escapes \n, \t, \r, \\. Try it on tabular
data — open data/sample.csv:
name,role,score
Alice,engineer,92
Bob,designer,81
Carol,engineer,88
Dave,manager,75
Open Ctrl+R, turn on Regex (Alt+R), and search for
(\w+),(\w+),(\d+) with replacement $3,$2,$1. Click All (or
Alt+Enter): every data row reorders to score,role,name — group 3 (the
score) first, group 2 (the role) unchanged in the middle, group 1 (the name)
last, so Alice,engineer,92 becomes 92,engineer,Alice. Undo (Ctrl+Z) to
put the file back before moving on.
3. Interactive query-replace
For a search where you want to look at each match before deciding, press
Ctrl+Alt+R (or run Query Replace from the command palette, Ctrl+P
then >Query Replace, or click Ask in an open Replace bar). Vix jumps to
each match and waits:
y— replace this match, move to the nextn— skip this match, move to the next!— replace this and every remaining match without asking againq— quit, leaving anything already replaced in place
Try it on notes.md: search for TODO, replace with DONE. There’s only
one real TODO: line in that file, so y once and q (or letting it run
out) is enough to see the flow before you move to the multi-file version
below.
4. Workspace search — every file at once
Ctrl+F is scoped to the current buffer by default. The In: button
(Alt+I) widens that scope without retyping anything — query, replacement,
and every toggle travel with it:
Buffer → Files → Workspace
- Files hands the search to the workspace search panel — a hit list, with replace-all.
- Workspace hands it to the bottom dock instead, as click-to-jump lines.
Ctrl+Shift+F (Search in Workspace) opens the Files panel directly,
without a buffer search first.
Try it: Ctrl+Shift+F, type FIXME, turn on Case (Alt+C) so it
doesn’t also match a stray lowercase fixme. Three hits come back, one in
each language the demo workspace uses: main.rs, scripts/hello.py, and
notes.md. Arrow keys move between hits, Enter
opens the selected one.
Tab switches to Replace mode, and adds two more fields you can cycle to
with Tab: Include path and Exclude path, each a regex matched
against each file’s workspace-relative path. Include \.py$ to search only
the Python file; exclude (^|/)target/ to skip a build directory — an
invalid, half-typed regex is treated as no constraint rather than hiding
everything.
Type a replacement and press Alt+Enter (or Enter from the Replace field):
instead of writing immediately, this opens a preview — every affected
file with its match count. Nothing is written until you confirm with y /
Enter; n / Esc cancels. That preview step is what makes a
workspace-wide rewrite safe to attempt: you see the blast radius before
committing to it.
Open buffers are searched and replaced in their current (possibly unsaved) state; everything else is read from disk. Files over 2 MB and binaries are skipped, and results cap at 5,000 hits.
The dock variant
Search in Workspace → Dock (from the command palette; it isn’t on the
menu, only Ctrl+Shift+F’s panel is) prompts for a term — Alt+C toggles
case, Alt+R toggles regex — then lists relpath:line:col: text lines in
the bottom dock, each click-to-jump. Handy when you want the hits to stay
visible in the dock alongside a terminal or test output, rather than taking
over a side panel.
5. Editable results (“wgrep”)
Rather than clicking through hits one at a time, you can edit the whole hit
list as text. With the Ctrl+Shift+F panel open on a real search (not a
static list like go-to-definition), press Alt+E: the hit list becomes
a genuine, editable buffer, one line per hit in path:line: text form. This
is a real tab — normal editing keys work directly on it, no overlay in the
way.
Search FIXME again to get the same three hits, Alt+E, and edit one
line’s text after its path:line: prefix — for example, change
main.rs:19: FIXME: word_counts lowercases nothing... to end with a note
you want to add. Ctrl+S previews a summary (“N edits in M files”) before
writing, then y / Enter applies it, writing each affected source file
back at the recorded position — not by line number, so lines you didn’t
touch are untouched. Delete a line instead of editing it to skip that hit
entirely, leaving its source alone; a line you type from scratch (not in
path:line: shape) is ignored, not misread as an edit.
6. Structural search & replace
Regex matches text. Structural replace matches shape, tolerating whitespace and formatting differences the way a regex can’t. Patterns use two kinds of holes:
$NAME— one token, or one whole bracketed group ((...),[...],{...}) when the next token opens one.$$NAME— a run of zero or more tokens (an argument list, a whole block body), never crossing an unmatched closing bracket.
Everything else in the pattern matches literally, ignoring formatting: a + b matches a+b and a + b alike. A replacement template uses the same
syntax, and each placeholder is substituted with the original source
text the hole captured — so replacing preserves whatever formatting that
piece already had.
Try it on the loop in main.rs:
#![allow(unused)]
fn main() {
for word in text.split_whitespace() {
*counts.entry(word).or_insert(0) += 1;
}
}
Run Edit → Structural Replace… (edit.structural_replace, no default
key — reachable from the menu or the command palette). It prompts for the
pattern first:
for $VAR in $$ITER { $$BODY }
then the replacement, reusing the captured pieces to add a debug line ahead of the original body:
for $VAR in $$ITER { println!("visiting: {}", $VAR); $$BODY }
Press Enter after the replacement and you land in the same y/n/!/q
step-through as interactive query-replace, above — y here rewrites the
loop to print each word before counting it, with $$BODY’s capture
(*counts.entry(word).or_insert(0) += 1;) copied through unchanged,
formatting and all. With an active selection when you accept the
replacement, only matches inside it are offered; otherwise the whole buffer
is searched.
Edit → Structural Replace in Workspace… (edit.structural_replace_workspace)
runs the same two-prompt sequence across every file under the workspace
root, and reuses the exact preview-and-confirm step from workspace
search-and-replace above — “N replaced in M files” before anything is
written. That for $VAR in $$ITER { $$BODY } pattern only matches Rust
syntax, so run it workspace-wide here and the preview reports exactly one
file (main.rs) even though the scan reads every file in the
project.
This is deliberately not a full-language parser: matching is
token/bracket-based (identifiers, numbers, quoted strings, bracket pairs,
operator runs), the same mechanism for every language Vix supports rather
than per-language grammar handling. See
crates/vix-structural-replace/spec/index.md
for the full pattern syntax and its documented limitations.
7. Multi-cursor editing
A primary cursor is always active; extra carets stack on top of it, and
typing, Backspace/Delete, and arrow keys apply to all of them at once, as
one undo step.
Add the next occurrence
Ctrl+D selects the word under the cursor; press it again to add the next
occurrence of that text as a new caret (repeat to keep collecting matches —
it wraps around the buffer). This is the editor widget’s own binding, so
it’s live in keymaps that leave Ctrl+D alone (VS Code, IntelliJ, …); the
default Apple keymap claims Ctrl+D for macOS forward-delete, so there
you add carets with Alt+click, or select every occurrence at once with
Edit → Select → Select All Occurrences (no default key).
Try the menu version on word_counts in main.rs: place the
cursor in either occurrence of the name (the call on line 9, or the
fn word_counts definition on line 22), then run Select All Occurrences.
Both spots get a selected caret — type count_words and both change
together. This is a purely textual rename (it would also touch a variable
that happened to share the name, in a way the LSP rename from tutorial 2, or
the structural replace above, would not) — useful for exactly this kind of
quick, unambiguous identifier, and a good contrast with those two more
structure-aware tools. Undo (Ctrl+Z) to put the name back.
Add carets by clicking
Alt+click drops an extra caret wherever you click; a plain click collapses
back to one cursor. Try it on data/sample.csv: Alt+click at the end of
the Alice,engineer,92 line, then Alt+click at the end of each remaining
row (Bob,...,81, Carol,...,88, Dave,...,75). Type ,active — every row
gains a new trailing column in one motion. Esc drops the extra carets and
keeps the primary; undo to put the file back.
Column (box) selection
Alt+Shift+↑ / Alt+Shift+↓ (also Edit → Select → Column Select
Up/Down) extend a vertical, rectangular selection one line at a time: a
caret is added on the next/previous line, spanning the same columns as the
current selection (or a bare caret with none), clamped to each line’s
length. Try it on the same CSV: put the cursor at the very start of the
Alice,... line (column 0), then press Alt+Shift+↓ three times to add a
caret at column 0 on each of the Bob/Carol/Dave lines too. Type - —
every row gets the same prefix at once, turning the four data rows into a
rough Markdown list. Undo when you’re done looking.
Everyday cleanup
Esc is the one to remember day to day: it drops every extra caret and
keeps the primary, wherever it currently is. Remove Multi-Cursor and
Remove All Multi-Cursors, plus Add Multi-Cursor Up / Add
Multi-Cursor Down for a bare caret directly above or below without a
column span, are also available from the command palette (no default key —
palette-only actions).
See docs/multiple-cursors/index.md for
the complete action list, and
crates/vix-editor-core/spec/index.md
for how multi-caret edits are implemented under the hood.
Previous: Tutorial 2 — Editing Power Techniques Next: Tutorial 4 — The Git Workflow
Tutorial 4: The Git Workflow
This tutorial walks through Vix’s git integration end to end: watching your working tree change live, reading a diff without leaving the editor, staging whole files or single hunks, discarding a change you don’t want, writing a real commit message, browsing history, switching branches, and resolving a merge conflict.
For the full reference (every action, every keybinding, every panel field),
see docs/git-panel/index.md. This tutorial is
example-driven — it walks you through doing each thing once, in order,
against real files.
Vix shells out to your own git CLI for every write, so your credential
helpers, SSH agents, and hooks behave exactly as they do on the command
line. Nothing below needs a remote — everything happens locally.
Two ways to practice
You can do this tutorial two ways. Pick whichever you’re more comfortable with, or do both:
-
In the vix repo you’re reading this from. It’s a real git repo, so the status dock, diff gutter, and history views all have real data to show you immediately. Every edit suggested below is trivial and reversible (a blank line, a scratch comment) — discard it before you move on, and don’t commit throwaway changes to a repo you care about.
-
In a scratch repo. If you’d rather not touch a real repo at all (useful for the staging/commit/conflict steps later in this tutorial, which do create real commits and branches):
mkdir -p /tmp/vix-git-tutorial && cd /tmp/vix-git-tutorial git init echo "hello" > notes.txt git add notes.txt git commit -m "initial commit" vix .Everything from here on works the same way in either repo — swap in
notes.txtwherever the text below says “the file you changed.”
Git awareness: three places that update live
Open the vix repo (vix . from its root, or vix README.md) and watch
three places:
- The status bar shows the current branch name. The moment your working
tree has any uncommitted change, a dirty dot (
•) appears next to it. Click the branch indicator to jump straight to the Changes panel — that’s the fastest way in. - The file explorer (
Ctrl+Bto toggle it) puts a colored one-letter badge on every changed tracked file:Mmodified,Aadded,?untracked,Ddeleted,Rrenamed,Uconflicted. - The editor’s line-number gutter draws a colored bar next to every changed line: green for added, yellow for modified, red for deleted — computed by diffing the buffer against the file’s committed (HEAD) content.
Try it now: open README.md and add a blank line at the end. Watch the
dirty dot appear in the status bar, the M badge appear on README.md in
the explorer, and a colored bar appear in the gutter next to the line you
added. Undo it (Ctrl+Z) before continuing, or press Ctrl+Z again if
you’d already saved — the gutter and badge clear the moment the file
matches HEAD again.
Viewing a diff inline
You don’t need a separate diff view to read a change — the gutter is the diff, and you can jump between changed hunks without leaving the buffer.
- Make a real (still trivial) edit: open any source file and change one word on one line, without saving.
- Run Git → Next Change (action id
git.diff_next; there’s no default keybinding for it in any keymap, so reach it from the command palette —Ctrl+Pthen> git next change— or the Git menu). Your cursor jumps to the start of the next changed hunk below it. - Git → Previous Change (
git.diff_prev) goes the other way. With only one hunk changed, both wrap around to the same spot — make a couple more edits in different parts of the file to see them step between hunks.
This is the same gutter the coverage gutter uses when test coverage is displayed instead — only one shows per buffer at a time.
If what you want is a diff against an arbitrary other file (not git HEAD)
— a backup, a sibling config — that’s a different feature,
Tools → Compare With File…; see
docs/diff-view/index.md.
The Changes panel
Open it with Git → Changes…, the command palette (“Git: Changes”), or by clicking the branch indicator in the status bar. It lists every changed file with a staged checkbox and its change letter:
| Key | Action |
|---|---|
↑ / ↓ | Move the selection |
Space | Toggle the selected file staged / unstaged |
s | Stage the selected file |
u | Unstage the selected file |
c | Commit (prompts for a message, then runs git commit) |
r | Refresh the status |
Esc | Close the panel |
A left click on a row toggles its staged state too.
Staging a whole file
In your scratch repo (or the vix repo with your reverted-later edit still
in place), change notes.txt, save it, then:
- Git → Changes….
- Select the row for the file you changed and press
sto stage it — its checkbox flips to[✓]. - Press
uon the same row to unstage it again.Spacedoes either, toggling from wherever it currently is.
Staging (and unstaging) individual hunks
You don’t have to stage a whole file — you can stage just the hunk your cursor is sitting in and leave the rest of that file’s changes untouched. This works from inside the editor, not the Changes panel:
- Make two separate changes in one file (two edits far enough apart that they land in different diff hunks).
- Put the cursor inside the first change, then run Git → Stage Hunk
(
git.stage_hunk, from the command palette or Git menu). Only that hunk moves into the index; open Git → Changes… and the file shows as partially staged. - Run Git → Unstage Hunk (
git.unstage_hunk) with the cursor back in that same hunk to remove just it from the index again.
Hunk staging is safe by design: it only acts when the index still matches the expected text for that hunk’s region, and reports “index diverged” rather than guessing if something else already changed it underneath you.
Discarding a change
Vix’s discard tool works the same way staging does — per hunk, from the cursor position, not as a single “discard this whole file” button:
- Put the cursor inside a changed hunk you don’t want.
- Run Git → Revert Hunk (
git.revert_hunk). It rewrites the buffer back to the committed text for just that hunk.
This edits the in-memory buffer, not the file on disk — the change
shows as reverted (dirty, ready to save) rather than being silently
written out. Press Ctrl+S to make it stick, or Ctrl+Z if you change
your mind before saving.
To discard every change in a file, use Git → Next Change /
Git → Revert Hunk together, hunk by hunk, until the gutter is clear —
or, since Vix is just driving your own git, run git restore <file> on
the command line and let Vix pick up the change (it re-reads git status
after every save and action, and on demand with r in the Changes panel).
Committing
Stage something first (a commit is only offered once something is staged),
then from the Changes panel press c. The prompt is multi-line:
- Plain
Entersubmits and runsgit commit. Alt+Enterinserts a newline — type a short subject line,Alt+Entertwice for a blank line, then a longer body, the same shape as a hand-written commit message on the command line.
Try it in your scratch repo:
# already staged notes.txt from the section above? if not:
echo "second line" >> notes.txt
- Git → Changes…, select
notes.txt, presssto stage it. - Press
c. - Type
Add a second line, thenEnterto commit.
The panel refreshes and the file drops off the list — it matches HEAD again.
Viewing log and history
Git → Log has two kinds of view. The plain ones (All, Summary,
Since 1 day/week/month ago) stream raw git log text straight to the
bottom dock — good for a quick look, no interaction. The other three are
interactive, and all of them open their result as a read-only tab, not
the dock:
- Git → Log → Browse Log… (
git.browse_log) lists recent commits (hash, date, author, subject).↑/↓/PageUp/PageDownnavigate;Enter(or a click) opens that commit’s full diff (git show <sha>) in a read-only tab titled<abbrev> log. - Git → Log → File History (
git.file_history) is the same list scoped to the file in your active tab (git log --follow, so renames are tracked).Enteropens that commit’s diff for just this file, titled<abbrev> <filename>. - Git → Log → Open File at Revision… (
git.open_at_revision) prompts for a revision — a branch, tag, or any commit-ish likeHEAD~3— and opens the active file’s content at that revision, read-only, titled<filename> @ <abbrev>.
None of the three write anything; they’re read-only windows onto history.
Try it: open README.md in the vix repo, then Git → Log → File
History, and press Enter on any commit to see that file as it was.
Ctrl+S does nothing on that tab — it’s marked read-only, so there’s
nothing to accidentally overwrite.
Switching branches
Git → Branch → Switch… lists your local branches in a chooser;
↑/↓ to highlight one, Enter checks it out (git switch). Vix then:
- Refreshes the cached branch/status state and the file explorer’s badges.
- Reloads every clean (no unsaved edits) open tab from disk so it reflects the new branch, and reports how many files it reloaded.
- Leaves any dirty tab untouched — it does not silently discard your unsaved edits just because you switched branches.
Git → Branch → New… creates a new branch (prompts for a name); Git → Branch → Merge… merges a named branch into the current one — which is how the conflict in the next section gets created.
Resolving a merge conflict
This is easiest to see with a real conflict, so do this part in the scratch repo (it makes a diverging branch and a merge on purpose):
cd /tmp/vix-git-tutorial
git checkout -b feature
echo "feature line" >> notes.txt
git commit -am "feature: add a line"
git checkout main
echo "main line" >> notes.txt
git commit -am "main: add a different line"
git merge feature # conflicts on notes.txt
vix notes.txt
notes.txt now has real conflict markers in it:
<<<<<<< HEAD
main line
=======
feature line
>>>>>>> feature
The file explorer shows notes.txt with the U (conflicted) badge. In the
editor:
- Git → Next Conflict (
git.conflict_next) moves the cursor to the start of the conflict block (repeat to cycle through more than one). - With the cursor inside the block, pick a resolution from
Git → Resolve:
- Keep Ours (
git.conflict_ours) — keeps theHEADside, drops the markers and the other side. - Keep Theirs (
git.conflict_theirs) — keeps the incoming side. - Keep Both (
git.conflict_both) — keeps both sides, markers removed, one after the other.
- Keep Ours (
- Save (
Ctrl+S). The buffer no longer has conflict markers. - Stage and commit the resolution the normal way — Git → Changes…,
sonnotes.txt,c, and a message likeMerge feature.
The conflict tool only parses and rewrites the block under the cursor; it doesn’t touch git’s merge state itself, so you still stage and commit the result exactly as you would after resolving by hand.
Jujutsu (jj), briefly
If a workspace (or a folder above it) has a .jj directory, the JJ menu mirrors the Git
menu’s shape for Jujutsu instead — log
views, New Change, Describe…, Commit…, bookmarks (jj’s equivalent of
branches), and jj git push/fetch for repos colocated with git. Every
JJ action streams its command output to the bottom dock the same way
Git’s Pull/Push/Fetch do. JJ → Init creates a jj repo, colocated with
an existing .git if one is present. This tutorial doesn’t cover jj
further — the menu structure above is the current extent of the
documentation for it.
Where to go next
docs/git-panel/index.md— the full reference: blame and inline blame, stash, amend, pull strategies (fast-forward / rebase / merge / squash), and everything above in one place.docs/command-palette/index.md— every action in this tutorial is also reachable by name fromCtrl+Pif you’d rather not use the menu.
Previous: Tutorial 3 — Find, Replace, and Multi-Cursor Next: Tutorial 5 — Setting Up LSP
Vix™ and Vix IDE™ are trademarks.
Tutorial 5: Setting Up LSP
Vix speaks the Language Server Protocol
(LSP) — the same protocol VS Code, Neovim, Zed, and every other modern editor
use for compiler-grade help. You install a language server yourself; once you
trust the workspace, Vix starts the usual server for a language if it is on
your PATH, and config.toml points Vix at any other. This tutorial wires up three real servers — rust-analyzer,
pyright, and typescript-language-server — against the repo’s demo
workspace, then tours the features you get once a server is running.
For the general shape of the config file (location, format, how to hand-edit
it) see docs/configuration/index.md. This
page only covers the two LSP-specific keys and the servers themselves; the
protocol overview lives at
docs/language-server-protocol/index.md.
Open the demo workspace for this tutorial:
cd tui/examples/demo-workspace
vix .
How Vix configures a language server
LSP is controlled by two keys in config.toml:
| Key | Type | Default | Meaning |
|---|---|---|---|
lsp_enabled | bool | true | Master switch. When false, no servers launch at all. |
lsp_servers | list | [] | One entry per language server you have installed. |
Each [[lsp_servers]] entry has three fields:
| Field | Meaning |
|---|---|
language_id | The language id Vix reports to the server (and the key it spawns the process under — one process per language_id). |
extensions | File extensions (no leading dot) that route to this server. |
command | The program and arguments Vix spawns, as a list. The server must speak LSP over stdio. |
A server is not started when Vix launches — it’s spawned lazily the first
time you open a file whose extension matches one of its extensions, and shut
down (shutdown/exit) when Vix exits. There’s no separate “workspace root”
setting: Vix sends the folder you opened Vix in (rootUri) at initialize,
which is why you should open tui/examples/demo-workspace itself (or a
subdirectory of it) rather than a single file.
lsp_servers is empty by default, so the rest of this tutorial is about
filling it in. Open your config file — ~/.config/vix/config.toml on Linux,
~/Library/Application Support/rs.vix/config.toml on macOS, or
%APPDATA%\vix\config\config.toml on Windows — in Vix itself (Ctrl+O) or
any editor.
Rust: rust-analyzer
Install it via rustup (this is the officially distributed way to get it —
it stays in sync with your active toolchain):
rustup component add rust-analyzer
This adds a rust-analyzer shim to ~/.cargo/bin, which is already on your
PATH if you have a working Rust toolchain. Confirm it:
rust-analyzer --version
Add it to config.toml:
[[lsp_servers]]
language_id = "rust"
extensions = ["rs"]
command = ["rust-analyzer"]
Save the config file, then open the demo workspace’s Rust project:
vix tui/examples/demo-workspace/rust-app/src/main.rs
The first time you touch this file, Vix spawns rust-analyzer and sends
didOpen; give it a few seconds to index the tiny crate (one file, one
dependency-free binary). Then try it on word_counts:
- Put the cursor on the
word_counts(text)call insidemain(around line 8) and press F12 (Go to Definition, action idnav.goto_definition). Vix jumps to thefn word_countsdefinition further down the file — a realtextDocument/definitionround trip, not the plain-text fallback (that fallback is what runs when no server is attached; see “When there’s no server” below). - With the cursor still on
word_counts, open Tools → Language Server → Hover (action idlsp.hover). A popup shows the inferred signature —fn word_counts(text: &str) -> HashMap<&str, u32>— pulled fromrust-analyzer’s type inference, not a doc comment (this function has none). The popup dismisses on the next keypress. - Open Tools → Language Server → Find References (action id
lsp.references,textDocument/references).word_countsis called twice in this file — once inmain, once intests::counts_repeated_words— and both show up in the results panel; Enter jumps to either.
Python: pyright
Install pyright’s language-server binary via npm (the package publishes two
binaries: pyright, a CLI type-checker, and pyright-langserver, the actual
LSP server — you want the second one in command):
npm install -g pyright
(No npm on hand? pipx install pyright also works — the pyright-langserver
binary name is the same either way.) Confirm it:
pyright-langserver --version
Add it to config.toml, alongside the rust-analyzer entry:
[[lsp_servers]]
language_id = "python"
extensions = ["py"]
command = ["pyright-langserver", "--stdio"]
--stdio matters — unlike rust-analyzer, pyright-langserver doesn’t
default to stdio framing and will hang waiting for a socket without it.
Open the demo workspace’s Python script:
vix tui/examples/demo-workspace/scripts/hello.py
Put the cursor on rows inside main() (the rows = load_rows(data_path)
line) and open Tools → Language Server → Hover. Pyright reports the
inferred type list[dict[str, str]] — exactly what csv.DictReader returns,
per load_rows’s own -> list[dict[str, str]] annotation. Then press F12
on load_rows to jump to its definition above. hello.py’s own FIXME comment
(this assumes every row has a "score" column that parses as a number) is a
good next thing to fix with this hover information in hand: everything read
from row["score"] is a str, so any arithmetic on it needs an explicit
int()/float() conversion pyright will flag if you get it wrong — try
adding total = sum(row["score"] for row in rows) and watch a diagnostic
appear underlining the type mismatch.
TypeScript / JavaScript: typescript-language-server
The demo workspace doesn’t ship a TS/JS file, so there’s no walkthrough here,
but wiring it up is the same shape. Install it (and the typescript package
it wraps) via npm:
npm install -g typescript-language-server typescript
Confirm it:
typescript-language-server --version
Add it to config.toml. Like pyright-langserver, it needs --stdio:
[[lsp_servers]]
language_id = "typescript"
extensions = ["ts", "tsx", "js", "jsx"]
command = ["typescript-language-server", "--stdio"]
One entry covers all four extensions since typescript-language-server
itself handles both languages; split it into separate language_id = "typescript" / "javascript" entries only if you specifically want two
independent server processes (e.g. different tsconfig.json roots).
Your config.toml now has three [[lsp_servers]] blocks — see
docs/configuration/index.md for
the full settings reference this is a slice of.
The tour: what LSP gives you
Everything below lives under Tools → Language Server and, without
exception, the command palette (Ctrl+P, then > to search commands by
name — see docs/command-palette/index.md).
A few of the most-used actions also have direct keys, shared across every
keymap.
| Feature | Menu item | Key | Action id | LSP method(s) |
|---|---|---|---|---|
| Diagnostics | Tools → Language Server → Diagnostics… | — | lsp.diagnostics | publishDiagnostics, textDocument/diagnostic, workspace/diagnostic |
| Restart Server | Tools → Language Server → Restart Server | — | lsp.restart | shutdown / initialize |
| Show Server Log | Tools → Language Server → Show Server Log | — | lsp.show_log | (server stderr) |
| Hover | Tools → Language Server → Hover | — | lsp.hover | hover |
| Go to Definition | Tools → Language Server → Go to Definition | F12 | nav.goto_definition | definition |
| Go to Implementation | Tools → Language Server → Go to Implementation | — | nav.goto_implementation | implementation |
| Go to Type Definition | Tools → Language Server → Go to Type Definition | — | nav.goto_type_definition | typeDefinition |
| Find References | Tools → Language Server → Find References | — | lsp.references | references |
| Call Hierarchy (callers) | Tools → Language Server → Call Hierarchy (Callers) | Alt+D in the list flips | lsp.call_hierarchy | prepareCallHierarchy, callHierarchy/incomingCalls |
| Call Hierarchy (callees) | Tools → Language Server → Call Hierarchy (Callees) | Alt+D in the list flips | lsp.call_hierarchy_outgoing | prepareCallHierarchy, callHierarchy/outgoingCalls |
| Type Hierarchy (supertypes) | Tools → Language Server → Type Hierarchy (Supertypes) | Alt+D in the list flips | lsp.type_hierarchy_supertypes | prepareTypeHierarchy, typeHierarchy/supertypes |
| Type Hierarchy (subtypes) | Tools → Language Server → Type Hierarchy (Subtypes) | Alt+D in the list flips | lsp.type_hierarchy_subtypes | prepareTypeHierarchy, typeHierarchy/subtypes |
| Rename Symbol | Tools → Language Server → Rename Symbol | F2 | lsp.rename | rename |
| Code Action… | Tools → Language Server → Code Action… | — | lsp.code_action | codeAction |
| Code Lens… | Tools → Language Server → Code Lens… | — | lsp.code_lens | codeLens, workspace/executeCommand, workspace/applyEdit |
| Highlight Occurrences | Tools → Language Server → Highlight Occurrences | — | lsp.highlight | documentHighlight |
| Completion | (typing) | Ctrl+Space | lsp.complete | completion, completionItem/resolve |
| Signature Help | Tools → Language Server → Signature Help | — | lsp.signature_help | signatureHelp |
| Format Document | Tools → Language Server → Format Document | — | lsp.format | formatting, rangeFormatting |
| Document Symbols… | Tools → Language Server → Document Symbols… | — | lsp.document_symbols | documentSymbol |
| Workspace Symbols… | Tools → Language Server → Workspace Symbols… | — | lsp.workspace_symbols | workspace/symbol |
A few worth walking through by hand in
tui/examples/demo-workspace/rust-app/src/main.rs:
- Diagnostics. Errors and warnings underline as you type — red for errors, yellow for warnings, cyan for info, blue for hints — on a channel separate from spellcheck. Diagnostics… opens a workspace-wide list of every current diagnostic across open files; Enter jumps to one.
- Completion. Delete the
.into_iter()off thepairsline and retypecounts.into—Ctrl+Spaceopens a list anchored at the cursor;↑/↓move,Enter/Tabaccept (the accepted text extends what you’ve already typed),Esccancels. - Signature Help. Inside
counts.entry(word).or_insert(0), retype the(afteror_insert— a parameter-hint popup showsor_insert’s signature and highlights the argument you’re on. - Rename Symbol. Cursor on
pairs, pressF2, type a new name, Enter.rust-analyzerreturns a workspace edit and every use ofpairsin the file updates together — the same mechanism reaches across files for a symbol used in more than one. - Workspace Symbols… From anywhere in the project, open it and type
word_counts— it jumps straight there even from a different file, unlike Document Symbols (@in the command palette), which only searches the current file’s outline.
When there’s no server
Every LSP action degrades gracefully. With lsp_enabled = false, or no
lsp_servers entry matching the open file, running any of the actions above
reports “language server inactive” in the status line and does nothing else.
Go to Definition is the one exception: it additionally falls back to a
heuristic, language-agnostic cross-workspace search, so F12 still does
something useful with no server configured — just without the precision a
real server gives you (it’s rust-analyzer’s and pyright’s exact answers
that made the walkthroughs above reliable).
Where to go next
docs/language-server-protocol/index.md— the full protocol-conformance reference (every method Vix implements).docs/reference/actions.mdanddocs/reference/keybindings-shared.md— every action id and key, generated from the same data as the table above.docs/configuration/index.md— the complete settings reference, includingformat_on_save, which runs whichever LSP formatter is attached every time you save.
Previous: 04 — The Git Workflow Next: 06 — Org Mode and Roam
Vix™ and Vix IDE™ are trademarks.
Tutorial 6: Org Mode & Roam
Vix speaks a pragmatic subset of Org mode — headline
outlines, TODO states, checkboxes, tags, tables, and a column-view
spreadsheet overlay — plus an Org-roam-style
layer on top: networked notes with stable IDs, [[id:...][Title]] links,
backlinks, a node graph, and a daily-notes journal. This tutorial works
through both using the demo workspace’s real Org files.
For the quick-reference version of each feature see
docs/org/index.md and
docs/roam/index.md; this page goes deeper, with a
worked example at every step. The full specs are
crates/vix-org/spec/index.md, crates/vix-org-table/spec/index.md,
crates/vix-column-view/spec/index.md, crates/vix-org-capture/spec/index.md,
and crates/vix-roam/spec/index.md.
Open the demo workspace:
cd tui/examples/demo-workspace
vix .
Its org/ directory has four files this tutorial uses directly:
| File | What it is |
|---|---|
org/roam/project-overview.org | The anchor node — links out to the other two. |
org/roam/getting-started.org | A checklist node, linked back from the overview. |
org/roam/meeting-2026-09-01.org | A meeting-note node with headlines, TODO/DONE items, and action items. |
org/dailies/2026-09-13.org | A daily note linking into all three roam nodes above. |
Headline structure
Open org/roam/meeting-2026-09-01.org. It’s a normal Org outline: one or
more leading * marks a headline, and everything until the next headline of
the same or shallower level is its subtree.
* Attendees
* Notes
* Action items
** TODO Add a total-word-count line to the Rust output
** TODO Validate the CSV before averaging scores in the Python script
Put the cursor on * Action items and open the Org menu (Alt+O):
- New Heading (
org.new_heading) inserts a sibling headline below the cursor, at the same level. - Edit Structure → Promote / Demote (
org.promote/org.demote) add or remove one*across the whole subtree — put the cursor on one of the** TODOaction items and Demote it to***to see the two items keep the same relationship to* Action items. - Edit Structure → Move Subtree Up / Move Subtree Down swap a subtree with its sibling; the cursor follows.
- Navigate Headings → Previous/Next Heading (
org.nav.previous/org.nav.next) steps between headlines at any level; Previous/Next Same Level (org.nav.backward/org.nav.forward) stays within siblings. - Tab on a headline folds or unfolds its section, and Shift+Tab collapses the whole buffer to its headlines or opens it all again. The menu’s Show/Hide → Cycle Visibility (Fold) and Overview (Fold All) do the same.
Undo (Ctrl+Z, or whatever your keymap binds) puts anything you just tried
back the way it was — these examples are meant to be typed and undone as you
go.
TODO states and checkboxes
Put the cursor on either ** TODO action item and run Cycle TODO
(org.cycle_todo, C-c C-t in the Emacs keymap): it steps
TODO → DONE → (no keyword) → TODO. Under the Notes headline, the same
file already has one of each:
- TODO Follow up with Carol about the CSV data source
- DONE Set up the repo layout
Mark Done with Note… (org.close_note, the C-u C-c C-t universal-argument
variant in Emacs) marks a headline DONE, stamps a CLOSED: [now] line under
it, and logs the note you type into a :LOGBOOK: drawer.
Now open org/roam/getting-started.org — its checklist is plain checkbox
items, not headlines:
- [ ] Open =rust-app/src/main.rs= and resolve the TODO/FIXME comments.
- [ ] Open =scripts/hello.py= and do the same.
- [ ] Send the request in =api.http= and read the response tab.
- [ ] Open =db/demo.sqlite= in the DB workbench and run a query against it.
- [ ] Run the "test" task from Tools -> Tasks... (defined in =tasks.toml=).
(The =...= pairs are Org’s verbatim-text markers — one of six emphasis
markers under Editing → Emphasis that wrap a selection: bold *, italic
/, underline _, code ~, verbatim =, strikethrough +.)
Put the cursor on one of the - [ ] lines and run Toggle Checkbox
(org.toggle_checkbox) to flip it to - [x]. If a parent line carries a
statistics cookie — [/] (fraction) or [%] (percent) — it updates
automatically on every checkbox toggle or TODO cycle, or on demand via
Update Statistics (org.update_statistics). Try it: add [/] to the
checklist’s title line —
A short checklist for a first pass through the demo workspace: [/]
— then toggle a couple of the boxes below it and watch the cookie fill in as
[2/5].
Refresh Context (org.ctrl_c_ctrl_c, Emacs C-c C-c) is the general
context action: on a checkbox line it toggles the box; anywhere else it
recomputes statistics cookies.
Tags and properties
Every roam node in this workspace already carries file-level tags via a
#+filetags: line — project-overview.org has #+filetags: :demo:project:,
meeting-2026-09-01.org has #+filetags: :demo:meeting:. A headline can
carry its own trailing :tag:tag: group the same way. With the cursor on a
headline, Tags & Properties → Set Tags… (org.set_tags, C-c C-q)
prompts, pre-filled with the headline’s current tags, and replaces the
group; Set Property… (org.set_property) prompts for NAME VALUE and
writes it into the headline’s :PROPERTIES: drawer (creating the drawer if
needed) — this is how the :ID: property at the top of every roam node file
got there in the first place.
With the cursor on a :PROPERTIES: header line (like the one at the top of
meeting-2026-09-01.org), Tab folds the drawer’s body behind a trailing
…; Tab again unfolds it.
Tables
Org’s pipe-table editor (vix-org-table) isn’t used by any of the demo
workspace’s .org files, so try it in a scratch buffer or at the bottom of
meeting-2026-09-01.org. Type a delimiter-free start and let Tab build
the table:
| Name | Role |
| Alice | Engineer |
| Bob | Designer |
With the cursor inside it, Org → Table → Align (org.table.align,
C-c C-c) re-renders every column to its widest cell, right-aligning
numeric columns:
| Name | Role |
|-------+-----------|
| Alice | Engineer |
| Bob | Designer |
Tab/Shift-Tab move field-to-field (realigning first, and appending a row
if you Tab past the last field); S-<up/down/left/right> swap a field
with its neighbor. Org → Table → Insert Hline Below (C-c -) adds the
|---+---| rule; Insert Row Above / Delete Row / Move Row Up/Down
and their column equivalents (Org → Table, M-S-<arrow> / M-<arrow>)
restructure the table. Sort Rows… (org.table.sort, C-c ^) sorts the
data rows by a chosen column.
A #+TBLFM: line right below a table adds spreadsheet formulas. Add a
Score column and a formula row:
| Name | Score | Double |
|-------+-------+--------|
| Alice | 10 | |
| Bob | 7 | |
#+TBLFM: $3=$2*2
Run Align (C-c C-c, which also recalculates #+TBLFM: on a table
line) and the Double column fills in 20 / 14. @ROW$COL=<expr>
targets one field instead of a whole column; vsum/vmean/vmin/vmax/
vcount take a @R$C..@R2$C2 range. See crates/vix-org-table/spec/index.md
for the full formula language and the rectangle copy/cut/paste commands
(Org → Table → Rectangle).
Column view
Column View (Org → Tags & Properties → Column View → Turn On,
org.column_view, Emacs C-c C-x C-c) overlays the whole outline as a live,
editable spreadsheet — one row per headline, one column per property. With
no #+COLUMNS: line or :COLUMNS: property anywhere, it falls back to the
built-in default spec %ITEM %TODO %PRIORITY %TAGS, which is exactly the
case in meeting-2026-09-01.org — open it there and turn Column View on
anywhere in the buffer. You’ll see one row per headline (Attendees,
Notes, Action items, and its two TODO children), with ITEM showing
each headline’s text indented by level and TODO showing TODO where set.
Inside the overlay:
↑/↓/←/→moves the selected cell.n/p(orShift+→/Shift+←) cycles theTODOcell through the keyword list, or any other cell through its column’s allowed-value list.eedits a cell’s raw text;Entercommits.vshows a cell’s full value on the status line (useful for a cell narrower than its content).</>narrows / widens the current column.q/Esccloses the overlay.
Every edit applies straight through to the real buffer text as you make it —
there’s no separate save step for the overlay itself (saving the file to
disk still works the normal way). Add a :COLUMNS: property to the
Action items headline’s drawer to scope a custom spec to just that
subtree, e.g. :COLUMNS: %40ITEM %TODO %EFFORT{:} to also show and roll up
an EFFORT property — see crates/vix-org/spec/index.md § Column view for
the full #+COLUMNS:/:COLUMNS: syntax, summary types (+, min/max/
mean, X/X//X%, :, …), and the dynamic-block columnview capture
(Org → Tags & Properties → Column View → Dynamic Block). The interactive
overlay’s own key list and design are in crates/vix-column-view/spec/index.md.
Capture templates
Org → Capture is template-driven, in the shape of Emacs org-capture:
named templates with %^{Prompt}-style placeholders, wrapped as a headline/
item/checkbox/table-row, and filed at a target. Five built-in templates ship
by default, each its own menu item:
| Item | Key | What it does |
|---|---|---|
| Anything… | a | Prompt for a task, insert * TODO <task>. |
| Task… | t | Multiline review buffer pre-filled * TODO . |
| Note… | n | Prompt for note text, insert * <note> plus a %U timestamp. |
| Babel… | b | Prompt for a language, open a #+begin_src <language> / #+end_src block for review. |
| Contact… | c | Prompt for Name/Email/Phone/Address/Birthday/Nickname/Note, insert an org-contacts entry. |
Try Org → Capture → Anything… (org.capture) with the cursor anywhere
in meeting-2026-09-01.org’s Action items subtree — it inserts a new
* TODO sibling right there. Choose Template… (org.capture.select)
opens a chooser listing every configured template, built-in or custom — it’s
where you reach anything added to the org_capture_templates setting beyond
the five built-ins. A template can
target more than the cursor: id:<ID> (a node’s :ID: property — the same
IDs the roam nodes below use), file:<path>, file+headline:<path>#Head,
or file+datetree:<path>. Placeholders cover today’s/an inactive timestamp
(%t/%u), a link back to the capture site (%a), the clipboard (%c),
and more — the full placeholder table and target syntax is in
crates/vix-org-capture/spec/index.md.
Org-roam: nodes and links
A node is an .org file with an :ID: property and a #+title:; nodes
link to each other with [[id:<id>][Title]] links. Open
org/roam/project-overview.org:
:PROPERTIES:
:ID: 9c1a1e2e-3b4f-4a9d-8b1c-1f2e3a4b5c6d
:END:
#+title: Project Overview
#+filetags: :demo:project:
This is the anchor node for the demo workspace tour. [...]
- [[id:eaf9904b-ef0b-4078-9dd4-a7557375ea56][Getting Started]] -- what to try first.
- [[id:3d8e5f6a-7b8c-4d9e-af01-2b3c4d5e6f70][Kickoff Meeting, 2026-09-01]] -- where the action items below came from.
Its :ID: (9c1a1e2e-…) is what the other two nodes link back to; its two
[[id:...][...]] lines point at getting-started.org’s and
meeting-2026-09-01.org’s own IDs. Put the cursor anywhere inside one of
those [[id:...]] links and run Org → Hyperlinks → Follow Link
(org.link.follow, C-c C-o): Vix scans the project’s .org files for the
matching :ID: property and opens that file. Follow the “Getting Started”
link to land in getting-started.org, whose own first line —
Linked from [[id:9c1a1e2e-...][Project Overview]]. — links right back.
Other node commands, all under Org → Roam (or the equivalent leaves
under Org → Node, which shares the same underlying :ID:-based node
model):
- Find Node… (
roam.node_find) prompts for a title and opens the matching node, or creates<slug>.orgwith a fresh:ID:if none exists. - Insert Node Link… (
roam.node_insert) prompts for a title and inserts an[[id:...][Title]]link at the cursor, finding or creating the target node without leaving the buffer you’re in. - Random Node (
roam.node_random) jumps to a random node. - Capture Node… (
roam.capture) prompts for a title and creates/opens a node — useful when you just want a new node, not a link to one.
Typing [[ directly in an Org buffer also opens a completion popup of node
titles — accepting one inserts the link and closes it (]]) for you; see
crates/vix-roam/spec/wiki-link-completion/index.md.
Backlinks
With the cursor in project-overview.org, run Org → Roam → Backlinks
(roam.backlinks). It opens a buffer of linked references — every node
whose [[id:...]] points at this one’s :ID: — plus unlinked references,
files that mention its title in plain text without a link. Open
getting-started.org or meeting-2026-09-01.org instead and run Backlinks
there: both list project-overview.org as a linked reference, since both
are linked from it (the relationship recorded at the other end).
Org → Roam → Live Backlinks (roam.backlinks_follow) is the toggle
version — turn it on once and the bottom dock keeps a live backlinks view
for whichever node buffer you’re currently in, refreshing as you switch
between project-overview.org, getting-started.org, and
meeting-2026-09-01.org.
The node graph
Org → Roam → Graph (roam.graph) compiles every node and every
[[id:...]] link between them into a Mermaid flowchart in a new buffer.
Run it from anywhere in the demo workspace and you’ll get a three-node graph
matching the links above — Project Overview pointing at both Getting Started and Kickoff Meeting, 2026-09-01:
flowchart LR
9c1a1e2e["Project Overview"] --> eaf9904b["Getting Started"]
9c1a1e2e["Project Overview"] --> 3d8e5f6a["Kickoff Meeting, 2026-09-01"]
(Vix renders the buffer as Mermaid source text, not a live diagram — paste
it somewhere that renders Mermaid, or read the shape directly.) Org →
Roam → Sync Database (roam.db_sync) re-scans the project’s .org files
and opens a sortable table of every node’s title, file, and tags — there’s
no persistent database to go stale; it’s a stateless re-scan every time,
matching org-roam’s own org-roam-db-sync semantics.
Dailies
org/dailies/2026-09-13.org is a daily note — one file per day, under a
daily/-style directory, distinct from a single growing datetree file. It
links right back into today’s tour:
* 09:00 Start the demo workspace tour
Opened [[id:9c1a1e2e-3b4f-4a9d-8b1c-1f2e3a4b5c6d][Project Overview]] and worked through the checklist in
[[id:eaf9904b-ef0b-4078-9dd4-a7557375ea56][Getting Started]].
* 10:30 Notes
Fixed the =word_counts= lowercasing bug in =rust-app/src/main.rs= -- one of
the action items from [[id:3d8e5f6a-7b8c-4d9e-af01-2b3c4d5e6f70][Kickoff Meeting, 2026-09-01]].
Org → Roam → Dailies → Today (roam.dailies_today) opens (creating if
needed) today’s note — on any day other than 2026-09-13 that’s a different,
empty file, not this one. To revisit this specific date, use Dailies → Go
to Date… (roam.dailies_date) and type 2026-09-13. Dailies → Capture
Today… (roam.dailies_capture) appends a fresh * HH:MM … entry to
today’s note, the same shape as the two entries above.
Dailies → Calendar… (roam.dailies_calendar) opens the month-grid
calendar in dailies mode: navigate to September 2026 and press Enter on the
13th — instead of inserting a date string (the calendar’s normal behavior
elsewhere in Vix), Enter opens this exact daily note. See
crates/vix-roam/spec/dailies-calendar/index.md.
Where to go next
crates/vix-org/spec/index.md— the full action table, Emacs chord list, agenda views, and the column-view engine.crates/vix-org-table/spec/index.md— every table command, including rectangle copy/cut/paste and the full#+TBLFM:formula language.crates/vix-org-capture/spec/index.md— every placeholder, target, and entry type a capture template can use.crates/vix-roam/spec/index.mdand its sub-specs (crates/vix-roam/spec/dailies-calendar/index.md,crates/vix-roam/spec/live-backlinks/index.md,crates/vix-roam/spec/wiki-link-completion/index.md) — the roam layer in full, includingOrg → Node’s org-node-style operations (Nodeify Entry, Extract Subtree to Node, List Dead Links) not covered above.docs/org/index.mdanddocs/roam/index.md— the quick-reference pages this tutorial expands on.
Previous: 05 — Setting Up LSP Next: 07 — The DB Workbench
Vix™ and Vix IDE™ are trademarks.
Tutorial 7: The DB Workbench
The DB menu (mnemonic Alt+D, right after AI) opens a full-screen
database workbench: saved connections, a schema tree, a SQL editor with
autocomplete and live highlighting, and a results grid with sort, filter,
and export — plus an AI SQL assistant, an ASCII chart view, a Mermaid ER
diagram, and CSV/TSV import. It talks to SQLite files and PostgreSQL
/ MySQL servers through embedded sqlx drivers, so nothing external
needs installing.
This tutorial is example-driven, working entirely against the demo
workspace’s seeded SQLite database. For the exhaustive key-by-key reference,
see docs/db/index.md and the full specification at
crates/vix-db/spec/index.md.
Open the demo workspace:
cd tui/examples/demo-workspace
vix .
db/demo.sqlite (regenerated from db/seed.sql) has two tables:
people—id,name,role,score: Alice (engineer, 92), Bob (designer, 81), Carol (engineer, 88), Dave (manager, 75).tasks—id,person_id(referencespeople.id),title,done: four seeded rows, one or two per person, Bob has none.
Connecting
Open DB → Connections… (or the command palette, Ctrl+P then >, DB:
Connections). The list starts empty.
- Press a to add a connection. ↑/↓ move between fields, Space cycles the engine kind — leave it on sqlite.
- Set File to
db/demo.sqlite(relative to the workspace root you opened Vix in). - Press Enter to save the entry, then Enter again on it in the list to connect. You land in the three-pane workbench: schema tree, SQL editor, results grid, cycled with Tab / Shift+Tab; Esc returns to the connections list.
A fresh connection opens read-only — the editor pane title shows a
read-only badge. F8 toggles write mode for the session (you’ll need it
later, for CSV import). Esc/q from the connections list closes the
workbench entirely.
Server connections and the credential waterfall
demo.sqlite needs no password, but for a PostgreSQL/MySQL entry the same
add/edit form gains a Password cmd field and a Save to keyring
toggle. On connect, Vix resolves the password through a waterfall before
ever prompting you: first password_command (any command that prints the
secret — pass show db/prod, op read …), then the OS keyring
(security find-generic-password on macOS, secret-tool lookup on Linux).
Only on a miss does it prompt — masked, held in memory for the session only,
and (with Save to keyring on) written back to the keyring so the next
connect skips the prompt. Saved connections never persist a password field
to disk. Server engines default to writable = false, same as SQLite, so
the read-only/write-mode split above applies there too.
Instead of filling the fields one by one you can paste a connection
string into the form: postgres://me@db.example.com:5432/shop?sslmode=require,
mysql://…, sqlite:db/demo.sqlite, or a libpq string such as host=db dbname=shop user=me. Vix fills the engine, host, port, user, database and
TLS mode (and the name, if it is still empty). A password inside the string
is never written to a field or to disk: it is held in memory for the next
connect, exactly like one typed on the prompt.
Environments
The form’s last row, Environment, marks what the database is: local
(the default), development, testing, staging or production. The
connections list and the editor title show it as a badge. On a
production connection every write shows its SQL and asks first, even
inside a BEGIN … COMMIT transaction (elsewhere a transaction skips the
question, since ROLLBACK can undo it). DROP and TRUNCATE ask on every
connection.
The schema tree
The left pane groups each schema into Tables / Views / Functions folders. ↑/↓ (or j/k) move, ←/→/Space collapse/expand.
Expand main → Tables and land on people:
- Enter shows its columns (
id,name,role,score) in the results grid. - i / f / g / x show indexes / foreign keys / triggers /
constraints for the selected table — try f on
tasksto see itsperson_id → people.idforeign key. - s shows row-count/size statistics; D shows the table’s
CREATEstatement. - R shows the table’s relations: try it on
peopleto seetasks’ foreign key pointing at it (an incoming relation), and ontasksto see the same key as outgoing. - p previews the table’s data (
SELECT * FROM people LIMIT 200) without writing a query. - / searches the tree live (matches show regardless of collapse state); r refreshes the catalog after DDL changes.
The SQL editor: autocomplete and format
Switch to the editor pane (Tab) and type a join across the seeded tables:
SELECT people.name, people.role, tasks.title, tasks.done
FROM people
JOIN tasks ON tasks.person_id = people.id
ORDER BY people.name;
While typing, autocomplete pops up over SQL keywords, table names from the
connected database, and — type people. — its column names; right after
JOIN it suggests tasks ON … clauses built from the foreign-key graph.
↑/↓ choose, Tab accepts, Esc dismisses. Highlighting (keywords,
strings, numbers, comments) follows your active theme’s syntax colors.
Mistype the indentation or casing and press Alt+Shift+F (DB → Format
Query) — it re-formats the statement at the cursor: keywords uppercased,
major clauses on their own lines, AND/OR indented. It only touches the
statement your cursor is in, so multiple ;-separated statements in one
buffer format independently.
Running the query and reading the results
With the cursor on the statement, press Ctrl+Enter or F5 (DB → Execute at Cursor) — F9 (Execute All) instead runs every statement in the buffer in order, stopping at the first error. The query runs asynchronously; the editor title shows an elapsed-time indicator while it’s in flight. Ctrl+C cancels: on PostgreSQL and MySQL it asks the server to stop the statement and keeps your session and any open transaction (which is then aborted, so roll it back); on SQLite, or if the server cancel fails, it reconnects and the open transaction is lost. When PostgreSQL reports where in the statement an error is, the cursor moves there. Results stream in as they arrive rather than waiting for the full set — batches append to the grid progressively, capped at 20,000 rows with a truncation note if a result set is that large.
The join returns four rows — Alice’s two tasks, Carol’s and Dave’s one each, Bob absent since he has none:
Alice | engineer | Fix word_counts lowercasing bug | 0
Alice | engineer | Review api.http examples | 1
Carol | engineer | Write demo.sqlite seed data | 1
Dave | manager | Plan next tutorial chapter | 0
In the results pane:
- ↑/↓/j/k, PgUp/PgDn, Home/End move; ←/→/h/l select a column — the title shows the row count.
- s cycles a sort on the selected column (ascending ▲ → descending ▼ →
off, numbers compared numerically). / filters rows live against any
cell, case-insensitive — try filtering on
engineer. - x expands the selected row vertically (handy once a query has more
columns than fit); f on a foreign-key cell follows it to its parent
row (a
tasks.person_idcell jumps to that row inpeople). - y/Y yank the cell/row (tab-separated) to the clipboard; v opens a full-content cell viewer with a JSON pretty-print toggle (p).
- A (copy for AI) copies the statement and up to 50 rows from the top of the visible page as Markdown, ready to paste into a chat; on a table preview it adds each column’s type. A on a table in the tree copies its columns, keys, constraints and indexes with its rows. Only you decide where that goes: Vix’s own AI assistant is still never shown a row.
- On a table preview that has a primary key (press p on
peoplein the tree, not this join), i stages an edit to the selected cell, a a new row and d a row’s deletion, u discards a row’s changes, and W commits them all in one transaction, with conflict detection against anyone else’s changes in between. A value like=now()is computed by the database. F searches the whole table on the server by column and operator, where / only filters the rows already loaded.
EXPLAIN and EXPLAIN ANALYZE
With the join statement still under the cursor, press F6 (DB →
Explain, EXPLAIN QUERY PLAN on SQLite) to see how it runs without
executing it for real:
QUERY PLAN
|--SCAN tasks
|--SEARCH people USING INTEGER PRIMARY KEY (rowid=?)
`--USE TEMP B-TREE FOR ORDER BY
people.id is the primary key, so the people side is a fast indexed
SEARCH; tasks.person_id has no index, so the planner has to SCAN the
whole tasks table. The workbench’s plan-doctor heuristic flags exactly
this — an unindexed SCAN, as opposed to a SEARCH … USING INDEX — and the
message line suggests considering an index (CREATE INDEX ON tasks(person_id) would turn it into a SEARCH). F7 (Explain
Analyze) runs EXPLAIN ANALYZE where the engine supports it — on SQLite
that’s still EXPLAIN QUERY PLAN, since SQLite has no separate ANALYZE
form. Statements that actually write ask for confirmation first
(Enter/y runs, Esc/n cancels), showing the SQL in full —
EXPLAIN ANALYZE of a write does too, since it really executes.
Exporting results
With the join’s results still on screen, press e (DB → Export
Results…). ←/→ choose the format — CSV, TSV, JSON, NDJSON, Markdown,
or SQL INSERTs — Tab switches between writing a file and copying to
the clipboard, and Enter exports. The export applies your current filter
and sort, not the raw query result — filter to engineer first and the CSV
only has Alice’s and Carol’s rows.
To export whole tables instead, go to the schema tree: m marks
people and tasks, and e opens the table export (with nothing marked
it takes the table under the cursor). Pick SQL with ←/→ and press
Enter: Vix reads both tables from one consistent snapshot on a second,
read-only connection and writes one file of INSERTs with people before
tasks (parents before children). A table with an AUTOINCREMENT counter
(or a PostgreSQL sequence, a MySQL AUTO_INCREMENT) gets it reset at the end
of the file; these two have none.
CSV, JSON and NDJSON write one file per table into a directory instead. Rows
stream straight to disk, so the 20,000-row grid cap does not apply, and an
open transaction in the workbench is left alone.
Running a .sql file
Ctrl+P asks for the path of a .sql file, loads it into the editor and
runs it like F9 — statement by statement, stopping at the first error,
with writes confirmed as usual. DB → Run Buffer in Workbench does the
same with the file you are editing. A script with psql meta-commands
(\copy, \i, …) is refused before anything runs, and the message line
lists their line numbers.
Query history and saved queries
- Ctrl+R (DB → History…) lists every statement you’ve executed,
newest first, deduplicated, capped at 200, persisted in
db_history.tomlin your config directory. Enter re-inserts an entry into the editor as a new statement; d deletes one. - Ctrl+S (DB → Save Query…) saves the statement at the cursor under
a name; Ctrl+B (DB → Saved Queries…) browses them with the same
keys, persisted separately in
db_queries.toml. - Ctrl+L opens the session’s query log: every statement run since you connected, with its duration, row count and outcome.
Named :param binds
Replace the join with a parameterized query:
SELECT name, role, score FROM people WHERE role = :role ORDER BY score DESC;
Run it (F5) — before executing, the workbench scans for :name
placeholders (skipping string literals, comments, and ::type casts, so
this doesn’t misfire on PostgreSQL casts) and prompts for each one. Type
engineer and Enter; the placeholder is substituted as a proper SQL literal
and the query returns Alice (92) then Carol (88).
The AI SQL assistant
The workbench can turn a question into SQL, using whatever CLI the
ai_command setting names (default claude -p {prompt} — see
docs/configuration/index.md and
docs/agent-panel/index.md; any assistant CLI
works), or a provider’s HTTP API directly when ai_provider is set — same
choice as the AI chat panel and menu. It’s schema-only: the model sees
table/column names, types, and
foreign keys, but is never shown a row of data — the connection’s
read-only default plus the client-side write guard both still apply to
whatever SQL comes back.
In the workbench (not the menu — these are editor-focused keys):
- Ctrl+A — Ask. Type a question, e.g.
people with more than one task, Enter. The generated SQL lands in the editor with itsEXPLAINplan shown; F5 runs it. Prefix with?(e.g.?which tables reference people) to ask a schema question answered in plain English instead. - Ctrl+O — Optimize. Sends the statement at the cursor plus its plan, asking for a rewrite that avoids full scans (try it on the join above).
- Ctrl+F — Fix error. After a failed query, sends the error message and schema, and drops a corrected query in the editor.
- Ctrl+K — Explain. Explains the statement at the cursor in plain English in the text viewer, without running anything.
Only one request runs at a time; the editor title shows an AI… badge while
one is in flight.
The ASCII chart view
Any two-column (label, number) result can be charted. Run:
SELECT name, score FROM people ORDER BY score DESC;
then press c in the results pane. It renders a horizontal bar chart in the text viewer, sized by the last numeric column and labeled by the first — Alice’s bar the longest at 92, Dave’s the shortest at 75.
The ER diagram
Press Ctrl+E (from anywhere in the workbench) to build a Mermaid
erDiagram from the live schema — typed entity blocks for people and
tasks, with a crow’s-foot edge for the tasks.person_id → people.id
foreign key — in a scrollable viewer. Press y to yank the Mermaid text
to the clipboard; paste it anywhere Mermaid renders, including a Vix Org
buffer’s own Mermaid support.
CSV/TSV import
data/sample.csv in this workspace has the same shape as people (minus
id):
name,role,score
Alice,engineer,92
Bob,designer,81
Carol,engineer,88
Dave,manager,75
Import creates a table, so it needs write mode: press F8 first (the
badge switches to read-write). Then Ctrl+U opens the import prompt;
type data/sample.csv (relative to the workspace root you launched vix .
from, same as db/demo.sqlite was) and press Enter. The header becomes a
CREATE TABLE sample (name TEXT, role TEXT, score TEXT) (the table name
comes from the file’s stem, columns sanitized to identifiers), and every
remaining row becomes one multi-row INSERT, both run for you. Refresh the
tree (r) to see the new sample table alongside people and tasks.
Schema compare
Ctrl+D (DB → Schema Compare…) compares the connected schema with
another saved connection of the same engine (PostgreSQL or SQLite) and
writes the migration that makes the other one match. To try it, save a
second SQLite connection to a fresh file, connect to db/demo.sqlite, press
Ctrl+D and pick the new connection: every table shows as a difference to
create. Space toggles a change, Enter shows the script, and y,
s, o or r copy, save, open or run it.
Where to go next
docs/db/index.md— the complete key-by-key reference this tutorial draws from.crates/vix-db/spec/index.mdandcrates/vix-db/spec/session.md— the full specification, including the session/transaction model and the SSH tunnel and credential-waterfall design.docs/configuration/index.md— theai_commandsetting the AI assistant uses.
Previous: 06 — Org Mode and Roam Next: 08 — HTTP Client and Tools Suite
Vix™ and Vix IDE™ are trademarks.
Tutorial 8: HTTP Client & Tools Suite
Two unrelated but genuinely useful things live under the Tools menu: a
.http-style REST client for firing off real requests without leaving the
editor, and a shelf of small single-purpose converters and testers —
Base64, JWT decode, checksums, UUIDs, regex testing, format conversion, and
more. This tutorial works through both against the repository’s demo
workspace, so every command below is something you can actually run.
cd tui/examples/demo-workspace
vix .
The HTTP client
Open api.http (Ctrl+O, or click it in the explorer). It’s a plain-text
buffer in the “REST client” shape a request .http file always takes:
METHOD url on the first line, Header: value lines up to the next blank
line, then the body. Lines starting with # or // are comments — the top
of the file is comment lines explaining the shape, followed by one live
request:
GET https://httpbin.org/get?workspace=demo
Accept: application/json
Below that, commented out, is a second example showing a POST with a JSON
body. httpbin.org just echoes back whatever you send
it, so both are safe to fire repeatedly.
With the cursor anywhere in the buffer, send the active request: Tools →
Send HTTP Request (action tools.http_send, also reachable from the
command palette). Vix parses the request, sends it on a background thread
(so the UI stays responsive — the status line shows the URL while it’s in
flight), and opens the response in a new tab as plain text: a status
line, the response headers, a blank line, then the body.
HTTP/1.1 200 OK
content-type: application/json
{
"args": {
"workspace": "demo"
},
...
}
A few things worth knowing before you rely on this:
- The URL must be absolute (
http://orhttps://) — a bare path isn’t recognized as a request line at all, and any other scheme is rejected before any network activity happens. - An HTTP error status (4xx/5xx) is still a normal response and opens the same tab-with-status-line way. Only a transport failure — DNS, connection refused, TLS — shows up as an error message instead of a new tab.
- The method defaults to
GETif you omit it, sohttps://example.comon its own is a valid request line.
Try the POST next: comment out the GET line (and its Accept header),
uncomment the three POST lines below it, then send again. The response
body’s "json" field will echo back exactly what you sent.
This is the whole client — there’s no history, no environment/variable
substitution, no collections. For the full spec (parser details, what counts
as a request line, the background-thread mechanics) see
docs/http-client/index.md and
crates/vix-http-client/spec/index.md.
Tools tour
Everything below lives under the Tools menu. Most of it works one of two
ways: a Tools → Convert (or Checksum) leaf transforms the current
selection — or, with nothing selected, the whole buffer — in place;
a … leaf opens a small dialog with its own fields. None of these have
default keybindings; open them from the menu or the command palette. The
full reference for every tool (including several this page skips) is
docs/tools/index.md — this page goes deeper on a
representative subset, hands-on.
Base64 and checksums
Select hello anywhere (in notes.md, say) and run Tools → Convert →
Base64 → Encode — the selection becomes aGVsbG8=. Select it again and
run Decode to get hello back.
Tools → Checksum works the same way, over four digests:
| Menu item | Action id | Digest |
|---|---|---|
| SHA-256 | tools.checksum.sha256 | cryptographic |
| SHA-512 | tools.checksum.sha512 | cryptographic |
| MD5 | tools.checksum.md5 | legacy compatibility only |
| CRC32 | tools.checksum.crc32 | legacy compatibility only |
MD5 and CRC-32 are there for compatibility with older tooling that still expects them, not because either is cryptographically sound — reach for SHA-256/SHA-512 when integrity actually matters. Select some text and try each; the selection is replaced with its lowercase-hex digest.
JWT decode
Tools → Convert → JWT Decode (action tools.convert.jwt) decodes a JSON
Web Token’s header and payload — the first two of its three
dot-separated, Base64URL parts — into pretty-printed JSON. It does not
verify the signature (there’s no key to check it against), and says so.
Paste this well-known example token (the one used on jwt.io) into a scratch
buffer, select it, and decode it:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
The output:
// WARNING: signature NOT verified — these claims are untrusted
// header
{
"alg": "HS256",
"typ": "JWT"
}
// payload
{
"iat": 1516239022,
"name": "John Doe",
"sub": "1234567890"
}
A token whose header declares "alg": "none" (an unsigned token) gets a
second warning line calling that out specifically — a real footgun some
libraries have shipped bugs around.
URL encode/decode
Tools → Convert → URL → Encode / Decode (tools.convert.url.encode /
.decode) percent-encodes or decodes the selection. Encoding escapes every
byte outside the RFC 3986 “unreserved” set (A–Z a–z 0–9 - _ . ~) — a space
becomes %20, never + — so the result is safe to drop into any part of a
URL. Select hello world and Encode → hello%20world; Decode it
back to get the space again.
Generating IDs: UUID and ZID
Tools → Insert → UUID has one submenu item per UUID version (v1 through v8 — unsortable-time, DCE security, MD5-name, random, SHA-1-name, sortable-time, time+random, and the all-zero v8 placeholder). Put the cursor where you want it and pick a version; it inserts the generated UUID at point. v4 (Random) and v7 (Time + Random) are the two you’ll reach for day to day — v7 sorts chronologically by its leading bits, which v4 doesn’t.
Tools → Insert → ZID is simpler: three menu items — 128 bit = 32 hex, 256 bit = 64 hex, 512 bit = 128 hex — each generating a secure-random lowercase hex string of that length and inserting it. Use it wherever you need a random token or key and a UUID’s dashes and version bits aren’t relevant.
Regex tester
Tools → Regex Tester… opens a dialog with two fields — a pattern and a
subject text — and updates the match list (or shows the compile error) as
you type in either one. It uses the same regex crate as Vix’s own
Find/Replace, so whatever you confirm here behaves identically in
Ctrl+F/Ctrl+R — including its limits: no backreferences, no lookaround.
Try pattern \b\w+@\w+\.\w+\b against a line of text containing an email
address and watch the match highlight update live.
Format conversion
Tools → Convert has one submenu per format, each listing the formats it converts into:
| From → To | Menu path |
|---|---|
| CSV → JSON | Tools → Convert → CSV → JSON |
| CSV → TSV | Tools → Convert → CSV → TSV |
| TSV → CSV / JSON | Tools → Convert → TSV → CSV / JSON |
| JSON → CSV / TSV / YAML / TOML | Tools → Convert → JSON → CSV / TSV / YAML / TOML |
| TOML → JSON | Tools → Convert → TOML → JSON |
| YAML → JSON | Tools → Convert → YAML → JSON |
CSV parsing follows RFC 4180 quoting; TSV is a plain tab split/join (no escape mechanism, so tabs and newlines inside a field aren’t supported). Converting to JSON treats the first row as a header and emits one object per remaining row; converting from JSON does the reverse, using the union of every object’s keys, in first-seen order, as the header row.
Try it on the real fixture data. Open data/sample.csv:
name,role,score
Alice,engineer,92
Bob,designer,81
Carol,engineer,88
Dave,manager,75
With nothing selected, run Tools → Convert → CSV → JSON — it acts on the whole buffer since there’s no selection, and replaces the CSV text with:
[
{
"name": "Alice",
"role": "engineer",
"score": "92"
},
{
"name": "Bob",
"role": "designer",
"score": "81"
},
...
]
(Values come out as strings — the tool doesn’t infer numeric types.) This
replaces the buffer in place, so don’t save over the fixture: Ctrl+Z
undoes it, or just close without saving. data/sample.tsv holds the same
rows in tab-separated form if you want to try the TSV side instead.
Markdown Preview
Open notes.md and run Tools → Markdown Preview… (tools.markdown_preview).
It renders the buffer to a read-only preview pane, scroll-synced to wherever
your cursor was in the source. Press t (or T) to open a table-of-contents
overlay built from the document’s headings; ↑/↓/PageUp/PageDown
navigate it, Enter jumps the preview to that heading and closes the TOC,
Esc closes just the TOC (back to the preview). Esc again leaves the
preview entirely.
A few more worth knowing about
Three more Tools items are small enough to name without a full walkthrough:
- Tools → QR Code… (
tools.qrcode) encodes the selection (or, with nothing selected, the cursor’s line) into a QR code drawn with Unicode half-blocks in a read-only overlay — black-on-white regardless of your active theme, so it scans reliably.Esc/Enter/qclose it. - Tools → Calculator… (
tools.calculator) evaluates any typed arithmetic/boolean formula on Run, then Insert drops the result at the cursor. - Tools → Convert → Unit Converter… (
tools.convert.unit) converts a number between units within one dimension (length, mass, temperature, digital data size, or time) as you type, with its own Insert button.
See docs/tools/index.md for these three, the
number-base converter, the color converter, and Pomodoro — everything under
the Tools menu in one reference.
Where to go next
docs/http-client/index.md— the full HTTP client reference.docs/tools/index.md— every Tools-menu utility, including the handful this page didn’t cover.docs/command-palette/index.md— every action above is also reachable by name fromCtrl+P.
Previous: 07 — The DB Workbench Next: 09 — Make Vix Yours
Vix™ and Vix IDE™ are trademarks.
Tutorial 9: Make Vix Yours
Four things make Vix feel like your editor instead of a stranger’s: themes (color), keymaps (which keys do what), snippets (reusable text), and the settings file (everything else). This tutorial walks through all four, hands-on, against the demo workspace.
Open it if you don’t already have it open:
cd tui/examples/demo-workspace
vix .
From the explorer (Ctrl+B to show it, Ctrl+E to focus it), open
tui/examples/demo-workspace/rust-app/src/main.rs. It’s a small Rust file
with keywords, strings, a comment or two, and a couple of TODO/FIXME
markers — real syntax-highlighted code to preview changes against as we
go, rather than an empty buffer.
Themes: browsing and switching
Open View → Theme…. It’s a live-preview chooser: ↑/↓ (or a mouse
click) applies each theme to the real running UI immediately, so with
main.rs visible behind the menu you can watch fn, use, and mut
change color as you move the selection, not just imagine it from a name.
Enter keeps the highlighted theme and saves it to the theme setting;
Esc cancels and restores whatever was active before you opened the menu.
Vix ships a lot of themes to browse: Dark and Light (the two
defaults), Darker, Darkest, Lighter, Lightest, Turbo,
Solarized Dark, Solarized Light, Dracula, Nord, Gruvbox Dark,
Monokai, One Dark, Tokyo Night, Catppuccin Mocha, High Contrast
(WCAG AA, 11:1 or better everywhere), Phosphor Amber Monochrome,
Phosphor Green Monochrome, Phosphor White Monochrome,
Safelight Red Monochrome — plus a full set of Base16 …-prefixed themes generated
from bundled base16 palettes,
in the same list. See docs/themes/index.md for
the complete set and the underlying JSON format.
Themes: the interactive Theme Editor
Picking between finished themes is one thing; building your own from
scratch is another. Open View → Edit Theme… (also in the command
palette, Ctrl+P then >edit theme). It opens over a working copy of
whatever theme is currently active — 15 rows, one per color slot: the
menu bar, status bar, left dock (explorer), and right dock (messages),
each with a separate foreground and background; the editor’s own
foreground, background, and cursor color; and the four syntax colors
(keyword, string, comment, number). Each row shows its current
#RRGGBB value.
↑/↓(or the mouse) move the highlight between rows.Enteron a row opens the same X11 color picker Tools → X11 Colors uses elsewhere in Vix — browse or search named colors rather than typing hex by hand. Picking one applies it to the slot and returns you to the editor.- Every change is applied live — pick a new value for the “syntax ›
keyword” row and watch
fn/use/mutinmain.rschange color right behind the overlay, the same live-preview mechanism the plain theme chooser uses. Ctrl+S(Save As) prompts for a name and writes the result to~/.config/vix/themes/<name>.json, then makes it the active theme — the same outcome as picking any other theme from View → Theme….Esccloses the editor and reverts to whichever theme was active before you opened it, if you haven’t saved. An edit you don’t save never lingers as the active theme.
Try it: open the editor, change the syntax “comment” slot to something
loud, Ctrl+S, name it my-theme. It now shows up in View → Theme…
alongside the bundled ones, and ~/.config/vix/themes/my-theme.json is
just a JSON file you can also hand-edit (or check into a dotfiles repo) —
see docs/themes/index.md for the field
reference if you’d rather write one by hand than click through the
editor.
Keymaps: switching families
A keymap decides what your keys do, not what they look like. Open
View → Keymap — a submenu, not an overlay — and you’ll find ten
entries: Apple (the default), VSCode macOS, VSCode Windows,
Emacs, Vi, Spacemacs, IntelliJ macOS, IntelliJ
Windows, Eclipse, Sublime, Zed, Fresh, ttt, and Helix. Selecting one applies it
immediately and saves it to the keymap setting, so it’s what you get
next launch too.
Each keymap changes the same actions to different keys — for example
“open the file chooser” is Ctrl+O under Apple, Ctrl+P (Quick Open)
under VSCode, Ctrl+X Ctrl+F under Emacs, and :Ex/Ctrl+E under Vi.
Two things never change no matter which keymap is active: Ctrl+Z /
Ctrl+Shift+Z for undo/redo, and every menu mnemonic (Alt+F/E/V/T/H)
and function key (F1, F3, F10, F12). F1 in particular opens a
searchable overlay of every shortcut in your current keymap — the
fastest way to answer “wait, what does this key do now?” right after
switching. The full per-keymap tables live in
docs/keymaps/index.md.
Keymaps: rebinding one key
Switching families is coarse; sometimes you just want one key to do
something else. Open Vix → Keybindings… — a sibling of the read-only
F1 panel that adds rebind and reset. It lists the active keymap’s
top-level bindings plus the keymap-agnostic shared ones (things like
Alt+Left/Alt+Right for position history, which work the same in
every keymap), each row showing its Action, its current Shortcut,
and its Source — built-in, a user override, or the name of a script
that bound it.
- Type to filter both columns live, case-insensitively.
- Click a column header to sort by it; click again to reverse.
↑/↓,PgUp/PgDn, or the mouse wheel move the selection.Enteron a row opens a prompt: type the new key as text — the sameC-/A-/S-grammar a recorded macro uses, e.g.C-S-kforCtrl+Shift+K— andEnterto confirm.Deleteresets the selected row to its built-in default. It only does anything when the row’s Source is a user override — you can’t “reset” a binding you never changed.Esccloses the overlay.
Try it: type duplicate to filter down to “Duplicate line”, press
Enter, type C-S-k, press Enter again. The Source column now shows
it as a user override, and Ctrl+Shift+K duplicates a line immediately —
no restart needed. Under the hood this wrote to keybindings.toml in
Vix’s config directory (next to config.toml) via the same
[[binding]] format you could hand-edit yourself:
[[binding]]
key_token = "C-S-k"
action_id = "edit.duplicate_line"
Two overrides claiming the same key — from keybindings.toml, from a
script, or one of each — are both
rejected, reported in the message drawer rather than one silently
winning. An override that simply claims a key a built-in binding already
used still wins outright, but is reported once so a built-in that stops
firing doesn’t surprise you later.
A chorded keymap’s chord continuations — Emacs’s Ctrl+X/Ctrl+C
families, Spacemacs’s Space leader — aren’t listed in the editor and
can’t be rebound this way; the override layer only resolves top-level
keys. If you hand-edit keybindings.toml directly (instead of through
the editor), pick up the change with Tools → Reload Keybindings
rather than restarting. Full detail:
crates/vix-keybindings/spec/index.md
and
crates/vix-keybinding-editor-panel/spec/index.md.
Snippets: inserting and creating
Snippets are reusable text with navigable tabstops, TextMate/VS Code-style but stored as JSON. Two ways to use one:
- Tools → Snippets… lists every snippet in scope for the active
buffer; type to filter by name, prefix, or description,
Enterinserts it. Try it onmain.rs— filter tofunctionand you’ll find the bundled Rust function snippet. - Prefix expansion: type a snippet’s prefix, then press
Tab. The bundled snippets are picker-only (no prefix), but anything you save yourself gets one — see below.
And one way to make your own from text you already wrote —
New Snippet from Selection: select the word_counts function body in
main.rs, then Tools → New Snippet from Selection…. It prompts for a
prefix, which becomes both the saved snippet’s name and its
expansion trigger — type wc and confirm. The selection is saved to your
global snippet file, ~/.config/vix/global/snippets/snippets.json
(created if it doesn’t exist), as ordinary JSON:
{
"wc": {
"prefix": "wc",
"body": [
"fn word_counts(text: &str) -> HashMap<&str, u32> {",
"\tlet mut counts = HashMap::new();",
"\tfor word in text.split_whitespace() {",
"\t\t*counts.entry(word).or_insert(0) += 1;",
"\t}",
"\tcounts",
"}"
]
}
}
Open a new, empty buffer, type wc, press Tab — it expands right back
out. Edit the file directly to add tabstops (${1:placeholder} for a
pre-filled, select-on-arrival field; $1, $2, … for empty ones visited
in order; $0 for where the cursor lands last) — the picker-inserted
version and the prefix-expanded version both go through the same tabstop
engine, so either path benefits.
Snippets are gathered from several scopes and merged, later ones
shadowing earlier ones by name: bundled (built into Vix), global
(~/.config/vix/global/snippets/*.json, what you just wrote to),
media-type (config- or project-level, scoped to a buffer’s media
type, e.g. media-types/text/rust/snippets/*.json for Rust files only),
and project (<project root>/config/snippets/snippets.json by
default — configurable with the project_snippets setting). Full format
and scope reference:
crates/vix-snippets/spec/index.md.
Settings: the config file
Everything above — the active theme’s name, the active keymap’s id, dock
widths, whether the explorer shows on startup — lives in one TOML file,
config.toml:
| Platform | Path |
|---|---|
| Linux | ~/.config/vix/config.toml |
| macOS | ~/Library/Application Support/rs.vix/config.toml |
| Windows | %APPDATA%\vix\config\config.toml |
Vix → Settings… opens it directly as an ordinary, editable buffer —
Vix saves your current in-app settings first, so what you see always
matches what’s actually active right now. Most of what’s in there you’ll
never hand-edit: toggling line numbers, resizing a dock, or picking a
theme/locale/keymap from its menu already writes back here for you on
quit. A handful of settings, though, have no menu equivalent and can
only be set by editing this file — wrap_column (the column Edit →
Wrap fills text to; default 80), ai_command (the shell template the
AI menu runs), test_command, dictionary_path, contacts_dir,
project_snippets, and a few more. The full list, with types and
defaults, is in
docs/reference/settings.md and
docs/configuration/index.md.
One gotcha worth knowing before you hand-edit: Vix treats config.toml
as something it writes, not something it re-reads mid-session — it
loads the file once at startup and, from then on, persists its in-memory
copy back over the file every time it has reason to (choosing a theme,
changing the keymap, quitting). So an edit you type into that buffer and
save while Vix is still running gets silently overwritten the next time
that same session persists settings — including the moment you quit it
normally. Make hand-edits with Vix closed — any text editor, not just
Vix — then launch (or relaunch) Vix to pick them up. Try it: quit Vix,
edit wrap_column down to 60 in config.toml with your usual editor,
then reopen the demo workspace and run Edit → Wrap on a long line in
notes.md — it fills at the new width.
A few keys are managed by Vix, not hand-edited at all: recent_files,
command_recents, and db_connections are written back as you use the
editor, the same way the theme/keymap/locale choices are.
Where to go next
docs/configuration/index.mdanddocs/reference/settings.md— every settings key, generated and hand-written references.docs/themes/index.md— the full theme JSON format, for writing one by hand instead of clicking through the editor.docs/keymaps/index.mdanddocs/keybindings/index.md— every binding, in every keymap.crates/vix-snippets/spec/index.md— the snippet file format and scope resolution in full.
Previous: 08 — HTTP Client & Tools Suite Next: 10 — Debugging with DAP
Vix™ and Vix IDE™ are trademarks.
Tutorial 10: Debugging with DAP
Vix drives real debuggers over the Debug Adapter Protocol (DAP) — the
same protocol VS Code uses — the same way it drives language servers over
LSP. You configure an adapter once in config.toml, and Vix speaks the
protocol to it: breakpoints, stepping, a live call stack, variables, and
watches, all inside the editor.
This tutorial walks through a complete session with debugpy (Python),
debugging tui/examples/demo-workspace/scripts/hello.py. Vix’s other
documented adapter, codelldb (for Rust/C/C++, e.g.
tui/examples/demo-workspace/rust-app), is configured the same way — see
“Using codelldb instead” near the end for its config block.
For the condensed reference version of everything below, see
docs/debugger/index.md and the full protocol
detail at
crates/vix-dap/spec/index.md.
Install debugpy
debugpy is a Python package, not a separate binary — install it into
whichever Python environment you’ll run hello.py with:
pip install debugpy
Confirm it’s importable:
python3 -m debugpy --version
Configure the adapter
Debug adapters live under [[debug_adapters]] in config.toml — the same
file LSP servers go in (~/.config/vix/config.toml on Linux,
~/Library/Application Support/rs.vix/config.toml on macOS,
%APPDATA%\vix\config\config.toml on Windows). debug_adapters is empty
by default, so add an entry:
[[debug_adapters]]
adapter_id = "debugpy"
extensions = ["py"]
command = ["python", "-m", "debugpy.adapter"]
[debug_adapters.launch]
console = "internalConsole"
extensionsroutes files to this adapter by extension, the same waylsp_serversentries do.commandis how Vix launches the adapter —debugpy.adapterspeaks DAP over stdio directly, no separate “attach” step needed.[debug_adapters.launch]is merged into the DAPlaunchrequest. Any value in it may use{program}, which expands to the file path being debugged;programitself defaults to the active file when you don’t set it, which is enough for a single-script target likehello.py.console = "internalConsole"keeps the debuggee’s output flowing into Vix’s bottom dock rather than trying to open a separate terminal.
Save the file, then open the demo workspace:
cd tui/examples/demo-workspace
vix scripts/hello.py
Set a breakpoint
hello.py prints one line per CSV row and has a real, unvalidated-input
FIXME sitting right next to that loop:
17 rows = load_rows(data_path)
18
19 print(f"{len(rows)} rows in {data_path.name}")
20 for row in rows:
21 print(f" {row['name']}: {row['score']}")
22
23 # TODO: also print the average score across all rows.
24 # FIXME: this assumes every row has a "score" column that parses as a
25 # number -- it doesn't validate that before use.
Put the cursor on line 21 (the print(f" {row['name']}: {row['score']}")
line, inside the loop) and open Run → Toggle Breakpoint
(action id run.toggle_breakpoint; the Eclipse keymap binds Ctrl+Shift+B
to it — every other keymap only has it on the Run menu and the command
palette). The gutter marks the line with a red ●. Toggling the same line
again clears it; breakpoints persist across Start/Stop within the session,
and toggling one while a session is already running updates it live.
Start the session
Open Run → Start (run.start). Behind the scenes Vix launches
python -m debugpy.adapter, sends initialize, and — once the adapter’s
initialized event comes back — sends your breakpoints (setBreakpoints),
then launch, then configurationDone. The status line reports “Debug
session started” and the Debug panel opens automatically on the right
(you can also toggle it by hand with Run → Toggle Debug Panel,
run.panel).
hello.py starts running, prints 4 rows in sample.csv, then hits your
breakpoint on the first loop iteration. Vix jumps the editor to line 21 and
marks it with ▶ in the gutter — this is the stopped event; Vix fetches
the stack trace and the top frame’s variables the moment it arrives.
Inspect variables and the call stack
The Debug panel now shows two sections:
- Call Stack — one line per frame,
<function name>with the<file>:<line>it’s stopped at in dim text. For a plain script like this you’ll see one frame,main, athello.py:21. - Variables — the stopped frame’s top-level scope, one
name = valueline per entry. Look forrow— on the first stop it reads something likerow = {'name': 'Alice', 'role': 'engineer', 'score': '92'}. Notice'92'is a string, not a number — exactly the gap the FIXME is about; every value straight out ofcsv.DictReaderis astr, so any arithmetic onrow["score"]needs an explicitint()first.
A Threads section above them lists the program’s threads. To explore,
open Run → Focus Debug Panel (run.focus_panel): Up/Down move the
highlight, Enter on a structured variable (marked ▸) fetches and shows
its children — as deep as you like — and Left collapses it again. Enter on
another frame shows its variables and moves the editor there; Enter on
another thread shows its stack. e on a variable sets its value (debugpy
supports this), and Esc gives the keyboard back to the editor.
While stopped, the stopped line itself also shows the values of the
variables it mentions, dimmed after the code — on line 21, row = {…}.
Step through execution
With Run → Continue (run.continue) you’d run to the next breakpoint
hit — since the same line 21 breakpoint fires every loop iteration, hit
Continue three more times and watch row in the Variables list update
to Bob, then Carol, then Dave each time execution stops again.
To go line-by-line instead:
- Step Over (
run.step_over) — runs the current line without entering any function it calls. On line 21 this just advances to the next loop iteration. - Step Into (
run.step_into) — steps into a called function. Put a breakpoint on line 17 (rows = load_rows(data_path)) instead, restart, and Step Into there to land insideload_rowsitself, on thewith path.open(...)line. - Step Out (
run.step_out) — runs until the current function returns, then stops in its caller. - Pause (
run.pause) — interrupts a running (non-stopped) session, for when you didn’t set a breakpoint but want to break in anyway.
Watches and the debug console
- Run → Add Watch… (
run.watch) prompts for an expression and evaluates it every time execution stops, adding a Watches section to the Debug panel below Variables. Tryrow['score']— you’ll see the string value re-evaluate at each subsequent stop, right alongside the same field already visible under Variables. - Run → Evaluate… (
run.repl) is a one-off version of the same thing — it prompts for an expression, evaluates it once in the current frame, and prints the result to the bottom dock instead of pinning it. Tryint(row['score']) * 2while stopped on line 21 to confirm the fix the FIXME wants (int(...)first) is exactly what’s missing today.
Program print() output streams to the bottom dock the same way, as
output events arrive — you already saw this with the 4 rows in sample.csv line at the top of the session.
Conditional breakpoints and logpoints
To stop only on Dave’s row, put the cursor on line 21 and open Run →
Edit Breakpoint… (run.edit_breakpoint). Three prompts follow, each
pre-filled with the current value (an empty answer clears it):
- Condition —
row['name'] == 'Dave'stops only when it is true. - Hit count — e.g.
3stops on the third hit (debugpy’s syntax). - Log message —
score is {row['score']}turns the breakpoint into a logpoint: it prints to the bottom dock instead of stopping.
Run → Exception Breakpoints… (run.exception_filters) lists the
exception filters debugpy offers (“Raised Exceptions”, “Uncaught
Exceptions”, …) with the adapter’s defaults ticked; Enter toggles one.
Run → Function Breakpoint… (run.function_breakpoint) asks for a function
name and toggles a breakpoint that stops when that function is entered, for
adapters that support them. The Debug panel keeps the variables you expanded
open as you step.
Run → Data Breakpoint on Variable (run.data_breakpoint, or b in the
Debug panel) stops when the memory behind the highlighted variable is written,
for adapters that support data breakpoints (not every adapter, and not every
variable: the status line says when one cannot be watched). Press it again on
the same variable to remove the breakpoint. Data breakpoints last for one
debug session only.
Run → Instruction Breakpoint… (run.instruction_breakpoint) asks for a
memory reference such as 0x4005d0 and toggles a breakpoint on the machine
instruction there, for adapters that support instruction breakpoints (mostly
native debuggers). It is kept for later sessions of this run of Vix, not saved
to disk.
Line and function breakpoints (with their condition, hit count and log message) are saved per workspace when you quit Vix and are back the next time you open it, and the next debug session sends them to the adapter like any other breakpoint. The exception choices are not saved.
Attaching to a running program
Add an [debug_adapters.attach] table to the adapter entry, and Run →
Attach (run.attach) sends it as the DAP attach request instead of
launch — for example, for a program started with
python -m debugpy --listen 5678 hello.py:
[debug_adapters.attach]
connect = '{ "host": "localhost", "port": 5678 }'
A value that reads as JSON (a number, true/false, an object or an
array) is sent as that JSON, so connect above goes out as an object and
processId = "4242" as a number; anything else is a string. Check your
adapter’s documentation for the keys it attaches by.
Stop
Run → Stop (run.stop) terminates the adapter and the debuggee,
clears the call stack and variables from the Debug panel, and clears the
▶ stop marker (your ● breakpoints stay set for next time). Vix runs one
debug session at a time — start a second one and it replaces the first.
Using codelldb instead
For a compiled target like tui/examples/demo-workspace/rust-app, swap in
codelldb (install it via the
CodeLLDB VS Code extension or any
standalone build of the same binary) with its own adapter entry:
[[debug_adapters]]
adapter_id = "codelldb"
extensions = ["rs", "c", "cpp"]
command = ["codelldb"]
[debug_adapters.launch]
program = "{program}"
{program} here needs to expand to the built binary, not the .rs
source file, so run cargo build in rust-app/ first and open the crate
from its target/debug/ binary path (or point program at a fixed path
rather than relying on {program}) before hitting Run → Start. Every
other command in this tutorial — breakpoints, Continue, the stepping
trio, the Debug panel, Watches, Evaluate — works identically once the session is running;
only adapter configuration and what counts as “the program” differ between
the two.
Closing note
That’s the last tutorial in this series. If you want a refresher on anything earlier, start back at Tutorial 1: Your First Session, or jump straight to Getting Started for install/config basics.
Previous: Tutorial 9 — Make Vix Yours
Next: Tutorial 11 — Tasks, Tests and the Terminal
Vix™ and Vix IDE™ are trademarks.
Tutorial 11: Tasks, Tests and the Terminal
Vix runs your project’s commands without you leaving the editor. One command pipeline sits under everything in this tutorial: a manual Run Command, a named task, a Project menu command and Run Tests all start a shell in the background, stream its output into the bottom dock, and scan that output for compiler errors you can jump to. For interactive work there is a real terminal on a pseudo-terminal, with as many tabs as you want.
This tutorial uses the demo workspace:
cd tui/examples/demo-workspace
vix .
None of these commands has a key in the default Apple keymap, so the steps
use the menu bar and the command palette. Where another keymap binds a key,
the step says which keymap. The full per-keymap tables are in
docs/reference/.
1. Run a one-off command
Open Tools → Run Command… (tools.run_command). A prompt titled Run
command (shell) opens. Type:
python3 scripts/hello.py
and press Enter. The bottom dock opens below the editor, titled
Output, and shows:
- a
$ python3 scripts/hello.pyline, so you can see what ran; - the script’s output, starting with
4 rows in sample.csv; - an
[exit 0]line when the process ends.
The status bar says Command exited 0, and the notification panel records
the run (Info on exit 0, Error otherwise). The command runs in the workspace
root with stdout and stderr merged, and only one command runs at a time:
starting another while one is running reports A command is already running. Tools → Cancel Command (tools.cancel_command) kills the
running one and writes [cancelled] to the dock.
The bottom dock
The bottom dock keeps the last 1000 lines. While you are at the newest line it follows new output; scroll up and it stops following, so a long build does not pull the view away from what you are reading. Click the dock to focus it, then:
| Key | Does |
|---|---|
Up / Down | Scroll one line |
PageUp / PageDown | Scroll one page |
Home | Jump to the top (stops following) |
End | Jump to the bottom (follows again) |
Esc | Give focus back to the editor |
Show or hide it with View → Layout → Show/Hide Bottom Dock
(view.bottom_dock; Ctrl+J in the VS Code and Zed keymaps), and resize it
by dragging its top edge. Clicking a line that names a location, such as
src/main.rs:10:22, opens that file at that line. You will use that in
step 5.
2. Run a named task
Typing the same command twice is what tasks are for. The demo workspace
ships a tasks.toml at its root:
[[task]]
name = "build"
command = "cargo build --manifest-path rust-app/Cargo.toml"
[[task]]
name = "test"
command = "cargo test --manifest-path rust-app/Cargo.toml"
[[task]]
name = "run"
command = "cargo run --manifest-path rust-app/Cargo.toml"
[[task]]
name = "report"
command = "python3 scripts/hello.py"
Open Tools → Tasks… (tools.tasks). The Run Task chooser lists one
row per task as name — command. Move to report with ↓ and press
Enter (or click the row). It runs through the same pipeline as step 1:
output in the bottom dock, the result in the notification panel. Esc
closes the chooser without running anything.
Vix reads <root>/tasks.toml, and falls back to <root>/.vix/tasks.toml
if you would rather keep it out of the way. An entry with an empty name or
command is dropped. With no tasks at all, the status bar says No tasks defined (add a tasks.toml).
3. Tasks Vix finds by itself
Your project’s build files already name its commands, and Vix can list them
without a tasks.toml. To see this, create a throwaway Makefile at the
demo root from your shell (Make needs a real tab before the recipe line, and
printf writes one):
printf 'hello:\n\tpython3 scripts/hello.py\n' > Makefile
Now open Project → Run Task… (project.run_task; C-c p c x in the
Emacs keymap). This chooser has the four tasks.toml tasks and a fifth row,
make:hello — make hello. Discovered tasks always carry their tool’s
prefix, so they never clash with your own task names. The sources Vix reads
are:
| Tool | File | Prefix |
|---|---|---|
| npm, yarn, pnpm, bun | package.json scripts | npm:, yarn:, … |
| Deno | deno.json / deno.jsonc tasks | deno: |
| Composer | composer.json scripts | composer: |
| just | justfile / .justfile / Justfile | just: |
| go-task | Taskfile.yml / Taskfile.yaml | task: |
| Rake | Rakefile, *.rake, rakelib/*.rake | rake: |
| Make | Makefile / makefile / GNUmakefile | make: |
Only files in the workspace root are read. A file Vix cannot parse adds no tasks; it does not hide the others.
Run make:hello, then open Project → Repeat Last Task
(project.repeat_last_task; C-c p c X in the Emacs keymap). It runs the
same command again. Repeat Last Task remembers the last project command of
any kind, whether a task or one of the lifecycle commands in the next step.
Delete the Makefile when you are done (rm Makefile).
4. The Project menu’s lifecycle commands
The top of the Project menu has six fixed slots: Configure,
Compile, Test, Install, Package and Run. Vix fills each
one from the project type it detects at the root (Cargo.toml means cargo,
package.json means npm, and also yarn, pnpm and bun by lockfile, plus
make, just, Python and Poetry, Go and Deno). A cargo project, for example,
gets cargo build for Compile, cargo test for Test and cargo run for
Run.
| Slot | Action | Emacs keymap |
|---|---|---|
| Configure | project.configure | C-c p c o |
| Compile | project.compile | C-c p c c |
| Test | project.test | C-c p c t |
| Install | project.install | C-c p c i |
| Package | project.package | C-c p c p |
| Run | project.run | C-c p c r |
Open Project → Test. The demo root has no marker file of its own (the
Rust code is one level down, in rust-app/), so the status bar says No command configured for this project type.
Give the root a command of its own. Create .vix/project.toml in the demo
workspace with:
run = "python3 scripts/hello.py"
The keys are the six slot names: configure, compile, test, install,
package and run. This file is meant to be committed so the whole team
gets the same commands. Now open Project → Run. Instead of running
straight away, Vix opens a Run command prompt holding
python3 scripts/hello.py. Edit it if you like, for example add
; echo done, and press Enter.
The command you accept is remembered for this workspace, across restarts,
and wins over both .vix/project.toml and the detected default from then
on. Open Project → Run again and the prompt holds your edited version.
To go back to the file’s command, use Project → Discard Command Cache
(project.discard_command_cache). It clears only your remembered commands
and never touches .vix/project.toml.
Delete .vix/project.toml when you are done, then use Discard Command
Cache once more so that the next step starts clean.
5. Subprojects, and jumping to errors
Monorepos have several projects under one root, and rust-app/ is one.
Open tui/examples/demo-workspace/rust-app/src/main.rs (in the explorer,
rust-app/ → src/ → main.rs), then Project → Subproject → Compile
(project.subproject.compile; C-c p c m c in the Emacs keymap). Vix finds
the nearest directory above the file that has a marker file, rust-app/,
detects cargo there, and opens the Compile command prompt with cargo build. Press Enter. The build runs inside rust-app/.
Project → Subproject has the same six slots plus Find File, which
opens the palette limited to that subproject’s files. From a file outside
any subproject, these report No subproject manifest found between this file and the project root. The override file and the remembered commands belong
to the workspace root, though, and the subproject menu shares them: only the
detected default and the directory the command runs in change.
Now break the build. In main.rs, add this line straight after let counts = word_counts(text);:
#![allow(unused)]
fn main() {
let total: u32 = "all";
}
Save, and run Project → Subproject → Compile again. rustc prints
error[E0308]: mismatched types followed by --> src/main.rs:10:22. When
the build ends, the status bar says Command exited 101: 1 problems (Go → Next Error). Vix read the output as it streamed and found one problem.
There are four ways to get to it:
- Go → Next Error (
go.next_error) opensmain.rsat line 10, column 22, and the status bar showsProblem 1 of 1:with the message. Go → Previous Error (go.prev_error) goes the other way. Both wrap around at the ends of the list. - With the cursor on that line, the message is drawn at the end of the line,
the same way as inline LSP diagnostics. The
inline_diagnosticssetting (off,cursor-line(the default) orall) controls both. - Tools → Language Server → Diagnostics… (
lsp.diagnostics;Ctrl+Shift+Min the VS Code and Zed keymaps) is the Problems list. It shows language server diagnostics first, then the task problems, each tagged with the matcher that found it (rustc).Enteron a row jumps there. - Click the
--> src/main.rs:10:22line in the bottom dock.
Paths are resolved against the directory the command ran in, here
rust-app/, so the relative path in --> src/main.rs:10:22 finds the
right file. Vix
recognizes rustc and cargo, gcc and clang, tsc, eslint, Python tracebacks
and pytest, and the Go toolchain. A task in tasks.toml can choose one,
turn matching off, or supply its own regular expression with file and
line groups:
[[task]]
name = "lint"
command = "npx eslint src"
matcher = "eslint" # or "auto" (the default), "none", or a regex
Remove the let total line and save before you go on.
6. Run the tests
Tools → Run Tests (tools.test; Ctrl+B in the Eclipse and Sublime
keymaps) runs the test_command setting, which defaults to cargo test. It
runs in the workspace root, so for this step open Vix on the Rust project
itself:
cd tui/examples/demo-workspace/rust-app
vix .
Open Tools → Run Tests. Output streams to the bottom dock as usual, and
the Test panel opens on the right. When the run ends, Vix parses the
output and the panel lists each test with a ✓ (passed), ✗ (failed) or
○ (ignored) icon. The status bar and the notification panel report the
tally: Tests: 1 passed, 0 failed, 0 ignored.
Now make the test fail. In main.rs, change the first assertion in
counts_repeated_words to expect 4:
#![allow(unused)]
fn main() {
assert_eq!(counts.get("a"), Some(&4));
}
Save and run Tools → Run Tests again. The tally becomes Tests: 0 passed, 1 failed, 0 ignored, the notification is an Error, and the panel shows
✗ tests::counts_repeated_words. Click that row: Vix opens
main.rs at line 37, the line cargo reported in panicked at src/main.rs:37:9. Put the 3 back afterwards.
Tools → Toggle Test Panel (tools.test_panel) shows or hides the panel.
To use another runner, set test_command in config.toml
(~/.config/vix/config.toml on Linux,
~/Library/Application Support/rs.vix/config.toml on macOS,
%APPDATA%\vix\config\config.toml on Windows):
test_command = "pytest -v" # or "npm test", "go test ./..."
test_width = 40 # width of the Test panel
The panel understands libtest output (cargo test) and the
name PASSED / FAILED / SKIPPED lines that pytest -v and similar
runners print. Only libtest output includes failure locations, so only
cargo rows can be clicked through to a line.
Test at point
Project → Test at Point (project.test_at_point; C-c p c . in the
Emacs keymap) finds the test the cursor is in, or the nearest test above it,
and runs only that test, with no prompt. It reads the lines around the
cursor rather than a syntax tree, and supports Rust, Python, Go,
JavaScript/TypeScript, Ruby and Elixir. With the cursor inside
counts_repeated_words, the bottom dock shows the command it built:
cargo test -- --exact tests::counts_repeated_words
--exact compares a test’s full path, so Vix builds it from the file’s
place in src/ and the mod blocks around the test: here tests::, for
the mod tests block in main.rs. Cargo reports running 1 test.
7. The integrated terminal
Go back to the demo root (cd .., then vix .). Open Tools → Terminal →
Show/Hide Terminal (tools.terminal; Ctrl+` in the VS Code, Zed and
Sublime keymaps, Ctrl+T in the TTT keymap). Your shell ($SHELL, else
/bin/sh; cmd.exe on Windows) starts on a real pseudo-terminal in the
workspace root, drawn over the editor area. Full-screen programs, colors
and the mouse all work.
While the terminal is shown, it gets every key except its own chords:
| Key | Does |
|---|---|
Ctrl+] | Hide the terminal; it keeps running |
Shift+PgUp / Shift+PgDn | Page through the scrollback |
Shift+Home / Shift+End | Oldest kept line / back to the live screen |
Ctrl+PgUp / Ctrl+PgDn | Previous / next terminal |
Ctrl+\ | Toggle key capture: let Ctrl and Alt chords reach the editor instead |
Try it:
- In the terminal, run
grep -rn TODO scripts. One line comes back, starting withscripts/hello.py:23:. - Ctrl+click that
scripts/hello.py:23text. The terminal hides and the editor opensscripts/hello.pyat line 23. Ctrl+click readspath,path:lineandpath:line:col, and falls back to the same problem parser as the bottom dock, so compiler errors and Python tracebacks work too. - Open
tasks.toml, select the textpython3 scripts/hello.pyon thereporttask’s line, and choose Tools → Terminal → Send Selection to Terminal (terminal.send_selection). The terminal opens and runs it. With no selection it sends the current line. - Tools → Terminal → New Terminal (
terminal.new) opens a second shell. A row of numbered tabs appears at the top;Ctrl+PgDnandCtrl+PgUpswitch between them. - Type
exitin one of them. The tab stays, markedexited, with its output. PressEnterto start the shell again in place, or any other key to close the tab.
The rest of the Tools → Terminal submenu: Next Terminal /
Previous Terminal, Copy Terminal Text (the selection, or the whole
visible screen), Restart Terminal (a fresh shell in the same tab, screen
and scrollback kept), Toggle Terminal Key Capture and Close
Terminal. Dragging with the left mouse button selects text and copies it
when you let go. Each terminal keeps 2000 lines of scrollback; the
terminal_scrollback setting changes that, up to 50 000.
Use the terminal for interactive work (a REPL, git rebase -i, htop), and
Run Command or a task for commands whose output you want to keep, scan for
problems and jump from.
Where to go next
- Tasks:
tasks.toml, problem matchers and custom matcher expressions. - Test Runner and Integrated Terminal: the user guides for steps 6 and 7.
- Docks and layout: the bottom dock, and the other two docks around the editor.
- IDE parity: run configurations in
.vix/run.toml(Project → Run Configuration…), which chain tasks, setcwdandenv, and run several commands together. - Tutorial 10: Debugging with DAP: when a failing test needs a debugger rather than a print statement.
- The specs behind this page:
vix-tasks,vix-test-runner,vix-terminalandvix-bottom-dock. - Emacs keybindings: the full
C-c p cchord family.
Previous: Tutorial 10 — Debugging with DAP Next: Tutorial 12 — Remote Editing
Vix™ and Vix IDE™ are trademarks.
Tutorial 12: Remote Editing
Vix can work on a folder that lives somewhere else: on another machine over SSH, inside a running Docker or Podman container, in a Kubernetes pod, or in a WSL distribution. Your settings, theme, keybindings, snippets and undo history stay on your machine; the files, search, git, tasks, language servers and the terminal run on the remote side.
This feature is experimental. It works, it is tested, and it has known limits, listed at the end of this tutorial.
You don’t need a server to follow along. The first half uses ssh localhost
(your own machine, reached over SSH); the second half uses a throwaway
Docker container. Each step says what to do and what you should see.
For the condensed reference, see
docs/remote-editing/index.md; the design
is in spec/remote-editing/index.md.
What you need
-
For the SSH part: an SSH server you can reach without typing a password each time. On macOS, turn on Remote Login in System Settings → General → Sharing. On Debian or Ubuntu,
sudo apt-get install openssh-server. Then check that a plainsshworks from a terminal:ssh localhost trueIf it asks whether to trust the host key, answer
yesonce; the key is saved in~/.ssh/known_hosts. If it asks for a passphrase, runssh-addso your key is in the agent. -
For the container part: Docker (or Podman) installed and running.
Nothing has to be installed on the remote side except a POSIX sh and the
usual commands (cat, head, stat, find, mv, cp, mkdir, rm).
GNU, BusyBox, BSD and macOS versions all work.
Step 1: Make a folder to work on
Create a small folder “on the remote side”. With ssh localhost that is
just a folder on your own disk, but Vix will only reach it through ssh:
mkdir -p /tmp/vix-remote-demo
printf 'first line\n' > /tmp/vix-remote-demo/notes.txt
Step 2: Open it over SSH from the command line
vix ssh://localhost/tmp/vix-remote-demo
Vix runs your system ssh and connects before the editor takes over the
screen, so if ssh needs to ask for a password, a passphrase or a host-key
confirmation, it can ask here as usual. Every later command shares this one
connection (OpenSSH’s ControlMaster), so none of them prompts again.
Other forms of the same name:
vix ssh://me@build-box/srv/app # a user and an absolute path
vix ssh://build-box:2222/~/src/app # a port, and a path under the remote home
vix /ssh:me@build-box:/srv/app/main.rs # TRAMP's form; a file opens in its folder
Because Vix uses your system ssh, your ~/.ssh/config applies: host
aliases, User, Port, ProxyJump, keys and the SSH agent all work.
Step 3: Decide whether to trust the workspace
The first time you open a remote workspace, Vix asks:
Trust ssh://localhost/…? Only a trusted workspace runs its own code: tasks, run configurations, tests, the debugger, language servers and project tools. (y: trust, n: restricted mode)
Press n for now. The status bar shows ⇄ localhost (restricted).
In restricted mode you can still browse, edit, search and save, and git and commands you type yourself (Run Command…) still run. What stays off is everything the workspace itself defines:
- tasks and project commands (the Project menu), run configurations and test lenses;
- the debugger (Run → Start, Run → Attach);
- language servers;
- project-local Prettier (
node_modules/.bin).
Project scripts (.vix/scripts) never load for a remote workspace, trusted
or not.
Try one: open Project → Test (project.test). The status line says This remote
workspace is not trusted: its own code does not run (File → Trust Remote
Workspace…).
Now trust it: open File → Trust Remote Workspace… (action id
file.trust_remote) and press y. The (restricted) marker goes away. The
answer is remembered on your machine for that host and folder, so you are
not asked again next time; File → Trust Remote Workspace… asks again
whenever you want to change it.
Step 4: Edit and save
Open notes.txt from the Explorer or File → Open, add a line, and save.
Saves on a remote workspace are atomic: Vix writes a temporary file next to
the original and renames it into place, keeping the file’s permissions.
From a separate terminal, confirm the change landed:
cat /tmp/vix-remote-demo/notes.txt
The Explorer, File → Open, the file finder, Find in Workspace, git and
tasks all work on the remote side. Workspace search runs one rg there (or
grep for a plain-text search when rg is missing), so a search is one
round trip rather than one per file.
Step 5: See a save conflict
Each remote buffer remembers the file’s size and modification time from when it was read or last saved. If the file changes on the remote side behind your back, Vix won’t overwrite it silently.
-
In Vix, add another line to
notes.txtbut don’t save yet. -
In a separate terminal, change the file on the “remote” side:
ssh localhost "printf 'changed elsewhere\n' >> /tmp/vix-remote-demo/notes.txt" -
Back in Vix, save.
Instead of saving, Vix asks:
…notes.txt changed on disk since you opened it. o: overwrite it, c: compare, n: cancel
ooverwrites the remote file with your buffer.cshows the file on disk against your buffer, so you can merge by hand and save again.n(or Esc) leaves both alone.
Local files are saved as before, without this check.
Step 6: Open a terminal on the remote side
Open Tools → Terminal → Show/Hide Terminal (tools.terminal). Vix runs
ssh -t over the same shared connection, and the remote side starts your
login shell ($SHELL) in the workspace folder. Ctrl+] hides it again.
In an untrusted workspace the terminal still opens, but in your remote home
folder instead of the workspace, so nothing the workspace defines (a shell
hook, an .envrc) runs until you cd there yourself.
Step 7: Language servers on the remote side
Once the workspace is trusted, language servers and debug adapters run on
the remote machine, where the code and its toolchain are. Configure them in
config.toml exactly as in
Tutorial 5 and
Tutorial 10; Vix looks each command up
on the remote machine’s PATH. A server that isn’t installed there shows
as failed in View → LSP Status….
One catch: servers, adapters and tasks see the PATH of a non-interactive
sh on the remote machine, which does not read your shell profile. A tool
under ~/.cargo/bin may not be found. If so, configure its full path:
[[lsp_servers]]
language_id = "rust"
extensions = ["rs"]
command = ["/home/me/.cargo/bin/rust-analyzer"]
The terminal is a login shell, so it has your usual PATH.
Step 8: Open a remote folder from inside Vix
You don’t have to start Vix with a remote name. From a running Vix, open
File → Open Remote… (file.open_remote, also in the command palette).
It lists your recent remotes, newest first, under a New connection…
row. Pick ssh://localhost/tmp/vix-remote-demo from the list, or choose
New connection… and type a name in either form.
The status bar shows ⟳ localhost while Vix connects in the background,
then the folder opens as the workspace. Switching workspaces closes your
buffers, so Vix refuses to switch while a buffer has unsaved edits: save or
close them first.
The dialog never prompts. The editor owns the terminal, so this
connection runs ssh in BatchMode: it cannot ask for a password, a
passphrase or whether to trust a new host key. If the host needs one of
those, the connection fails with a message that says what to do: run
ssh <host> once in a terminal to accept its key, run ssh-add, or start
Vix with vix ssh://… instead, which can prompt. Keys in an agent,
ssh_config and an existing shared connection all work from the dialog.
Step 9: Lose the connection and reconnect
If the connection drops, the status bar shows
⚠ localhost: connection lost — File → Reconnect Remote. Your buffers stay
open with their edits. Saving is refused (not attempted), and the check for
files changed on disk pauses.
When the host is reachable again, open File → Reconnect Remote
(file.reconnect_remote). Vix connects in the background; nothing is
reloaded or lost, and you save as usual. A file that changed remotely while
you were away is caught by the save check from Step 5.
There is no Disconnect command: to leave a remote workspace, open another folder or quit.
Step 10: Work inside a container
The same works inside a running container. Vix runs each command through
the engine’s exec instead of ssh, so the container needs only a POSIX
sh and the usual commands. Start a throwaway Alpine container with a
folder in it:
docker run -d --name vix-demo alpine sleep infinity
docker exec vix-demo sh -c 'mkdir -p /work && echo hello > /work/hello.txt'
Open it:
vix docker://vix-demo/work
A container connection never prompts. You get the same trust question as in
Step 3 (every container workspace starts untrusted), and then the status
bar shows ⇄ docker:vix-demo. Everything from Steps 3 to 9 applies: atomic,
conflict-checked saves, search, git, tasks and language servers inside the
container, and Tools → Terminal → Show/Hide Terminal opens a login shell
inside ($SHELL, else bash, else sh).
The other container forms:
vix podman://node@api/~/src # Podman, as user node, under its home
vix k8s://dev/web-7f9c/app/srv # namespace/pod/container in Kubernetes
vix wsl://Ubuntu/home/me/src # a WSL distribution (from Windows)
File → Open Remote… takes all of these names too. It also lists the
containers of running Kubernetes pods (a Kubernetes container… row, for
the current context’s namespace) when kubectl is installed, and the
installed WSL distributions (WSL distribution…) when wsl.exe is. Pick
one and the prompt is filled in with its name and ~; change the path and
press Enter.
If a container stops, it shows as a lost connection; start it again and use File → Reconnect Remote.
When you are done with the demo container:
docker rm -f vix-demo
Step 11: Pick a container from the OC menu
You can also start from the container list. Open OC → Open Workspace in
Container… (oc.open_workspace). The status line says Select a running
container and press w to open a workspace in it. Highlight a running Docker
or Podman container and press w: the Open Remote prompt opens, filled in
with docker://<name>/ (or podman://…). Finish the path inside the
container and press Enter.
Step 12: Reopen a project in its dev container
If a local project has a devcontainer.json in its .devcontainer folder
(or a .devcontainer.json at its root), OC → Reopen in Dev Container
(oc.devcontainer_reopen) opens it inside that container. It needs the
devcontainer CLI:
npm install -g @devcontainers/cli
Vix tells you if it isn’t installed. Building a dev container runs the
project’s own Dockerfile, features and lifecycle commands, so Vix asks
first (y to build, n to cancel). Then it runs
devcontainer up --workspace-folder on the project in the background (with
--docker-path podman when the oc_engine setting, or what is installed,
is Podman), and opens the workspace folder the CLI reports, as the
remoteUser the configuration names. Because you just agreed to run the
project’s code, this workspace is trusted at once.
Vix doesn’t implement the Dev Container specification itself: the CLI does
the work, and Vix reads devcontainer.json only for workspaceFolder and
remoteUser as fallbacks.
Step 13: Speed it up with the remote agent
Without help, every file operation is one shell command over the shared
connection. If the remote machine has vix of exactly the same version
as yours, Vix starts it there as a helper, vix --remote-agent, and sends
file operations to it instead: opening, saving, listing, the file finder’s
walk, and the once-a-second check for files changed on disk (all open files
in one request). Anything it can’t do (a file over 64 MiB, running a
program) still uses shell commands, and if the agent stops, Vix carries on
without it.
vix --remote-agent is not for you to run by hand; Vix starts it over the
connection. With ssh localhost the remote vix is the same binary as
yours, so if vix is on the PATH a non-interactive sh sees, the agent
is used. Open the Messages drawer (View Messages, view.messages, in
the command palette) to see a line saying file operations go through the
remote agent, or why it isn’t in use.
Vix looks for the agent in ~/.cache/vix/agent/<version>/vix (or under
$XDG_CACHE_HOME) and on the remote PATH. The remote_agent setting in
config.toml decides the rest:
remote_agent = "installed" # default: use one that is already there
# remote_agent = "upload" # ...and copy this vix there if there is none
# remote_agent = "off" # shell commands only
With "upload", and only when the remote machine runs the same operating
system on the same processor architecture, Vix copies its own binary into
that cache folder. The remote side checks the copy’s SHA-256 before it is
made executable; on any mismatch the copy is deleted. Upload is off by
default because it writes a large executable into your remote home over
what may be a slow link. The setting applies to containers too.
Current limits
Remote editing is experimental. Today:
- Opening from File → Open Remote… can’t answer a password, passphrase or host-key question (Step 8). There is no Disconnect.
- A dropped connection is noticed when an open, a save or the change check
fails; until then an operation may wait for
ssh’s 15-second connect timeout. - Trust is per remote workspace only; local workspaces keep the existing script-trust prompt.
- Without the remote agent, each operation is a round trip. A
regular-expression search on a machine without
rgreads every file, one round trip each; installripgrepthere. Workspace symbol search (@@in the palette), structural replace and the Org agenda still read every file. - Moving a file to the trash needs
gioortrash-puton the remote machine; without one, delete instead (or setexplorer_delete = "hard"). - Debug adapters that talk over a TCP port instead of standard input and output aren’t supported, locally or remotely.
- Stopping a task or closing the terminal ends the local
ssh; a remote program that ignores the closed connection may keep running there. - A container without
/bin/sh(a “distroless” image) can’t be opened. nerdctl containers can’t be opened by name yet. Kubernetes has been run against one local cluster; WSL has been tested only against a stand-in forwsl.exe.
Where to go next
docs/remote-editing/index.md: the full user guide, including safety (no secrets on the command line, host-key checking always left tossh) and how to run Vix’s own SSH tests against a localsshdwithscripts/test-ssh-local.docs/oc/index.md: the OC menu for containers, images, volumes and networks.docs/terminal/index.md: the integrated terminal.docs/cli/index.md: every command-line form, includingvix ssh://…and--remote-agent.crates/vix-authority/spec/index.md: how every file operation and process goes through one “authority”, with the SSH, container and agent details.
Previous: Tutorial 11 — Tasks, Tests and the Terminal Next: Tutorial 13 — Scripting with Rhai
Vix™ and Vix IDE™ are trademarks.
Tutorial 13: Scripting with Rhai
Vix compiles every built-in command into the binary. When you want one it
doesn’t have, you can write it yourself as a small Rhai
script: drop a .rhai file on disk, reload, and you have a new command
palette entry and, if you want one, a key binding. No rebuild.
This tutorial builds three small scripts: a line sorter with a key binding, a dated-TODO inserter that prompts for text, and a project-only ticket linker. Along the way it covers project scripts and workspace trust, plugins, the sandbox, and reading a script error.
Open the demo workspace so you have files to try the scripts on:
cd tui/examples/demo-workspace
vix .
Where scripts live
Vix loads *.rhai files directly inside two directories (not their
subdirectories): global scripts from <config dir>/scripts/, for every
workspace, and project scripts from <workspace root>/.vix/scripts/.
<config dir> is the directory that holds config.toml:
| Platform | Global scripts directory |
|---|---|
| Linux | ~/.config/vix/scripts/ |
| macOS | ~/Library/Application Support/rs.vix/scripts/ |
| Windows | %APPDATA%\vix\config\scripts\ |
The directory doesn’t exist until you create it. A script is known by its
file stem: sort-lines.rhai is the script sort-lines.
Step 1: a first script
Create the global scripts directory and a file named sort-lines.rhai in
it (in Vix, Ctrl+N opens a new buffer and Ctrl+Shift+S saves it under a
name). Start with this:
// Sort the selected lines, A to Z.
register_command("sort_lines", "Sort Selected Lines", "on_sort_lines");
fn on_sort_lines() {
let text = selection_text();
let lines = text.split("\n");
lines.sort();
let result = "";
for (line, i) in lines {
if i > 0 {
result += "\n";
}
result += line;
}
set_selection_text(result);
}
Two parts:
- The top level runs once, when the script loads. It should only
register things.
register_command(id, label, handler)adds a command:idonly has to be unique inside this file,labelis what you see in menus and the palette, andhandlernames afnin the same file. - The handler runs each time you invoke the command, as a fresh call
with no arguments.
selection_text()returns the selected text (""if nothing is selected) andset_selection_text(text)replaces it. The rest is plain Rhai:split,sort, and a loop that joins the lines back together.
Now load it: Tools → Scripts → Reload. The message drawer (the right
dock; View → Layout → Right Dock shows it) reports
Reloaded scripts: 1 command(s) available.
Try it. Open notes.md, type three lines such as pear, apple, fig,
select them, then run the command one of two ways:
- Tools → Scripts → Run… opens a chooser listing every script
command.
↑/↓to pick,Enterto run,Escto close. - The command palette:
Ctrl+P, type>sort, and pick Sort Selected Lines. Script commands sit alongside the built-in ones.
The three lines come back as apple, fig, pear.
Step 2: a key binding, a guard, and a message
The first version has rough edges. With nothing selected it quietly does nothing, and if your selection ends with a newline, the empty last “line” sorts to the top. Replace the file with this:
// Sort the selected lines, A to Z or Z to A.
register_command("sort_lines", "Sort Selected Lines", "on_sort_lines");
register_command("sort_lines_desc", "Sort Selected Lines (Descending)", "on_sort_lines_desc");
bind_key("C-S-u", "sort_lines");
fn on_sort_lines() {
sort_selection(false);
}
fn on_sort_lines_desc() {
sort_selection(true);
}
fn sort_selection(descending) {
let text = selection_text();
if text == "" {
error("Select some lines first, then run Sort Selected Lines.");
return;
}
// Keep a trailing newline out of the sort, then put it back.
let trailing = text.ends_with("\n");
if trailing {
text.pop();
}
let lines = text.split("\n");
lines.sort();
if descending {
lines.reverse();
}
let result = "";
for (line, i) in lines {
if i > 0 {
result += "\n";
}
result += line;
}
if trailing {
result += "\n";
}
set_selection_text(result);
message("Sorted " + lines.len() + " lines.");
}
What’s new:
- Two commands, one helper. Both handlers call an ordinary Rhai
function,
sort_selection, with an argument. Only handlers need to be registered; other functions in the file are just functions. bind_key(key_token, command_id)bindsCtrl+Shift+Uto thesort_linescommand from this same file. Key tokens use the macro grammar:C-,A-andS-prefixes plus a key name, such asC-c,S-Tab,C-S-l, orEnter.error(text)andmessage(text)write to the message drawer, styled as an error or as information.erroris only a message: it doesn’t stop the script, which is why thereturnfollows it.- Write once. The handler builds the whole result in a local variable
and calls
set_selection_textonce at the end. If a handler fails halfway, whatever it already wrote stays written, so a single write at the end is the safe shape.
Run Tools → Scripts → Reload again. Select some lines and press
Ctrl+Shift+U; the drawer says Sorted 3 lines. Run it with nothing
selected and you get the error message instead.
If your key collides with something, Vix tells you in the drawer. A
script binding that takes a built-in’s key wins, and is reported once. Two
claims on the same key (two scripts, or a script and your
keybindings.toml) are both rejected.
Step 3: asking for input
The second script prompts for text and stamps it with today’s date.
Create todo-note.rhai next to sort-lines.rhai:
// Insert a dated TODO at the cursor: "TODO(2026-11-17): call the printer people".
register_command("todo_note", "Insert Dated TODO", "on_todo_note");
fn on_todo_note() {
prompt("TODO text:", "on_todo_note_text");
}
fn on_todo_note_text(text) {
if text == "" {
message("Cancelled: nothing entered.");
return;
}
set_selection_text("TODO(" + now() + "): " + text);
}
prompt(message, on_submit)opens a one-line input box. When you pressEnter, Vix callson_submitwith what you typed as its only argument. That is a new call, not a continuation ofon_todo_note, so local variables from the first handler are gone; if the second one needs the selection, it callsselection_text()again.Esccancels, andon_submitis never called.now()returns today’s local date asYYYY-MM-DD. It’s the only clock function; there is no time of day.- With no selection,
set_selection_textinserts at the cursor.
Reload, put the cursor on an empty line, run Insert Dated TODO from the
palette, type call the printer people, and press Enter.
The script API at a glance
These are all the functions Vix gives a script. Positions are character offsets, never bytes and never line/column pairs.
| Function | What it does |
|---|---|
register_command(id, label, handler) | add a command (top level only) |
bind_key(key_token, command_id) | bind a key to one of this script’s commands |
buffer_text() | the whole active buffer |
set_buffer_text(text) | replace the whole active buffer |
selection_text() | the selection, or "" |
set_selection_text(text) | replace the selection, or insert at the cursor |
current_line() | the cursor’s line (read-only) |
cursor_offset() | the cursor position |
set_cursor_offset(n) | move the cursor; an offset outside the buffer is an error |
prompt(message, on_submit) | ask for one line of text |
message(text), error(text) | write to the message drawer |
now() | today’s date, YYYY-MM-DD |
tr(key), tr(key, args), locale() | plugin translations and the UI language |
On a read-only buffer, the two set_…_text functions are blocked and the
drawer reports Buffer is read-only; moving the cursor still works.
Step 4: a project script and workspace trust
Some scripts only make sense for one project. The third script turns a
selected ticket ID such as ABC-123 into a Markdown link to that
project’s tracker, so it belongs in the project, not in your global
directory. In the demo workspace, create .vix/scripts/ticket-link.rhai:
// Turn a selected ticket ID such as ABC-123 into a Markdown link to this
// project's tracker.
register_command("ticket_link", "Link Selected Ticket", "on_ticket_link");
fn on_ticket_link() {
let id = selection_text();
id.trim();
if id == "" {
error("Select a ticket ID such as ABC-123 first.");
return;
}
let label = "[" + id + "]";
let url = "https://tracker.example.com/browse/" + id;
set_selection_text(label + "(" + url + ")");
}
(Rhai’s trim() changes the string in place, so it’s called on its own
line rather than assigned.)
Now run Tools → Scripts → Reload. Instead of loading the new script right away, Vix shows a Trust Workspace Scripts? dialog (unless you trusted this workspace before, in which case the script just loads):
This workspace has 1 script(s) under .vix/scripts/ that will run with read/write access to the active buffer (no file or network access otherwise). Trust this workspace and run them?
This exists because anyone can put a .vix/scripts/ directory in a
repository. Without the prompt, cloning a stranger’s repo and opening it
would run their scripts. Your global scripts never ask; they’re yours.
- Press
yto trust the workspace. The project scripts load and the status bar saysWorkspace scripts trusted. - Press
norEscto decline. Nothing from.vix/scripts/loads. - Every other key, including
Enter, is ignored, and so is anything you press in the first quarter-second after the dialog opens, so a key typed ahead can’t answer it by accident.
The answer is saved for this workspace. Vix asks at startup only if you
have never answered. A “no” is not permanent: Tools → Scripts →
Reload asks again. The same decision also covers the workspace’s
.vix/settings.toml and project environment, if it has them; when it
does, the dialog says so.
After trusting, select ABC-123 in notes.md and run Link Selected
Ticket. In any other workspace, the command doesn’t exist.
If a project script and a global script have the same file stem, the project one wins and the global one doesn’t load at all.
Step 5: share a script as a plugin
A plugin is a git repository with .rhai scripts at its top level. To try
it, turn sort-lines.rhai into one. Move the file out of the global
scripts directory rather than copying it; otherwise the loose copy and the
plugin both claim Ctrl+Shift+U and both bindings are rejected.
mkdir -p ~/src/vix-sort
mv "<config dir>/scripts/sort-lines.rhai" ~/src/vix-sort/
cd ~/src/vix-sort
git init
git add sort-lines.rhai
git commit -m "Sort selected lines"
Install it. Plugin commands print a report and exit without opening the editor:
vix --plugin install file://$HOME/src/vix-sort
Vix clones the repository with your own git (so your credentials and SSH
agent work as usual) into <config dir>/scripts/vix-sort/. The name is
the URL’s last path segment, minus any .git. Append @<rev> to pin a
branch, tag or commit, as in https://example.com/me/vix-sort.git@v1.
The report ends with: It stays disabled until you enable it in Vix → Plugins.
A new plugin is disabled. Check with vix --plugin list, which prints
each plugin’s name, state, short commit and URL:
vix-sort disabled 3f1c2ab9e0d4 file:///home/you/src/vix-sort
Start Vix, open Vix → Plugins…, highlight vix-sort, and press
Enter. The status bar says Plugin vix-sort enabled and the scripts
reload. The command now appears in the palette as before; its id is
script:vix-sort/sort-lines:sort_lines, so a plugin’s commands can never
collide with your loose scripts.
The SHA-256 trust check
Enabling a plugin trusts its files exactly as they are at that moment.
Vix records a SHA-256 digest of every file under the plugin’s directory
(except .git) in <config dir>/plugins.lock:
[[plugin]]
name = "vix-sort"
url = "file:///home/you/src/vix-sort"
commit = "3f1c2ab9e0d4…"
trusted = "9a0e…"
Every time scripts load, Vix recomputes the digest and loads the plugin only if it still matches:
- Edit
<config dir>/scripts/vix-sort/sort-lines.rhaiby hand and reload: Vix → Plugins… shows the plugin aschanged since enabled, and it stops loading until you pressEnteron it again. vix --plugin update(orvix --plugin update vix-sort) fetches new commits. If any file changed, the plugin is disabled again, withvix-sort: its code changed, so it is disabled until you enable it again in Vix → Plugins.An update that changes nothing keeps it enabled.- Disabling a plugin (
Enteron an enabled one) orvix --plugin remove vix-sortforgets the trust; reinstalling starts disabled. - A plugin with a symlink pointing outside its own directory is refused at install, and an update that adds one is undone.
A plugin gets nothing a loose script doesn’t. It runs in the same sandbox.
The sandbox
The functions in the table above are everything a script can reach.
- No files, network or processes. Rhai’s standard library has none of
these, and Vix registers none.
importis switched off too, so a trusted script can’t pull in another file you never saw. - Only the active buffer. A script can’t list tabs, open a buffer, or
read any other file. To fill a new buffer, open it first (
Ctrl+N), then run the script. - No sharing between scripts. Each script has its own state, and scripts can’t call each other.
- Resource limits. Each call is capped at 10,000,000 operations, with
limits on nesting depth and on string, array and map sizes. An infinite
loop stops with
Too many operationsinstead of freezing the editor.
Step 6: debugging a script error
A broken script never crashes Vix. Errors happen at one of two moments, and both land in the message drawer.
At load time. A syntax error, or an error in the top-level code,
skips that one script; every other script still loads. Break
todo-note.rhai by deleting the ) after fn on_todo_note( and reload:
Script 'todo-note' failed to load: Expecting ')' to close the parameters list of function 'on_todo_note' (line 5, position 18)
A bad key token is a load error too, not a binding that silently never
fires. bind_key("Ctrl-u", "sort_lines") gives:
Script 'sort-lines' failed to load: Runtime error: bind_key: 'Ctrl-u' is not a valid key token (expected e.g. 'C-c', 'S-Tab', 'Enter', 'a') (line 5, position 1)
At run time. Rhai only looks up function names when the code runs, so
a typo inside a handler loads fine and fails when you invoke the command.
Change selection_text() to selection_txt() on line 16 of the Step 2
sort-lines.rhai, reload, and press Ctrl+Shift+U:
Script 'sort-lines' error: Function not found: selection_txt () (line 16, position 16)
in call to function 'sort_selection' (line 8, position 5)
Read it from the top: what went wrong and where, then the call chain that
led there (on_sort_lines on line 8 called sort_selection). A run-time
error stops only that one call. It is not rolled back, which is another
reason to write the buffer once, at the end.
To inspect a value while you debug, show it with message(...). Saving
a script doesn’t reload it, so reload after every edit; if a command is
missing afterwards, look in the drawer for a load error first.
Where to go next
docs/scripting/index.md— the scripting reference, including translating a plugin withtrandlocales/.tui/examples/scripts/— six working sample scripts (Markdown links, a file header, title case, de-duplicating lines, a date signature, a scratch template), each tested.crates/vix-script/spec/index.md— the full design: discovery, the execution model, plugins and the trust digest.docs/keybindings/index.md— how script bindings are resolved againstkeybindings.tomland the built-in keymaps.- Tutorial 9: Make Vix Yours — themes, keymaps, snippets and settings, the other half of customizing Vix.
Previous: Tutorial 12 — Remote Editing
Next: Tutorial 14 — AI and Agents
Vix™ and Vix IDE™ are trademarks.
Tutorial 14: AI and Agents
Vix can send editor text to an AI assistant and show you the reply, drive a coding agent that runs as a child process, and serve a read-only view of your workspace to an AI tool over the Model Context Protocol (MCP). All three are optional, and none of them runs until you ask it to.
This tutorial sets up a provider, uses the AI menu on the demo
workspace, reviews an AI edit hunk by hunk, starts an agent over the Agent
Client Protocol (ACP), and connects an MCP client with vix --mcp. Read the
privacy section before you send anything you would not want to leave your
machine.
Open the demo workspace:
cd tui/examples/demo-workspace
vix .
What is sent where
Every AI feature sends text somewhere. Know where before you start:
| Feature | What leaves Vix | Where it goes |
|---|---|---|
| Summarize, Explain, Annotate, Improve | The selection, or the whole file when nothing is selected | Your configured provider |
| Define | The selection, or one word at the cursor | Your configured provider |
| Edit Selection with Instruction… | Your instruction and the selection (a selection is required) | Your configured provider |
| Generate Doc Comment | The cursor line and up to 40 lines after it | Your configured provider |
| Chat… | Your message and the conversation so far | Your configured provider |
Ghost text with inline_completion = "ai" | Up to 2000 characters before the cursor and 500 after it | Your configured provider |
| An ACP agent | Your prompts, and any workspace file the agent asks to read | The agent process on your machine, which then talks to its own service |
vix --mcp | Nothing by itself; it answers the MCP client that started it | That client decides what it sends on |
“Your configured provider” is either a command-line tool (the default) or an
HTTPS API, chosen by ai_provider below. The Git panel’s generated commit
message and the DB workbench assistant use the same provider.
To turn all of this off, set ai = "off" in config.toml and restart Vix.
The AI menu and every AI command palette entry disappear, and any AI
request that is still reached (a key binding, a script) shows “AI is off
(ai = “off” in settings); nothing was sent“.
Step 1: Choose a provider
AI settings live in config.toml: ~/.config/vix/config.toml on Linux,
~/Library/Application Support/rs.vix/config.toml on macOS, or
%APPDATA%\vix\config\config.toml on Windows.
| Key | Default | Meaning |
|---|---|---|
ai | "on" | Master switch. Any value other than "on" counts as off. |
ai_provider | "cli" | "cli" runs ai_command. "anthropic", "openai" or "ollama" call that HTTP API directly. An unknown value falls back to "cli". |
ai_command | "claude -p {prompt}" | The command the cli provider runs. |
ai_endpoint | "" | Overrides the HTTP provider’s endpoint URL. Empty uses the default. |
ai_model | "" | Overrides the HTTP provider’s model id. Empty uses the default. |
ai_api_key_command | "" | A command that prints the API key. |
ai_diff_review | true | Show Annotate, Improve and Generate Doc Comment as a reviewable diff. |
The default: a command-line assistant
With ai_provider = "cli", Vix holds no API key at all. It runs the CLI you
already installed and signed in to, and that CLI handles authentication and
the network. The default runs the claude CLI, so if claude -p "hello"
works in your shell, the AI menu already works.
To use another CLI, change the template:
ai_command = "codex exec {prompt}"
{prompt} becomes the action’s instruction and the editor text arrives on
stdin. If the template contains {file}, that is replaced with the path of a
temporary file holding the text instead. Vix quotes both placeholders itself,
so do not put quotes around them.
An HTTP API: Anthropic, OpenAI or Ollama
To call a provider’s API directly, set the provider and, ideally, the model:
ai_provider = "anthropic"
ai_model = "claude-sonnet-5"
| Provider | Default endpoint | Default model |
|---|---|---|
anthropic | https://api.anthropic.com/v1/messages | claude-sonnet-5 |
openai | https://api.openai.com/v1/chat/completions | gpt-4o-mini |
ollama | http://localhost:11434/api/generate | llama3.2 |
Requests to anthropic and openai go over HTTPS to that endpoint, with
your key in a header. The ollama provider talks to an Ollama server’s
/api/generate endpoint, by default on your own machine over plain HTTP. It
needs no key: when one is found (next step) it is sent as a bearer token, for
an Ollama server behind authentication.
A local model endpoint
For an Ollama server, ai_provider = "ollama" is all it takes; set
ai_model to a model the server has. The openai provider works with anything that speaks the OpenAI Chat
Completions API, including a model server on your own machine. Point
ai_endpoint at its full chat-completions URL:
ai_provider = "openai"
ai_endpoint = "http://localhost:8080/v1/chat/completions"
ai_model = "your-local-model-name"
ai_api_key_command = "echo not-needed"
The openai provider always requires a key, so a server that needs none
still needs ai_api_key_command to print something. That placeholder is not
a secret; for a real key, use the next step. With a local endpoint, the text
stays on your machine.
Step 2: Give Vix the API key without writing it down
Never paste an API key into config.toml. Vix looks for the key in two
places, in order, and needs no key at all for the cli and ollama providers:
-
ai_api_key_command. Its standard output is the key. It runs throughsh -c, so a password manager works:ai_api_key_command = "pass show anthropic-api-key" -
The OS keyring, service
vix-ai, account set to the provider name (anthropic,openaiorollama). Store the key once, from your shell:# macOS (login Keychain); -w with no value asks for the key security add-generic-password -s vix-ai -a anthropic -w # Linux (Secret Service); asks for the key secret-tool store --label="Vix Anthropic key" service vix-ai account anthropicOn Windows, Vix reads Windows Credential Manager; using
ai_api_key_commandthere is the simplest route.
Vix never prompts for a key. If neither place has one, an anthropic or openai
request fails with
“No API key for anthropic (set ai_api_key_command, or store one in the OS
keyring)” in the message drawer.
Step 3: Ask about code
Open tui/examples/demo-workspace/rust-app/src/main.rs. The AI menu
(Alt+A) has the one-shot commands at the top:
- Select the
word_countsfunction, fromfn word_countsto its closing}. - Choose AI → Explain (
ai.explain). The status line shows “AI: Explain…” while the request runs in the background. - When it finishes, the explanation opens in a new, unsaved editor tab.
Summarize (ai.summarize) works the same way. Define (ai.define)
sends only the selection or the word at the cursor, never the whole file. Only
one AI request runs at a time; a second one is declined until the first
returns.
Step 4: Chat
Choose AI → Chat… (ai.chat). If text is selected, it seeds the input
line.
- Type
Why does this count "The" and "the" separately?and press Enter. - The title shows Thinking… until the reply arrives.
- Ask a follow-up. Each turn includes the earlier conversation, so the assistant remembers what you discussed.
| Key | Action |
|---|---|
Enter | Send the input line |
↑ / ↓, PageUp / PageDown | Scroll the transcript |
Alt+T | Open the last reply in a new tab |
Alt+C | Copy the last reply to the clipboard |
Esc | Close the panel |
Step 5: Review an AI edit before it lands
The commands that change your text do not overwrite it. They open a Review AI edit window with the proposed change split into hunks.
- Select the body of
word_counts. - Choose AI → Edit Selection with Instruction…
(
ai.edit_with_instruction). At the “Instruction for the AI” prompt, typeLowercase each word before counting itand press Enter. - The review opens. Its title counts accepted hunks against total hunks.
| Key | Action |
|---|---|
↑ / ↓ | Move between hunks |
Space | Toggle the highlighted hunk |
a / r | Accept all / reject all |
Enter | Apply the accepted hunks as one undoable edit |
Esc | Discard the whole proposal |
Accept the hunk, press Enter, then Ctrl+Z once to see that the whole change undoes as one step.
The other editing commands use the same review:
- AI → Annotate (
ai.annotate) and AI → Improve (ai.improve) act on the selection, or the whole file when nothing is selected. - AI → Generate Doc Comment (
ai.generate_doc_comment): put the cursor on thefn word_countsline and run it. The proposal only inserts a comment above that line; it never changes existing text.
Setting ai_diff_review = false applies Annotate, Improve and Generate Doc
Comment directly. Edit Selection with Instruction… always opens the
review, whatever that setting says.
Step 6: Run a coding agent over ACP
An ACP agent is a coding agent (Gemini CLI, Codex and others that speak the Agent Client Protocol) that Vix starts as a child process and talks to over stdin and stdout. It can propose file edits and ask to run commands, so Vix gates it.
Configure the agent
List each agent’s command line in ai_agents. It is split on whitespace and
run without a shell. Check your agent’s own docs for its ACP flag; for
example:
ai_agents = ["gemini --experimental-acp"]
Trust the workspace
An agent only starts in a trusted workspace. Otherwise AI → Start Agent says “Agent not started: trust this workspace first.”
Vix records trust when you answer y at the Trust Workspace? prompt.
That prompt appears at startup when the workspace has a .vix/settings.toml,
scripts under .vix/scripts/, or an environment source such as .envrc. The
demo workspace has none of these, so give it an empty project settings file
and restart Vix:
mkdir -p .vix
echo "# project settings" > .vix/settings.toml
vix .
Press y at the prompt. n or Esc declines, and Vix remembers that answer too. Keys typed in the first moments after the prompt opens are ignored, so a stray Enter cannot approve it.
Start it and give it a task
- Choose AI → Start Agent (
ai.agent_start). With several entries inai_agents, Vix asks “Start which agent?” and you type a number. - The chat panel opens and the status line shows “Agent started: …”. While an agent runs, the chat panel talks to the agent instead of the provider.
- Type
Make word_counts ignore caseand press Enter. You can also send prompts with AI → Prompt Agent… (ai.agent_prompt). - Watch its progress with AI → Agent Plan (
ai.agent_plan, a read-only tab) or AI → Toggle Agent Plan Pane (ai.agent_plan_dock, a side pane). Both show the plan, each tool call’s status, and any approved commands’ output.
What the agent can and cannot do
- Permissions are deny by default. A permission request shows “Agent
wants to: … Allow once? (y/N)”. Only
yoryesallows it. Anything else, Esc, or closing the prompt denies it. - Commands run only on a yes. “Agent wants to run: … Allow? (y/N)” names the full command line. It runs without a shell, inside the workspace.
- File writes are diffs, not writes. When the agent writes a file, Vix opens the new content in the same Review AI edit window from Step 5, and the status line says “The agent proposes an edit to …; review it.” Nothing reaches the disk until you accept hunks and save the file. Only one proposal can wait for review at a time.
- Reads stay inside the workspace. Paths outside the workspace root, including through a symbolic link, are refused. A read inside it is not prompted, and it sees an open buffer’s unsaved text.
Stop the agent with AI → Stop Agent (ai.agent_stop). Vix saves the
agent’s session id, so AI → Resume Agent (ai.agent_resume) can pick it
up again later, if the agent supports resuming and is still listed in
ai_agents.
Step 7: Let an AI tool read your workspace with vix --mcp
The other direction: an MCP client, such as Claude Code, starts vix --mcp
and asks it about the workspace. It does not open the editor.
Register it with Claude Code:
claude mcp add vix -- vix --mcp /path/to/project
Or, for a client that takes a JSON server list:
{
"mcpServers": {
"vix": { "command": "vix", "args": ["--mcp", "/path/to/project"] }
}
}
The server is read-only. Its tools are:
| Tool | Returns |
|---|---|
list_open_buffers | The files your last Vix session had open in this workspace |
read_buffer | One file’s saved text |
document_symbols | Declarations with line numbers, from Vix’s offline scan |
outline | Markdown headings, Org headlines, or a code file’s symbols |
diagnostics | Unresolved merge-conflict blocks (no language server runs) |
db_schema | Tables and columns of SQLite files in the workspace |
db_connections, db_tables, db_describe, db_query | Read-only access to DB workbench connections you marked Share with MCP |
It sees files as saved on disk, not unsaved edits in a running Vix. It
refuses paths outside the workspace and files that may hold secrets, such as
.env files, private keys, .netrc, .pgpass, and anything under .git/
or .ssh/. It never reads API keys. It opens no network connection except to
the server of a database connection you shared, during a call on it.
Where to go next
- AI Chat Panel: the chat panel and the
ai = "off"switch. - MCP server: setting up
vix --mcpand sharing database connections. - Inline Suggestions (Ghost Text): AI or language-server suggestions as you type.
crates/vix-acp/spec/index.md: the full ACP trust model, terminals and resume.crates/vix-ai-core/spec/index.md: providers and API-key resolution.- Configuration: every AI setting.
Previous: Tutorial 13 — Scripting with Rhai
Next: Tutorial 15 — Large Files and Logs
Vix™ and Vix IDE™ are trademarks.
Tutorial 15: Large Files and Logs
Most files you open are small. Now and then one isn’t: a 100 MB log, a 4 GiB database dump, a data export that never fits on a screen. This tutorial covers what Vix does when you open a file like that. You’ll see the checks every open goes through, the prompt for big files, the read-only Large File Viewer for files too big for a buffer, and why a big buffer stays responsive while you scroll.
You’ll make your own test files with shell one-liners, so you don’t need a real multi-gigabyte log. Run the commands in a scratch directory with about 2 GiB of free space, and delete the files when you’re done.
What every open checks
Every file Vix opens as text goes through one guarded read first. That read refuses three kinds of file before Vix tries to load them:
| The file is… | What Vix does |
|---|---|
| Not a regular file (a FIFO, socket, device, or directory) | Refuses it: “not a regular file (pipe, socket, device, or directory)”. Reading one could block forever or never end. |
| Larger than the size limit | Asks before loading it (see below). |
| Binary (a NUL byte in the first 8 KiB) | Asks whether to open it in the byte editor instead. |
A file that starts with a byte-order mark is checked for that mark before the NUL test. That is how UTF-16 text, which is full of NUL bytes, still opens as text.
The size limit is the large_file_mb setting:
| Key | Type | Default | Meaning |
|---|---|---|---|
large_file_mb | integer | 50 | Ask before opening a file larger than this many megabytes. 0 never asks. |
Whatever you set, a file over 500 MiB always asks first, with a warning
that loading it may use several times that much memory, and a file over
1 GiB, more than a text buffer can ever hold, opens straight in the Large
File Viewer instead. Both apply when large_file_mb is 0 too, so setting
it above 500 has no further effect. (Vix counts a
megabyte as 1,048,576 bytes here.)
Make a big log
Generate a log of two million lines, about 100 MB. One line near the end says
ERROR, so you have something to search for later:
awk 'BEGIN { for (i = 1; i <= 2000000; i++) printf "2026-11-17 12:%02d:%02d %s request %d took %d ms\n", (i/60)%60, i%60, (i == 1987654 ? "ERROR" : "INFO"), i, i % 997 }' > big.log
ls -lh big.log
It takes a second or two. ls should report about 100M.
Open it as a buffer
Start Vix in the same directory and open the file:
vix big.log
You can also open it with File → Open… (Ctrl+O) or from the file
explorer. The file is over the 50 MB default, so instead of loading it Vix
asks (with the file’s full path):
big.log is 100 MB. Open it anyway? (v: view read-only in the Large File Viewer)
You have three answers:
- y loads it into a normal, editable buffer.
- v opens it read-only in the Large File Viewer instead (next section).
- n or Esc cancels. The status line says “Open cancelled”.
Press y. The buffer opens in well under a second. Plain UTF-8 text streams straight into the editor’s text structure as it is read, so Vix never holds a second full copy of the file. On the project’s reference machine a 100 MB log shows its first screen in about 90 ms and holds about 126 MiB of memory (see Performance).
Move around the way you would in any buffer:
- Go → File → End jumps to the last line.
- Go → Go to Percent… asks for a percentage, such as
50. - Go → Go to Byte… asks for a byte offset.
- Go → Line → Number asks for a line number.
- Find… (
Ctrl+Fin the Apple keymap) searches the buffer.
Close the tab when you’re done. You’ll open the same file in the viewer next.
One catch: the explorer’s arrow-key preview never asks. Moving the selection
onto big.log only puts “Open failed for …” in the status line.
Press Enter on it to get the prompt.
Open it in the Large File Viewer
The Large File Viewer shows a file a screen at a time and never reads the whole file into memory. It is read-only. Open it either way:
- Open the file as before and press v at the prompt.
- Use File → Open in Large File Viewer… (action id
file.open_large, also in the command palette). It asks for a path, filled in with the active file.
The status line says “Viewing big.log read-only”, and the viewer replaces the editor area. A hint row lists the main keys. A dimmed gutter on the left shows the byte offset where each line starts. The status line shows the cursor’s byte offset and how far through the file it is, as in “Byte 0 of 99.82 MiB (0%)”.
While the viewer builds its line index in the background, the status line shows “Indexing N%”. You don’t have to wait for it:
| Key | Does |
|---|---|
↑ ↓ or k j | Move the cursor line |
| PgUp / PgDn | Page |
Home or g, End or G | First line, last line |
← → or h l | Scroll sideways 8 bytes; 0 returns to the left edge |
: or Ctrl+G | Go to a line, a percentage, or a byte offset |
/, ? | Search forward, backward |
n, N | Repeat the search the same way, the other way |
m or Space | Start or end a line selection; Shift+↑/↓ extends it |
y, c, or Ctrl+C | Copy the selected lines, or the cursor’s line |
q | Close |
| Esc | Cancel a running search, else clear the selection, else close |
Press End. The last line appears at once, even before indexing finishes. Once the index has passed the cursor, the status line also shows “Line N”, and “Line N of TOTAL” when indexing is done.
Jump around
Press :. The prompt reads Go to (line, N%, @byte):. It accepts three
kinds of target:
1987654goes to that line.50%or12.5%goes to that point in the file.@1024or0x400goes to that byte offset.
You can write _ or , as digit separators, as in 1_000_000. Percentages
and byte offsets work at once. A line number past the part already indexed
waits: the status line says “Indexing… going to line 1987654 when it is
reached”, and the jump happens as soon as the index gets there. A line past
the end of the file reports “The file has only N lines”.
Try 50%, then @0x400, then 1987654.
Search
Press Home, then /, type error, and press Enter. The search
starts from the cursor and streams through the file on a background thread.
The status line shows “Searching N% (Esc cancels)”. When it finds a match, the
cursor moves to that line and the match is highlighted.
Your search was lowercase, so it matched ERROR. A search with no capital
letter ignores the case of ASCII letters. Type a capital letter and the case
must match exactly.
Press n to look for the next match, or N for the previous one. This
log has only one ERROR, so n reports “Not found”. A search does not wrap
around to the start of the file. It is a plain substring search: no regular
expressions, and no match count.
Copy a few lines
Put the cursor on the ERROR line, press m, press ↓ twice, and press
y. The three lines go to the clipboard and the status line says how much
was copied. With no selection, y copies just the cursor’s line. A
selection larger than 16 MiB is refused with a message rather than read into
memory.
Press q to close the viewer.
Past the 1 GiB ceiling
A file over 1 GiB cannot be a buffer at all. Make one by repeating your log eleven times (about 1.1 GB):
for i in 1 2 3 4 5 6 7 8 9 10 11; do cat big.log; done > huge.log
Open huge.log. This time Vix doesn’t offer a buffer:
huge.log is 1099 MB, too large to edit. View it read-only in the Large File Viewer?
Press y to open it in the viewer. Everything from the last few sections works the same. On the reference machine a 4 GiB log shows its first screen in under a millisecond, is fully indexed in about half a second, and uses under 5 MiB of memory (see Performance).
How the viewer shows text
- Invalid UTF-8 shows as
�. - Windows
\r\nline endings show as ordinary line ends. - Tabs and other control characters show as one
·each. - A line wider than the screen is cut, with
›marking more text to the right and‹marking hidden text to the left.
The viewer has some limits:
- It reads local files only. On a remote (SSH) workspace it reports “The Large File Viewer opens local files only”.
- It takes the file’s length once, when it opens. Bytes appended later don’t
appear, so it can’t follow a growing log the way
tail -fdoes. Close it and open it again to see new lines. - The mouse does nothing in it.
- Sideways scrolling counts bytes, so wide (CJK) characters may not line up.
Binary files and pipes
Make a small binary file and a named pipe:
printf 'header\0\1\2\3 payload' > blob.bin
mkfifo log.pipe
Open blob.bin. Vix finds the NUL byte and asks:
blob.bin is a binary file. Open it in the byte editor?
y opens it in the byte editor, which saves the bytes back exactly. A text buffer would corrupt them. n cancels.
Now open log.pipe. Vix refuses it with “Open failed for log.pipe: not a
regular file (pipe, socket, device, or directory)”. It doesn’t ask, because
reading a pipe could block until something writes to it. The Large File
Viewer refuses pipes and devices too.
Encodings and read-only opens
The same guarded read also detects the file’s encoding. A byte-order mark wins; then valid UTF-8; then a guess at a legacy encoding such as windows-1252 or Shift_JIS. Vix uses the guess only if it decodes with no errors and re-encodes to exactly the same bytes. The status bar shows the encoding in use, and saving writes the file back in that encoding.
If no encoding decodes the file cleanly, Vix opens it anyway, replaces the
bytes it can’t read with �, and makes the tab read-only, so saving can
never write those replacements over your file. Typing in it reports “Buffer is
read-only”. To fix it, use File → Reopen with Encoding… and pick the
encoding the file really uses. See File Encodings.
Watching a log that grows
Vix has no tail -f mode. A log small enough for a buffer still updates on
its own, though: about once a second Vix checks whether open files changed on
disk, and reloads any buffer without unsaved edits. The status line says
“Reloaded 1 file(s) changed on disk”. If you have edited the buffer, Vix keeps
your edits and warns “… changed on disk; your unsaved edits were kept”.
Try it with a small log:
echo "first line" > small.log
vix small.log
From a second terminal, append a line:
echo "second line" >> small.log
Within a second the new line appears in Vix. A reload goes through the same
guarded read. If a file that opened under large_file_mb grows past it, the
buffer keeps its old text and Vix posts a warning instead of reloading. A
buffer you already opened past the limit with y keeps reloading up to the
1 GiB ceiling.
Why a big buffer stays responsive
Syntax highlighting doesn’t slow down a large source file:
- Highlighting is lazy and limited to the screen. Vix only runs highlight queries for the rows you can see, at any file size.
- Parsing runs in the background. A buffer of 50 KB or more is parsed by Tree-sitter on a worker thread, both when it opens and after each edit. The file appears first and colors fill in once the parse is done. A 100 MB file opens in about 14 ms, not the 5 seconds a full parse on the main thread used to take.
Performance has the measured numbers.
Tips
- Pick the viewer for reading, the buffer for editing. To read, search, or copy a few lines from a big log, press v: it starts at once and uses almost no memory. Press y only if you need to change the file.
- Raise the limit if you often open big files. Put
large_file_mb = 200inconfig.toml, then run Vix → Reload Settings. See the configuration reference. - Jump by percentage.
:then90%gets you near the end of a log faster than paging. - Clean up.
rm big.log huge.log blob.bin log.pipe small.log
Where to go next
docs/performance/index.md: the benchmark numbers behind this page, andscripts/bench-large-fileto measure the viewer on your own machine.docs/large-file-viewer/index.md: the Large File Viewer reference.docs/encoding/index.md: encoding detection, and Reopen with Encoding… / Save with Encoding….docs/edit-bytes/index.md: the byte editor binary files open in.
Previous: Tutorial 14 — AI and Agents
Next: all tutorials
Vix™ and Vix IDE™ are trademarks.
Command Palette
The command palette is a single prompt that finds files, runs commands, switches buffers, jumps to a line, and jumps to a symbol. Press Ctrl+P to open it. A hints line at the bottom shows the available prefixes.
Modes
A leading prefix character selects the mode:
| Prefix | Mode | Description |
|---|---|---|
| (none) | File finder | Fuzzy search for files in your workspace |
> | Commands | Search and run editor commands |
# | Buffers | Switch between open buffers by name |
: | Go to line | Jump to a specific line number |
@ | Symbols | Jump to a declaration in the current file |
Matching and acceptance
- Space-separated terms match independently. For example,
feat groupmatchesfeatures/groups/view.tsx,etc hostsfinds/etc/hosts, andsave filefindssave_file.rs. - Press Tab to accept the top suggestion.
- Press Enter to commit the highlighted entry.
File finder
With no prefix, type to fuzzy-match files in the workspace. Append
:<line>[:<col>] to a file to jump to that position after opening — for
example, tui/src/main.rs:42:10 opens tui/src/main.rs and moves to line 42,
column 10.
Go to line (:)
Type : followed by a line number. The cursor previews the target line as
you type and scrolls it into view. Press Enter to commit — recording the
original position in the jump history — or Esc to revert to where you were.
Go to symbol (@)
Type @ to fuzzy-filter the current file’s declarations (functions, types,
classes, traits, modules, #defines, and so on) and press Enter to jump to
one. The list is a fast, offline heuristic — the same family as go-to-definition
— so it works for any language without a language server. It is also reachable
as the palette command Go to Symbol in File.
Buffers (#)
Type # followed by a buffer name to fuzzy-match and switch among the open
buffers.
Commands (>)
Type > to search and run editor commands. Palette commands share the same
action identifiers as the menu items, so a command behaves identically however
it is invoked.
Every command in the menu bar is listed, named by its menu path, so typing
any part of the path finds it: >terminal lists Tools › Terminal ›
Show/Hide Terminal and the other terminal commands.
Preview, history, and resume
On a screen at least 100 columns wide, the file finder, @, @@, and
Find In Workspace show a preview of the highlighted result beside the
list: a few dozen numbered lines of the file around the result, its line
highlighted. The preview reads at most 256 KiB of a file (an open buffer is
previewed from its own unsaved text), and is skipped in a remote (SSH)
workspace.
With the input empty, Up recalls the queries you accepted earlier, newest first, and Down walks back toward the newest. Typing ends the recall, and Up/Down move the highlight again.
Tools → Resume Last Picker (command Resume Last Picker) reopens the palette or the workspace search you closed last, in the same mode, with the same query and the same row highlighted.
Examples
README— open the file matchingREADME.tui/src/main.rs:42:10— opentui/src/main.rsat line 42, column 10.>save— find and run a save command.#notes— switch to the buffer matchingnotes.:128— preview and jump to line 128.@parse— jump to a declaration matchingparsein the current file.
Vix™ and Vix IDE™ are trademarks.
Menus
The top menu bar groups every command into dropdown menus. From left to right the menus are Vix™ · File · Edit · View · Go · Run · AI · DB · JJ · Git · IM · Org · Project · OC · Tools · Help.
Navigating the menus
- Open the bar with F10, or jump straight to a menu with its Alt mnemonic:
File Alt+F, Edit Alt+E, View Alt+I, Go Alt+N, Run Alt+R,
AI Alt+A, DB Alt+D, Git Alt+G, Org Alt+O, Tools Alt+T,
Help Alt+H. JJ and Project have no Alt mnemonic of their own —
Alt+Jis already the recent-locations jump andAlt+Pis already find-selection-backward, so reach these two via F10 plus the arrow keys, or a mouse click. IM and OC have none either (Alt+Iis View,Alt+Ois Org). - Arrows navigate, Enter runs the highlighted item, Esc closes.
- A mouse click on a menu name opens it; a click on a dropdown item runs it.
- While a menu is open, moving the pointer follows the selection: hovering a dropdown row highlights it, and hovering another top-level name switches menus.
- Dropdowns may contain separators — non-selectable divider lines that group related items. Arrow navigation, hover, and clicks all skip them.
- An item marked
▸opens a submenu (one level deep). Right or a click opens it; Left or Esc backs out to the parent. A submenu opens with nothing highlighted — arrow, hover, or type to pick. Long submenus scroll, and hovering a Theme item previews it live. - Type-ahead: with a menu open, typing a letter jumps to the next item
whose label starts with it, cycling. For example, in File,
Sselects Save andSagain selects Save As. This works inside an open submenu too.
Vix menu
- About Vix — modal dialog showing
Vix <version>and an Ok button. - Website — modal dialog with a selectable/copyable text field
https://github.com/vixide/vixand an Ok button. - Email — modal dialog with a selectable/copyable text field
joel@joelparkerhenderson.comand an Ok button. - Quit (
Ctrl+Q) — quit Vix.
File menu
| Item | Shortcut | Action |
|---|---|---|
| New | Ctrl+N | Create a new buffer |
| Open… | Ctrl+O | Open an existing file |
| Open Recent… | Ctrl+Shift+O | Reopen a recently opened file (chooser) |
| Open in Large File Viewer… | View a huge file read-only without loading it (Large File Viewer) | |
| Save | Ctrl+S | Save the file |
| Save As… | Ctrl+Shift+S | Save under a different name (asks before overwriting) |
| Save All | Save every tab with unsaved edits | |
| Rename… | Rename the active file on disk | |
| Edit Directory… | Edit a directory as text: rename, create and delete entries, then save | |
| Close | Ctrl+W | Close the active buffer |
| Close All Tabs | Close every buffer (leaves one empty) | |
| Reopen Closed Tab | Ctrl+Shift+T | Reopen the most recently closed file |
Edit menu
| Item | Shortcut | Action |
|---|---|---|
| Undo | Ctrl+Z | Undo |
| Redo | Ctrl+Shift+Z | Redo |
| Cut | Ctrl+X | Cut to clipboard |
| Copy | Ctrl+C | Copy to clipboard |
| Paste | Ctrl+V | Paste from clipboard |
| Select ▸ | Submenu of selection commands (below) | |
| Move ▸ | Submenu of line-move commands (below) | |
| Go ▸ | Submenu of cursor-jump commands (below) | |
| Find ▸ | Submenu of find-related items (below) | |
| Mode ▸ | Submenu of type-specific edit surfaces (Table/Outline/JSON/YAML/Bytes/SQL) | |
| Comment | Ctrl+/ | Comment/uncomment the line or selection |
| Macro ▸ | Submenu: Record / Play / Save… / Play Saved… |
(The Case submenu of case transforms now lives under Tools → Convert.)
The Select submenu:
| Item | Shortcut | Action |
|---|---|---|
| Select All | Ctrl+A | Select the whole buffer |
| Select More | Ctrl+Shift+→ | Extend the selection right by a word |
| Select Less | Ctrl+Shift+← | Retract the selection left by a word |
The Move submenu:
| Item | Shortcut | Action |
|---|---|---|
| Move Up | Alt+↑ | Move the current line up |
| Move Down | Alt+↓ | Move the current line down |
The Go submenu:
| Item | Action |
|---|---|
| Line Number | Jump to a line number |
| Line Start | Move to the start of the current line |
| Line End | Move to the end of the current line |
| Paragraph Start | Move to the start of the paragraph |
| Paragraph End | Move to the end of the paragraph |
| Section Start | Move to the start of the section |
| Section End | Move to the end of the section |
| File Start | Move the cursor to the start of the file |
| File End | Move the cursor to the end of the file |
The Find submenu:
| Item | Shortcut | Action |
|---|---|---|
| Find… | Ctrl+F | Find in the current file |
| Find Next | Ctrl+G | Repeat the last search forward |
| Find Previous | Ctrl+Shift+G | Repeat the last search backward |
| Find Selection | Alt+N | Jump to the next occurrence of the selection |
| Find In Workspace… | List workspace-wide hits in the bottom dock |
Replace is part of the Find panel itself — press Ctrl+R, or Tab to the
Replace field in the find box, to reveal it.
The Case submenu (under Tools → Convert) applies a case transform to the current selection: Upper, Lower, Title, Kebab, Snake, Camel, and Pascal.
View menu
| Item | Action |
|---|---|
| Keymap ▸ | Submenu of keyboard navigation styles (Apple/VSCode/Emacs/Vim) |
| Theme ▸ | Submenu of available themes (bundled + user JSON); pick one to apply |
| Locale ▸ | Submenu of UI languages; pick one to apply |
| Time Zone ▸ | Submenu of IANA zones (sorted by UTC offset, then name); pick one |
| Split ▸ | Split the editor: Vertical / Horizontal / Other Pane (F6) / Unsplit |
| Layout ▸ | Submenu of dock/status toggles |
| Editor ▸ | Submenu of editor display toggles |
The Layout submenu toggles Left Dock (the file explorer, Ctrl+B),
Right Dock (the message drawer), Bottom Dock (logs/output/data), and
Bottom Status (the status bar).
The Editor submenu toggles Line Numbers, Whitespace (visible space, tab, newline, return), Scroll Bar, Soft Wrap (wrap long lines vs. scroll horizontally), and Spellcheck (underline misspellings in comments and strings).
Go menu
Workspace and symbol navigation (distinct from Edit → Go’s in-file jumps):
Symbol… (@ palette), Declaration / Implementations / References (LSP),
Next / Previous Issue (diagnostics), Next / Previous Error (problems in
the last task’s output; see Tasks),
Next / Previous Change (git hunks),
Recent Locations (position history), Jump (leap-style), Matching Tag,
and Go to Percent / Byte.
Run menu
The debugger (Debug Adapter Protocol; see ../../crates/vix-dap/spec/index.md):
Start / Stop, Toggle Breakpoint, Continue / Step Over / Step Into /
Step Out / Pause, Add Watch…, Evaluate… (REPL), and Toggle Debug
Panel.
Tools menu
| Item | Action |
|---|---|
| Command Palette | Open the palette (Ctrl+P) |
| Workspace Dashboard… | Live folder/disk/file/commit metrics |
| System Information… | Host OS/CPU/memory/disk snapshot |
| — separator — | |
| Run Command… | Run a shell command into the bottom dock |
| Cancel Command | Kill the running command |
| — separator — | |
| Calendar… | Toggle the calendar box |
| Clock… | Toggle the clock box (local/UTC/ISO week/active zone) |
| Nerd Font Characters… | Open the glyph picker |
| ASCII Characters… | Open the ASCII reference table |
| X11 Colors… | Pick an X11 color; inserts its hex |
| HTML Characters… | Pick an HTML character; click a cell to insert it |
| Language Server ▸ | LSP actions: Go to Definition, Hover, Completion |
AI menu
AI is optional: with ai = "off" in config.toml this menu is hidden and
every AI request is refused (see configuration).
Each item runs a configurable assistant on the selection, or the whole file
when nothing is selected: a CLI by default (ai_command, default claude -p {prompt} — point it at Claude, Codex, Mistral, a local ollama model, or
any other CLI), or a provider’s HTTP API called directly when ai_provider
is set to "anthropic"/"openai"/"ollama" (see
../../crates/vix-ai-core/spec/index.md).
Summarize, Explain, and Define open the result in a new tab; Annotate and
Improve run in the background and replace the text with the result
(undoable, and reviewable as a diff first when ai_diff_review is on, the
default).
| Item | Action |
|---|---|
| Summarize | Summarize the selection (or the whole file); to a new tab |
| Explain | Explain the selection (or the whole file); to a new tab |
| Define | Define the selection (or the word at/after the cursor); to a new tab |
| Annotate | Annotate the selection (or the whole file); replaces it |
| Improve | Improve the selection (or the whole file); replaces it |
| Edit Selection with Instruction… | Prompts for a free-text instruction, applies it to the selection; always opens as a reviewable diff (T125) |
| Generate Doc Comment | Writes a doc comment for the symbol under the cursor, inserted just above it (T125) |
The Git panel has one more: pressing g there generates a commit message
from the staged diff and opens the commit prompt pre-filled with it — it
only fills the message box, it never commits on its own (T125).
DB menu
The database workbench (see ../../crates/vix-db/spec/index.md):
Connections… / Query Editor, Execute at Cursor / Execute All
(F5/F9), Run Buffer in Workbench, Explain / Explain Analyze
(F6/F7), Format Query (Alt+Shift+F), History… /
Saved Queries… / Save Query… (Ctrl+R/Ctrl+B/Ctrl+S),
Export Results…, Begin Transaction / Commit / Rollback,
Refresh Schema, Schema Compare… (db.schema_compare, Ctrl+D), and
Disconnect. The overlay itself adds read-only-by-
default access, async/streamed execution, an AI SQL assistant, a query log, an
ER diagram, CSV import, and more.
JJ menu
Jujutsu (jj) — a Git-compatible VCS. Mirrors the Git menu’s purpose using
jj commands; output streams into the bottom dock.
| Item | Action |
|---|---|
| Init | jj git init (or plain jj init) |
| Clone… | Prompt for a URL and jj git clone it |
| Bookmark ▸ | Submenu: Create… / Set… / Delete… / List (jj’s named pointers, akin to git branches) |
| Status | jj status |
| Diff | jj diff |
| Show | jj show |
| Log ▸ | Submenu: Log / Log All / Op Log |
| New | jj new (start a new, empty change) |
| Describe | jj describe (edit the current change’s description) |
| Commit | jj commit |
| Edit | jj edit (switch the working-copy commit) |
| Squash | jj squash (fold the current change into its parent) |
| Abandon | jj abandon |
| Restore | jj restore |
| Rebase | jj rebase |
| Undo | jj undo (undo the last jj operation) |
| Git ▸ | Submenu: Push / Fetch (jj git push / jj git fetch) |
Git menu
| Item | Action |
|---|---|
| Status | git status (streamed to the bottom dock) |
| Changes… | Open the git changes panel: stage/unstage and commit |
| Log ▸ | Submenu: Summary / Since 1 day/week/month ago / All (git log …) |
| Grep… | Prompt for a regex and git grep the repository |
| In Subproject ▸ | Submenu: Status / Changes… / Log / Grep…, each limited to the active file’s nearest subproject (-- <dir>, T800d) |
| In Workspace Folder ▸ | Submenu: Status / Changes…, limited to the workspace folder (-- .) when it is below the repository’s top level |
| Code Owners | Say who owns the active file, from the repository’s CODEOWNERS (.github/, the top level, docs/; GitLab sections too, T800i) |
| Branch ▸ | Submenu of branch commands (below) |
| Stash / Stash Pop | Stash the working tree / restore the latest stash |
| Stash List… | Choose a stash to show, apply, pop, or drop |
| Worktree ▸ | Submenu of worktree commands (below) |
| Rebase ▸ | Submenu of interactive rebase and cherry-pick commands (below) |
| Pull | git pull (streamed to the bottom dock) |
| Push | git push (streamed to the bottom dock) |
| Fetch | git fetch (streamed to the bottom dock) |
| Init | git init (refuses if a .git repo already exists) |
| Clone… | Prompt for a URL and git clone it |
The Branch submenu:
| Item | Action |
|---|---|
| New… | Create a new branch and switch to it |
| Switch… | Choose a local branch to check out |
| Merge… | Choose a branch to merge into the current one |
| Delete… | Prompt for a branch name and git branch --delete it |
| Edit Description… | Prompt for text and set it via git branch --edit-description |
The Worktree submenu:
| Item | Action |
|---|---|
| Add… | Prompt for a folder and add a worktree there on a new branch |
| List… | Choose a worktree and switch the workspace to it |
| Remove… | Choose a linked worktree and remove it, after a confirmation |
The Rebase submenu:
| Item | Action |
|---|---|
| Interactive Rebase… | Prompt for a base, then reorder, reword, edit, squash, fix up, or drop the commits after it |
| Continue Rebase | Continue a rebase stopped at an edit or a conflict |
| Abort Rebase | Abandon a stopped rebase |
| Cherry-Pick… | Prompt for a branch, then apply one of its commits |
IM menu
Code-aware chat: local Notes, IRC rooms and direct messages, shared selections and locations. IM never opens or focuses anything on its own. See IM.
| Item | Action |
|---|---|
| Chat Panel | Show or hide the IM panel beside the editor |
| Connect… | Connect a configured IRC account ([[im.accounts]]) |
| Disconnect | Close the selected conversation’s account |
| Join Room… | Prompt for a room (#channel) and join it |
| Leave Room | Leave the selected room |
| Direct Message… | Prompt for a nick and open a direct conversation |
| Next Unread | Go to the next conversation with unread messages |
| Share Selection | Send the selection as a snippet, after showing what and to whom |
| Share Location | Send the cursor’s path:line:col |
| Comment on Line… | Start or reply to the thread anchored to the cursor’s line |
| Threads… | List the workspace’s threads; Enter goes there, r resolves |
| Next Thread | Go to the next thread in this file |
| Previous Thread | Go to the previous thread in this file |
| Resolve or Reopen Thread | Resolve the thread on the cursor’s line, or reopen it |
| Status ▸ | Available / Away / Busy (Busy silences notifications) |
| Notifications ▸ | All Messages / Mentions Only / Off |
| Clear History | Delete the selected conversation’s messages, after a confirm |
Org menu
Org-mode editing on the active buffer (see ../../crates/vix-org/spec/index.md):
Capture, Cycle Visibility, Headline ▸, Cycle TODO, Toggle
Checkbox, Update Statistics, Clock In / Out, Agenda, Time
Report, Roam ▸ (nodes / backlinks / dailies), Node ▸, Contacts ▸,
and Export ▸ (Markdown / HTML).
Project menu
Project lifecycle commands (see ../../crates/vix-tasks/spec/index.md):
Configure / Compile / Test / Test At Point / Install /
Package / Run (each a Spacemacs-style C-c p c … chord — Configure
C-c p c o, Compile C-c p c c, Test C-c p c t, Test At Point C-c p c .,
Install C-c p c i, Package C-c p c p, Run C-c p c r), Run Task…
(C-c p c x, discovered from the project’s own build files) / Repeat Last
Task (C-c p c X), a Subproject ▸ submenu mirroring the same seven
lifecycle commands plus Find File for a monorepo’s nested projects
(C-c p c m …), and Discard Command Cache (forget remembered task
choices).
Help menu
| Item | Action |
|---|---|
| Keyboard Shortcuts | Open the help overlay (also F1) |
Layout conventions
Each menu item left-aligns its title (for example, “Open…”), right-aligns its shortcut (for example, “Ctrl+O”), and keeps at least one space between them.
Vix™ and Vix IDE™ are trademarks.
Find Panel
The find panel searches and replaces text in the current buffer, and extends to interactive query-replace and workspace-wide search and replace. It also includes find-occurrence-of-selection, which jumps to the next or previous occurrence of the selection without opening any box.
Keybindings
| Shortcut | Action |
|---|---|
| Ctrl+F | Search in buffer; open the find prompt |
| Ctrl+R | Replace in buffer; open the find-and-replace prompt |
| Ctrl+Alt+R | Interactive query-replace (y/n/!/q per match) |
| F3 / Ctrl+G | Find next match (repeats the last search) |
| Shift+F3 / Ctrl+Shift+G | Find previous match |
| Alt+N | Find next occurrence of the selection |
| Alt+P | Find previous occurrence of the selection |
| Ctrl+Shift+F | Workspace-wide search and replace |
| Alt+H | In the find dialog: turn replace on or off |
| Alt+I | In the find dialog: where to look — buffer, files, workspace |
| Alt+E | In workspace search: edit the results as a real buffer |
Find Next and Find Previous repeat the last completed search, and keep
working after the find box has closed — the last pattern is remembered. With
nothing searched yet, they fall back to the selection (or the word under the
cursor), like Find Selection (Alt+N). All three are also on the Edit
menu.
Find / replace box
The in-buffer box has a Find field and, in replace mode, a Replace field below
it. Switch the focused field with Tab or by clicking the field’s row;
in replace mode the hint line reads Tab / click: switch field.
- From the Find field, Enter finds the next match.
- With the cursor in the Replace field, Enter replaces all matches.
- Alt+Enter replaces all matches from either field.
One dialog, two options
Finding somewhere else is not a different command. The find box carries two
options, each a clickable button and each on an Alt key:
- Replace (
Alt+H) turns the find into a find-and-replace in place and puts the cursor in the replacement field. Turning it off keeps the query. - In: (
Alt+I) chooses where to look — Buffer, Files, or Workspace — and hands the query, the replacement, and the toggles to whichever surface shows that many results: the workspace panel for Files, the bottom dock for Workspace. Nothing is retyped.
This is why the Edit → Find submenu no longer lists Find in Files…,
Replace in Files…, or Find In Workspace…; they were the same search with
a different destination. Ctrl+Shift+F still opens the workspace panel directly.
Search toolbar
Toggle buttons control how matching works:
| Toggle | Shortcut | Action |
|---|---|---|
| Case Sensitive | Alt+C | Match exact case |
| Whole Word | Alt+W | Match complete words only |
| Regex | Alt+R | Use regular expressions |
Regex and capture groups
When regex mode is enabled, the replacement string supports capture groups:
$1, $2, or ${name} for named groups. For example, searching for
(\w+): (\w+) and replacing with $2: $1 swaps the two words around the
colon.
The replacement also interprets the standard escape sequences \n (newline),
\t (tab), \r (carriage return), and \\ (literal backslash), so you can
insert line breaks or indentation. Plain-text (non-regex) replacement treats
these as literal characters.
Interactive query-replace
Press Ctrl+Alt+R, or run Query Replace from the command palette, to step through matches one at a time. At each prompt:
y— replace this matchn— skip this match!— replace this and all remaining matchesq— quit
Structural search & replace
Edit → Structural Replace… (or Structural Replace from the command
palette) matches by structure, not regex: a pattern like
if $COND { $$BODY } matches any if statement regardless of how its
condition or body are formatted, ignoring whitespace differences between
the pattern and the source entirely.
$NAME— a hole matching exactly one token, or one whole bracketed group ((...),[...],{...}) when the next token opens one.$$NAME— a hole matching a run of zero or more tokens (e.g. a whole argument list, or a block’s whole body).
Type the pattern, then the replacement (using the same $NAME/$$NAME
syntax — each placeholder becomes the original text that hole matched,
formatting included), and step through matches exactly like interactive
query-replace above (y/n/!/q). With an active selection, only
matches inside it are offered; otherwise the whole buffer is searched.
Edit → Structural Replace in Workspace… does the same search across every file under the workspace root and previews a summary (“N replaced in M files”) before writing anything — the same confirm step workspace search-and-replace uses.
See the specification at crates/vix-structural-replace/spec/index.md for
the full pattern syntax (including its documented limitations — matching
is token/bracket-based, not a full language parser).
Workspace-wide search and replace
Open with Ctrl+Shift+F, or Search in Workspace / Search and Replace in
Workspace from the command palette. Type to search incrementally across every
file under the workspace root; results list as path:line: text. Use ↑/↓ to
navigate and Enter to open a match. In the replace variant, Tab switches to
the replacement field and Alt+Enter (or Enter from the replace field) opens a
preview: a list of every affected file with its match count. Nothing is
written until you confirm with y / Enter (n / Esc cancels), so you
can review the scope before a project-wide rewrite.
Open buffers are searched and replaced in their current (possibly unsaved) state. Files larger than 2 MB and binary files are skipped, and results are capped at 5,000.
Path filters
Two extra fields narrow the file set by regular expression against each file’s workspace-relative path (forward-slashed):
- Include path — only paths matching the regex are searched.
- Exclude path — paths matching the regex are skipped.
Tab cycles through Find → (Replace) → Include path → Exclude path. Empty filters impose no constraint, and an invalid (half-typed) regex is treated as empty rather than hiding every file.
For example, Include \.rs$ searches only Rust files; Exclude (^|/)target/
skips the build directory.
Editing results directly (“wgrep”-style)
Alt+E turns the current hit list into a real, editable buffer — one line
per hit, in the same path:line: text shape — instead of a read-only list.
Edit a line’s text and Ctrl+S writes that edit back to its source file
at the recorded position; delete a line to skip that hit entirely, leaving
its source untouched. Saving previews a summary (“N edits in M files”)
before writing, the same confirm step search-and-replace uses. Not
available for a static results list (go-to-definition, diagnostics, …) —
only a real text search’s hits.
Search in Workspace → Dock
A variant lists results in the bottom dock instead of a panel: Edit →
Find → Search in Workspace → Dock (or the palette). It prompts for a term —
Alt+C toggles case-sensitivity, Alt+R toggles regex (default:
case-insensitive literal) — then pushes relpath:line:col: text lines into the
dock, each click-to-jump to the match.
Vix™ and Vix IDE™ are trademarks.
Multiple Cursors
Vix™ can place many cursors (carets) at once and edit them together — type, delete, or move and every caret follows.
Add the next occurrence
With a word or selection active, the “spawn multi cursor” action adds the next occurrence of that text as a new caret (the familiar Ctrl+D-style flow). Repeat to keep adding matches one at a time. Skip Multi-Cursor moves the newest match on to the next occurrence instead (useful when one match shouldn’t change), and Skip Multi-Cursor Back moves it to the previous one.
Select all occurrences
Edit → Select → Select All Occurrences (action edit.select_all_occurrences)
selects every occurrence of the current selection (or the word at the cursor) in
one keystroke, putting a caret on each match. Then type to change them all at once.
Split a selection into lines
Edit → Select → Split Selection into Lines (edit.split_selection_into_lines,
like Helix and Kakoune’s Alt-s) turns each selection into one selection per line
it covers. Select a block, split it, then press End and type to append to every
line.
Select regex matches in a selection
Edit → Select → Select Regex Matches in Selection
(edit.select_regex_in_selection, like Kakoune and Helix’s s) asks for a regular
expression and puts a selection on each of its matches inside the current
selections — or in the whole buffer when nothing is selected. A pattern with no
match leaves the carets as they were.
Column (rectangular) selection
Alt + Shift + ↑ / ↓ (also Edit → Select → Column Select Up/Down) extend a vertical, rectangular selection: a caret is added on the next/previous line over the same columns as the current selection (or a bare caret with none), clamped to each line’s length. Typing or deleting then applies to the whole block — handy for editing aligned columns of text.
Vertical carets
Add Caret Above / Below place a bare caret on the line above or below the newest caret at the same column, without a column span; repeat to keep going. Alt+click adds a caret where you click.
Moving and editing
With several carets, the arrows, Ctrl+← / →, Home, End and the named motions (word, line start/end, buffer start/end, with or without Shift) move every caret. Copy copies every selection, one per line; pasting text with exactly one line per caret puts one line at each caret, and otherwise pastes the whole text at every caret. A multi-caret edit is one undo step; undoing it returns to a single caret.
Completion and snippet expansion work with one caret only: with extra carets the completion popup stays closed and Tab doesn’t expand a snippet.
Removing carets
Remove Multi Cursor removes the caret you added last; Remove All Multi Cursors
(or Esc) returns to a single cursor. See
crates/vix-editor-core/spec/index.md (Multiple carets),
crates/vix-editor/spec/select-all-occurrences/index.md and
crates/vix-editor/spec/column-select/index.md.
Vix™ and Vix IDE™ are trademarks.
Macros
Record a sequence of keystrokes once and replay it — and now save macros so they persist between sessions.
Record and play
- Edit → Macro → Record starts recording; run it again to stop.
- Edit → Macro → Play replays what you just recorded at the cursor.
Save and reuse
- Edit → Macro → Save… asks for a name and stores the recording in
macros.toml(in your config directory). Saving with an existing name updates that macro. - Edit → Macro → Play Saved… lists your saved macros; pick one to replay it.
Use
↑/↓to choose,Enterto play,Escto cancel.
The file
Saved macros live in macros.toml, which you can edit by hand:
[[macro]]
name = "wrap-parens"
keys = ["(", "Right", "Right"]
Each entry is a key token — the key plus modifier prefixes C- (Ctrl), A-
(Alt), S- (Shift): e.g. C-c, S-Tab, Enter, A-Left, F5, Space.
See the specification at crates/vix-macros/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Scripting
Vix ships every command compiled in — there’s no plugin marketplace. Rhai
scripting is the escape hatch: drop a small Rhai .rhai
file on disk and get a new command palette entry, a new key binding, or a
one-off buffer transform, without a rebuild. Scripts someone else publishes
in a git repository can be installed as a plugin (§ Plugins below).
Where scripts live
| Scope | Path | Notes |
|---|---|---|
| Global | <config dir>/scripts/*.rhai | Applies to every workspace you open. |
| Project | <workspace root>/.vix/scripts/*.rhai | Just this project. |
A project’s scripts load only after you trust the workspace: the first time
a workspace with .vix/scripts/ (or .vix/settings.toml, or a project
environment) opens, Vix asks “Trust this workspace and run them?”, and only
y trusts it. The answer is remembered for that workspace. Global scripts
always load.
Both are optional and not searched recursively. A project script shadows
a global script with the same file stem entirely — the global one simply
doesn’t load, the same way a project’s .editorconfig or .vix/project.toml
wins over a global default.
Scripts load once at startup. Tools → Scripts → Reload (or the
script.reload action) re-scans both directories without restarting: every
registered command and key binding is dropped and rediscovered from scratch,
so a script you deleted or renamed doesn’t leave anything stale behind.
A script that fails to parse, or whose top level raises an error, is skipped — its file name and the error go to the message drawer, and every other script still loads normally. One broken script never takes scripting down.
Plugins
A plugin is a git repository whose top level holds .rhai scripts.
Manage plugins from the command line; each command prints a short report
and exits without opening the editor:
vix --plugin install https://example.com/me/vix-case.git # default branch
vix --plugin install https://example.com/me/vix-case.git@v1 # a branch, tag or commit
vix --plugin list
vix --plugin update # every plugin; or: vix --plugin update vix-case
vix --plugin remove vix-case
install clones into <config dir>/scripts/<name>/ (the name is the URL’s
last segment without .git) and pins the exact commit in
<config dir>/plugins.lock. It uses your own git, so your credentials
and SSH agent work as usual.
A new plugin is disabled. Open Vix → Plugins…, highlight it, and press Enter to enable it (Enter again disables it). Enabling trusts the plugin’s files exactly as they are at that moment:
- If
updatebrings in changed code, the plugin is disabled again until you re-enable it, so you get the chance to look at what changed. An update with no file changes keeps it enabled. - If you edit a plugin’s files yourself, it shows as changed since enabled and stops loading until you enable it again.
- Disabling or removing a plugin forgets the trust; reinstalling starts disabled.
- A plugin containing a symlink that points outside its own directory is refused at install, and an update that adds one is undone.
Plugin scripts run in exactly the same sandbox as every other script (see
§ What scripts can’t do) — installing a plugin grants nothing extra. Their
commands appear in the palette as script:<plugin>/<file>:<command>.
Translating a plugin
A plugin can ship its own strings in each language, so its commands appear
in the language Vix is using (View → Locale). Put one TOML file per
locale in a locales/ folder inside the plugin:
vix-case/
upper.rhai
locales/
en.toml
fr.toml
# locales/fr.toml
[cmd]
upper = "Majuscules"
[msg]
done = "%{count} mots modifiés"
Nested tables become dotted keys (cmd.upper). In the scripts, tr(key)
returns the string for the current language, and tr(key, #{ name: value })
also fills each %{name} placeholder:
register_command("upper", tr("cmd.upper"), "on_upper");
fn on_upper() {
message(tr("msg.done", #{ count: 3 }));
}
tr looks in the current language first, then the language without its
region (pt-BR → pt), then English, and returns the key itself when no
file has it. locale() returns the current language code. Changing the
language reloads your scripts, so their labels follow it.
The locales/ folder is only read as text: a .rhai file inside it is
never run. The translations are part of what you trust when you enable the
plugin, so editing them disables the plugin until you enable it again. A
translation file that doesn’t parse, or isn’t a string table, is reported in
the message drawer and skipped; the plugin still loads. Scripts outside a
plugin have no translations, so tr returns the key.
Writing a script
A script’s top level runs once, at load time, and should do nothing but register itself:
register_command("uppercase_selection", "Uppercase Selection", "on_uppercase");
fn on_uppercase() {
set_selection_text(selection_text().to_upper());
}
register_command(id, label, handler)adds an entry to Tools → Scripts → Run… and the command palette (search for the label).idonly needs to be unique within this one script;handlernames afnin the same file, called with no arguments when the command runs.bind_key(key_token, command_id)binds a key to a command this script already registered.key_tokenuses the same grammar as saved macros —C-/A-/S-prefixes plus the key, e.g.C-c,S-Tab,C-S-l,a. A malformed token (typo’d modifier, unknown key name) is a load error, not a binding that silently never fires.
Handler functions run later, once per invocation — a palette pick, a bound
key — each a fresh call into the script. There’s no await and no way for a
handler to pause mid-run; the one exception is prompt (below), which
resumes as a new, separate call rather than continuing the one that
asked for input.
Reading and writing the buffer
| Function | Effect |
|---|---|
buffer_text() -> String | whole active-buffer text |
set_buffer_text(text) | replace the whole buffer, one undo step |
selection_text() -> String | selected text, "" if there is no selection |
set_selection_text(text) | replace the selection; with no selection, insert at the cursor |
current_line() -> String | the line the cursor is on (read-only — there’s no set_current_line) |
cursor_offset() -> int | cursor position, as a character offset |
set_cursor_offset(n) | move the cursor to character offset n; an n outside 0..=len is a script error, and the cursor stays put |
Positions are character offsets, never bytes and never (line, col).
These primitives are the whole surface for v1: a script reads text,
transforms it with plain Rhai, and writes the result back — there’s no
separate “run this built-in transform” API.
Both setters are blocked on a read-only buffer (reported in the message
drawer); set_cursor_offset alone still works even then, since moving the
cursor isn’t an edit.
Write once, not incrementally. A handler that raises a runtime error
partway through is not rolled back — whatever it already wrote stays
written. Compute the whole new text in a local variable first, then call
set_buffer_text/set_selection_text once at the end, the way every sample
below does, rather than mutating the buffer across several calls.
Prompting for input
register_command("rename_word", "Rename Word Under Cursor", "on_rename");
fn on_rename() {
prompt("New name:", "on_rename_answer");
}
fn on_rename_answer(answer) {
// ... use `answer` ...
}
prompt(message, on_submit) opens a single-line input box showing message.
Enter calls on_submit with the typed text as its one argument — a new
call, not a resumed on_rename. Whatever on_rename needs afterward has to
live in the buffer/selection itself or be re-read fresh (selection_text()
again, for instance) — Rhai doesn’t carry local variables across the two
calls. Esc cancels; on_submit is never called.
There’s no richer prompt shape in v1 — one line, no chooser, no multi-field form.
Messages
message(text)— informational, non-blocking, goes to the message drawer.error(text)— same drawer, styled as an error. Raising it does not stop the script; it’s just a message, not an exception the host catches.
The clock
now() -> String— today’s local date,YYYY-MM-DD. That’s the only time-related function — no time-of-day, no time zone.
Translations
tr(key) -> String,tr(key, args) -> String— the plugin’s string forkeyin the current language (§ Translating a plugin).locale() -> String— the current language code, such asenorfr.
What scripts can’t do
- No file or network access, no subprocess. Rhai’s standard library has none of these; nothing here registers them either. A script’s only capabilities are exactly the functions on this page.
- No other buffers. Every function above operates on the active buffer. A script can’t list open tabs, open a new one, or read a file that isn’t the one you’re looking at.
- No script-to-script calls. Each script’s Rhai state is its own.
Errors never crash the editor
A script is untrusted input, the same as a .vcf file you open — Vix never
lets one panic:
- At load (startup, or a reload): a parse error or a top-level error is reported, that one script is skipped, every other script still loads.
- At invocation: a runtime error — a type mismatch, an unhandled exception, hitting a resource limit (Rhai caps operations, recursion depth, string/array size per call, generous enough that no reasonable script should ever notice) — aborts just that one call and is reported. Whatever the handler already wrote before the error stays written (see “Write once, not incrementally” above).
Key bindings and conflicts
bind_key requests are resolved the same way a hand-edited
keybindings.toml override is (see Keybindings):
against the active keymap’s built-ins, and against every other script’s and
the user’s own requests. Two things claiming the same key — two scripts, or
a script and keybindings.toml — are both rejected, reported once,
naming every source; a script that simply claims a key a built-in binding
already used still wins outright, but is reported once so you’re not
surprised later when that built-in stops firing.
Sample scripts
Six working examples live in tui/examples/scripts/ (linked individually
below) — copy one into .vix/scripts/ (or <config dir>/scripts/) and
reload to try it. tui/tests/example_scripts.rs loads and runs every one of
them, so they stay correct as the API evolves.
wrap-selection-in-markdown-link.rhai— select some text, run the command (orCtrl+Shift+L), type a URL, and the selection becomes a Markdown link wrapping the original text. Showsregister_command+bind_keytogether, andprompt/on_submit.insert-file-header.rhai— prompts for a one-line description and prepends it as a//comment. Shows building the whole new buffer text before oneset_buffer_textcall.title-case-line.rhai— title-cases the line the cursor is on (“the quick fox” → “The Quick Fox”). There’s no “replace the current line” primitive, so this finds the line’s boundaries inbuffer_text()usingcursor_offset()and rewrites the whole buffer — the most involved sample, and the clearest example of “compute everything, write once.”dedupe-selection.rhai— removes duplicate lines from the selection, keeping the first occurrence of each. Plain Rhai arrays and object maps, nothing buffer-specific.timestamp-signature.rhai— inserts-- 2026-09-04-style signature at the cursor. Showsnow().open-scratch-with-template.rhai— fills an empty active buffer with a dated scratch-note heading. Open a fresh buffer first (Ctrl+N) — scripts can’t open one themselves (see “What scripts can’t do” above) — then run the command. Shows a simple guard against overwriting existing content.
Vix™ and Vix IDE™ are trademarks.
Zen Mode
Zen mode is a focus mode that hides the surrounding chrome so the editor fills the screen for distraction-free writing.
Using it
Toggle it from View → Layout → Zen Mode or the command palette (Zen Mode). It hides the file explorer, the messages drawer, the bottom dock, and the status bar — leaving the editor and the slim one-row menu bar. Toggle it again to bring everything back exactly as it was.
Notes
Zen mode is a runtime view state: it remembers and restores your previous dock and
status-bar visibility, and does not overwrite your saved settings, so it never
changes what you see after a restart. See the specification at
crates/vix-editor/spec/zen-mode/index.md.
Vix™ and Vix IDE™ are trademarks.
Breadcrumb Bar
The breadcrumb bar is an optional one-row strip above the editor that shows where
you are: the active file name, then the enclosing symbol at the cursor, as
file ▸ symbol.
Using it
Toggle it from View → Layout → Breadcrumbs or the command palette (Toggle
Breadcrumbs). The preference persists in settings (show_breadcrumbs, off by
default), so it stays on across restarts once enabled.
As you move the cursor, the symbol segment updates to the nearest enclosing declaration (function, struct, class, etc.), found from the same symbol scan that powers the Code Outline. Files with no recognized symbols show just the file name.
See the specification at crates/vix-editor/spec/breadcrumbs/index.md.
Vix™ and Vix IDE™ are trademarks.
Left Dock
The left dock is the file explorer: a lazily-expanded directory tree rooted at the workspace directory. Directories are listed first, then files, sorted case-insensitively by name; dotfiles are hidden.
Show / Hide and Focus
- Ctrl+B toggles the file explorer sidebar. When a nested file is active, toggling on expands the tree and reveals that file.
- Ctrl+E switches focus between the file explorer and the editor.
Navigation
↑/↓move the selection up and down the tree. As you move, the highlighted file opens automatically in a preview tab, so you can scan files without leaving the keyboard.→/Enteropens a file or expands a directory.←collapses an expanded directory, or jumps to its parent directory; it never expands.PgUp/PgDnmove a page at a time;Home/Endjump to the first / last row.- The mouse wheel moves the selection.
Opening Files
- Enter opens the selected file and focuses the editor.
- Single-click opens a file in an ephemeral preview tab. The next single-click on another file replaces that preview tab instead of piling up tabs.
- Double-click opens the file in a permanent tab and focuses the editor.
- A preview tab is promoted to a permanent tab by any real commitment: editing the file, pressing Enter, double-clicking, clicking the tab itself, or a layout action such as splitting.
- Clicking a directory expands or collapses it.
Preview tabs are enabled by default. Turn them off with the preview_tabs
setting (see ../configuration/index.md) if you prefer every click to open a
permanent tab.
Cut / Copy / Paste
- Ctrl+C / Ctrl+X / Ctrl+V copy, cut, or paste the selection.
- A same-directory copy auto-appends
copy,copy 2, and so on. A same-directory cut is a no-op. - Pasting into a different directory with a name conflict prompts per file:
(o)overwrite,(O)overwrite all,(s)skip,(S)skip all,(c)cancel. - Cut-pending items are visually dimmed. Cancel a pending cut with
Escape, or by pasting back into the same directory.
Multi-Selection and Delete
- Shift+Up / Shift+Down extend a multi-select range from the current anchor. All clipboard operations and delete act on the whole selection.
- Delete removes the selection, after a confirmation prompt.
Buffers Follow Files
Open buffers track their files. Renaming or moving a file (via cut and paste) relocates any open buffers pointing at it; deleting a file closes its buffer. Renaming a directory relocates buffers for every file inside it.
Git Badges
Changed tracked files show a colored one-letter badge: M modified (yellow),
A added (green), ? untracked (green), D deleted (red), R renamed
(cyan), U conflicted (magenta). See docs/git-panel/index.md.
Example
To rename foo.txt to bar.txt:
- Select
foo.txtin the explorer and press Ctrl+X. - Press Ctrl+V to paste it back, then rename — any open buffer for the file follows along automatically.
Vix™ and Vix IDE™ are trademarks.
Right Dock
The right dock is the message drawer: a list of advice and notifications, each one individually dismissable. It sits on the right edge of the body.
Show / Hide
Toggle the drawer with View → Show/Hide Right Dock, or by clicking the
right-edge dock icon in the menu bar. Its width is draggable, and the chosen
width persists in the messages_width setting.
Messages
Each message has a level and a line of text. The level selects the row icon:
- Info — general information.
- Advice — a suggestion or hint.
- Warn — a warning.
- Error — an error.
Messages are listed oldest first, with one row selected.
Navigation and Dismissal
↑/↓move the selection between messages.- Dismiss the highlighted message with the close
xon its row, theDeletekey, orEnter. The selection stays in range after a message is removed.
Example
A background save error appears as an Error row in the drawer. Use ↑ / ↓
to highlight it, read the text, then press Enter or click its x to dismiss
it.
Vix™ and Vix IDE™ are trademarks.
Bottom Dock
The bottom dock is a scrollable line panel for log messages, terminal/command output, data views, and similar text. It is a full-width strip that sits at the bottom of the body, directly above the status bar.
Show / Hide
Toggle the dock with View → Show/Hide Bottom Dock, the command palette
(action view.bottom_dock), or the show_bottom_dock setting. The setting is
off by default, and your choice persists between sessions.
When shown, the dock pins itself directly above the status bar; the explorer,
editor, and message drawer share the space above it. When empty it displays a
(no output yet) hint, and otherwise it shows the newest lines, pinned to the
bottom.
Resizing
The dock’s height is draggable. Press its top edge and drag up or down to grow
or shrink it. The height is kept between a 3-row minimum and a limit that always
leaves 3 rows for the body. The chosen height persists in the
bottom_dock_height setting.
Focus and Scrolling
- Click the dock to focus it; its border brightens to show focus.
- Press
Escto return focus to the editor. - While focused:
↑/↓scroll one line,PgUp/PgDnscroll one page, andHome/Endjump to the top / bottom. - The mouse wheel scrolls the dock whether or not it is focused.
Click-to-Jump
Clicking a line that names a path:line or path:line:col location — a build
error, a grep hit, and similar — opens that file at that position. This makes
command output and search results actionable directly from the dock.
Producers
Two features write into the bottom dock.
Search in Workspace → Dock
From Edit → Find, this prompts for a term, scans every workspace file, and
lists hits in the dock as relpath:line:col: text. Each result is
click-to-jumpable. In the prompt, Alt+C toggles case-sensitivity and Alt+R
toggles regex; the current state is shown under the input. The default is a
case-insensitive literal search.
Run Command
From Tools → Run Command…, this runs a shell command in the workspace root on a background thread and streams its output into the dock (showing it):
- a
$ commandheader, - the merged stdout/stderr lines as they arrive,
- an
[exit N]footer when the command finishes.
The UI stays responsive while the command runs. Cancel Command kills a
running command and appends [cancelled]. Only one command runs at a time.
Scrollback
The dock keeps a capped line buffer. The cap is the scrollback setting
(default 1,000 lines; minimum 1). When the buffer exceeds the cap, the oldest
lines are trimmed. Lowering the cap trims the existing buffer to fit. See
../configuration/index.md.
Example
Run a build and jump straight to the first error:
- Open Tools → Run Command… and enter
cargo build. - The dock appears and streams the build output.
- When a line like
tui/src/app.rs:42:9: error[...]appears, click it to opentui/src/app.rsat line 42, column 9.
Vix™ and Vix IDE™ are trademarks.
Migrating from another editor
How to bring your keys, settings, language servers, snippets, themes and tasks to Vix from VS Code, Neovim or Vim, Emacs, Helix, Sublime Text, a JetBrains IDE, Eclipse, Zed, Atom or Notepad++. Most of it is a keymap choice and a few lines of TOML. Vix does not import other editors’ configuration files, so this page shows what each setting becomes.
For what Vix does differently from your old editor, and where your old editor is still better, see the “Vix for … users” pages listed at the end.
Where Vix keeps its configuration
| What | Where |
|---|---|
| Settings | config.toml: ~/.config/vix/ on Linux, ~/Library/Application Support/rs.vix/ on macOS, %APPDATA%\vix\config\ on Windows. Vix → Settings… opens it. |
| Project settings | <project>/.vix/settings.toml, the same format, read only after you trust the workspace |
| Key overrides | keybindings.toml in the same directory as config.toml, or Vix → Keybindings… |
| Themes | themes/*.json in the same directory |
| Snippets | global/snippets/*.json, and media-types/<type>/<subtype>/snippets/*.json per language |
| Scripts | scripts/*.rhai, and <project>/.vix/scripts/ |
| Tasks | <project>/tasks.toml or <project>/.vix/tasks.toml |
Settings apply in layers: defaults, then your config.toml, then the
project’s .vix/settings.toml, then its [languages.<id>] tables. Vix
also reads .editorconfig files (indent style and size, tab width, trailing
whitespace, final newline), and a file’s own Vim modelines and Emacs file
variables (vim: set sw=2 et:, -*- indent-tabs-mode: nil -*-; see
Modelines), so files that already carry them need
nothing more. Vix → Reload Settings applies an edited file without a restart.
Every setting is listed in Configuration.
1. Choose your keys
Open View → Keymap… and pick the one you know. The choice is saved as
the keymap setting.
| Coming from | Keymap | keymap = |
|---|---|---|
| VS Code | VSCode macOS or VSCode Windows | "vscode-macos", "vscode-windows" |
| Neovim, Vim | Vi | "vi" |
| Emacs | Emacs | "emacs" |
| Spacemacs, Doom Emacs | Spacemacs | "spacemacs" |
| Helix | Helix | "helix" |
| IntelliJ, other JetBrains IDEs | IntelliJ macOS or IntelliJ Windows | "intellij-macos", "intellij-windows" |
| Eclipse | Eclipse | "eclipse" |
| Sublime Text | Sublime | "sublime" |
| Zed | Zed | "zed" |
| Atom (no Atom keymap) | VSCode macOS or VSCode Windows | "vscode-macos", "vscode-windows" |
| Notepad++ (no Notepad++ keymap) | Sublime | "sublime" |
| Anything else | Apple (the default) | "apple" |
To change a single key, add an override to keybindings.toml, or use
Vix → Keybindings…:
[[binding]]
key_token = "C-S-k"
action_id = "edit.duplicate_line"
Then run Tools → Reload Keybindings. Action ids are listed in the
action reference, and the full key syntax is in
Keybindings. F1 shows every key in the active
keymap.
2. Copy your settings
The usual ones, by editor. Put them in config.toml.
| Setting | VS Code | Neovim, Vim | Emacs | Vix |
|---|---|---|---|---|
| Tab width | editor.tabSize | tabstop, shiftwidth | tab-width | tab_width = 4 |
| Spaces or tabs | editor.insertSpaces | expandtab | indent-tabs-mode | indent_style = "spaces" (or "tabs") |
| Line numbers | editor.lineNumbers | number | display-line-numbers-mode | line_numbers = true |
| Relative numbers | editor.lineNumbers: "relative" | relativenumber | display-line-numbers-type 'relative | relative_line_numbers = true |
| Soft wrap | editor.wordWrap | wrap | visual-line-mode | soft_wrap = true |
| Format on save | editor.formatOnSave | a plugin or autocommand | a hook | format_on_save = true |
| Auto save | files.autoSave | a plugin or autocommand | auto-save-visited-mode | auto_save = "focus_lost" (or "interval") |
| Persistent undo | not built in | undofile | a package | persistent_undo = true (the default) |
| Reopen last files | window.restoreWindows | sessions | desktop-save-mode | restore_session = true |
| Theme | workbench.colorTheme | colorscheme | load-theme | theme = "Nord" |
Helix users: editor.line-number = "relative" becomes
relative_line_numbers = true, and editor.soft-wrap.enable becomes
soft_wrap = true. A per-language setting, like a language block in
languages.toml or VS Code’s "[python]", goes in a [languages.<id>] table
in .vix/settings.toml.
Font, font size and ligatures belong to your terminal, not to Vix.
3. Language servers
If the usual server for your language is installed (rust-analyzer,
gopls, pyright or pylsp, typescript-language-server, clangd, …),
Vix starts it once you trust the workspace: the first time you open a
matching file, the trust prompt names the server, and y starts it. To use
another server, list it in config.toml; your entry replaces the built-in
for its extensions:
[[lsp_servers]]
language_id = "rust"
extensions = ["rs"]
command = ["rust-analyzer"]
[[lsp_servers]]
language_id = "python"
extensions = ["py"]
command = ["pylsp"]
A server starts the first time you open a matching file. Install the server
itself with your package manager (the same binaries your old editor used:
rust-analyzer, pyright or pylsp, gopls, typescript-language-server,
…). Run vix --doctor to check that every configured server starts. See
Language servers.
4. Debugging
Vix does not read VS Code’s launch.json or nvim-dap configurations. Each
debug adapter is listed in config.toml, with the launch request’s
arguments beside it:
[[debug_adapters]]
adapter_id = "debugpy"
extensions = ["py"]
command = ["python", "-m", "debugpy.adapter"]
[debug_adapters.launch]
console = "internalConsole"
{program} in a value becomes the current file. Start and attach from the
Run menu. See tutorial 10.
5. Snippets
Vix snippets use the VS Code JSON shape (prefix, body, description), so
most VS Code snippet files work as they are:
- Copy a language’s snippet file into
media-types/<type>/<subtype>/snippets/, for example<config>/media-types/text/rust/snippets/rust.json, or intoglobal/snippets/for snippets you want everywhere. - Rename a
.code-snippetsfile to.json: only.jsonfiles are read. - Remove any comments; the file must be plain JSON.
Tab stops and placeholders ($1, ${1:name}, $0) work. Variables such as
$TM_FILENAME are inserted as written, not expanded. UltiSnips, LuaSnip and
yasnippet files need converting by hand. Insert a snippet by typing its
prefix and Tab, or from Tools → Snippets…. See
Snippets.
6. Themes
Vix bundles 21 themes, including Solarized, Dracula, Nord, Gruvbox, Monokai,
One Dark, Tokyo Night, Catppuccin Mocha and a high-contrast theme, plus the
base16 schemes. Pick one from View → Theme. VS Code, TextMate and Vim
color schemes are not imported; to match one, start from the closest bundled
theme in View → Edit Theme…, which saves your version to themes/. See
Themes.
7. Tasks and builds
Vix finds tasks without configuration in package.json, deno.json,
composer.json, a justfile, Taskfile.yml, a Rakefile and a
Makefile. VS Code’s tasks.json is not read: add anything else to
tasks.toml in the project. The Project menu’s configure, compile,
test, install, package and run commands can be fixed for a team in
.vix/project.toml. See Tasks.
8. Plugins and scripts
There is no plugin marketplace. Much of what you used plugins for is built
in: LSP, a debugger, Git with hunk staging, fuzzy finding, multiple cursors,
a terminal, a file explorer, Org mode, a database client and a REST client.
For the rest, Rhai scripts in scripts/ add commands and key bindings
without a rebuild. A project’s own .vix/scripts/ run only after you trust
the workspace. See Scripting.
What does not come across
- Extensions and plugins, and any configuration written in Lua, Vimscript, Emacs Lisp, Python or JavaScript.
- VS Code’s
settings.json,keybindings.json,tasks.jsonandlaunch.json. Copy the settings by hand (step 2). - Color schemes from other editors (step 6).
- Snippet variables and other editors’ snippet formats (step 5).
Editor by editor
What is different, and what your old editor still does better:
- VS Code
- Vim and Neovim
- Emacs and Spacemacs
- Helix
- IntelliJ and other JetBrains IDEs
- Eclipse
- Sublime Text
- Zed
- Atom, which is discontinued
- Notepad++
- Fresh and ttt
Side-by-side comparisons: VS Code, Neovim and Helix.
Vix™ and Vix IDE™ are trademarks.
Vix™ for Atom users
Atom is discontinued. GitHub announced its sunset in June 2022 and archived the project and its repository that December. If you are still on Atom, or on a fork of it, this page is for moving to Vix: which keymap to pick, where each Atom feature you used lives in Vix, and what does not come across.
Claims about Atom describe the archived project as it was documented. Every claim about Vix cites the test or file that checks it.
Pick a keymap
Vix has no Atom keymap. The closest are the VSCode macOS and VSCode
Windows keymaps (the two bind the same keys in a terminal): pick one from
View → Keymap…, or set keymap = "vscode-macos" in
config.toml.1 If your fingers know Sublime Text’s keys better,
the Sublime keymap is the other choice.
F1 lists every key the active keymap binds,2 and any key can be
rebound in keybindings.toml.3
These rows are copied from the generated VS Code keybindings reference; a test fails if a row here stops matching it. Compare each one with the key you remember from Atom before relying on it.
| Key | Action | Action ID |
|---|---|---|
C-p | Open… | file.open |
C-S-p | Command Palette | tools.palette |
C-b | Toggle Explorer | view.explorer |
C-S-e | Toggle Explorer Focus | view.toggle_explorer_focus |
C-f | Find… | edit.find |
C-r | Find & Replace | edit.replace |
C-S-f | Search in Workspace | search.workspace |
C-/ | Comment | edit.toggle_comment |
C-S-l | Select All Occurrences | edit.select_all_occurrences |
C-S-k | Cut Line | cut_line |
C-\ | Vertical | view.split_vertical |
| `C-`` | Show/Hide Terminal | tools.terminal |
C-S-m | Diagnostics… | lsp.diagnostics |
C-s | Save | file.save |
C-S-s | Save As… | file.save_as |
C-w | Close | file.close |
C-S-t | Reopen Closed Tab | file.reopen_closed |
In this keymap Ctrl+D adds the next occurrence of the word as another
caret, one press at a time.4
Where your Atom features went
Atom shipped most of its features as bundled packages (the fuzzy finder, command palette, tree view, find and replace, and the GitHub package among them) and took the rest from its package registry, which was archived with the editor. In Vix the equivalents are built in:
| In Atom | In Vix |
|---|---|
| Fuzzy finder | The file finder (Ctrl+P above) and the command palette, with @ for symbols, : for a line and > for commands5 |
| Tree view | The file explorer (Ctrl+B above) |
| Find and replace, project find | Find, replace and workspace search and replace6 |
| The GitHub package’s Git panel | The Git panel: stage, commit and blame7 |
| Multiple cursors | Select all occurrences, add the next one, column selection8 |
| Language packages | Tree-sitter highlighting9 and language servers10 |
| Terminal packages | Integrated terminals11 |
| The Teletype package | Cowork, opt-in and off in a default build12 |
init script and your own packages | Rhai scripts and plugins13 |
| Themes | Bundled themes, picked from View → Theme14 |
config.cson | config.toml; see Configuration |
Vix also has a debugger for any Debug Adapter Protocol adapter,15 and persistent, branching undo.16
What does not come across
- Packages. Atom packages were JavaScript or CoffeeScript on Electron; none of them run in Vix. Rhai scripts and plugins are a smaller, sandboxed extension system.
- Settings, keymaps, snippets and styles are not imported. Copy settings
by hand (see Migrating); Atom’s
.csonsnippets need converting to Vix’s JSON snippets (see Snippets). - A desktop window. Vix runs in a terminal; its desktop front ends are experimental.
See also
Vix™ and Vix IDE™ are trademarks.
-
F1lists the active keymap’s keys:tui/tests/integration/keymaps.rs,help_overlay_includes_the_active_keymap_chords. ↩ -
A
keybindings.tomlentry wins over the active keymap:tui/tests/integration/keymaps.rs,key_override_wins_over_a_builtin_keymap_binding. ↩ -
tui/tests/integration/editing.rs,ctrl_d_adds_a_caret_and_edits_all_occurrences(VSCode macOS keymap). ↩ -
The prefixes are
Mode::from_inputincrates/vix-palette/src/lib.rs. ↩ -
tui/tests/integration/workspace.rs,workspace_search_finds_matches_across_filesandworkspace_replace_rewrites_files. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/editing.rs,select_all_occurrences_creates_multi_carets,ctrl_d_adds_a_caret_and_edits_all_occurrencesandcolumn_select_block_edits_multiple_lines. ↩ -
The grammars compiled in by default are the
syntax-commonfeature intui/Cargo.toml. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
Compiled in only with the
coworkCargo feature, which the defaultfullfeature set intui/Cargo.tomlleaves out. See the Cowork specification. ↩ -
Rhai scripts add palette commands and key bindings:
tui/tests/integration/scripting.rs,script_command_appears_in_the_command_paletteanda_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser:plugin_chooser_enables_and_disables_a_plugin. ↩ -
tui/tests/integration/menu.rs,view_theme_submenu_lists_bundled_themes. ↩ -
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩
Vix™ for Eclipse users
Eclipse is a desktop IDE built around workspaces, perspectives and a large plugin ecosystem, with compiler-backed Java tooling. Vix is a terminal editor that gets its language features from language servers and ships a debugger, a Git client and a terminal in one binary. This page shows which of your Eclipse keys work in Vix’s Eclipse keymap, what is different, and where Eclipse is still the better tool.
Claims about Eclipse describe its documented defaults; see the Eclipse documentation. Every claim about Vix cites the test or file that checks it.
Turn on the Eclipse keymap
Pick View → Keymap… → Eclipse, or set keymap = "eclipse" in
config.toml.1 The keymap follows Eclipse’s Windows defaults.
F1 lists every key the active keymap binds.2
Your keys
These rows are copied from the generated
Eclipse keybindings reference; a test
fails if a row here stops matching it. The keys every keymap shares (F2
rename, F12 go to definition, Ctrl+Space completion, Alt+Left back)
are in the shared bindings.
| Key | Action | Action ID |
|---|---|---|
C-3 | Command Palette | tools.palette |
C-S-r | Open… | file.open |
C-S-t | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-o | Go to Symbol | nav.goto_symbol |
C-l | Number | nav.goto_line |
C-f | Find… | edit.find |
C-r | Find & Replace | edit.replace |
C-k | Find Next | edit.find_next |
C-S-k | Find Previous | edit.find_prev |
C-h | Search in Workspace | search.workspace |
A-/ | Autocomplete Word | autocomplete |
C-/ | Comment | edit.toggle_comment |
C-S-f | Format Document | lsp.format |
C-S-b | Toggle Breakpoint | run.toggle_breakpoint |
C-b | Run Tests | tools.test |
C-s | Save | file.save |
C-S-s | Save As… | file.save_as |
C-w | Close | file.close |
C-S-w | Close All Tabs | file.close_all |
C-y | Redo | edit.redo |
What is different
Ctrl+3is the command palette. Inside it,@jumps to a symbol in the file,:to a line and>runs a command.3Alt+/completes a word from the buffer, separately fromCtrl+/, which toggles a comment.4Ctrl+Bruns the project’s tests (tools.test) rather than building a workspace. Vix finds tasks inMakefile,package.json, ajustfileand more (see Tasks).- No
.metadataworkspace. A Vix workspace is a folder; project settings live in.vix/settings.toml(see Migrating). - Language features come from language servers, for Java from
jdtls. The usual server for a language starts once you trust the workspace.5
What Vix adds
- It runs in a terminal, so it works over SSH and in tmux; remote folders open with File → Open Remote….6
- A debugger for any Debug Adapter Protocol adapter;
Ctrl+Shift+Btoggles a breakpoint.7 - A Git panel that stages and commits, and blame.8
- Integrated terminals.9
- Persistent, branching undo with a tree you can browse.10
Where Eclipse is the better choice
- Java tooling. Eclipse’s own Java compiler and refactorings are richer than what a language server exposes.
- Plugins for modeling, embedded and vendor toolchains, which Vix does not attempt.
- Perspectives and a desktop GUI, including visual diff and merge.
See also
- Migrating from another editor: settings, language servers, snippets and themes.
- Keymaps.
- Why Vix?.
Vix™ and Vix IDE™ are trademarks.
-
F1lists the active keymap’s keys:tui/tests/integration/keymaps.rs,help_overlay_includes_the_active_keymap_chords. ↩ -
The prefixes are
Mode::from_inputincrates/vix-palette/src/lib.rs. ↩ -
tui/tests/integration/keymaps.rs,eclipse_keymap_alt_slash_completes_a_word_distinct_from_ctrl_slash. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
Experimental.
tui/tests/remote_ui.rs,open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩ -
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩
Vix™ for Emacs users
You do not use an editor; you inhabit one. Emacs is your mail client, your calendar, your shell, and occasionally a text editor. We are not going to pretend Vix can be your operating system. But if you have ever wished for the editing half of Emacs — the chords, the kill ring, Org mode, the discipline — without babysitting an init file measured in kilolines, read on.
The one-minute pitch
Vix is a terminal IDE in Rust: a single static binary that starts instantly,
with LSP, a debugger, Tree-sitter, git tooling, and (yes, really) Org mode
with roam-style notes built in. It ships an Emacs keymap — C-x C-s,
C-x C-f, M-x, the kill ring — and a which-key popup that lists the
candidate chords while a prefix is pending, so the learning curve is a ramp,
not a wall.
cargo run # open Vix in the current directory
# then: View -> Keymap -> Emacs (or M-x after switching: "keymap")
What works out of the box
| Emacs habit | In Vix |
|---|---|
C-x C-f / C-x C-s / C-x C-c | Find file / save / quit |
C-x k / C-x b | Kill buffer / switch buffer |
C-x 2 C-x 3 C-x 1 C-x 0 C-x o | Split, unsplit, other window |
M-x | The command palette (fuzzy, with every command) |
C-f C-b C-n C-p C-a C-e | Char / line / line-end motions |
M-f / M-b | Word forward / backward |
C-v / M-v | Page down / up |
M-< / M-> | Beginning / end of buffer |
C-w / M-w / C-y | Kill region / kill-ring-save / yank |
C-k | Kill line |
C-t / M-t | Transpose chars / words |
C-s | Incremental search |
C-/ | Undo |
C-g | Quit (with the customary status message) |
While C-x is pending, the which-key popup shows what can follow — the
discoverability of helm/vertico marketing, built into the core.
And there is a Spacemacs keymap too: Vi-modal editing with a Space
leader (SPC f f, SPC g s, SPC w /), if that era of your life left marks.
Org mode, seriously
This is the part most “Emacs alternatives” skip. Vix has a real Org menu:
- Headline promote/demote, subtree move, TODO cycling, checkbox toggling with
auto-updating statistics cookies (
[2/3],[66%]), fold cycling. - Export to Markdown and HTML.
- Roam-style notes: nodes with IDs,
[[wiki-link completion, backlinks (including a live backlinks panel), dailies with a calendar picker, capture, and transclusion. - Org tables, clocking in/out, and contacts (org-contacts style, with vCard import/export).
It is not org-agenda — there is no agenda view yet — but for notes, TODO lists, and Zettelkasten-style linking, it covers the daily loop.
Where Vix beats a stock Emacs
- Batteries included, wired, and charged. LSP + DAP + Tree-sitter + git
hunk staging + fuzzy finding + terminal work on first launch. No
use-packageincantations, noM-x package-refresh-contentsat the worst moment. - Startup is instant. One native binary. No daemon required, no
esup-driven guilt. - It cannot break itself. Configuration is a TOML file, not a program. An upgrade cannot send you spelunking through your init file at 9am.
- Memory safety. Rust with
unsafeforbidden — a different reliability contract than a C core running elisp. - The undo tree persists across sessions by default, content-hash guarded —
undo-treesemantics without the package. - Kill-ring history is visible:
Edit -> Paste from Historyshows the ring and lets you pick, mouse or keys.
Where Emacs still wins
We will not insult you:
- Elisp. Emacs is a programmable environment; Vix is an editor with good
defaults. There is no extension language. If your workflow is your
init.el, Vix is a companion, not a replacement. - The ecosystem. Magit, org-agenda, TRAMP, dired’s depths, mu4e, ERC — decades of accumulated capability. Vix’s git tooling is good (hunk staging, blame, branches, stash, merge-conflict resolution); it is not Magit.
- The mark and the region. Vix selects with
Shift+motion (and has multi-cursor and rectangles), but there is noC-SPCmark, noC-x C-x. - Self-documentation.
F1lists every shortcut and the palette lists every command, but there is noC-h fthat jumps to source.
An honest experiment
cargo build --release; putvixon yourPATH.- Open your notes directory:
vix ~/org— switch the keymap to Emacs, then poke the Org menu at your existing.orgfiles. - Lean on
M-x(the palette) and the which-key popup instead of docs. - Try what Emacs makes you assemble: stage a hunk from the Git menu, run the
debugger from the Run menu, open the HTTP client on a
.httpbuffer, let LSP rename a symbol project-wide.
Keep Emacs for what only Emacs does. But the next time you are on a bare
server, or a colleague’s machine, or you just want the editor to be someone
else’s config problem — vix . is a very comfortable place for Emacs hands.
See also
docs/keymaps/index.md— every keymap, every binding.crates/vix-keymap-model/spec/index.md— the authoritative spec.crates/vix-org/spec/index.md— the Org feature spec.index.md— the full feature tour.
Vix™ and Vix IDE™ are trademarks.
Vix for Fresh Users
Fresh is a modern terminal text editor written in Rust that brings CUA-style keybindings and GUI-like workflows to the terminal. If you’ve been using Fresh and appreciate its clean design, intuitive shortcuts, and focus on the editing experience, Vix offers a compelling next step with even more built-in capabilities — all while maintaining the terminal-first philosophy you love.
The One-Minute Pitch
Vix is a terminal IDE that shares Fresh’s DNA: both are written in Rust, both prioritize keyboard-driven workflows, and both aim to provide a modern editing experience in the terminal. Where Fresh excels at being a fast, focused editor, Vix expands on that foundation by bundling additional IDE features that Fresh users often rely on external tools for.
cargo run # open Vix in the current directory
# then: View -> Keymap -> Fresh
With the Fresh keymap active, your muscle memory will feel right at home.
Your Muscle Memory, Preserved
Vix ships with a dedicated Fresh keymap that maps Fresh’s familiar shortcuts:
| Fresh Key | Action | Vix Equivalent (Fresh keymap) |
|---|---|---|
Ctrl+P | Open file | Ctrl+P - Quick Open (fuzzy file finder) |
Ctrl+E | Toggle explorer focus | Ctrl+E - Toggle Explorer Focus |
Ctrl+B | Toggle explorer | Ctrl+B - Toggle Explorer |
Ctrl+S | Save | Ctrl+S - Save |
Ctrl+Q | Quit | Ctrl+Q - Quit |
Ctrl+N | New file | Ctrl+N - New |
Ctrl+O | Open path | Ctrl+O - Open Path |
Ctrl+F | Find | Ctrl+F - Find |
Ctrl+R | Find & Replace | Ctrl+R - Find & Replace |
Ctrl+/ | Toggle comment | Ctrl+/ - Toggle Comment |
Ctrl+K | Cut to line end | Ctrl+K - Cut to Line End |
Ctrl+W | Select word | Ctrl+W - Select Word |
Ctrl+H | Delete word left | Ctrl+H - Delete Word Left |
Ctrl+G | Go to line | Ctrl+G - Go to Line |
Ctrl+T | Transpose characters | Ctrl+T - Transpose Characters |
Ctrl+L | Select line | Ctrl+L - Select Line |
Alt+Left | Back | Alt+Left - Back |
Alt+Right | Forward | Alt+Right - Forward |
Alt+Up | Move line up | Alt+Up - Move Line Up |
Alt+Down | Move line down | Alt+Down - Move Line Down |
Alt+. | Code action | Alt+. - Code Action |
Alt+/ | Search workspace | Alt+/ - Search in Workspace |
Ctrl+] | Match bracket | Ctrl+] - Jump to Matching Bracket |
Note: On macOS, Vix automatically maps Command to Control, so Fresh’s
CUA-style shortcuts work naturally.
What You’ll Recognize
Fresh users will feel immediately at home with:
- CUA-style keybindings: The familiar
Ctrl+S,Ctrl+C,Ctrl+Vworkflow - Terminal-first design: Fast, lightweight, runs anywhere
- Modern Rust foundation: Performance and safety you expect
- No configuration required: Works great out of the box
- Fuzzy file finder:
Ctrl+Pjust like Fresh - Explorer sidebar:
Ctrl+Eto focus,Ctrl+Bto toggle - Multi-cursor support: Built-in, no plugins needed
- Tree-sitter syntax highlighting: Rich syntax awareness
What Vix Adds
Beyond Fresh’s excellent editor core, Vix bundles features you’d typically need separate tools or plugins for:
Built-in Language Intelligence
- LSP (Language Server Protocol): Diagnostics, hover, completion, rename, references, code actions, inlay hints, call hierarchy — all wired up automatically
- DAP (Debug Adapter Protocol): Full debugger with breakpoints, stepping, call stack, variables, watches, and REPL
- Tree-sitter: Advanced syntax highlighting and code navigation
Version Control
- Git integration: Stage hunks, commit, push, pull, log, blame, diff
- Interactive commit graph: Visualize your repository history
- Hunk-by-hunk staging: Fine-grained control over what gets committed
- Merge conflict resolver: Built-in tool for resolving merge conflicts
Project Tools
- Integrated terminal: Full terminal emulator built into the editor
- Task runner: Automatic detection and running of npm, yarn, pnpm, bun, Deno, Composer, just, go-task, Rake, Make tasks
- REST client: Built-in HTTP client for
.httpfiles with environments and request chaining - Container menu: Manage Docker and Podman containers
- Database workbench: Full SQLite, PostgreSQL, MySQL client with schema browser, query editor, and result grid
Editing Power Features
- Persistent undo tree: Never lose your work; undo history persists across sessions
- Undo tree visualization: Browse and restore from any point in your edit history
- Multiple cursors: Edit multiple locations at once
- Column editing: Edit rectangular selections
- Structural selection: Select by syntax (function, class, etc.)
- Snippets: Built-in snippet support with tab stops
- Macros: Record and replay editing actions
- Clipboard history: Access previously copied text
Workspace Features
- Workspace search: Fast fuzzy search across all files
- Symbol navigation: Jump to definitions, references, implementations
- Outline view: See the structure of your file
- Todo tree: See all TODO/FIXME comments in your project
- Session management: Save and restore your editing session
- Tabs and splits: Organize your workspace with tabs and split panes
Org Mode
- Full Org mode support: Headlines, TODO cycling, checkboxes, folding
- Agenda: See all your tasks in one view
- Org-roam: Note-taking with backlinks and graph visualization
- Tables: Spreadsheet-style tables with formulas
- Column View: Compact view of your Org data
- Export: Export to Markdown, HTML, and other formats
Collaboration
- Cowork: Real-time collaborative editing (opt-in build feature)
- IM (Instant Messaging): Code-aware chat with IRC and Matrix support
- path:line references: Share links to specific locations in files
AI Integration
- AI chat panel: Chat with AI assistants
- Inline completion: Ghost-text suggestions from AI
- MCP server: Model Context Protocol support
- Agent Client Protocol: Integration with AI agents
Desktop GUIs
- 7 desktop front ends: Same editor, native window (GPUI, egui, iced, slint, gtk4, bui, zgui)
Key Differences to Be Aware Of
While Vix aims to be familiar to Fresh users, there are some differences:
What’s the Same
- Terminal-first philosophy: Runs in any terminal, over SSH, in tmux
- Keyboard-driven: All features accessible via keyboard
- Fast and lightweight: Native binary, minimal dependencies
- Modern Rust codebase: Same language, similar architecture
What’s Different
| Feature | Fresh | Vix |
|---|---|---|
| Default keymap | Fresh keymap | Apple keymap (switch to Fresh via View → Keymap) |
| Integrated terminal | No | Yes, built-in |
| Git integration | No | Yes, full client |
| LSP/DAP | Yes | Yes, more features |
| Database workbench | No | Yes |
| Org mode | No | Yes, full support |
| Container management | No | Yes |
| REST client | No | Yes |
| Multi-cursor | Yes | Yes, more features |
| Undo tree | Limited | Full persistent tree |
| Session restore | Yes | Yes, more comprehensive |
Migrating from Fresh
Step 1: Install Vix
# Using cargo (recommended for developers)
cargo install vix-tui
# Using Homebrew
brew install vixide/homebrew-tap/vix-tui
# Using npm
npm install -g @vixide/vix
Step 2: Switch to Fresh Keymap
- Open Vix:
vix . - Press
Ctrl+Shift+P(or use the menu bar) - Type
keymapand select View → Keymap → Fresh
Or add to your config:
# ~/.config/vix/config.toml
keymap = "fresh"
Step 3: Customize to Your Liking
Fresh users often have custom keybindings. In Vix, you can:
- Add custom bindings via
keybindings.toml:
# ~/.config/vix/keybindings.toml
[[bindings]]
key = "C-S-d"
action = "edit.duplicate_line"
- Create custom scripts in
~/.config/vix/scripts/*.rhai:
// Example: Insert current date
fn insert_date() {
let date = now();
buffer_set_text(date);
}
- Create custom themes in
~/.config/vix/themes/*.json
Step 4: Explore Vix’s Additional Features
Once you’re comfortable with the basics, explore Vix’s additional capabilities:
- Git: Press
Ctrl+Shift+P, typegit, explore the Git menu - Debugger: Set breakpoints, start debugging from the Run menu
- Database: Connect to a database from the DB menu
- Terminal: Open with
Ctrl+`(in most keymaps) - LSP: Hover, go to definition, rename - all work automatically
Where Fresh Might Still Win
Fresh is an excellent editor, and there are areas where it may still have advantages:
- Simplicity: Fresh’s focused scope makes it easier to understand
- Startup speed: Fresh may be slightly faster for simple editing
- Customization: Fresh’s configuration may feel more familiar to some users
- Plugin ecosystem: Fresh has a growing plugin system
However, for users who want more built-in capabilities without sacrificing the terminal-first experience, Vix offers a compelling alternative.
An Honest Experiment
Give Vix a try for a week on a real project:
- Install Vix and switch to the Fresh keymap
- Use your familiar Fresh shortcuts:
Ctrl+P,Ctrl+S,Ctrl+F, etc. - Gradually explore Vix’s additional features:
- Try the Git panel (
Ctrl+Shift+P→git) - Use the integrated terminal (
Ctrl+`) - Try go-to-definition (
F12) - Explore the LSP features
- Try the Git panel (
- Notice how Vix handles things Fresh leaves to external tools:
- Git staging and committing
- Debugging
- Database queries
- Container management
Learning Resources
Official Documentation
- Main Documentation - Complete feature tour
- Keybindings Reference - All Fresh bindings
- Settings Reference - All configuration options
- Getting Started - Beginner’s guide
Migration Guides
- For VS Code Users - Compare with VS Code
- For Vim Users - For Vim users
- For Emacs Users - For Emacs users
- For Helix Users - For Helix users
- Feature Comparison - Full comparison matrix
Community
- GitHub Discussions - Ask questions, share ideas
- GitHub Issues - Report bugs, request features
- Discord - Real-time chat (link in README)
Troubleshooting
My Fresh shortcuts aren’t working
Make sure you’ve switched to the Fresh keymap:
View → Keymap → Fresh- Or set
keymap = "fresh"in~/.config/vix/config.toml
How do I do [X] in Vix?
Check the command palette (Ctrl+Shift+P or Ctrl+P → >) for the action.
All actions are searchable.
I miss Fresh’s [feature]
Vix is actively developed. If there’s a Fresh feature you miss:
- Check if it exists under a different name
- Search the issues for feature requests
- Open a new issue with your feature request
Performance seems slower than Fresh
Vix has more features built-in, which can affect startup time slightly. However, editing performance should be comparable. If you notice performance issues:
- Run
vix --doctorto check for common issues - Check your system resources
- Report the issue with details about your system
Conclusion
If you love Fresh’s terminal-first approach, keyboard-driven workflow, and modern Rust foundation, Vix offers a natural next step with additional built-in capabilities that eliminate the need for external tools and plugins.
Vix isn’t trying to replace Fresh — it’s offering a different take on what a terminal editor can be. For Fresh users who find themselves wishing for more built-in features without sacrificing the terminal experience, Vix is worth exploring.
Try it for a week. Your muscle memory will feel at home, and you might discover features you didn’t know you needed.
Vix™ and Vix IDE™ are trademarks.
Vix™ for Helix users
You picked an editor that ships LSP, Tree-sitter, and multiple cursors with zero configuration, and you like that it stayed out of your way about everything else — no terminal, no git client, philosophically. Vix shares the “zero-config IDE in one binary” instinct, but takes the opposite bet on scope: it tries to be the terminal, the git client, and more, not just the editor. This page is honest about both directions.
The one-minute pitch
Vix is a terminal IDE written in Rust: one static binary, no runtime. Like Helix, LSP (diagnostics, rename, references, code actions), a DAP debugger, Tree-sitter highlighting, and multiple cursors are already wired together — no plugin, no config. Unlike Helix, Vix also bundles a git client, an integrated terminal, and a fair amount more (Org-mode, an HTTP client, a spreadsheet-style CSV editor…), on the theory that a single binary can hold all of it without becoming a mess.
cargo run # open Vix in the current directory
What’s the same instinct
- Zero-config LSP, DAP, and Tree-sitter. Same as Helix: open a file, get diagnostics, go-to-definition, and highlighting with nothing to install. Vix’s debugger is menu-driven (Run: breakpoints, step over/into, call stack, variables, watches) rather than Helix’s own keybindings, but it’s the same “already wired up” deal.
- Multiple cursors as a first-class feature. Edit → Select All
Occurrences (bound to
Ctrl+Din the Sublime keymap,Ctrl+Shift+Lunder VSCode), column (rectangular) selection, and manual multi-cursor placement are all built in — seedocs/multiple-cursors/index.md. - A single static binary. No Node, no Python, no separate language servers to wire up beyond the servers themselves.
What’s genuinely different
- A Helix keymap, newer and smaller than Helix. View → Keymap →
Helix gives you select-then-act editing:
w,xor%select, thend,c,yorpact;vextends;ggoto,mm, theSpaceleader (Space f,Space s,Space /,Space k,Space r,Space a) and the:command line work as in Helix, with which-key hints after each prefix, and so do counts (3w,2x,5j) and.repeat. With several selections (C,s), motions and actions apply to every one. What’s missing: named registers (yjoins several selections into one register value), view and window modes, and the block cursor. Seedocs/keymaps/index.md. - Not modal by default. Vix starts in the Apple keymap; Helix is one menu choice away and the choice persists.
- Vix keeps things Helix deliberately excludes. An integrated terminal, a git client (stage/commit/log/blame, not just a diff gutter), and a menu bar are all in scope for Vix; Helix’s own stated design keeps it as an editor, not a terminal emulator or git client.
- Plugin/scripting. Vix has Rhai scripts today (palette commands, key
bindings — see
docs/scripting/index.md). Helix’s Scheme-based Steel plugin layer is still under active development, not yet a stable public API — so as of this writing, Vix’s is the more finished (if smaller-community) story, not the other way around.
Where Helix still wins
- The full selection-first model. Vix’s Helix keymap covers the core, multiple selections included, but not per-selection registers, rotating or flipping selections, or Helix’s other modes. If you rely on those daily, you’ll notice.
- A tighter, more opinionated core. Helix’s smaller surface area is a deliberate design choice, not a gap to fill — some people prefer that.
An honest experiment
Give it one afternoon on a real task:
cargo build --releaseand putvixon yourPATH.- Open a project:
vix . - Pick the Helix keymap (View → Keymap → Helix), then edit the way
you do in Helix:
wthend,xtheny,Space ffor files. - Try what Helix leaves to you: stage a hunk from Git → Changes…, open
the integrated terminal (
Ctrl+`in most keymaps), or set a breakpoint from Run and step through it.
If you depend on the parts of Helix’s model Vix doesn’t have yet (named registers, view and window modes), Vix won’t replace Helix for you yet — and that’s a fair place to land. But if what you actually wanted was “zero-config IDE, one binary, plus the things Helix leaves out on purpose,” this is worth the afternoon.
See also
docs/compare/index.md— the full feature-parity matrix.docs/keymaps/index.md— every keymap, every binding.docs/multiple-cursors/index.md— Vix’s multi-cursor and column-selection support.index.md— the full feature tour.
Vix™ and Vix IDE™ are trademarks.
Vix™ for IntelliJ and JetBrains users
IntelliJ IDEA and the other JetBrains IDEs analyze code with their own engines and offer deep refactorings, database tools and framework support. Vix is a terminal editor that gets its language features from language servers and ships a debugger, a Git client and a terminal in one binary. This page shows which of your IntelliJ keys work in Vix’s two IntelliJ keymaps, what is different, and where a JetBrains IDE is still the better tool.
Claims about JetBrains IDEs describe their documented defaults; see the IntelliJ IDEA documentation. Every claim about Vix cites the test or file that checks it.
Turn on an IntelliJ keymap
Pick View → Keymap… → IntelliJ macOS or IntelliJ Windows, or set
keymap = "intellij-macos" or "intellij-windows" in
config.toml.1 In a terminal, Ctrl stands in for Cmd on
macOS. F1 lists every key the active keymap binds.2
Your keys
These rows are copied from the generated keybindings references; a test fails
if a row here stops matching them. The keys every keymap shares (F2
rename, F12 go to definition, Ctrl+Space completion, Alt+Left back)
are in the shared bindings.
IntelliJ macOS
From the IntelliJ macOS reference:
| Key | Action | Action ID |
|---|---|---|
C-S-a | Command Palette | tools.palette |
C-o | Go to Symbol | nav.goto_symbol |
C-S-o | Open… | file.open |
C-A-o | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-l | Number | nav.goto_line |
C-b | Go to Definition | nav.goto_definition |
C-f | Find… | edit.find |
C-r | Find & Replace | edit.replace |
C-g | Find Next | edit.find_next |
C-S-g | Find Previous | edit.find_prev |
C-S-f | Search in Workspace | search.workspace |
C-S-r | Search and Replace in Workspace | search.workspace_replace |
C-d | Duplicate Line | edit.duplicate_line |
C-/ | Comment | edit.toggle_comment |
C-A-l | Format Document | lsp.format |
C-, | Settings… | vix.settings |
C-s | Save | file.save |
C-S-s | Save As… | file.save_as |
C-w | Close | file.close |
IntelliJ Windows
From the IntelliJ Windows reference:
| Key | Action | Action ID |
|---|---|---|
C-S-a | Command Palette | tools.palette |
C-n | Go to Symbol | nav.goto_symbol |
C-S-n | Open… | file.open |
C-A-o | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-g | Number | nav.goto_line |
C-b | Go to Definition | nav.goto_definition |
C-f | Find… | edit.find |
C-r | Find & Replace | edit.replace |
C-S-f | Search in Workspace | search.workspace |
C-S-r | Search and Replace in Workspace | search.workspace_replace |
C-d | Duplicate Line | edit.duplicate_line |
C-/ | Comment | edit.toggle_comment |
C-A-l | Format Document | lsp.format |
C-s | Save | file.save |
C-S-s | Save As… | file.save_as |
C-w | Close | file.close |
The two keymaps differ in the “go to” family: Ctrl+O / Ctrl+L on macOS,
Ctrl+N / Ctrl+G on Windows.3
What is different
- Language features come from language servers. Completion, rename,
references, code actions, call hierarchy and formatting work through LSP, and
the usual server for a language starts once you trust the workspace.4
Install the server yourself (
rust-analyzer,jdtls,pyright, …); see Language servers. - The debugger is menu-driven. Breakpoints, conditions, hit counts and log messages are set from the Run menu, for any Debug Adapter Protocol adapter.5
- Local history is the undo tree. Undo history persists across sessions and branches, and Edit → Undo Tree… browses it.6
- Settings are TOML, in
config.toml(Ctrl+,runs Settings… in the macOS keymap); see Configuration.
What Vix adds
- It runs in a terminal, so it works over SSH and in tmux; remote folders open with File → Open Remote….7
- A Git panel that stages and commits, and blame.8
- Integrated terminals.9
- Search and replace across the workspace, with results you can edit in place.10
Where a JetBrains IDE is the better choice
- Code analysis and refactoring for the languages it targets, especially Java and Kotlin, go further than a language server.
- Framework, database and profiling tools, which Vix does not attempt at the same depth.
- A desktop GUI with visual diff and merge, and graphical debugger views.
See also
- Migrating from another editor: settings, language servers, snippets and themes.
- Keymaps.
- Why Vix?: Vix next to VS Code, Neovim, JetBrains IDEs and Sublime Text.
Vix™ and Vix IDE™ are trademarks.
-
F1lists the active keymap’s keys:tui/tests/integration/keymaps.rs,help_overlay_includes_the_active_keymap_chords. ↩ -
tui/tests/integration/keymaps.rs,intellij_go_to_family_differs_by_platform. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩ -
Experimental.
tui/tests/remote_ui.rs,open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
tui/tests/integration/workspace.rs,workspace_search_finds_matches_across_filesandworkspace_replace_rewrites_files. ↩
Vix™ for Notepad++ users
Notepad++ is a free Windows text editor: fast, tabbed, with macros, column editing, encoding conversion and a plugin manager. Vix keeps much of that everyday toolkit and adds a language server client, a debugger, a Git client and a terminal, in a terminal editor that also runs on macOS and Linux. This page shows which keymap to pick, where your Notepad++ features live in Vix, and where Notepad++ is still the better tool.
Claims about Notepad++ describe its documented defaults; see the Notepad++ User Manual. Every claim about Vix cites the test or file that checks it.
Pick a keymap
Vix has no Notepad++ keymap. The closest is the Sublime keymap: like
Notepad++, it binds Ctrl+F to Find, Ctrl+H to Replace, Ctrl+Shift+F
to Find in Files and Ctrl+G to Go to Line. Pick it from View → Keymap…,
or set keymap = "sublime" in config.toml.1 The default
Apple keymap is the other choice if you mostly use Ctrl+O, Ctrl+S
and Ctrl+F. F1 lists every key the active keymap binds,2 and any key
can be rebound in keybindings.toml (the counterpart of Notepad++’s
Shortcut Mapper).3
These rows are copied from the generated
Sublime keybindings reference; a test
fails if a row here stops matching it. Compare each one with the key you
remember from Notepad++ before relying on it: Ctrl+D, for one, selects
every occurrence of the word here.
| Key | Action | Action ID |
|---|---|---|
C-n | New | file.new |
C-s | Save | file.save |
C-S-s | Save As… | file.save_as |
C-w | Close | file.close |
C-S-w | Close All Tabs | file.close_all |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-f | Find… | edit.find |
C-h | Find & Replace | edit.replace |
C-S-f | Search in Workspace | search.workspace |
C-g | Number | nav.goto_line |
C-d | Select All Occurrences | edit.select_all_occurrences |
C-S-d | Duplicate Line | edit.duplicate_line |
C-S-k | Cut Line | cut_line |
C-j | Join Lines | edit.join_lines |
C-/ | Comment | edit.toggle_comment |
C-m | Jump to Matching Bracket | edit.match_bracket |
Where your Notepad++ features went
| In Notepad++ | In Vix |
|---|---|
| Tabs, and reopening the last session | Tabs; the last session reopens by default4 |
| Find in Files, Replace in Files | Workspace search and replace (Ctrl+Shift+F above)5 |
| Macro recording and saved macros | Edit → Macro → Record, Play and Save…6 |
| Column mode | Column selection: Edit → Select → Column Select Up/Down, Alt+Shift+Up/Down by default7 |
| Multi-editing | Multiple carets and select all occurrences7 |
| Encoding menu | File → Reopen with Encoding… and Save with Encoding…; the encoding is kept byte for byte8 |
| EOL conversion | Line endings are detected and kept, and the Edit menu converts them (edit.eol_lf, edit.eol_crlf)9 |
| Session snapshot and periodic backup | Hot exit: unsaved buffers come back after a crash10 |
| Compare plugin | Compare With File, side by side11 |
| Opening very large files | The large file viewer12 |
| Plugins Admin | Rhai scripts and plugins13 |
| Syntax highlighting | Tree-sitter highlighting14 |
On top of those, Vix has language servers (diagnostics, completion, rename),15 a debugger,16 a Git panel,17 integrated terminals,18 and persistent, branching undo.19 It runs on macOS, Linux and Windows,20 and edits remote folders over SSH.21
Where Notepad++ is the better choice
- A native Windows window with mouse-first menus, toolbars and dialogs; Vix draws a character grid in a terminal.
- Its plugin catalog, which covers far more than Vix’s Rhai scripts and plugins.
- User-defined languages. Notepad++ lets you define highlighting for a new language from a dialog; Vix highlights the languages it has Tree-sitter grammars for.
See also
- Migrating from another editor.
- Vix for Sublime Text users: the keymap this page recommends.
- Macros, File encodings and Multiple cursors.
Vix™ and Vix IDE™ are trademarks.
-
F1lists the active keymap’s keys:tui/tests/integration/keymaps.rs,help_overlay_includes_the_active_keymap_chords. ↩ -
A
keybindings.tomlentry wins over the active keymap:tui/tests/integration/keymaps.rs,key_override_wins_over_a_builtin_keymap_binding. ↩ -
restore_sessiondefaults totrueincrates/vix-settings/src/lib.rs; the round trip:tui/tests/integration/workspace.rs,session_snapshot_and_restore_round_trip. ↩ -
tui/tests/integration/workspace.rs,workspace_search_finds_matches_across_filesandworkspace_replace_rewrites_files. ↩ -
tui/tests/integration/editing.rs,macro_records_and_replays_editor_keys; saved macros:crates/vix-macros/src/lib.rs,upsert_writes_and_replaces_by_name. ↩ -
tui/tests/integration/editing.rs,select_all_occurrences_creates_multi_carets,ctrl_d_adds_a_caret_and_edits_all_occurrencesandcolumn_select_block_edits_multiple_lines. ↩ ↩2 -
crates/vix-encoding/src/lib.rs,every_choice_round_trips_byte_for_byteandunmappable_characters_refuse_to_encode; the choosers:tui/tests/integration/editing.rs,encoding_choosers_convert_and_reopen. ↩ -
Detection:
tui/tests/integration/editing.rs,line_ending_detects_crlf; conversion:text_transforms_squeeze_eol_and_rot13. ↩ -
tui/tests/integration/hot_exit.rs,a_crashed_buffer_round_trips_through_its_backup. ↩ -
tui/tests/integration/compare.rs,opens_both_files_side_by_side_with_marks. ↩ -
tui/tests/integration/large_file.rs,open_in_large_file_viewer_navigates_a_multi_megabyte_file. ↩ -
Rhai scripts add palette commands and key bindings:
tui/tests/integration/scripting.rs,script_command_appears_in_the_command_paletteanda_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser:plugin_chooser_enables_and_disables_a_plugin. ↩ -
The grammars compiled in by default are the
syntax-commonfeature intui/Cargo.toml. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩ -
Release targets for macOS, Linux and Windows on x86-64 and ARM:
dist-workspace.toml. ↩ -
Experimental.
tui/tests/remote_ui.rs,open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩
Vix™ for Spacemacs users
Spacemacs found the synthesis: Vim’s modal editing, Emacs’s depth, and a
Space leader that turns “what was that binding?” into a guided menu. The
cost is carrying all of Emacs underneath — the init time, the elisp layers,
the occasional .spacemacs archaeology after an update. Vix keeps the
synthesis and drops the substrate: modal editing plus a Space leader with a
which-key popup, in one native binary that starts before Emacs finds its
config.
The one-minute pitch
Vix is a terminal IDE written in Rust with LSP, a DAP debugger, Tree-sitter,
git hunk staging, and Org-mode notes built in. Its Spacemacs keymap is
Vi-style modal editing (Normal/Insert, a : command line) with a Space
leader whose sequences mirror the ones in your fingers — and a which-key
popup that lists the candidate keys the moment you pause, exactly the
discoverability that made Spacemacs click.
cargo run # open Vix in the current directory
# then: View -> Keymap -> Spacemacs
Your leader, mapped
In Normal mode over the editor, SPC opens the leader (the status bar echoes
the sequence; the which-key popup lists what can follow):
| Spacemacs habit | In Vix |
|---|---|
SPC SPC (M-x) | Command palette |
SPC f f / SPC f r / SPC f s | Find file / recent files / save |
SPC f p / SPC p p | Switch project |
SPC p f | Project file/command palette |
SPC p t | Project tree (file explorer) |
SPC b n / SPC b p / SPC b d | Next / previous / delete buffer |
SPC g s / SPC g g / SPC g b | Git status / git summary / blame |
SPC w / / SPC w - | Split vertical / horizontal |
SPC w d / SPC w w | Delete split / other window |
SPC s s / SPC s p | Search buffer / search project |
SPC t n / SPC t w | Toggle line numbers / whitespace |
SPC ; | Comment |
SPC q q | Quit |
Modal editing: Normal mode is the full Vi-keymap vocabulary — h j k l,
w/b, 0/^/$, gg/G, x, dd/yy/p, u, / + n/N, %,
and i a I A o O into Insert mode; Esc returns. The : command line
handles :w, :q, :wq, :N (go to line), :e path, and :Ex.
Where Vix beats Spacemacs
- Startup and stability. One native binary, milliseconds to open, and no layer system to break on update. Your setup cannot bit-rot because there is no setup.
- The IDE layer is pre-assembled. LSP, debugger, test runner, terminal, fuzzy finding, and git hunk staging are core features — not layers to enable, pin, and debug.
- Which-key everywhere it matters, built into the core rather than a
package, covering both the
Spaceleader and the Emacs keymap’sC-xprefix. - Org, genuinely. Headlines, TODO cycling, checkbox statistics, export,
and roam-style notes with backlinks and dailies — the Spacemacs
orglayer is often why people endure the rest; here it is just a menu. - Memory safety. Rust with
unsafeforbidden.
Where Spacemacs still wins
- Depth of the leader tree. Spacemacs binds thousands of sequences across
dozens of layers; Vix’s leader covers the daily core (files, buffers,
projects, git, windows, search, toggles). The command palette (
SPC SPC) fills the gaps, but deepSPC-trees are not replicated. - Evil’s completeness. Text objects, registers, visual mode, macros-on-
q— Spacemacs inherits all of Vim’s grammar via Evil. Vix’s modal layer is a practical subset. - elisp and layers. If you write your own layers or lean on niche ones (mail, IRC, exotic languages), Emacs remains irreplaceable.
- org-agenda. Vix has rich Org editing and roam notes, but no agenda view.
An honest experiment
cargo build --release; putvixon yourPATH.- In a project:
vix .— pressCtrl+P, typekeymap, choose Spacemacs. - Lean on the leader:
SPC f fto a file,SPC g sfor git,SPC w /to split, and pause afterSPCto let the which-key popup teach you the rest. - Try what your layers used to do: rename a symbol via LSP, stage one hunk, set a breakpoint from the Run menu, open your Org notes and follow a backlink.
If your .spacemacs sparks joy, keep it. But when you want the idea of
Spacemacs — modal speed, leader-key calm, discoverable everything — without
the weight underneath, Vix is that idea, compiled.
See also
docs/keymaps/index.md— every keymap, every binding.docs/vix-for-vim-users/index.md— the Vi keymap’s fuller modal vocabulary.docs/vix-for-emacs-users/index.md— the Emacs keymap and Org story.index.md— the full feature tour.
Vix™ and Vix IDE™ are trademarks.
Vix™ for Sublime Text users
Sublime Text is a fast, polished desktop editor with Goto Anything, multiple selections and a Python plugin API. Vix is a terminal editor with a language server client, a debugger and a Git client built in. This page shows which of your Sublime keys work in Vix’s Sublime keymap, what is different, and where Sublime Text is still the better tool.
Claims about Sublime Text describe its documented defaults; see the Sublime Text documentation. Every claim about Vix cites the test or file that checks it.
Turn on the Sublime keymap
Pick View → Keymap… → Sublime, or set keymap = "sublime" in
config.toml.1 In a terminal, Ctrl stands in for Cmd on
macOS (see Keymaps). F1 lists every key the active
keymap binds.2
Your keys
These rows are copied from the generated
Sublime keybindings reference; a test
fails if a row here stops matching it. The keys every keymap shares (F2
rename, F12 go to definition, Ctrl+Space completion and more) are in the
shared bindings.
| Key | Action | Action ID |
|---|---|---|
C-p | Open… | file.open |
C-S-p | Command Palette | tools.palette |
C-r | Go to Symbol | nav.goto_symbol |
C-g | Number | nav.goto_line |
C-d | Select All Occurrences | edit.select_all_occurrences |
C-l | Select Line | edit.select_line |
C-j | Join Lines | edit.join_lines |
C-m | Jump to Matching Bracket | edit.match_bracket |
C-S-d | Duplicate Line | edit.duplicate_line |
C-S-k | Cut Line | cut_line |
C-/ | Comment | edit.toggle_comment |
C-f | Find… | edit.find |
C-h | Find & Replace | edit.replace |
C-S-f | Search in Workspace | search.workspace |
C-b | Run Tests | tools.test |
| `C-`` | Show/Hide Terminal | tools.terminal |
C-s | Save | file.save |
C-S-s | Save As… | file.save_as |
C-w | Close | file.close |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-S-w | Close All Tabs | file.close_all |
What is different
-
Ctrl+Popens the file finder, andCtrl+Shift+Pthe command palette. The palette takes Goto Anything’s prefixes:@for a symbol in the file,:for a line,>for a command, plus#for an open buffer and@@for a symbol anywhere in the workspace.3 -
Ctrl+Dselects every occurrence at once. Sublime Text’sCtrl+Dadds the next occurrence one at a time (multiple selection with the keyboard). For that behavior, bind the key tospawn_multi_cursor(add the next occurrence as a caret) inkeybindings.toml:4[[binding]] key_token = "C-d" action_id = "spawn_multi_cursor" -
Ctrl+Shift+Kcuts the line to the clipboard (cut_line) rather than only deleting it. -
Ctrl+Bruns the project’s tests (tools.test); there are no Sublime build systems. Vix finds tasks inMakefile,package.json, ajustfileand more (see Tasks). -
Column selection is Edit → Select → Column Select Up/Down (
Alt+Shift+Up/Alt+Shift+Downin the default keymap), and typing then edits every line of the block.5
What Vix adds
- A language server client (diagnostics, completion, rename, references, code actions) that starts the usual server for a language once you trust the workspace.6 Sublime Text gets this from the LSP package.
- A debugger for any Debug Adapter Protocol adapter.7
- A Git panel that stages and commits, and blame.8
- Integrated terminals.9
- Persistent, branching undo with a tree you can browse.10
- Search and replace across the workspace, with results you can edit in place.11
- It runs in a terminal, so it works over SSH and in tmux; remote folders open with File → Open Remote….12
Where Sublime Text is the better choice
- A native desktop window. Smooth scrolling, font rendering and the minimap of a GPU-drawn window; Vix draws a character grid.
- Packages. Sublime Text’s Python API and its package ecosystem are far larger than Vix’s Rhai scripts and plugins.13
- Maturity. Vix is young.
See also
- Migrating from another editor: settings, language servers, snippets and themes.
- Keymaps and the Sublime keybindings reference.
- Comparison with other editors.
Vix™ and Vix IDE™ are trademarks.
-
F1lists the active keymap’s keys:tui/tests/integration/keymaps.rs,help_overlay_includes_the_active_keymap_chords. ↩ -
The prefixes are
Mode::from_inputincrates/vix-palette/src/lib.rs. ↩ -
A
keybindings.tomlentry wins over the active keymap:tui/tests/integration/keymaps.rs,key_override_wins_over_a_builtin_keymap_binding. ↩ -
tui/tests/integration/editing.rs,select_all_occurrences_creates_multi_carets,ctrl_d_adds_a_caret_and_edits_all_occurrencesandcolumn_select_block_edits_multiple_lines. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩ -
tui/tests/integration/workspace.rs,workspace_search_finds_matches_across_filesandworkspace_replace_rewrites_files. ↩ -
Experimental.
tui/tests/remote_ui.rs,open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩ -
Rhai scripts add palette commands and key bindings:
tui/tests/integration/scripting.rs,script_command_appears_in_the_command_paletteanda_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser:plugin_chooser_enables_and_disables_a_plugin. ↩
Vix for ttt Users
If you’ve been using ttt — the fast, keyboard-driven terminal text editor written in Go — you’ll find Vix to be a natural fit. Both editors share a focus on speed, keyboard efficiency, and a modern editing experience in the terminal. Vix builds on these principles while adding comprehensive IDE features that ttt users often need separate tools for.
The One-Minute Pitch
Vix is a terminal IDE written in Rust that offers everything ttt does well (fuzzy file finder, multi-cursor, LSP, themes, mouse support) and adds a full suite of IDE features: Git integration, debugger, database workbench, Org mode, HTTP client, container management, and more — all in a single static binary.
cargo run # open Vix in the current directory
# then: View -> Keymap -> ttt
With the ttt keymap active, your fingers will already know most of the shortcuts.
Your Muscle Memory, Preserved
Vix ships with a dedicated ttt keymap that maps ttt’s familiar shortcuts:
File Operations
| ttt Key | Action | Vix Equivalent (ttt keymap) |
|---|---|---|
Ctrl+P | Open file | Ctrl+K P or Ctrl+P - Quick Open |
Ctrl+S | Save | Ctrl+K S or Ctrl+S - Save |
Ctrl+Q | Quit | Ctrl+Q - Quit |
Ctrl+Shift+P | Command palette | Ctrl+Shift+P - Command Palette |
Navigation
| ttt Key | Action | Vix Equivalent (ttt keymap) |
|---|---|---|
Ctrl+E | Explorer | Ctrl+K E - Toggle Explorer |
Ctrl+K E | Focus explorer | Ctrl+K E - Toggle Explorer Focus |
Ctrl+O | Open folder | Ctrl+K O - Open Path |
Ctrl+F | Find | Ctrl+F - Find |
Ctrl+R | Find & Replace | Ctrl+R - Find & Replace |
Ctrl+G | Go to line | Ctrl+G - Go to Line |
Editing
| ttt Key | Action | Vix Equivalent (ttt keymap) |
|---|---|---|
Ctrl+K C | Copy | Ctrl+C - Copy |
Ctrl+K X | Cut | Ctrl+X - Cut |
Ctrl+K V | Paste | Ctrl+V - Paste |
Ctrl+K Z | Undo | Ctrl+Z - Undo |
Ctrl+K Y | Redo | Ctrl+Y - Redo (or Ctrl+Shift+Z) |
Ctrl+K A | Select all | Ctrl+A - Select All |
Ctrl+D | Duplicate line | Ctrl+D - Duplicate Line |
Ctrl+Shift+D | Delete line | Ctrl+Shift+D - Delete Line |
ttt-Specific Chords
Vix’s ttt keymap preserves ttt’s two-key Ctrl+K chord prefixes:
| ttt Chord | Action | Vix (ttt keymap) |
|---|---|---|
Ctrl+K P | Open file | file.open (Quick Open) |
Ctrl+K S | Save as | file.save_as |
Ctrl+K F | Format | format.document |
Ctrl+K [ | Toggle fold | edit.toggle_fold |
Ctrl+K 0 | Fold all | edit.fold_all |
Ctrl+K 9 | Unfold all | edit.unfold_all |
Ctrl+K L | Toggle fold | edit.toggle_fold |
Ctrl+K J | Unfold all | edit.unfold_all |
Ctrl+K E | Explorer | view.explorer |
Ctrl+K O | Open folder | file.open_path |
Ctrl+K C | Copy | edit.copy |
Ctrl+K X | Cut | edit.cut |
Ctrl+K V | Paste | edit.paste |
Ctrl+K Z | Undo | edit.undo |
Ctrl+K Y | Redo | edit.redo |
Ctrl+K A | Select all | edit.select_all |
Window Management
| ttt Key | Action | Vix Equivalent (ttt keymap) |
|---|---|---|
Ctrl+K W | Close tab | Ctrl+W - Close Tab |
Ctrl+K N | New tab | Ctrl+N or Ctrl+T - New Tab |
Ctrl+K Up | Previous tab | Ctrl+PageUp or Ctrl+Shift+Tab |
Ctrl+K Down | Next tab | Ctrl+PageDown or Ctrl+Tab |
Ctrl+\\ | Split right | Ctrl+\\ - Split Right |
Ctrl+K \\ | Split right | Ctrl+K \\ - Split Right |
Note: Vix supports all the standard ttt shortcuts you’re familiar with.
What You’ll Recognize
ttt users will immediately feel at home with:
- Fuzzy file finder:
Ctrl+PorCtrl+K Popens the quick file picker - Command palette:
Ctrl+Shift+Pfor all commands - Multi-cursor support: Built-in, no plugins needed
- Tree-sitter syntax highlighting: Rich syntax awareness
- LSP integration: Language servers work automatically
- Themes: Multiple built-in themes, plus custom theme support
- Mouse support: Full mouse support (click, drag, wheel)
- Terminal-first: Runs in any terminal, over SSH, in tmux
What Vix Adds
Beyond ttt’s excellent editor core, Vix bundles features that ttt users often rely on external tools for:
Language Intelligence
- LSP (Language Server Protocol): Full support with diagnostics, hover, completion, rename, references, code actions, inlay hints, call hierarchy, semantic tokens, document colors, and links
- DAP (Debug Adapter Protocol): Full debugger with breakpoints, stepping, call stack, variables, watches, REPL, data breakpoints, and instruction breakpoints
- On-type formatting: Automatic formatting as you type
- Pull diagnostics: Get diagnostics from language servers
Version Control
- Git integration: Full client with stage hunks, commit, push, pull, log, blame, diff, stash, branches, and more
- Interactive commit graph: Visualize your repository history
- Hunk-by-hunk staging: Fine-grained control over what gets committed
- Merge conflict resolver: Built-in tool for resolving merge conflicts
- Jujutsu support: Built-in support for the Jujutsu VCS
Project Tools
- Integrated terminal: Full terminal emulator built into the editor
- Task runner: Automatic detection and running of npm, yarn, pnpm, bun, Deno, Composer, just, go-task, Rake, Make tasks
- REST client: Built-in HTTP client for
.httpfiles with environments, variables, and request chaining - Container menu: Manage Docker, Podman, and nerdctl containers
- Database workbench: Full SQLite, PostgreSQL, MySQL client with schema browser, query editor, result grid, table editing, and schema compare
Editing Features
- Persistent undo tree: Never lose your work; undo history persists across sessions with branching
- Undo tree visualization: Browse and restore from any point
- Multiple cursors: Edit multiple locations at once
- Column editing: Edit rectangular selections
- Structural selection: Select by syntax (function, class, etc.)
- Snippets: Built-in snippet support with tab stops
- Macros: Record and replay editing actions
- Clipboard history: Access previously copied text
- Safe saving: Writes to temp file then renames, preserving hard links
Workspace Features
- Workspace search: Fast fuzzy search across all files
- Symbol navigation: Jump to definitions, references, implementations
- Outline view: See the structure of your file
- Todo tree: See all TODO/FIXME comments in your project
- Session management: Save and restore your editing session
- Tabs and splits: Organize with tabs and split panes
- Minimap: Visual overview of your file
- Breadcrumbs: Shows your location in the file structure
Org Mode
- Full Org mode support: Headlines, TODO cycling, checkboxes, folding
- Agenda: See all your tasks in one view
- Org-roam: Note-taking with backlinks and graph visualization
- Tables: Spreadsheet-style tables with formulas
- Column View: Compact view of your Org data
- Export: Export to Markdown, HTML, and other formats
Collaboration
- Cowork: Real-time collaborative editing (opt-in build feature)
- IM (Instant Messaging): Code-aware chat with IRC and Matrix support
- path:line references: Share links to specific locations in files
- Code-aware messages: Threads anchored to lines in your code
AI Integration
- AI chat panel: Chat with AI assistants
- Inline ghost-text completion: Suggestions appear inline
- MCP server: Model Context Protocol support (
vix --mcp) - Agent Client Protocol: Integration with AI agents
- AI providers: Support for Anthropic, OpenAI, Ollama, and custom endpoints
Desktop GUIs
- 7 desktop front ends: Same editor, native window (GPUI, egui, iced, slint, gtk4, bui, zgui)
Key Differences
What’s the Same
- Terminal-first philosophy: Runs in any terminal
- Keyboard-driven: All features accessible via keyboard
- Fast and lightweight: Native binary, minimal dependencies
- Modern approach: Written in modern languages (Rust vs Go)
- Fuzzy finder:
Ctrl+Pfor files - Command palette: Search and run commands
- Multi-cursor: Edit multiple locations
- LSP: Language server support
What’s Different
| Feature | ttt | Vix |
|---|---|---|
| Language | Go | Rust |
| Default keymap | ttt keymap | Apple keymap (switch to ttt via View → Keymap) |
| Integrated terminal | No | Yes, built-in |
| Git integration | No | Yes, full client |
| Debugger | No | Yes, full DAP debugger |
| Database workbench | No | Yes |
| Org mode | No | Yes, full support |
| Container management | No | Yes |
| REST client | No | Yes |
| Jujutsu support | No | Yes |
| Multi-cursor depth | Good | More features (select all occurrences, column select) |
| Undo | Linear | Branching tree with visualization |
| Session restore | Yes | More comprehensive |
| Feature breadth | Editor-focused | Full IDE features |
Migrating from ttt
Step 1: Install Vix
# Using cargo (recommended for developers)
cargo install vix-tui
# Using Homebrew
brew install vixide/homebrew-tap/vix-tui
# Using npm
npm install -g @vixide/vix
Step 2: Switch to ttt Keymap
- Open Vix:
vix . - Press
Ctrl+Shift+P(or use the menu bar) - Type
keymapand select View → Keymap → ttt
Or add to your config:
# ~/.config/vix/config.toml
keymap = "ttt"
Step 3: Customize Your Setup
ttt users often have custom configurations. In Vix, you can:
- Add custom bindings via
keybindings.toml:
# ~/.config/vix/keybindings.toml
[[bindings]]
key = "C-k-c"
action = "edit.copy"
[[bindings]]
key = "C-k-v"
action = "edit.paste"
- Create custom scripts in
~/.config/vix/scripts/*.rhai:
// Example: Insert current date
fn insert_date() {
let date = now();
buffer_set_text(date);
}
- Create custom themes in
~/.config/vix/themes/*.json
Step 4: Explore Vix’s Additional Features
Once you’re comfortable with the basics, explore what Vix adds:
- Git: Press
Ctrl+Shift+P, typegit, explore the Git menu - Debugger: Set breakpoints, start debugging from the Run menu
- Database: Connect to a database from the DB menu
- Terminal: Open with
Ctrl+`(in most keymaps) - LSP: Hover, go to definition, rename - all work automatically
- Org mode: Create Org files and use all Org features
Where ttt Might Still Win
ttt is an excellent editor, and there are areas where it may have advantages:
- Written in Go: Simpler runtime, potentially easier to hack on
- Single binary: Slightly smaller binary size
- Focus: More focused on being a great editor
- Plugin system: Growing plugin ecosystem in Go
However, for users who want more built-in capabilities without sacrificing the terminal experience, Vix offers a compelling superset of ttt’s features.
An Honest Experiment
Try Vix for a week on a real project:
- Install Vix and switch to the ttt keymap
- Use your familiar ttt shortcuts:
Ctrl+K P,Ctrl+K S,Ctrl+E, etc. - Notice how the
Ctrl+Kchords you’re used to work the same way - Gradually explore Vix’s additional features:
- Try the Git panel (
Ctrl+Shift+P→git) - Use the integrated terminal (
Ctrl+`) - Try go-to-definition (
F12) - Explore the LSP features (hover, completion, rename)
- Connect to a database (DB menu)
- Try the Git panel (
- Experience having all these tools available without leaving your editor
Learning Resources
Official Documentation
- Main Documentation - Complete feature tour
- Keybindings Reference - All ttt bindings
- Settings Reference - All configuration options
- Getting Started - Beginner’s guide
Migration Guides
- For VS Code Users - Compare with VS Code
- For Vim Users - For Vim users
- For Emacs Users - For Emacs users
- For Helix Users - For Helix users
- For Fresh Users - For Fresh users
- For Sublime Users - For Sublime users
- Feature Comparison - Full comparison matrix
Community
- GitHub Discussions - Ask questions, share ideas
- GitHub Issues - Report bugs, request features
- Discord - Real-time chat (link in README)
Troubleshooting
My ttt shortcuts aren’t working
Make sure you’ve switched to the ttt keymap:
View → Keymap → ttt- Or set
keymap = "ttt"in~/.config/vix/config.toml
The Ctrl+K chords are part of the ttt keymap, so they won’t work until you
switch to it.
How do I do [X] in Vix?
Check the command palette (Ctrl+Shift+P or Ctrl+P → >) for the action.
All actions are searchable.
I miss ttt’s [feature]
Vix is actively developed. If there’s a ttt feature you miss:
- Check if it exists under a different name
- Search the issues for feature requests
- Open a new issue with your feature request
Performance seems different than ttt
Vix has more features built-in, which can affect resource usage slightly. However, editing performance should be excellent. If you notice performance issues:
- Run
vix --doctorto check for common issues - Check your system resources
- Report the issue with details about your system
Security Notes
Like ttt, Vix takes security seriously:
- Zero
unsafeRust: No unsafe code anywhere in the codebase - Sandboxed scripts: Rhai scripts have no file/network/process access
- Workspace trust: Project scripts run only after you trust the workspace
- Keyring integration: DB passwords and API keys use native credential stores
- Regular audits: Security audits are conducted regularly
See SECURITY.md for the full security policy.
Conclusion
If you love ttt’s speed, keyboard efficiency, and terminal-first approach, Vix offers a natural evolution with additional built-in capabilities. Vix preserves ttt’s excellent editing experience while adding comprehensive IDE features that eliminate the need for external tools.
Vix isn’t trying to replace ttt — it’s offering a different vision of what a terminal editor can be. For ttt users who find themselves wanting more built-in functionality, Vix is a compelling choice.
Try it for a week. Your muscle memory will feel at home, and you’ll discover features that make your workflow even more efficient.
Vix™ and Vix IDE™ are trademarks.
Vix™ for Vim users
You think in motions and you have a .vimrc you have tended for years. This
page is for trying Vix without giving that up: a ten-minute exercise you run on
a real (tiny) project, then an exact account of which Vim keys behave the same,
which behave differently, and what Vix adds on top. Every parity claim here
comes from one table that CI runs against Vix on every change and against an
unconfigured Vim in a separate job, so the page cannot quietly drift from what
the editor does.
Turn on the Vi keymap
Set keymap = "vi" in config.toml, or pick View -> Keymap -> Vi (or open
the command palette with Ctrl+P and type keymap). The status bar shows
-- NORMAL --. The Spacemacs keymap is the same Vi Normal mode plus a
Space leader with a which-key popup.
Three kinds of behavior
The rest of this page keeps these apart:
- Stock Vim: keys that mean the same in an unconfigured Vim (
vim -u NONE, no plugins). Rows of this kind in the table are checked against a real Vim. - Optional Vix: things Vix adds that a stock Vim has no keys for: Tree-sitter
text objects (
cia,daf,]f), the undo tree view, menus and the command palette. In Vim each of these is a plugin you would install and configure. - External tools: behavior that runs another program. Test at point runs
cargo test(or your project’s test runner), staging a hunk runsgit, and:cnwalks the problems parsed from a task’s output, much as Vim’s:makefills the quickfix list throughmakeprganderrorformat.
A ten-minute migration exercise
The repository ships a tiny Rust crate with one bug in two places,
tui/examples/vim-exercise. It needs only cargo and git and no network.
Copy it out and make it a git repository, so the last step has something to
stage:
cp -R tui/examples/vim-exercise /tmp/vim-exercise
cd /tmp/vim-exercise && git init -q && git add -A && git commit -qm start
vix src/lib.rs # with keymap = "vi"
The automated test tui/tests/integration/vim_exercise.rs types exactly these
keys into Vix, runs the real cargo and git, and checks every step’s result.
- Run the test at point.
/a_quarter<CR>puts the cursor on the testa_quarter_is_25_percent(stock Vim keys). Then Project -> Test at Point runs just that test (external tool:cargo test -- --exact tests::a_quarter_is_25_percent). It fails:percent(1, 4)is2, not25. - Jump to the failure.
:cn<CR>goes to the first problem the run reported, the failingassert_eq!on line 24 (the panic location is parsed from the test output, like Vim’s quickfix list). - Edit the argument.
gg/10<CR>finds the wrong scale, andciw100<Esc>changes it (stock Vim). With a Tree-sitter grammar,ciachanges the whole argument whatever it looks like (optional Vix). - Repeat.
n.finds the same mistake inpercent_labeland repeats the change (stock Vim). - Take a detour through the undo tree.
uundoes the repeat, and0f1ciw50<Esc>makes a different change instead: the undo history now has two branches. Edit -> Undo Tree… shows them;Uppreviews the other branch live (both scales100),Enterkeeps it andEscwould put everything back (optional Vix: Vim keeps the same tree and walks it withg-/g+, which Vix’s Vi keymap has too, and:undolist, but draws it only with a plugin). - Rerun the test.
:w<CR>, thengg/a_quarter<CR>and Project -> Test at Point again: it passes. - Stage the fix.
:6<CR>and Git -> Stage Hunk, then:11<CR>and Git -> Stage Hunk stage the two changed lines (external tool:git);git diff --cachedin a shell shows both.
The parity table
Each row is a key sequence typed into a fresh buffer: the buffer before and
after (¦ is the cursor, ⏎ a line break; every buffer ends in a line break,
not shown), the mode afterwards, and the row’s kind. For a stock-Vim row the last
column says whether an unconfigured Vim does the same; where it does not, it
gives Vim’s result and why, and the “After in Vix” column is what Vix does
today. The rows put deletions and yanks in register a ("a), which Vix and
Vim share; the unnamed register is the system clipboard in Vix.
The table lives in tui/tests/integration/vim_parity.rs; this section is
generated from it (VIX_UPDATE_VIM_PARITY=1 cargo test -p vix-tui --lib vim_parity), and the CI job that runs stock_rows_match_an_unconfigured_vim
fails if Vim stops agreeing with a row.
| Keys | Before | After in Vix | Mode | Kind | Same in Vim? |
|---|---|---|---|---|---|
3l | ¦hello world | hel¦lo world | Normal | stock Vim | yes |
$ | ¦hello | hell¦o | Normal | stock Vim | yes |
0 | ab¦c | ¦ abc | Normal | stock Vim | yes |
^ | ab¦c | ¦abc | Normal | stock Vim | yes |
w | ¦pkg::run(arg); | pkg¦::run(arg); | Normal | stock Vim | yes |
3w | ¦pkg::run(arg); | pkg::run¦(arg); | Normal | stock Vim | yes |
b | foo ba¦r | foo ¦bar | Normal | stock Vim | yes |
e | ¦foo bar | fo¦o bar | Normal | stock Vim | yes |
W | ¦a.b c | ¦a.b c | Normal | stock Vim | no: Vim gives a.b ¦c. WORD motions (W B E) are not implemented: the key does nothing |
gg | one⏎two⏎th¦ree | ¦one⏎two⏎three | Normal | stock Vim | yes |
G | ¦one⏎two⏎three | one⏎two⏎¦three | Normal | stock Vim | yes |
2G | ¦one⏎two⏎three | one⏎¦two⏎three | Normal | stock Vim | yes |
4ljj | ¦abcdef⏎x⏎abcdef | abcdef⏎x⏎abcd¦ef | Normal | stock Vim | yes: the column is kept across a shorter line |
2f. | ¦a.b.c | a.b¦.c | Normal | stock Vim | yes |
t. | ¦ab.c | a¦b.c | Normal | stock Vim | yes |
F. | a.b.¦c | a.b¦.c | Normal | stock Vim | yes |
T. | a.b.¦c | a.b.¦c | Normal | stock Vim | yes |
f.; | ¦a.b.c | a¦.b.c | Normal | stock Vim | no: Vim gives a.b¦.c. ; and , (repeat the last f/t) are not implemented |
} | ¦one⏎two⏎⏎three | one⏎two⏎¦⏎three | Normal | stock Vim | yes |
{ | one⏎⏎two⏎th¦ree | one⏎¦⏎two⏎three | Normal | stock Vim | yes |
) | ¦One. Two. | One. ¦Two. | Normal | stock Vim | yes |
% | ¦(a [b] c) | (a [b] c¦) | Normal | stock Vim | yes |
* | ¦foo bar foo | ¦foo bar foo | Normal | stock Vim | no: Vim gives foo bar ¦foo. * and # are not implemented |
/bar<CR> | ¦foo bar | foo ¦bar | Normal | stock Vim | yes: / opens Vix’s find bar |
/o<CR>n | ¦xo o | xo ¦o | Normal | stock Vim | yes |
/bar<CR>"ax | ¦foo bar | foo ¦ar | Normal | stock Vim | yes: <CR> closes the find bar and returns to Normal mode |
/bar<CR><Esc>"ax | ¦foo bar | foo ¦ar | Normal | stock Vim | yes |
"adw | ¦foo bar | ¦bar | Normal | stock Vim | yes |
"ade | ¦foo bar | ¦ bar | Normal | stock Vim | yes |
"add | ¦one⏎ two | ¦two | Normal | stock Vim | yes |
"a2dd | ¦one⏎two⏎three | ¦three | Normal | stock Vim | yes |
"adw | foo ¦bar⏎baz | foo¦ ⏎baz | Normal | stock Vim | yes: dw on a line’s last word keeps the line break |
"ad$ | fo¦o bar | f¦o | Normal | stock Vim | yes |
"aD | fo¦o bar | f¦o | Normal | stock Vim | yes |
"ax | ¦abc | ¦bc | Normal | stock Vim | yes |
"a3x | ¦abcd | ¦d | Normal | stock Vim | yes |
"aX | ab¦c | a¦c | Normal | stock Vim | yes |
"adf. | ¦a.b.c | ¦b.c | Normal | stock Vim | yes |
"a2d3w | ¦a b c d e f g h | ¦g h | Normal | stock Vim | yes: the two counts multiply |
"adj | ¦one⏎two⏎three | ¦three | Normal | stock Vim | yes |
"adG | one⏎¦two⏎three | ¦one | Normal | stock Vim | yes |
"acwX<Esc> | ¦foo bar | ¦X bar | Normal | stock Vim | yes |
"accX<Esc> | fo¦o⏎bar | ¦X⏎bar | Normal | stock Vim | yes: an unconfigured Vim has noautoindent, so neither keeps the indent |
"aCX<Esc> | fo¦o bar | fo¦X | Normal | stock Vim | yes |
"asX<Esc> | ¦abc | ¦Xbc | Normal | stock Vim | yes |
rX | ¦abc | ¦Xbc | Normal | stock Vim | yes |
2rX | ¦abc | X¦Xc | Normal | stock Vim | yes |
4rX | ¦abc | ¦abc | Normal | stock Vim | yes: too few characters left: nothing happens |
r<CR> | a¦bcd | a⏎¦cd | Normal | stock Vim | yes |
2r<CR> | a¦bcd | a⏎¦d | Normal | stock Vim | yes: {count}r<CR> replaces the characters with one line break |
r<CR>j. | a¦bc⏎def | a⏎c⏎⏎¦ef | Normal | stock Vim | yes |
~ | ¦abc | ¦abc | Normal | stock Vim | no: Vim gives A¦bc. ~ is not implemented |
J | ¦one⏎two | one¦ two | Normal | stock Vim | yes |
3J | ¦one⏎ two⏎)three | one two¦)three | Normal | stock Vim | yes: leading white space goes; no space before ) |
>> | ¦one | ¦one | Normal | stock Vim | no: Vim gives ¦one. > and < are not implemented |
"ayy"ap | ¦one⏎two | one⏎¦one⏎two | Normal | stock Vim | yes |
"ayw"aP | ¦foo bar | foo¦ foo bar | Normal | stock Vim | yes |
"ayl"a3p | ¦ab | aaa¦ab | Normal | stock Vim | yes |
"ayiw | foo b¦ar | foo ¦bar | Normal | stock Vim | yes |
"adiw | foo b¦ar baz | foo ¦ baz | Normal | stock Vim | yes |
"adaw | foo b¦ar baz | foo ¦baz | Normal | stock Vim | yes |
"adi( | f(a, ¦b) | f(¦) | Normal | stock Vim | yes |
"adib | f(a, ¦b) | f(¦) | Normal | stock Vim | yes |
"ada" | say "h¦i" now | say ¦now | Normal | stock Vim | yes |
"ada" | say "h¦i" | sa¦y | Normal | stock Vim | yes: no white space after the quote: the white space before it goes |
"aci{X<Esc> | { a¦b } | {¦X} | Normal | stock Vim | yes |
"adi<lt> | <a¦b> | <¦> | Normal | stock Vim | yes |
"adip | one⏎tw¦o⏎⏎three | one⏎tw¦o⏎⏎three | Normal | stock Vim | no: Vim gives ¦⏎three. ip/ap and is/as are not implemented: the operator is cancelled |
v | ¦abc | ¦abc | Visual | stock Vim | yes |
V | a¦bc | a¦bc | Visual Line | stock Vim | yes |
Vj | a¦bc⏎de | abc⏎d¦e | Visual Line | stock Vim | yes |
vll"ad | ¦hello | ¦lo | Normal | stock Vim | yes |
Vj"ad | ¦one⏎two⏎three | ¦three | Normal | stock Vim | yes |
viw"ay | foo b¦ar | foo ¦bar | Normal | stock Vim | yes |
"avlld | ¦hello | ¦lo | Normal | stock Vim | no: Vim gives ¦lo. same text, but a "a typed before v selects the register in Vix; Vim drops it and writes the unnamed register |
vw"ad | ¦foo bar | foo ¦ar | Normal | stock Vim | no: Vim gives ¦ar. Visual mode moves with h j k l only: w moves the cursor and drops the selection |
vl"ad. | ¦abcdef | ¦cdef | Normal | stock Vim | no: Vim gives ¦ef. a Visual operator is not dot-repeatable: . does nothing |
"adw. | ¦a b c | ¦c | Normal | stock Vim | yes |
"a2dw3. | ¦a b c d e f g | ¦f g | Normal | stock Vim | yes: a count before . replaces the recorded one |
"ax. | ¦abc | ¦c | Normal | stock Vim | yes |
"aciwX<Esc>w. | ¦foo bar | X ¦X | Normal | stock Vim | yes |
A;<Esc>j. | ¦one⏎two | one;⏎two¦; | Normal | stock Vim | yes |
ofoo<Esc>. | ¦top | top⏎foo⏎fo¦o | Normal | stock Vim | yes |
"arX. | ¦abc | ¦Xbc | Normal | stock Vim | yes: . repeats r where the cursor is |
J. | ¦a⏎b⏎c | a b¦ c | Normal | stock Vim | yes |
iX<Esc> | ab¦c | ab¦Xc | Normal | stock Vim | yes |
aX<Esc> | ¦abc | a¦Xbc | Normal | stock Vim | yes |
AX<Esc> | ¦abc | abc¦X | Normal | stock Vim | yes |
IX<Esc> | a¦bc | ¦Xabc | Normal | stock Vim | yes |
oX<Esc> | ¦one⏎two | one⏎¦X⏎two | Normal | stock Vim | yes |
OX<Esc> | one⏎¦two | one⏎¦X⏎two | Normal | stock Vim | yes |
i<Esc> | ¦abc | ¦abc | Normal | stock Vim | yes: never steps back past the line’s start |
iX | ab¦c | abX¦c | Insert | stock Vim | yes |
iXY<BS><Esc> | ¦c | ¦Xc | Normal | stock Vim | yes |
"ax"axu | ¦abc | ¦bc | Normal | stock Vim | yes |
"aciwXY<Esc>u | ¦foo bar | ¦foo bar | Normal | stock Vim | yes: one u undoes the whole change |
"axu<C-r> | ¦abc | ¦bc | Normal | stock Vim | yes |
"ax"ax2u2<C-r> | ¦abc | ¦c | Normal | stock Vim | yes |
"ax"axuug+ | ¦abc | ¦bc | Normal | stock Vim | yes |
"axul"axg- | a¦bcd | a¦cd | Normal | stock Vim | yes: g- walks back in time across undo branches, where u would not |
:2<CR> | ¦one⏎two | one⏎¦two | Normal | stock Vim | yes |
:s/o/0/<CR> | ¦foo | ¦f0o | Normal | stock Vim | yes |
:s/o/0/g<CR> | ¦foo | ¦f00 | Normal | stock Vim | yes |
:%s/a/b/g<CR> | ¦a⏎a | b⏎¦b | Normal | stock Vim | yes |
:s/./X/<CR> | ¦a.b | ¦a.b | Normal | stock Vim | no: Vim gives ¦X.b. :s takes literal patterns only and refuses Vim pattern syntax such as ., leaving the buffer unchanged |
"aciaX<Esc> | fn f(a: u8, ¦b: u8) {} | fn f(a: u8, ¦X) {} | Normal | optional Vix | n/a: Tree-sitter argument object (a plugin in Vim) |
"adaf | fn a() {}⏎fn ¦b() {} | fn a() {}⏎¦ | Normal | optional Vix | n/a: Tree-sitter function object (a plugin in Vim) |
]f | ¦fn a() {}⏎fn b() {} | fn a() {}⏎¦fn b() {} | Normal | optional Vix | n/a: Tree-sitter next-function motion (a plugin in Vim) |
:cn<CR> | ¦one⏎two | one⏎t¦wo | Normal | external tool | n/a: after a task printed a.txt:2:2: error: boom (Vim: :make with a makeprg) |
Known differences, in short
From the table, the places where Vix’s Vi keymap does not yet do what Vim does:
- Search.
*and#are not implemented. - Keys not bound yet:
WBE,;,,~,><, and theip/ap/is/asobjects. - Visual mode moves with
hjkland the arrows only, its operators are not dot-repeatable, and a register typed beforevapplies to the Visual operator (Vim ignores it). There is no Visual Block. - Ex.
:stakes literal patterns only and refuses Vim pattern syntax. - Beyond the table: no uppercase, numbered or special registers, no
q/@register macros (Vix records macros from the Edit menu), no Vimscript, andccdoes not keep indentation (an unconfigured Vim, withnoautoindent, does not either).crates/vix-modal/spec/index.mdkeeps the exact line.
Where Vix goes further
- Built in, not assembled. LSP, a debugger, Tree-sitter highlighting and text objects, fuzzy finding, git hunk staging, a terminal, a test runner and a drawn undo tree are menu items that already work. In Vim each is a plugin (or several) to choose, install and configure.
- Discoverable from the keyboard. Menus (
F10), a command palette (Ctrl+P,>for commands) andF1for every shortcut;:still works. - Persistent undo by default. The undo tree survives closing the file,
guarded by a content hash. Vim keeps a tree too, and
undofilepersists it. - Safety. Rust and
#![forbid(unsafe_code)]. The one embedded script runtime, Rhai, is sandboxed: a script cannot read files, open sockets or start processes, and a project’s own scripts run only after you trust the workspace.
Where Vim still wins
- The full Vi language, as the list above shows.
- Extensibility. No Vimscript and no Lua. Rhai scripts (and git
repositories of them installed with
vix --plugin) add commands, key bindings and buffer transforms, but there is nothing like Vim’s plugin ecosystem: if your workflow depends on a niche plugin, Vix cannot replace it today. - Ubiquity. Vim is on every server you will ssh into; Vix is a single static binary you bring along.
- Maturity. Vim has decades of edge cases handled. Vix is young.
See also
docs/keymaps/index.md: every keymap, every binding.crates/vix-modal/spec/index.md: the modal engine’s spec and its cut list.crates/vix-keymap-model/spec/index.md: the keymap spec.index.md: the full feature tour.
Vix™ and Vix IDE™ are trademarks.
Vix™ for VS Code users
VS Code got a lot right: the command palette, quick open, sane defaults, an integrated terminal, and extensions for everything. Its one structural cost is that it is a browser wearing a trench coat — hundreds of megabytes of Electron between you and your text. Vix asks a simple question: what if the VS Code workflow ran as a 10-millisecond native binary, entirely in your terminal?
The one-minute pitch
Vix is a terminal IDE written in Rust. It keeps the ideas you like — command palette, quick open, file explorer sidebar, bottom panel with a terminal, Problems view, git integration, LSP everything — and drops the browser. It ships a VS Code keymap (macOS and Windows flavors), so your fingers mostly already know it. Works over ssh, in tmux, on a Raspberry Pi, in the recovery console — anywhere a terminal goes.
cargo run # open Vix in the current directory
# then: View -> Keymap -> VSCode macOS (or VSCode Windows)
Your muscle memory, mapped
With the VS Code keymap active (Ctrl stands in for Cmd on macOS):
| VS Code habit | In Vix |
|---|---|
Ctrl+P | Quick Open (fuzzy file finder) |
Ctrl+Shift+P | Command Palette |
Ctrl+G / Ctrl+Shift+O / Ctrl+T | Go to line / symbol / workspace symbol |
Ctrl+B / Ctrl+Shift+E | Toggle sidebar / focus explorer |
Ctrl+J / Ctrl+` | Toggle bottom panel / terminal |
Ctrl+S / Ctrl+W / Ctrl+Shift+T | Save / close / reopen closed |
Ctrl+F / Ctrl+R / Ctrl+Shift+F | Find / replace / find in files |
Ctrl+/ | Toggle comment |
Ctrl+Shift+K | Cut line (cuts to clipboard, not a bare delete) |
Ctrl+D | Add the next occurrence of the word (press again for each more; the Apple keymap keeps Ctrl+D as delete-forward) |
Ctrl+Shift+L | Select all occurrences (multi-cursor) |
Ctrl+\ | Split editor |
Ctrl+] / Ctrl+Shift+\ | Match bracket |
Ctrl+Shift+M | Problems (diagnostics) |
F12 | Go to definition |
F1 | Keyboard help |
The features behind them are the ones you expect: LSP diagnostics, hover, completion, rename, references, code actions, inlay hints, call hierarchy; a DAP debugger with breakpoints, stepping, watches, and a REPL; a test runner with jump-to-failure; tasks; snippets with Tab-stops; multi-cursor and column selection; split panes; minimap; sticky scroll; indent guides; bracket colorization; word-occurrence highlighting; format-on-save and auto-save.
Where Vix beats VS Code
- Weight. A single native binary vs. an Electron app. Startup in tens of milliseconds: about 40 ms from launch to the first screen (measured), and in a 20,000-file checkout Quick Open lists files about 65 ms after you open it (measured); tiny memory footprint, no background update service, no telemetry.
- The terminal is the native habitat. ssh into a server and run the same full IDE there — no Remote-SSH extension, no server-side installer, no version skew. tmux, mosh, containers: it just runs.
- No extension roulette. LSP, debugger, git, themes, and keymaps are core
features, versioned with the editor and tested together. Nothing to install,
nothing to break on update, no supply-chain surface of a thousand
node_modules. - Privacy by architecture. No accounts, no marketplace, no phone-home.
- A few things VS Code does not have built in: an Org-mode suite with
roam-style notes and backlinks, a branching persistent undo tree,
clipboard history with a picker, a
.httpREST client, leap-style jump labels, and a spreadsheet-style CSV editor.
Where VS Code still wins
Credit where due:
- One-key run/debug (
F5). The debugger itself is real (breakpoints, stepping, watches, a REPL), but there’s noF5binding yet — start it from the Run menu or the palette. Move Line Up/Down is likewise menu-only (Edit) for now, with no keybinding in any keymap. - The extension marketplace. Fifty thousand extensions cover long-tail needs Vix never will. If your workflow depends on a specific extension (Jupyter, remote containers, a proprietary language pack), VS Code keeps it.
- Rich GUI surfaces. Image diffing, embedded webviews, notebook UIs, drag-and-drop — a terminal grid cannot render those. (Vix does view images and render Markdown, within terminal limits.)
- Polish under a mouse-first workflow. Vix supports the mouse well (click, drag, wheel, menus), but its center of gravity is the keyboard.
- Pair tooling. Vix has opt-in real-time co-editing (Cowork), but it is
compiled in only with the
coworkCargo feature and is off by default, so it is not a Live Share replacement for a stock build. See the Cowork specification.
An honest experiment
cargo build --release; putvixon yourPATH.- In a real project:
vix .— switch the keymap:Ctrl+Shift+P, typekeymap, choose VSCode macOS or VSCode Windows. - Spend a day inside it.
Ctrl+Pto move around,Ctrl+`for the terminal,Ctrl+Shift+Mwhen the compiler complains,F12to chase definitions. - Then try it where VS Code cannot follow: ssh to a server and open the same project remotely with nothing but this one binary.
Worst case, you go back and VS Code feels roomy. Best case, you notice the fan stopped spinning.
See also
docs/keymaps/index.md— every keymap, every binding.docs/language-server-protocol/index.md— configuring language servers.index.md— the full feature tour.
Vix™ and Vix IDE™ are trademarks.
Vix™ for Zed users
You picked a fast, native editor written in Rust that ships LSP, Tree-sitter, a debugger, a terminal, Git, AI and real-time collaboration with no plugins. Vix shares most of that list and the language it’s written in. The big difference is where it runs: Vix is a terminal program first, and Zed is a GPU-rendered desktop app. This page covers what carries over and what doesn’t.
The one-minute pitch
Vix is a terminal IDE written in Rust, shipped as one binary with no runtime. LSP (diagnostics, rename, references, code actions), a DAP debugger, Tree-sitter highlighting, multiple cursors, a command palette, a Git client and an integrated terminal are all built in, as in Zed. Because it runs in a terminal, it also runs over SSH, inside tmux, in a container, or on a machine with no display.
brew install vixide/homebrew-tap/vix-tui # or: cargo install vix-tui
vix . # open the current directory
What carries over
- Zero-config language support. Open a file and you get diagnostics, go-to-definition and highlighting. You don’t install an extension per language, only the language server itself.
- Your Zed shortcuts. The Zed keymap (View → Keymap → Zed) binds
Zed’s default keys, with
Ctrlstanding in forCmd:Ctrl+Pfile finder,Ctrl+Shift+Pcommand palette,Ctrl+Shift+Ooutline,Ctrl+Tproject symbols,Ctrl+.code actions,Ctrl+Shift+GGit panel and more. Seedocs/keymaps/index.md. - Multiple cursors. Select all occurrences, column selection and manual
cursor placement are built in. See
docs/multiple-cursors/index.md. - Git, terminal and debugger in the box. Vix stages hunks, commits, and
shows logs and blame. Its integrated terminal opens with
Ctrl+`in most keymaps, and its debugger lives under the Run menu. - AI assistance. The AI chat panel talks to a CLI (Claude by default) or
straight to a provider’s API. Inline suggestions (ghost text) are optional.
See
docs/agent-panel/index.mdanddocs/ghost-text/index.md. - Editing together. Vix’s Cowork feature lets several people edit
the same files live and see each other’s cursors. It is peer to peer: one
person hosts and the others join with an invite, with no account or
server. See
docs/cowork/index.md. - A Vim mode, if you use Zed’s. The Vi keymap (and Spacemacs,
which adds a
Spaceleader) is one menu choice away. Like Zed’s Vim mode, it is off by default. Seedocs/keymaps/index.md.
What’s different
- A terminal, not a window. Vix draws with characters, so it has no
smooth scrolling, proportional fonts, inline images or 120 fps animation.
In return it works anywhere a terminal does. If you want a window,
the experimental desktop front ends (one is built on GPUI, the same UI
framework Zed uses) run the same editor natively. See
gui/spec/index.md. - Remote editing works differently. Zed runs a headless server on the
remote machine. Vix can simply be run on that machine over
ssh, or (new in 2.0, experimental) open a remote folder with File → Open Remote… without installing anything there. Seedocs/remote-editing/index.md. - Scripting, not extensions. Zed extensions are WebAssembly modules that
add languages, themes and debug adapters. Vix has Rhai scripts for palette
commands and key bindings
(
docs/scripting/index.md), and no extension marketplace. - More bundled tools. Vix also ships Org mode, a Jujutsu client, a
database workbench, an HTTP client for
.httpfiles, and persistent, branching undo. Zed leaves those out.
Where Zed still wins
- Rendering and feel. GPU rendering, proportional fonts, inline image previews and smooth animation are things a terminal cannot do.
- Collaboration as a service. Zed’s channels, shared screens and voice calls come with its hosted service. Vix’s Cowork is deliberately smaller: shared editing and cursors, with no service in between.
- Ecosystem. Zed has a larger community, an extension gallery and a bigger team behind it. Vix’s plugin story is younger and smaller.
- AI depth. Zed’s agent panel and edit predictions are built around its own hosted models and agent features. Vix’s AI is a thinner layer over whatever CLI or provider you configure.
An honest experiment
Give it one afternoon on a real task:
- Install Vix and open a project:
vix . - Pick the Zed keymap (View → Keymap…), so your Zed reflexes work, or Vi if you use Zed’s Vim mode.
- Do what you’d do in Zed: jump to a definition, rename a symbol, stage a hunk from Git → Changes…, run a test in the integrated terminal.
- Then try what Zed can’t:
sshinto a server and runvixthere, or open an.httpfile and send a request.
If GPU rendering and Zed’s hosted collaboration are why you use it, Vix won’t replace it, and that’s a fair conclusion. If what you want is the same built-in IDE in a terminal, so it goes everywhere your shell goes, it’s worth the afternoon.
See also
docs/compare/index.md— the full feature-parity matrix, including Zed.docs/keymaps/index.md— every keymap, every binding.index.md— the full feature tour.
Vix™ and Vix IDE™ are trademarks.
Accessibility for screen readers
This page is about a screen reader actually announcing what Vix is
doing — a different, narrower question than color/contrast accessibility,
which T203’s WCAG-AA high-contrast theme already
covers. A high-contrast theme helps a low-vision sighted user; it does
nothing for someone who can’t see the screen at all.
What a terminal can actually signal outside the visible screen
Two channels, and only two, reach a screen reader (or anyone else not looking at the screen) without that person reading the live TUI redraw directly:
- The terminal bell (
BEL,\x07). Close to universal — every terminal either beeps audibly or, if configured for a visual bell instead, flashes. Not a rich channel (it can’t say what happened, only that something did), but reliable and simple. - The terminal window/tab title (
OSC 0/OSC 2). Some screen readers announce a foreground window’s title text when it changes (behavior varies by screen reader, terminal emulator, and OS — this is not a guaranteed channel the way the bell is close to being one).
That’s the entire honest list. Nothing else a TUI does — an overlay appearing, a status-line update, a color change — reaches a screen reader at all unless the terminal emulator or its accessibility layer is doing extra work on top, which most aren’t.
The bigger finding: Vix’s own rendering model is the real barrier
Before shipping anything, it’s worth being honest about what actually
matters most here — and it isn’t the bell or the title. Real-world
accessibility reporting on modern TUI frameworks (Ink, Bubble Tea, tcell,
and — Vix’s own foundation — ratatui) identifies a structural problem:
these frameworks treat the terminal as “a 2D grid of pixels” and
redraw the whole screen on every update, repositioning the cursor
constantly. Screen readers expect a mostly-linear, sequential flow of
text, the way a classic scrolling terminal program (or a well-behaved
readline-based CLI) produces one; a cursor jumping around a
full-screen redraw on every keystroke is, in the words of one detailed
write-up on the subject, enough to “make screen readers go nuts.”
Vix fits this pattern exactly: tui/src/ui.rs’s draw function repaints
the entire frame — menu bar, docks, editor, any open overlay — on every
tick, and the cursor moves with every keystroke, mouse click, and
overlay open/close. Nothing checked in this audit found any accommodation
for that today, and there isn’t a small patch that changes it: it’s the
same rendering architecture every overlay and panel in this codebase is
built on (tui/src/ui/*.rs, the whole panel!-macro-dispatched family this
session’s own git.conflict_list overlay
is one more instance of). Saying otherwise — implying a bell or a title
update makes Vix “accessible” — would be the wrong kind of confident.
Two more contributors compound this, confirmed by grep across this codebase, not assumed:
- Heavy box-drawing borders (
Borders::ALL,BorderType::Rounded) on nearly every panel and overlay — exactly the kind of decoration real screen-reader users report as noise, repeatedly announced (“box drawing light horizontal…”) with no semantic value. - Nerd Font icons (
vix-theme’s icon set) used throughout menus, panels, and the status bar as the only representation of meaning in several places (a panel’s title icon, a gutter mark) — private-use-area glyphs a screen reader either can’t pronounce at all or announces as an unhelpful “unknown character.”
What shipped in this pass
One narrow, honest, clearly-safe win, exactly the shape the low-risk-only
brief for this audit asked for: Settings::accessibility. bell_on_command_done (off by default — opt-in, so it never surprises
someone who didn’t ask for it). When on, Vix rings the terminal bell when
a background command started via run_command_in (Project →
Compile/Run/Test, “Run shell command”, …) finishes — useful for anyone,
sighted or not, who isn’t watching the screen when a long-running command
wraps up. It does nothing about the structural problem above; it’s a
small, real, additive improvement, not a fix for the bigger finding.
A terminal-title update was considered and not shipped this pass: it needs care around restoring the terminal’s original title on exit (a titled terminal left renamed after Vix quits is a worse outcome than not trying), and its actual announcement behavior is genuinely uncertain across screen readers/terminals in a way the bell mostly isn’t — a real follow-on, not a “ran out of time” gap.
What would actually move the needle (a real, sized follow-on — not undertaken here)
Other real TUI/CLI tools facing this same problem have converged on the same shape: an explicit, opt-in screen-reader mode — a flag (or a persisted setting) that switches rendering to something closer to the classic linear-scrolling model a screen reader can actually parse:
- Disable box-drawing borders/dividers entirely in favor of plain blank lines or minimal ASCII separators.
- Replace icon-only signals (panel title icons, gutter marks) with a short text label alongside or instead of the glyph.
- Prefer appending new content (closer to how a classic terminal program behaves) over redrawing regions in place, where the UI shape allows it.
This is a genuine redesign of how panels render, not a settings field — correctly out of scope for this audit, whose brief was research and any small, safe wins, not a rendering rewrite. Recorded here, with the real precedent that motivated it, so it isn’t re-discovered from scratch: it’s exactly the shape terminal-based AI coding assistants and other modern TUIs have shipped as an explicit screen-reader mode once teams looked at this seriously, rather than something Vix would be inventing new ground on.
Bottom line
Vix is not meaningfully accessible to a screen reader today, and this audit’s job was to say that plainly and explain why, rather than let a small bell setting stand in for having actually solved it. The bell change is real and worth keeping; the structural fix is a genuine, separately-sized project for whenever it’s prioritized.
AI Chat Panel and Agents
Vix™ can send editor text to an AI assistant and show you the reply, keep a
conversation with it in the AI chat panel, and drive a coding agent over the
Agent Client Protocol (ACP). Everything is on the AI menu (Alt+A) and in
the command palette, and nothing is sent until you run one of these commands.
This page is the reference. For a guided first session, see
Tutorial 14: AI and Agents. The other
direction, an AI tool reading your workspace through vix --mcp, is
MCP Server; AI ghost text is
Ghost Text.
Turning AI off
AI is optional. Set ai = "off" in config.toml and restart Vix:
- The AI menu disappears (
Alt+Aopens nothing) and noai.*command is listed in the palette. - Every AI request is refused before it is built, however it is reached (a key binding, a script), including the Git panel’s generated commit message and the DB workbench assistant. Each says “AI is off (ai = “off” in settings); nothing was sent“. Agents cannot be started either.
- Any value other than
"on"counts as off, so a typo fails closed.
This is a run-time switch. The ai Cargo feature removes the AI code from a
build entirely.
Providers
The ai_provider setting picks how Vix talks to the assistant. The AI menu, the
chat panel, the Git commit message, the DB workbench assistant and AI ghost text
all use it.
ai_provider | What Vix does | API key in Vix |
|---|---|---|
"cli" (default) | Runs the ai_command template, by default claude -p {prompt} | None: the CLI signs in by itself |
"anthropic" | Calls https://api.anthropic.com/v1/messages, model claude-sonnet-5 | Required |
"openai" | Calls https://api.openai.com/v1/chat/completions, model gpt-4o-mini | Required |
"ollama" | Calls a local Ollama server at http://localhost:11434/api/generate, model llama3.2 | Optional |
ai_endpoint and ai_model override the endpoint URL (give the full URL) and
the model id; empty uses the defaults above. An unknown provider name falls
back to "cli".
ai_provider = "anthropic"
ai_model = "claude-sonnet-5"
ai_api_key_command = "pass show anthropic-api-key"
The command-line provider
ai_command is a template. {prompt} becomes the command’s instruction, and
the editor text goes to the command’s standard input from a private temporary
file. If the template contains {file} instead, that is replaced with the
temporary file’s path. Vix quotes both placeholders itself, so do not put quotes
around them; quotes written right around a placeholder are dropped.
| Assistant | ai_command |
|---|---|
| Claude | claude -p {prompt} (default) |
| Codex | codex exec {prompt} |
| Mistral | mistral chat -m {prompt} |
| Ollama | ollama run llama3 {prompt} |
The command always runs on your own machine, also when the workspace is remote (over SSH or in a container); it then runs in the local temporary directory. A command that exits with an error, or prints nothing, counts as a failure.
The HTTP providers
For anthropic, openai and ollama, Vix makes one HTTPS (or, for the
local Ollama default, plain HTTP) request per command, without streaming. The
command’s instruction is sent as the system prompt and the editor text as the
user message. A provider’s error message is shown as the failure reason.
openai works with anything that speaks the OpenAI Chat Completions API (a
local gateway, a self-hosted model server, a proxy): point ai_endpoint at it.
It always needs a key, so for a server that needs none, set
ai_api_key_command = "echo not-needed". ollama needs no key; a key you do
give it is sent as Authorization: Bearer, for an Ollama behind an
authenticating proxy.
API keys
Never put an API key in config.toml; there is no setting for it. For an HTTP
provider Vix looks for the key in two places, in order:
ai_api_key_command: a command whose standard output is the key, run throughsh -c, so a password manager works (pass show …,op read …).- The OS keyring, service
vix-ai, account set to the provider name (anthropic,openaiorollama): the login Keychain on macOS, Credential Manager on Windows, the Secret Service (secret-tool) on Linux.
Store a key once, from your shell:
# macOS; -w with no value asks for the key
security add-generic-password -s vix-ai -a anthropic -w
# Linux; asks for the key
secret-tool store --label="Vix Anthropic key" service vix-ai account anthropic
Vix only reads the keyring; it never writes a key there and never prompts for
one. When a provider needs a key and neither place has one, the request is not
sent and the message drawer says “No API key for anthropic (set
ai_api_key_command, or store one in the OS keyring)”. An imported settings
bundle never imports ai_command or other command-bearing fields.
What is sent, and when
Nothing leaves Vix until you run an AI command. Then:
| Command | What is sent |
|---|---|
| AI → Summarize, Explain, Annotate, Improve | The selection, or the whole file when nothing is selected |
| AI → Define | The selection, or the word at (or after) the cursor; never the whole file |
| AI → Edit Selection with Instruction… | Your instruction and the selection (a selection is required) |
| AI → Generate Doc Comment | The cursor line and the next 40 lines |
| AI → Chat… | Your message and the whole conversation so far |
Ghost text, inline_completion = "ai" | Up to 2000 characters before the cursor and 500 after it, each time you pause typing |
Git panel commit message (g) | The staged diff |
DB workbench assistant (Ctrl+A and the other AI keys) | Your question or statement and the schema, never a row (see DB Workbench) |
| An ACP agent | Your prompts, and each workspace file the agent asks to read |
The text goes to the provider you configured: the CLI you chose (which then talks to its own service), the HTTPS endpoint, or your local Ollama. Vix does not strip secrets from what you select, so do not send what you would not paste into that service. Replies are treated as untrusted text: they are shown, opened in a tab or offered as a diff, never run.
The AI menu
| Item | Result |
|---|---|
Chat… (ai.chat) | Opens the chat panel |
| Summarize, Explain, Define | The reply opens in a new, unsaved tab |
| Annotate, Improve | The reply replaces the text, through a diff review |
| Edit Selection with Instruction… | Asks “Instruction for the AI”, then always opens a diff review |
| Generate Doc Comment | Proposes a comment above the cursor line, through a diff review |
| Start Agent, Prompt Agent…, Resume Agent, Agent Plan, Toggle Agent Plan Pane, Stop Agent | Control an ACP agent |
The request runs in the background. The status line shows “AI: Explain…” while it runs, then “AI: Explain done” or “AI: Explain failed” (with the reason, for an HTTP provider). Only one AI request runs at a time: a second says “An AI task is already running”. With nothing to send it says “Nothing to send to the AI”; Edit Selection with Instruction… without a selection says “Select text first”.
The chat panel
AI → Chat… opens a conversation with the assistant. Unlike the one-shot
commands, each turn sends the conversation so far (as User: … and
Assistant: … turns), so you can ask follow-up questions. If text is selected
when you open the panel, it seeds the input line.
- Type a message and press Enter. The title shows Thinking… until the reply arrives; a failed or empty reply appears as an error turn.
- Blank input is not sent. While a reply is pending, further sends are declined with “An AI task is already running”.
- While an ACP agent runs, the panel talks to the agent instead of the provider.
| Key | Action |
|---|---|
Enter | Send the input line |
↑ / ↓ | Scroll the transcript one line |
PageUp / PageDown | Scroll ten lines |
Alt+T | Open the last reply in a new tab and close the panel |
Alt+C | Copy the last reply to the clipboard (“Copied reply to clipboard”) |
Esc | Close the panel |
The hint line under the panel lists the same keys. Closing the panel ends the conversation; it is not saved.
Reviewing AI edits
Commands that change your text do not overwrite it. They open Review AI edit, with the proposed change split into hunks:
| Key | Action |
|---|---|
↑ / ↓ | Move between hunks |
Space | Toggle the highlighted hunk |
a / r | Accept all / reject all |
Enter | Apply the accepted hunks as one undoable edit |
Esc | Discard the whole proposal |
Accepted hunks take the new text and rejected hunks keep the old. When the reply changes nothing, no review opens and the status line says “AI: no changes proposed”.
ai_diff_review = false applies Annotate, Improve and Generate Doc
Comment directly, as one undoable edit. Edit Selection with Instruction…
and agent file writes always open the review.
Coding agents (ACP)
An ACP agent (Gemini CLI, Codex and other agents that speak the Agent Client
Protocol) runs as a child process that Vix talks to over its standard input
and output. List each agent’s command line in ai_agents:
ai_agents = ["gemini --experimental-acp"]
The command is split on whitespace and run without a shell. The agent’s own network traffic and its own tools are its business; Vix only controls what it can do through ACP.
Starting and stopping
- AI → Start Agent starts it, only in a trusted workspace; otherwise
“Agent not started: trust this workspace first.” With nothing in
ai_agents: “No agent configured. Add a command to ai_agents in settings.” With several entries it asks “Start which agent? …”; type a number (empty means the first). - The chat panel opens and the status line says “Agent started: …”, then “Agent ready.” Prompts typed in the panel, or given at AI → Prompt Agent… (“Prompt for the agent”), go to the agent; the reply streams into the transcript, and a finished turn reports “Agent finished (…).”
- AI → Agent Plan opens a read-only tab with the agent’s plan and each tool call with its status; AI → Toggle Agent Plan Pane shows the same beside the editor. Both update live and end with a Terminals section for approved commands.
- AI → Stop Agent ends the process (“Agent stopped.”). Vix saves the
agent and its session id with the workspace session, so AI → Resume Agent
can continue it after a restart, if the command is still in
ai_agentsand the agent supports resuming; otherwise it starts a fresh session.
What an agent can do
- Permissions default to deny. A request shows “Agent wants to: ….
Allow once? (y/N)”. Only
yoryesallows; anything else, Esc, or the agent stopping denies. - File writes become diffs. The new content opens in Review AI edit on that file (“The agent proposes an edit to …; review it.”). Nothing reaches the disk until you accept hunks and save. A new file opens as an unsaved tab and exists on disk only when you save it.
- Commands run only on a yes. “Agent wants to run: …. Allow? (y/N)” names the full command line. It runs without a shell, inside the workspace; at most eight run at once, and each keeps only the newest 1 MiB of output unless the agent asks for more (8 MiB at most).
- Paths stay inside the workspace. Reads and writes must be absolute paths
inside the workspace root, also after following symbolic links. Reads see an
open buffer’s unsaved text and are not prompted, but files that may hold
secrets (
.envfiles, private keys,.netrc,.pgpass,credentials*, anything under.git/or.ssh/) are refused: “Agent request refused: …”. - Agent text shown in Vix (replies, plan entries, tool titles, terminal output, prompts) has terminal control sequences removed first.
Specifications
crates/vix-ai-panel/spec/ai/index.md: the AI menu, the off switch, diff review.crates/vix-ai-panel/spec/vix-agent-panel/index.md: the chat panel.crates/vix-ai-core/spec/index.md: HTTP providers and API keys.crates/vix-acp/spec/index.md: the ACP client and its trust model.- Threat model: what AI features and agents may and may not reach.
Native Codex and Claude Code
The Agent panel drives ACP agents. To talk to the Codex or Claude
Code program you already have installed and signed in to, use AI → Agent
Conversations… instead, in a build with --features ai-agents. See
Native coding agents.
Vix™ and Vix IDE™ are trademarks.
Native coding agents: Codex and Claude Code

AI → Agent Conversations… runs a coding conversation with the Codex or Claude Code program installed on your machine, inside Vix. Both use their own login and settings; Vix never asks for or stores an API key for them. The same conversation panel works in the terminal and in every desktop GUI.
This is an opt-in build feature, not part of the released binaries.
Set it up
-
Install the provider you want and sign in once in a terminal:
codex(thencodex login) orclaude(then/login). -
Build Vix with the feature:
cargo run --release --features ai-agentsFor a desktop window, use any GUI package with the same feature, for example
cargo run --manifest-path gui/Cargo.toml -p vix-egui --features ai-agents. -
Keep the AI menu on (
ai = "on", the default).ai = "off"hides it, this item included.
Use it
- Open a local folder and choose AI → Agent Conversations…. The first time in a folder, Vix asks whether you trust it; accept, then choose the menu item again. Remote (SSH) folders are not supported.
- Pick New conversation · Codex, New conversation · Claude Code, or one of your earlier conversations in this folder (newest first, titled by your first prompt). Opening the list or an old conversation sends nothing.
- Type a prompt and press Enter. Replies appear as they arrive, with one line for each tool the agent starts.
- When the agent asks to run a command or change a file, the panel shows the whole request. Scroll it with the arrow keys, then press Ctrl+Y to allow that one request, or N or Esc to decline it.
- To stop a reply in progress, press Esc twice. With nothing running, Esc closes the panel (closing Vix also stops a running agent). Reopen the conversation from the same menu to continue where you left off; the agent resumes its own session.
Give a conversation its own Git worktree
In a Git repository with at least one commit, pick New worktree conversation for Codex or Claude Code (the rows are missing in a folder that is not committed yet). The first prompt starts a new branch at your current commit. Uncommitted edits, untracked files and unsaved Vix buffers stay in your original checkout. If you opened a subfolder, the provider starts in its counterpart in the new worktree. The ordinary New conversation rows use the current folder.
The conversation panel shows its vix-agent-<UUID> branch. Close the panel
and select its saved conversation in the original workspace to continue with
the same files. Use Git → Worktree → List… or git worktree list to find
the checkout and review or commit edits there. Merge the branch when ready.
The checkout persists until you remove it. Removing it or switching its
branch prevents further turns in that conversation.
Worktrees require the default git feature alongside ai-agents. The
checkout lives beside the private conversation file, outside the repository.
Queue follow-ups
While Codex or Claude Code is working, type another prompt and press Enter. You can add several. While prompts are waiting, Enter adds to the end of the line even when the agent is idle, so a new prompt never jumps ahead. The panel shows how many are waiting and the first one in line. Each runs in the same conversation and checkout after the preceding turn finishes successfully. You can keep typing a separate draft.
Press Ctrl+P to pause or resume delivery. To change or cancel the next waiting prompt, press Ctrl+U with an empty composer. This withdraws it into the composer. Edit and submit it again, or discard it. After a stop, failure, or restart, review the waiting queue and press Ctrl+P to continue.
If priorities change, press Ctrl+L to pause delivery and see the queue. Select a prompt with the arrows. Alt+↑ or Alt+↓ (Option on a Mac) moves it earlier or later; Ctrl+↑ and Ctrl+↓ work too where the system leaves them free (macOS uses them for Mission Control). Delete removes it. Enter recalls it into an empty composer, including any additional lines. Esc returns to the conversation. Press Ctrl+P when you want the remaining prompts to run.
Hand a plan or review to another agent
Open the receiving conversation, for example Codex after planning with
Claude Code. Type any instructions you want to add, then press Ctrl+R
and pick a saved conversation from this workspace. Use the arrows or page
keys to review the prompt, then Ctrl+Y to send or Esc to keep editing
your original draft. Vix includes up to eight recent messages from the source, each line quoted
with > , and leaves out invisible characters, so what you review is what
the receiving agent gets. Read it before sending: a reply can contain
instructions the source agent picked up from a file. The recipient works in
its own checkout with its own permissions. A handoff transfers text only:
no files, approvals, session or queued prompts. Opening the list pauses
waiting follow-ups; press Ctrl+P to resume them.
What to know
- The agent can change your files. It runs in the folder with its own sandbox and permission rules, from your Codex config and your Claude Code settings; Vix sends none of its own. Vix shows each request it is asked about and never answers one for you.
- Sessions are per provider. Each provider resumes its own conversation. Use a handoff to share the relevant messages with a different provider.
- Where it is stored. Your prompts, the visible replies, waiting follow-ups and the provider’s resume ID are kept in private files beside Vix’s session file, one folder per workspace. The agent keeps its own full history in its own directory, as it does in a terminal.
- One window at a time. A conversation open in one Vix cannot be opened in another until the first closes it.
See also
- Agent panel for ACP agents (AI → Start Agent).
- MCP server to give an agent a read-only view of a workspace.
- Threat model.
- The specification:
spec/ai-agents, with pages on follow-ups, handoffs, worktrees and security.
Vix™ and Vix IDE™ are trademarks.
Crash reports
If Vix crashes, it saves a crash report on your computer, so you can send it to the maintainers if you choose. Nothing is sent automatically.
What happens when Vix crashes
Vix saves a report to the crashes folder in its data folder (usually
~/.local/share/vix/crashes/ on Linux and macOS, %APPDATA%\vix\crashes\
on Windows) and prints the exact path after the terminal is restored. The next time you start Vix, it says once that a report
is waiting.
The desktop app vix-egui does the same: it prints the path on its standard
error (not visible when it was started from the Dock or a launcher) and says
so on its next start. The other desktop GUIs do not save reports yet.
What a report holds
- the Vix version, your operating system and its architecture;
- which Vix app crashed (
vix, or a desktop app such asvix-egui); - the panic message, with quoted text removed, and where in Vix’s source it happened;
- a backtrace of Vix’s own code.
Your home folder is shown as ~ and your user name as <user>. A report
never holds the text of your files or buffers, your environment variables or
your computer’s name. Vix keeps the ten newest reports.
Sending one
Choose Help → Report a Crash…. Vix opens the newest report in a read-only tab so you can read exactly what it says, and asks whether to open a GitHub issue with it filled in. Press y to open the issue in your browser. Nothing reaches GitHub until you submit the issue there, and you can edit or delete anything in it first. Press n to close the question.
If no browser opens, Vix puts the issue link in the message drawer. You can also attach the file from the crashes folder to an issue yourself.
Vix™ and Vix IDE™ are trademarks.
Align on Delimiter
Align pads the selected lines (or the whole buffer, if nothing is selected) so that each line’s first occurrence of a chosen delimiter lands in the same column — a common editor convenience for tidying up assignment lists, key: value blocks, CSV-ish text, and tables. It is a menu item under Edit → Align; choosing a delimiter rewrites the affected lines.
How to use
- Select the lines you want to align (or select nothing to align the whole buffer).
- Open Edit → Align.
- Choose the delimiter to align on.
Available delimiters
| Menu item | Action ID | Delimiter |
|---|---|---|
| On = (equals) | edit.align.equals | = |
| On : (colon) | edit.align.colon | : |
| On , (comma) | edit.align.comma | , |
| On | (pipe) | edit.align.pipe | | |
There is no default keybinding for any of these — they run from the menu or the command palette.
Behavior
- Only the line’s first occurrence of the delimiter is used as the alignment point; anything after it is left alone.
- Each line’s delimiter is normalized to exactly one space before it and one space after, then the delimiters are padded into a common column across the selected lines.
- Lines that don’t contain the delimiter at all are left unchanged.
- A trailing newline on the selection/buffer is preserved.
The pure alignment logic lives in vix_align::on_delimiter; the menu actions
apply it via App::transform_selection_or_buffer, which runs the transform
over the selection when there is one and over the whole buffer otherwise.
Examples
Select these three lines and choose On = (equals):
x=1
long_name=2
y=333
becomes:
x = 1
long_name = 2
y = 333
Select these lines and choose On : (colon):
name:Alice
role : Engineer
team: Platform
becomes:
name : Alice
role : Engineer
team : Platform
See the crate spec at crates/vix-align/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
ASCII Code Picker
The ASCII code picker is a scrolling overlay listing all 128 ASCII codes. It lets you browse the table and insert any character into the active editor without leaving the keyboard.
Opening the picker
Open it from the menu bar: Tools → ASCII. The picker appears as a modal overlay over the editor.
The table
Each row shows three columns:
- Decimal — the code as a decimal number (
0–127). - Hex — the same code in hexadecimal (
00–7F). - Char — the character representation. For the control codes this is a
mnemonic such as
NUL,ESC, orDEL; code32shows the wordspace; the printable codes show the literal glyph.
The full table runs from 0/00/NUL through 127/7F/DEL.
Keybindings
| Key | Action |
|---|---|
↑ / ↓ | Move the highlight up / down one row |
PageUp / PageDown | Move the highlight by a page |
Home / End | Jump to the first / last row |
Enter | Insert the highlighted character; keep open |
Esc | Close the picker |
The window scrolls to keep the highlighted row in view as you move.
Pressing Enter keeps the panel open, so you can pick several characters in a
row without reopening it.
Mouse
A left click on any row inserts that row’s character into the editor.
Example
To insert an ESC control character: open Tools → ASCII, move the highlight
to the 27 / 1B / ESC row (or scroll to it and click), and press Enter.
The escape character is inserted at the cursor and the panel stays open for the
next pick. Press Esc when you are done.
Vix™ and Vix IDE™ are trademarks.
Branch Review
Review a branch, a commit range, a commit or a stash as one multi-file diff, and leave line comments that are saved with the repository and exported as Markdown.
Actions
All of these are in the Git menu and the command palette.
| Action id | Menu item | Does |
|---|---|---|
git.review | Review Range… | Asks for a range and opens it in a read-only tab titled review <range>. |
git.review_comment | Comment on Review Line… | Comments on the diff line under the cursor (pre-filled with the existing comment; empty text removes it). |
git.review_next | Next Review Hunk | Next @@ header, wrapping around. |
git.review_prev | Previous Review Hunk | Previous @@ header, wrapping around. |
git.review_export | Export Review Comments | Writes .vix/review/<range>.md and .json. |
git.review_stage_hunk | Stage Review Hunk | Stages the hunk under the cursor (git apply --cached). |
git.review_stage_all | Stage All Review Hunks | Stages every text hunk of the open review at once; for a stash review, the whole stash. |
git.review_discard_hunk | Discard Review Hunk… | After a yes/no, undoes the hunk under the cursor in the working tree (git apply --reverse). |
git.review_discard_all | Discard All Review Hunks… | Undoes every text hunk of the open review in the working tree, after a confirmation that says how many hunks in how many files. |
git.review_stage_lines | Stage Review Lines | Stages only the selected added and removed lines of one hunk. |
git.review_discard_lines | Discard Review Lines… | Undoes only those lines in the working tree, after a confirmation. |
git.review_toggle_view | Review Two-Pane View | Switches between the inline diff and a side-by-side view. v in the review does the same. |
The last nine work only in the review tab. Stage and discard hand the hunk’s
patch to git apply, so they work when the hunk still fits the index or the
working tree (for example a review of the working-tree diff); otherwise git’s
reason is shown and nothing changes. In Git → Stash List…, r opens the
highlighted stash in a review.
Ranges
main..featureandmain...featureshow a diff.- A single revision (a commit, a tag,
stash@{0}) shows what that revision changed.
Each changed file appears under a === path heading with its hunks as git
printed them; each comment sits on its own >> text row under its line.
Comments
A comment is tied to a file, a side (removed lines count on the old file) and
a line number, and keeps the line’s text. One comment per line; commenting
again replaces it. They are stored in .vix/review/<range>.json under the
workspace root and reload when you review the same range again. If the diff
changes so a comment’s line is gone, the comment stays in the file and the
export but is not shown.
The Markdown export groups comments by file, ordered by line, each followed by its code line, ready to paste into a pull request or an agent prompt.
Discard all
Discard All Review Hunks… asks first and names the size of what it will undo (“all 7 hunks in 3 files”). It is all or nothing: git applies the whole reverse patch or none of it, so if any hunk no longer fits (the file changed since the review opened) nothing is discarded and git’s reason is shown. Binary files are not part of it. After a discard the review is diffed again.
Staging or discarding single lines
Select some lines of one hunk (hold Shift and move the cursor; with no selection the line under the cursor counts) and use Git → Stage Review Lines or Git → Discard Review Lines…. Only the added and removed lines in the selection are staged or undone; the rest of the hunk is left alone. Context lines, headings and comments in the selection are ignored. A selection that reaches into a second hunk is refused (select inside one hunk). Discard asks first. If Git cannot apply the lines (the file changed since the review opened) nothing changes and Git’s reason is shown.
When a file’s last line has no trailing newline, select both the removed and the added copy of that line together; selecting only one is refused.
Two-pane view
Press v in the review (or use Git → Review Two-Pane View) to see the old
text on the left and the new text on the right. A run of removed lines is
lined up with the added lines that replace it; a line with no counterpart
leaves the other side blank. Where a removed line and an added line are paired, the words that changed are
drawn reversed on both sides, so a one-word edit is easy to spot. Comments
appear under their group. The cursor,
hunk navigation, commenting and staging work as in the inline view, and both
views scroll together. With View → Soft Wrap on, long lines wrap within their own side and the
shorter side is padded, so the two sides stay on the same rows; with it off
they are cut at the edge. A click on a wrapped line’s later row is a click on
that line. When the editor is narrower than 60 columns the inline
view shows instead. The review_view setting ("inline", the default, or
"side_by_side") chooses the view a review opens in.
In a split editor every pane that shows the review draws the two-pane view (each pane is judged on its own width, so a narrow pane falls back to the inline diff while a wide one keeps both sides). The view setting is shared by all panes of the review.
The mouse works on the rows you see. A click on the left half puts the cursor on that old line, a click on the right half on the new line (a click on a blank half uses the other side’s line). The wheel scrolls one row at a time and carries the cursor along when it would otherwise leave the view.
See the specification at crates/vix-review/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Calendar Panel
The calendar panel is a navigable month grid for inserting a chosen date into the active editor.
Live date/time strings (local time, UTC, ISO week) are a separate box —
Tools → Clock…, see docs/clock/index.md. They used
to live in the calendar panel; each box now does one thing.
Opening the panel
Open it from the menu bar: Tools → Calendar… (tools.calendar, a toggle).
There is no default keybinding or command-palette entry; use the menu.
Layout
- A month header
◀ Month Year ▶. The◀/▶glyphs are clickable month-navigation arrows. - A Monday-first day grid: a weekday header row, then up to six week rows. The selected day (the keyboard cursor) is reverse-highlighted; today is marked only when the displayed month is the current month.
Keybindings
| Key | Action |
|---|---|
← / → | Move the selected day by one day |
↑ / ↓ | Move the selected day by one week |
Ctrl + arrows | Change the month |
Ctrl + Shift + arrows | Change the year |
Enter | Insert the selected date, close |
Esc / q | Close without inserting |
Opening the panel always snaps the selection back to the present month.
Mouse
- Clicking
◀/▶pages the month. - Clicking a day cell inserts that date, locale-formatted (
%m/%d/%Yfor English,%d.%m.%Yfor German,%d/%m/%Yfor French/Spanish/Welsh, ISO%Y-%m-%dotherwise). The panel stays open, so you can pick several dates in a row. - A click outside the box closes it.
Example
To insert today’s date in your locale’s format: open Tools → Calendar… and click today’s highlighted cell (or just press Enter — it starts selected).
Notes
Implemented by vix-calendar-panel; see
crates/vix-calendar-panel/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Case Changer
The case changer transforms the editor’s current text selection into a different letter-case style. Each transform is a menu item under Edit → Case; choosing one rewrites whatever is selected.
How to use
- Select the text you want to transform.
- Open Edit → Case.
- Choose the target style.
The transform applies to the editor text selection. With nothing selected there is no text to convert.
Available transforms
The Case submenu lists seven styles. Each label shows the result of
applying it to the example words foo bar:
| Menu item | Result |
|---|---|
| Upper (FOO BAR) | FOO BAR |
| Lower (foo bar) | foo bar |
| Title (Foo Bar) | Foo Bar |
| Kebab (foo-bar) | foo-bar |
| Snake (foo_bar) | foo_bar |
| Camel (fooBar) | fooBar |
| Pascal (FooBar) | FooBar |
- Upper — every letter uppercase.
- Lower — every letter lowercase.
- Title — the first letter of each word uppercase.
- Kebab — words joined with hyphens.
- Snake — words joined with underscores.
- Camel — words joined with no separator; first word lowercase, each following word capitalized.
- Pascal — words joined with no separator; every word capitalized.
Examples
Select hello world and choose:
- Upper →
HELLO WORLD - Title →
Hello World - Kebab →
hello-world - Snake →
hello_world - Camel →
helloWorld - Pascal →
HelloWorld
Vix™ and Vix IDE™ are trademarks.
Clipboard
vix-clipboard is internal plumbing, not a feature with its own menu: it is
the process-wide, serialized access point to the system clipboard that every
other crate copies and pastes through — vix-editor-core’s Cut/Copy/Paste
actions, the Org table rectangle clipboard, the DB result exporter, and so
on. There is no separate clipboard UI backed by this crate; the user-facing
surface is the ordinary Edit → Cut / Copy / Paste menu items.
| Menu item | Action ID | Keybinding |
|---|---|---|
| Cut | edit.cut | Ctrl+X |
| Copy | edit.copy | Ctrl+C |
| Paste | edit.paste | Ctrl+V |
Two guarantees
- One at a time. Platform clipboard backends — notably macOS’s Cocoa
NSPasteboard— are not thread-safe, and concurrent calls into the underlyingarboardlibrary can corrupt memory and crash the process.setandgethold one process-wide lock for the whole backend call, so all access is sequential. In the (single-threaded) app the lock is uncontended; under parallel tests it is what keeps the backend from being entered twice at once. - The platform clipboard is opt-in. Until
use_systemis called,setandgetread and write a process-local in-memory clipboard instead of the real one.tui/src/main.rsopts in once at startup, so the running app behaves exactly as you’d expect; everything else — the test suite above all — cuts and pastes in memory only.
The opt-in exists because of a real incident: a test run used to overwrite
the developer’s actual system clipboard. A VS Code keymap test cut the line
doomed from a scratch buffer, and that text landed on the macOS pasteboard,
where the next paste in any other app produced doomed. Tests that need the
real platform clipboard must call use_system themselves, and none do —
tui/tests/integration/editing.rs asserts is_system() is false so the
isolation can’t quietly regress.
Clipboard history
Layered on top of the plain clipboard (but implemented separately, at the app
level rather than in vix-clipboard) is a clipboard history: every copy
and cut is additionally recorded into a ring of up to 30 recent entries,
most-recent first and de-duplicated. Edit → Paste from History…
(edit.paste_from_history) opens a picker over that ring; choosing an entry
pastes it at the cursor and re-promotes it to the front. See
crates/vix-editor/spec/clipboard-history/index.md for that feature’s own
spec.
See the crate spec at crates/vix-clipboard/spec/index.md for the locking
and opt-in details.
Vix™ and Vix IDE™ are trademarks.
Clock
The clock box shows several live date/time strings and lets you insert any of them into the editor with one keystroke or click.
Opening the box
Open it from the menu bar: Tools → Clock… (tools.clock, a toggle — opening
it again closes it). There is no default keybinding or command-palette entry;
use the menu.
Rows
The box lists four values, recomputed every render:
| Row | Example | Source |
|---|---|---|
| Local | 2026-06-14 09:30:00 | system local date-time, seconds precision |
| UTC | 2026-06-14T13:30:00Z | ISO 8601 UTC instant |
| ISO week | 2026-W24-7 | ISO 8601 commercial (week) date |
| (zone) | 2026-06-14 09:30:00 | the active time zone’s wall clock |
The last row is labeled with the active time zone’s name (set via Tools → Time Zone…) and shows that zone’s standard (non-DST) offset.
Interaction
- ↑ / ↓ move the highlight; Enter inserts the highlighted value and closes the box.
- Click a row to insert it — the box stays open, so you can pick several values in a row.
- Esc / q close without inserting.
Relationship to the calendar and Insert → Date/Time
The clock (live time strings) and the calendar (a navigable month grid,
Tools → Calendar…) are separate boxes — see
docs/calendar-panel/index.md. Insert →
Date/Time (see docs/insert/index.md) is a third,
menu-only surface over the same formatting logic, for inserting ISO
8601/RFC 3339/Epoch without opening a box at all.
Example
Open Tools → Clock…, arrow down to the UTC row, and press Enter to
insert 2026-06-14T13:30:00Z at the cursor.
Notes
Implemented by vix-clock-panel; see crates/vix-clock-panel/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Contacts
Vix has two kinds of contacts: a read-only browser for a folder of vCard
(.vcf) files, and Org-contacts entries that live as headlines in your
.org files.
vCard browser: Tools → Contacts…
Tools → Contacts… lists every .vcf file in the contacts_dir setting’s
folder, or in the workspace root when contacts_dir is empty. Each row is the
card’s FN name (else the file name), sorted alphabetically. If the folder
has no vCard files, the status line says so and the list is empty.
| Key | In the list | In a card |
|---|---|---|
↑ / ↓, PgUp / PgDn, Home / End | Move the highlight | Move the highlight |
Enter or a click | Open the highlighted card | Insert the highlighted value at the cursor |
Esc | Close the browser | Back to the list |
A card shows its fields with readable labels, such as Email (work) or
Phone. Vix only reads .vcf files; it never changes them. The full
behavior is in crates/vix-contact-panel/spec/index.md.
Org contacts: Org → Contacts
An Org contact is a headline whose :PROPERTIES: drawer has at least one of
EMAIL, PHONE, ADDRESS, BIRTHDAY, NICKNAME or NOTE, as in
Emacs org-contacts. Vix reads the property names in any case.
* Alice Adams
:PROPERTIES:
:EMAIL: alice@example.com
:PHONE: +1 555 0100
:END:
- Org → Capture → Contact… asks for a name, email, phone, address, birthday, nickname and note, and inserts an entry like the one above.
- Org → Contacts → Insert Field inserts one
:EMAIL:,:PHONE:, … line at the cursor. - Find Contacts, Birthdays and Export to vCard read every
.orgfile in the project and open the result in a new buffer: a table of names, emails and phones; a list of birthdays sorted by date; or vCard 3.0 text. - Complete Link…, with the cursor right after
[[mailto:or[[contact:, offers email addresses or contact names.
See Org mode for capture templates and the rest of the Org
menu, and crates/vix-org-contacts/spec/index.md
for the details.
Vix™ and Vix IDE™ are trademarks.
Convert
Tools → Convert is a family of text-format converters: pick a source and target format from the submenu and Vix™ rewrites the text in place. Every converter works the same way — it transforms the current selection if you have one, otherwise the whole buffer — and none of them open a new tab, a dialog, or ask for options; on invalid input they leave the buffer untouched and report the error on the status line instead. None of these actions has a command palette entry or a default keybinding in any keymap; they are menu-only.
There are twelve conversions, covering four format families:
- CSV, TSV, and JSON — six directions between the two delimited tabular
formats and JSON, all built on the shared
vix-convert-tabularengine. - JSON and YAML — both directions.
- JSON and TOML — both directions.
- Markdown and HTML — both directions.
CSV, TSV, and JSON
CSV → JSON, CSV → TSV, TSV → CSV, TSV → JSON, JSON → CSV, and JSON → TSV are
each a thin wrapper crate over one shared engine, vix-convert-tabular
(crates/vix-convert-tabular/spec/index.md), which owns the only CSV parser,
the only TSV parser, and the only JSON↔rows mapping in Vix. Centralizing the
logic keeps the six directions consistent with each other.
A few things the shared engine does that are worth knowing:
- CSV is parsed and written with RFC 4180 quoting: a field is quoted when
it contains a comma, quote, CR, or LF, and a doubled
""is a literal quote. - TSV has no quoting at all — fields are just split and joined on tabs, so a field containing a tab or newline can’t round-trip.
- Writing CSV or TSV neutralizes spreadsheet-formula injection: a field that
a spreadsheet would read as a formula (leading
=,+,-,@, a tab, or a CR) gets a literal'prefix so it imports as text, not a formula. - CSV/TSV → JSON: the first row is the header; every later row becomes
one object keyed by those headers, and every value comes out as a JSON
string —
30becomes"30", not a number. - JSON → CSV/TSV: the input must be a JSON array of objects. The header
row is the union of every object’s keys, in first-seen order; an object
missing a key gets an empty cell for it. String values are written
verbatim; other JSON values (numbers, booleans,
null, nested arrays/objects) are rendered as their compact JSON text, exceptnull, which becomes an empty cell.
Example data, shown as CSV, TSV, and JSON:
name,age
Alice,30
Bob,25
name age
Alice 30
Bob 25
[
{ "name": "Alice", "age": "30" },
{ "name": "Bob", "age": "25" }
]
Each menu item below converts between two of the three representations above; open it from the named menu path.
| Direction | Menu path | Action id | Crate spec |
|---|---|---|---|
| CSV → JSON | Tools → Convert → CSV → JSON | tools.convert.csv.json | crates/vix-convert-from-csv-into-json-tool/spec/index.md |
| CSV → TSV | Tools → Convert → CSV → TSV | tools.convert.csv.tsv | crates/vix-convert-from-csv-into-tsv-tool/spec/index.md |
| TSV → CSV | Tools → Convert → TSV → CSV | tools.convert.tsv.csv | crates/vix-convert-from-tsv-into-csv-tool/spec/index.md |
| TSV → JSON | Tools → Convert → TSV → JSON | tools.convert.tsv.json | crates/vix-convert-from-tsv-into-json-tool/spec/index.md |
| JSON → CSV | Tools → Convert → JSON → CSV | tools.convert.json.csv | crates/vix-convert-from-json-into-csv-tool/spec/index.md |
| JSON → TSV | Tools → Convert → JSON → TSV | tools.convert.json.tsv | crates/vix-convert-from-json-into-tsv-tool/spec/index.md |
JSON and YAML
Tools → Convert → JSON → YAML (tools.convert.json.yaml) parses the
buffer as JSON and re-serializes it as YAML; scalars, arrays, and objects all
carry over, and object keys come out sorted (serde_json’s default map
ordering), not in their original order. See
crates/vix-convert-from-json-into-yaml-tool/spec/index.md.
Tools → Convert → YAML → JSON (tools.convert.yaml.json) parses the
buffer as YAML and re-serializes it as pretty-printed JSON. See
crates/vix-convert-from-yaml-into-json-tool/spec/index.md.
Both directions reject input that doesn’t parse (invalid JSON or invalid YAML) and guard against pathologically deep nesting rather than overflowing the stack.
{ "name": "Vix", "count": 3 }
count: 3
name: Vix
JSON and TOML
Tools → Convert → JSON → TOML (tools.convert.json.toml) parses the
buffer as JSON and re-serializes it as TOML. TOML documents can’t have a
top-level array or scalar, so a JSON input that isn’t a top-level object is
reported as an error rather than converted. See
crates/vix-convert-from-json-into-toml-tool/spec/index.md.
Tools → Convert → TOML → JSON (tools.convert.toml.json) parses the
buffer as TOML and re-serializes it as pretty-printed JSON. See
crates/vix-convert-from-toml-into-json-tool/spec/index.md.
{ "name": "Vix", "count": 3 }
name = "Vix"
count = 3
Markdown and HTML
Tools → Convert → Markdown → HTML (tools.convert.markdown.html) parses
the buffer as CommonMark with pulldown-cmark and renders the HTML
fragment. It currently parses plain CommonMark only — GitHub Flavored
Markdown extensions such as tables and strikethrough are not enabled, even
though the crate’s spec notes GFM as an available option
(pulldown-cmark’s Options::gfm()) for a future change. See
crates/vix-convert-from-markdown-into-html-tool/spec/index.md.
Tools → Convert → HTML → Markdown (tools.convert.html.markdown) uses
htmd (a Turndown-inspired converter) to turn an HTML fragment into
Markdown, and reports an error if the HTML can’t be converted. See
crates/vix-convert-from-html-into-markdown-tool/spec/index.md.
# Title
a *b* c
<h1>Title</h1>
<p>a <em>b</em> c</p>
Vix™ and Vix IDE™ are trademarks.
Coverage Gutter
See at a glance which lines a test run actually covered, right in the editor gutter — without leaving Vix™. Vix visualizes an existing coverage report; it doesn’t run a coverage tool itself.
Generating a report
Run whatever coverage tool your project uses, and have it write an LCOV
(.info) or Cobertura XML report:
cargo llvm-cov --lcov --output-path lcov.info # lcov.info
pytest --cov --cov-report=xml # coverage.xml, Cobertura format
go test -coverprofile=coverage.out && gocov convert coverage.out | gocov-xml > coverage.xml
Vix on itself
The GitHub CI coverage job (advisory — it never blocks a merge) runs
bin/test-coverage (cargo llvm-cov) and uploads cobertura.xml,
lcov.info, summary.json and the HTML report as the cobertura workflow artifact.
Download cobertura.xml into the repo root and use Tools → Load Coverage
File… to see Vix’s own coverage in Vix’s gutter. Locally: make coverage
(the same command; reports land in target/llvm-cov/). It needs
cargo install cargo-llvm-cov and rustup component add llvm-tools-preview.
Using it
Tools → Load Coverage File… prompts for the report’s path (relative paths resolve from the workspace root) and shows the gutter immediately. Each line gets a colored bar:
- Green — covered (executed).
- Red — uncovered (never executed).
- Yellow — partially covered (executed, but not every branch was taken — only reported when the format records branch data).
Tools → Toggle Coverage Gutter shows/hides it again without re-reading the file — reload with Load Coverage File… after a fresh test run.
The coverage gutter and the git diff gutter share one gutter-sign column, so only one shows per buffer at a time: while coverage is visible, the diff gutter is skipped for that tab.
Set the coverage_path setting to pre-fill Load Coverage File…’s
prompt with your project’s usual report path, so accepting it is a single
keystroke after a test run.
See the specification at crates/vix-coverage/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Cowork: edit together in real time
Cowork lets several people edit the same files at the same time, each in their own terminal running Vix, and see each other’s cursors. One person hosts: their Vix owns the files and is the only one that writes to disk. Everyone else joins with an invite.
Cowork is for pairing and mobbing. It is not a hosted service: there is no server, account or cloud in between, and nothing is shared unless the host chooses to share it.
Get a build with Cowork
Cowork is off by default, so the standard build has no collaboration or
listening code. Build Vix with the cowork feature:
cargo install vix-tui --features cowork
# or, from a checkout:
cargo run --features cowork
Everyone in the session needs a build with Cowork. All the actions below live
under Tools → Cowork and in the command palette (>cowork).
Host a session
- Open the file you want to work on.
- Choose Tools → Cowork → Host Session…. The prompt suggests
127.0.0.1:0: this computer only, on any free port. To let people on your network join, type an address they can reach, for example0.0.0.0:7070. If they reach you at a different address (a VPN or a forwarded port), typebind=advertise, for example0.0.0.0:7070=203.0.113.5:7070. - Vix shows an invite, a line starting
vix-cowork:1:. Send it to one person over a channel you trust. Each invite works once, for 10 minutes. Tools → Cowork → New Invite makes another. - Choose Tools → Cowork → Share This Buffer for each file to share. Nothing is shared until you do this. Stop Sharing This Buffer takes it back.
When someone uses an invite, Vix asks you before they get anything:
Ada (192.0.2.10:52814) wants to join. Allow as: view, edit, terminal, or no
Press Enter to let them in view-only (the default), type edit to let
them type, terminal to let them type and also (once you allow it) type in a
terminal you share, or type no (or press Esc) to refuse.
Join a session
- Choose Tools → Cowork → Join Session… and paste the invite.
- Wait for the host to let you in.
- Each file the host shares opens in a tab named
cowork:plus its path. These tabs belong to the host’s session: Save asks the host to write the file, and nothing is written on your computer.
A view-only guest’s shared tabs are read-only until the host grants edit.
While you work together
- Cursors. Everyone’s caret and selection show in the shared buffer, each person in their own color (chosen to stay readable on your theme). The status bar lists who else is in the file you are looking at.
- Undo (
Ctrl+Z) and Redo undo only your own typing, never a collaborator’s. - Follow… pins your view to a participant: you jump to whatever file and line they are on. Any key or click of your own stops following. Choose Follow… again with an empty number to stop.
- Peers lists everyone, with their number and permission.
- Chat. Every session has a chat: the Session conversation in the IM
panel (IM → Chat Panel). It needs nothing set up and rides the same
encrypted connection. Each line is signed with the sender’s verified
identity (
ana #2), and the panel lists who is in which file. Nothing pops up: a new line raises the unread count in the status bar. Type/follow 2there to follow participant 2. See IM. - Session Notes opens one Markdown buffer the whole session shares, for an agenda, decisions or a to-do list. The host and edit guests write it, view-only guests read it. It is not a file: Save does nothing, so copy it into a file to keep it.
- Mute in Chat… (host) stops relaying a guest’s chat lines; choosing it again for the same number unmutes them. Remove Guest… (host) ends a guest’s part in the session; they need a new invite to come back.
- Permissions… (host) changes a guest’s level: type the guest’s number and
view,editorterminal, for example2 edit. - Leave Session ends your part. When the host leaves, the session ends for everyone. A guest who leaves keeps each shared file as an unsaved, untitled copy.
Share the file tree
By default a guest sees only the files the host shares one by one. To let guests browse and pick files themselves:
- The host chooses Tools → Cowork → Share File Tree (choose it again to stop).
- A guest chooses Tools → Cowork → Shared Files…. The host’s files appear in the file finder; type to filter and press Enter. The file opens for you, in a background tab for the other guests, and in a background tab on the host, so the host always sees what is shared. At most 32 files are shared at once.
The list follows the project’s .gitignore and leaves out hidden files.
Some files are never listed or shared, whatever anyone asks: .env
files, .git/, .ssh/, .vix/ (project settings and the trusted
environment), cloud credentials, SSH keys, and key files such as *.pem and
*.key. A guest can only reach files inside the host’s project folder; a
symbolic link that points outside it, or at a private file, is refused.
Share your terminal
The host can show its integrated terminal (Tools → Terminal) to everyone in the session, for example to watch a build or a test run together. The terminal and its shell stay on the host’s computer; guests see what it shows. With several terminals open, the one shared is the tab you were on when you confirmed; switching tabs afterwards doesn’t change what guests see, and the shared tab is marked. Scrolling back in it is not shared.
- Open the terminal, then choose Tools → Cowork → Share Terminal. Vix
asks first, and warns that guests will see everything the terminal
shows from then on, including any password, token or key printed in it.
Press
yto share,nor Esc to keep it private. - Guests are told that a terminal is shared. A guest chooses Tools →
Cowork → Shared Terminal to show it, and
Ctrl+]to hide it again. - A shared terminal is read-only. To let guests type, choose Tools →
Cowork → Allow Terminal Input and press
y. Only guests you gave theterminallevel can then type, and anything they type runs in your shell, as you. Choose Allow Terminal Input again to make it read-only. - Choose Share Terminal again, or close the shared terminal (Tools → Terminal → Close Terminal on its tab), to stop sharing. A new share always starts read-only.
The guest sees the host’s terminal at the host’s size; a smaller window shows its top-left part.
Security
- Encrypted, always. Every byte after a short greeting is encrypted and authenticated with the Noise protocol. There is no unencrypted mode.
- The invite is the key. It holds a one-time secret and the host’s public key, so only its holder can join, and only the real host can answer. Treat it like a password; it expires after 10 minutes and works once.
- The host decides. The host approves each person by name, gives view-only access unless they say otherwise, and is the only one who writes to disk. A guest cannot reach a path outside the project.
- Limits. A shared file can be at most 5 MB, and binary files are never shared.
- The terminal is opt-in twice. Sharing it and letting guests type in it
are separate choices, each confirmed, and typing also needs the
terminallevel. Clear anything secret off the screen before you share it. - Cowork has no relay or NAT traversal: the guest must be able to reach the host’s address directly (the same network, a VPN, or a forwarded port).
Not yet
- A dropped connection does not reconnect: the host sends a new invite.
- Searching the contents of the host’s files is not available yet. Only the integrated terminal can be shared (one at a time), without its scrollback.
- Chat has no history beyond the session, no private messages between two participants, and threads on lines are still shared through Git only.
See the design and decision record in spec/cowork/index.md and the crate
specifications in crates/vix-cowork/spec/index.md and
crates/vix-cowork-net/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
DB — the database workbench
The DB menu (mnemonic Alt+D) opens a full-screen database workbench:
saved connections, a schema tree, a SQL query editor with autocomplete and
live highlighting, and a results grid with sorting, filtering, and export.
It works with SQLite files and PostgreSQL / MySQL servers through
embedded drivers (the sqlx crate — bundled SQLite, pure-Rust
Postgres/MySQL over rustls), so nothing else needs to be installed. Each
workbench connection holds one persistent connection, which means
session state — temporary tables, search_path, and above all
BEGIN / COMMIT / ROLLBACK transactions — carries across statements.
Connections
DB → Connections… (or the command palette, DB: Connections) lists your saved connections.
- Enter connects · a adds · e edits · d deletes · Esc/q closes.
- The add/edit form: ↑/↓ pick a field, type to edit it, Space cycles the engine kind (sqlite → postgres → mysql), Enter saves.
- Paste a connection string into the form to fill it: a
postgres://,postgresql://,mysql://orsqlite:URL, or a libpqkey=valuestring (host=db port=5432 dbname=shop user=me sslmode=require, values may be single-quoted). A password in the string is held in memory for the next connect and never saved. - The Environment row cycles
local(default) →development→testing→staging→production, shown as a badge in the list and the editor title. On production every write shows its SQL and asks, even inside a transaction. It is saved in your settings file as a[db_environments]table (name = "production"). - Share with MCP (off by default) lets AI agents that run
vix --mcpread this connection: list its tables, describe them, and run read-only queries (at most 100 rows), each logged. Saved as a[db_mcp_shared]table (name = true). See MCP server. - Server engines prompt for a password on connect. It is masked, kept only in memory for the session, and never written to disk — saved connections persist in your settings file without any password field.
- For SQLite, only the File field matters; a fresh path creates the file.
The workbench
Three panes — schema tree, query editor, results — cycled with Tab / Shift+Tab. Esc returns to the connections list. The hint line at the bottom shows the most common keys on one line; this page lists all of them.
These keys work in any pane:
- F5 / Ctrl+Enter run the statement at the cursor, F9 runs them all, F6 / F7 explain (see Query editor).
- F8 toggles write mode for the session; connections open read-only.
- Ctrl+C cancels a running statement. On PostgreSQL and MySQL it asks the
server to stop it, so temporary tables, session settings and an open
transaction survive (a cancelled statement inside a transaction leaves it
needing a
ROLLBACK). On SQLite, or when the server refuses, Vix reconnects instead, and the status line says if a transaction was lost. - Ctrl+L opens the query log: every statement run this session with its duration, row count and outcome, color-coded by latency; Enter loads a statement back into the editor.
- Ctrl+E builds an ER diagram of the live schema as Mermaid
erDiagramtext in a viewer; y copies it. - Ctrl+R, Ctrl+S, Ctrl+B: history and saved queries.
- Ctrl+P runs a
.sqlfile (below), Ctrl+D opens schema compare, Ctrl+U imports a CSV or TSV file. - AI helpers, which see only the schema, never a row (all refused when
ai = "off"):- Ctrl+A asks in plain language for SQL: type a question and press
Enter; the SQL lands in the editor with its plan, and F5 runs it.
Start the question with
?to get a plain-English answer about the schema instead. - Ctrl+O asks for a faster version of the statement at the cursor, sending it with its plan.
- Ctrl+F fixes the last error: it sends the failed statement and the error message and puts the corrected query in the editor.
- Ctrl+K explains the statement at the cursor in plain English, without running it.
- Ctrl+A asks in plain language for SQL: type a question and press
Enter; the SQL lands in the editor with its plan, and F5 runs it.
Start the question with
Schema tree (left)
Schemas expand into Tables / Views / Functions folders.
- ↑/↓ (or j/k) move · ←/→/Space collapse/expand · Enter on a table shows its columns.
- i indexes · f foreign keys · g triggers · x constraints ·
s statistics (row count and size) · D the table’s
CREATEstatement (DDL) — each report opens in the results grid. - R shows the table’s relations: its foreign keys to other tables, the foreign keys on other tables that point at it, and the views that read from it (on SQLite the view list is a best guess from each view’s SQL).
- p previews the table’s data (
SELECT * … LIMIT 200). - A copies the table for AI: its columns, primary key, foreign keys, constraints and indexes, plus up to 50 rows, as Markdown.
- / searches the tree live (matches show regardless of collapse state); Enter keeps the filter, Esc clears it.
- r refreshes the schema after DDL changes.
- m marks the table under the cursor for export (press again to unmark); e exports the marked tables — or, with none marked, the table under the cursor. See Exporting whole tables.
Query editor (right, top)
Type SQL; multiple statements separated by ; are fine.
- Ctrl+Enter or F5 executes only the statement under the cursor; F9 executes all statements in order (stopping at the first error).
- F6 shows the query plan (
EXPLAIN;EXPLAIN QUERY PLANon SQLite); F7 runsEXPLAIN ANALYZE. If the plan contains a full table scan, the message line suggests considering an index. On PostgreSQL the plan is shown as a tree, one row per step: with F7 each step shows its share of the total time, the slowest steps are highlighted in red, and a step whose row estimate is off from the real count by 10× or more is flagged in yellow. - Statements that write (
INSERT,UPDATE,DELETE,DROP, … — even hidden inside aWITHCTE) ask for confirmation first, showing the SQL: Enter/y runs, Esc/n cancels.EXPLAIN ANALYZEof a write asks too, since it really executes. Inside an open transaction a write runs without asking, exceptDROP/TRUNCATEand any write on a production connection. - Transactions just work: run
BEGIN, some statements, thenCOMMITorROLLBACK— the persistent connection keeps the transaction open between executions. Savepoints too. - Alt+Shift+F re-formats the statement at the cursor: keywords
uppercased, major clauses on their own lines,
AND/ORindented. - Autocomplete pops up as you type: SQL keywords, table names from the
connected database, and
table.column completion. Aliases work too: afterFROM orders o(orAS o, orJOIN … c),o.offers the columns oforders. ↑/↓ choose, Tab accepts, Esc dismisses. - Highlighting follows your Vix™ theme’s
syntaxcolors (keywords, strings, numbers, comments), the same ones the code editor uses.
Results grid (right, bottom)
- ↑/↓ (or j/k), PgUp/PgDn, Home/End move; ←/→ (or h/l) select a column; the title shows the row count.
- s cycles a sort on the selected column: ascending ▲ → descending ▼ → off. Numbers compare numerically.
- / filters rows live (any cell, case-insensitive).
- y copies the selected cell, Y the whole row (tab-separated).
- x shows the selected row vertically, one column per line.
- f on a foreign-key cell follows it to the row it references.
- c charts a two-column (label, number) result as a bar chart.
- A copies for AI: the statement, the rows from the top of the visible page (at most 50, filter and sort applied) and, on a table preview, the column types, as Markdown to paste into a chat. It is your copy to share; Vix’s AI assistant is still shown the schema only, never a row.
- v opens the cell viewer for long content — p toggles JSON pretty-printing, y copies, Esc closes.
- e exports the current view (filter and sort applied): ←/→ choose
CSV, TSV, JSON, NDJSON, Markdown, or SQL
INSERTs; Tab switches between writing a file and copying to the clipboard; Enter exports.
Editing a table
Press p on a table in the tree to preview it. If the table has a primary key, the preview is editable; nothing is written until you commit.
- i edits the selected cell. For a boolean, an enum or a column with a
CHECK (col IN (…))constraint, ↑/↓ pick from its allowed values. Generated columns are read only. - A value starting with
=is an SQL expression the server computes when you commit:=now(),=upper('x'),=NULL. Type\=to store text that starts with=. - a adds a new row (blank cells take the column default), d marks the selected row for deletion (press it again to restore the row), and u discards a row’s changes. Changed cells are yellow, new rows green, and deleted rows red and struck through.
- W commits everything in one transaction (write mode, F8, must be on). If a row changed since you loaded it, or any statement would affect anything other than exactly one row, the whole commit is rolled back and your changes stay staged.
Searching a table on the server
/ filters only the rows already loaded (a preview loads at most 200).
To search the whole table, press F on a table preview: choose a column
and an operator with ↑/↓ and ←/→, type a value, and press Enter.
The operators are contains (case-insensitive), =, <>, <, <=, >,
>=, between (low..high), IN (a, b, c), IS NULL, IS NOT NULL, and
a raw SQL condition written as is. Vix quotes the column and the value for
your database, runs the query on the server, and the results stay
editable. Delete in the search form clears the search.
Exporting whole tables
e in the schema tree exports whole tables, not just the rows loaded in the grid. ←/→ choose the format:
- CSV, JSON or NDJSON — one file per table (
users.csv, …) in the directory you type (created if missing;schema.table.csvwhen the tables come from more than one schema). JSON keepsNULL, numbers and booleans typed; CSV writesNULLas an empty field. - SQL — one file of
INSERTstatements for every chosen table, insideBEGIN;…COMMIT;, ordered so a table comes after the tables its foreign keys reference. If the foreign keys form a cycle, the tables keep the order you chose and a comment at the top says to load with foreign-key checks off. At the end, sequences are reset:setvalon PostgreSQL’s serial and identity sequences,ALTER TABLE … AUTO_INCREMENTon MySQL, andsqlite_sequenceon SQLite.
Enter starts the export. It runs in the background on a second,
read-only connection, inside one consistent snapshot (REPEATABLE READ READ ONLY on PostgreSQL, WITH CONSISTENT SNAPSHOT on MySQL, one read
transaction on SQLite), and rows stream straight to disk, so even a very
large table never sits in memory. The status line shows progress, and you
can keep working meanwhile (disconnecting or closing the DB overlay stops
the export and removes its partial file). Because it is a separate connection, a
transaction you have open in the workbench is never touched — and its
uncommitted changes are not in the export. An in-memory SQLite database
cannot be seen from a second connection, so it cannot be exported this way.
Running a .sql file
- Ctrl+P in the workbench asks for the path of a
.sqlfile, loads it into the query editor, and runs it statement by statement, stopping at the first error — exactly like F9. - DB → Run Buffer in Workbench does the same with the buffer you are editing (unsaved changes included).
- Writes still follow the usual rules: refused on a read-only connection, confirmed first otherwise.
- psql meta-commands (
\copy,\connect,\i,\set, … — lines that start with a backslash) are not SQL. If the script has any, nothing runs: the message line lists their line numbers, and the script stays in the editor for you to fix. F9 applies the same check to anything in the editor.
Schema compare
Ctrl+D in the workbench (or DB → Schema Compare…) compares one schema of the connected database with another saved connection of the same engine (PostgreSQL or SQLite; not MySQL), and writes the migration that makes that other database — the target — match the one you are connected to.
- Pick the target with ↑/↓; type to change the schema name (
publicby default on PostgreSQL); Enter compares. The target connects like any other connection: password command, keyring, or a password prompt. - The review lists every difference — tables, columns, keys, checks,
indexes, foreign keys, views, functions, triggers, enums, sequences — with
a checkbox. Space toggles one; the bottom pane shows both definitions
and the SQL. Changes that drop a table or column (destructive) start
unchecked; changes that can fail on existing rows (risky:
NOT NULL, a unique index, a type change, a new constraint) are flagged. - The migration is ordered so it runs: types first, then drops, then creates, foreign keys after their tables, views and triggers last. Views that use a dropped or retyped column are dropped and recreated around it.
- Enter shows the whole script, y copies it, s saves it as a
.sqlfile, o opens it in the editor, and r runs it on the target in one transaction after a confirmation — if any statement fails, nothing changes. A read-only target refuses to run until F8 allows writes. - SQLite can only add and drop columns in place; other SQLite table changes show as manual notes in the script.
Importing a CSV or TSV file
Ctrl+U asks for the path of a .csv or .tsv file (a tab for .tsv and
.tab, a comma otherwise) and loads it into a new table named after the file:
the header row becomes the columns, all of type TEXT, and the other rows are
inserted. It creates and writes a table, so write mode (F8) must be on; on
a production connection it shows its SQL and asks first. The statements
run in order and stop at the first error, which can leave the new table empty.
Query history and saved queries
- Ctrl+R opens the history: every executed statement, newest first, deduplicated, kept across sessions (capped at 200). Enter inserts an entry back into the editor as a new statement; d deletes one.
- Ctrl+S saves the statement at the cursor under a name; Ctrl+B browses the saved queries with the same keys.
- Both live in your config directory (
db_history.toml,db_queries.toml), separate from settings.
All of this is also reachable from the DB menu and the command palette.
See the specification at crates/vix-db/spec/index.md and the
session design notes at crates/vix-db/spec/session.md.
Vix™ and Vix IDE™ are trademarks.
Debugger
Vix™ has an integrated debugger built on the Debug Adapter Protocol (DAP), the
same standard used by VS Code. You bring a debug adapter (e.g. debugpy,
codelldb); Vix drives it. Every debugger command is on the Run menu and
in the command palette.
For a guided first session with debugpy, see
Tutorial 10: Debugging with DAP.
This page is the reference.
Configure an adapter
Add adapters to your config.toml, matched to files by extension:
[[debug_adapters]]
adapter_id = "debugpy"
extensions = ["py"]
command = ["python", "-m", "debugpy.adapter"]
[[debug_adapters]]
adapter_id = "codelldb"
extensions = ["rs", "c", "cpp"]
command = ["codelldb"]
[debug_adapters.launch]
program = "{program}"
The [debug_adapters.launch] table is merged into the adapter’s launch request;
{program} expands to the file you’re debugging. An optional
[debug_adapters.attach] table is what Run → Attach sends instead, as the
attach request (e.g. processId = "4242"; values that read as JSON numbers,
booleans, objects or arrays are sent as such).
Start and stop
- Run → Start (
run.start) starts the adapter configured for the active file’s extension and launches it. Run → Attach (run.attach) sends theattachtable instead. - The status line says Debugger started and the Debug panel opens in the right dock. If the adapter cannot be started it says Failed to start debug adapter.
- With no file open it says Open a file to debug; with no adapter for the file’s extension, No debug adapter configured for this file type.
- Run → Stop (
run.stop) ends the session (Debugger stopped). The session also ends when the program exits.
Only one debug session runs at a time. Program output streams to the bottom dock.
Breakpoints
Vix has four kinds. Line, function and instruction breakpoints can be set before a session starts; every new session sends them during its handshake, and changes during a session are sent at once.
| Kind | Set with | Gutter | Kept after Vix exits |
|---|---|---|---|
| Line | Run → Toggle Breakpoint, Run → Edit Breakpoint… | ● | Yes, per workspace |
| Function | Run → Function Breakpoint… | none | Yes, per workspace |
| Instruction | Run → Instruction Breakpoint… | none | No (kept until Vix exits) |
| Data | Run → Data Breakpoint on Variable, or b in the Debug panel | none | No (this session only) |
Exception breakpoints are a fifth switch, chosen per adapter (below).
Line breakpoints
Run → Toggle Breakpoint (run.toggle_breakpoint) adds or removes a
breakpoint on the cursor line, drawn as a red ● in the gutter. The Eclipse
keymap binds it to Ctrl+Shift+B; the other keymaps leave it to the menu
and the palette.
Run → Edit Breakpoint… (run.edit_breakpoint) asks three questions in
a row about the cursor line’s breakpoint, creating it if there is none:
- Breakpoint condition, line N (empty: none): an expression; the program stops only when it is true.
- Hit count condition, line N (e.g. 3 or >= 5; empty: none): how the adapter counts hits.
- Log message, line N (logs instead of stopping; empty: none): turns the
breakpoint into a logpoint. How
{expr}in the message is filled in is up to the adapter.
Each prompt starts with the current value. An empty answer clears that field,
and Esc at any prompt abandons the whole edit. When you answer the last
prompt, the status line says Breakpoint on line N updated. Toggling the
breakpoint off removes it with all three fields.
Line breakpoints, with their condition, hit count and log message, are saved for the workspace when Vix exits and come back at the next start, even when you open Vix on a single file.
Function breakpoints
Run → Function Breakpoint… (run.function_breakpoint) asks for a
Function name to toggle a breakpoint on (empty: cancel). A new name adds a
breakpoint (Function breakpoint set on NAME), a name that already has one
removes it, and an empty answer does nothing. If the running adapter does not
support function breakpoints the status line says This debug adapter does
not support function breakpoints.
Instruction breakpoints
Run → Instruction Breakpoint… (run.instruction_breakpoint) asks for a
Memory reference of the instruction to toggle a breakpoint on, e.g. 0x4005d0
(empty: cancel), spelled the way your adapter spells addresses. The same
reference again removes it. With no session the breakpoint is only recorded,
and the next session sends it. If the running adapter cannot set them, the
prompt does not open and the status line says This debug adapter does not
support instruction breakpoints. They are not saved when Vix exits, because
addresses change from one run of a program to the next.
Data breakpoints
A data breakpoint stops when the memory behind a variable is written. While
the program is stopped, highlight a variable in the Debug panel and press b
(or choose Run → Data Breakpoint on Variable, run.data_breakpoint).
Vix asks the adapter whether that variable can be watched:
- If it can, the breakpoint is set on writes (or on the first kind of access
the adapter offers, when it offers no write watch): Data breakpoint set on
NAME. Pressing
bon the same variable again removes it. - If it cannot, the status line gives the adapter’s reason.
- With no variable highlighted, the status line says Select a variable in the Debug panel first. An adapter without data breakpoint support gives This debug adapter does not support data breakpoints.
Data breakpoints last for one session only and have no row in the Debug panel; the status line reports each change.
Exception breakpoints
Run → Exception Breakpoints… (run.exception_filters) opens the
Exception Breakpoints checklist of the filters your adapter offers (for
example, raised or uncaught exceptions), one [x] or [ ] row each. Enter
toggles the highlighted filter and keeps the list open; Esc closes it.
Until you change anything, the filters the adapter marks as defaults are on.
Your choice is sent at once and kept for later sessions until Vix exits.
The adapter only lists its filters once a session has started. Before that, the status line says No exception filters: start a debug session whose adapter offers them.
Step through the program
When the program stops at a breakpoint (or after Pause), the editor jumps
to the stop, the line is marked ▶ in the gutter, and the status line says
Paused (REASON) with the adapter’s reason.
- Run → Continue runs to the next stop.
- Run → Step Over, Step Into and Step Out move one step.
- Run → Pause stops a running program.
Inline values
While stopped, the stopped line shows the values of the variables it mentions at its end, for example:
y = x + p.x x = 1 p = Point
Only whole names count (xx does not show x), at most eight variables are
shown, and a value longer than 40 characters is cut short with …. The
values come from the first scope the panel expands (usually the locals). They
disappear when the program continues or the session ends.
The Debug panel
Run → Toggle Debug Panel (run.panel) shows or hides the Debug panel
in the right dock; it also opens by itself on Start. With no session it
reads Not debugging. Debug → Start. During a session it has four sections:
- Threads: every thread;
▶marks the current one. - Call Stack: the selected thread’s frames.
- Variables: the selected frame’s scopes, each expandable. The first scope that is cheap to fetch opens by itself.
- Watch: your watch expressions and their values.
An expandable row shows ▸ (closed) or ▾ (open), and a value follows its
name after =.
Run → Focus Debug Panel (run.focus_panel) shows the panel and gives it
the keyboard:
| Key | Action |
|---|---|
↑ / ↓, PageUp / PageDown, Home / End | Move the highlight (section headings are skipped) |
Enter | On a thread: select it. On a frame: select it and jump the editor there. On a scope or variable: expand or collapse it |
→ / ← | Expand / collapse (← on a child moves to its parent) |
e | Change the highlighted variable’s value (New value for NAME), if the adapter supports it |
b | Toggle a data breakpoint on the highlighted variable |
Esc | Give the keyboard back to the editor |
Keys with Ctrl, Alt or Super, and the function keys, still go to your
keymap, so Run commands bound to keys keep working while the panel has
focus.
Children of a variable are fetched the first time you open it, to any depth. When the program stops again, the variables you had open are opened again, matched by name, so stepping through a loop keeps your view.
Watches and Evaluate
- Run → Add Watch… (
run.watch) asks for a Watch expression. It is evaluated in the selected frame every time the program stops and listed under Watch. - Run → Evaluate… (
run.repl) asks Evaluate (debug) and prints the result of a one-off expression to the bottom dock.
Remote workspaces
In a remote workspace the adapter runs on the remote machine, started in the workspace root, and breakpoints and stops use the remote paths. The debugger waits until you trust the remote workspace. An adapter that listens on a TCP port instead of standard input and output is not supported.
Limits
- One debug session at a time.
- Data and instruction breakpoints have no row in the Debug panel, and an instruction breakpoint takes a memory reference only (no condition).
- A remembered expansion is matched by names, so two sibling variables with the same name share it.
See the specification at crates/vix-dap/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Dictionaries and Spell Checking
Vix™ can spell-check your prose while leaving your code alone: it underlines misspelled words in comments and string literals only. Spell checking uses Hunspell dictionaries, which Vix autodetects from your system or loads from a directory you configure.
Turning spell checking on
Spell checking is off by default. Toggle it with View → Editor → Toggle
Spellcheck (or the command palette, action view.spellcheck). The choice
persists across sessions via the spellcheck setting.
When on, misspelled words are underlined in red. Only comment and string
ranges are checked — code identifiers are not flagged. Vix also skips code-like
tokens it does find inside those ranges: all-caps acronyms (HTTP),
camel/Pascal-case identifiers (fooBar), and very short words.
Suggestions popup
Place the cursor on a misspelled word and press Ctrl+; to open the
suggestions popup:
| Key | Action |
|---|---|
↑ / ↓ | Select a suggestion |
Enter | Replace the word with the suggestion |
a | Add the word to the session dictionary |
i | Ignore the word for the session |
Esc | Close the popup |
Words you add persist across sessions: they are appended to
user_dictionary.txt in the config directory (one word per line) and loaded into
the checker on every launch. The ignore set is still per-session. To remove a
persisted word, edit that file.
How dictionaries are found
Vix resolves a dictionary in this order of locations:
- The
dictionary_pathsetting, if set — searched first. - The repo’s bundled
./dictionariesdirectory. - The platform’s standard Hunspell directories, plus whatever
hunspell -Dreports.
Standard Hunspell directories
Unix:
/usr/share/hunspell//usr/local/share/hunspell/$XDG_DATA_HOME/hunspell(falling back to~/.local/share/hunspell)
macOS:
/Library/Spelling/~/Library/Spelling//opt/homebrew/share/hunspell//System/Library/Services/AppleSpell.service/Contents/Resources/AppleSpell.8~/Library/Dictionaries/$XDG_DATA_HOME/hunspell(falling back to~/.local/share/hunspell)
Vix also runs hunspell -D and searches the directories that command reports.
Supported dictionary layouts
Each dictionary is an .aff (affix rules) + .dic (word list) pair. Vix accepts
two on-disk layouts:
- Standard Hunspell —
<dir>/<name>.{aff,dic}, for example/usr/share/hunspell/en_US.affanden_US.dic. - wooorm/dictionaries —
<dir>/<locale>/index.{aff,dic}, for exampledictionaries/en/index.affanddictionaries/en/index.dic.
A dictionaries/ directory using the wooorm layout looks like:
dictionaries/
en/ { index.aff, index.dic }
en-GB/ { index.aff, index.dic }
es/ { index.aff, index.dic }
fr/ …
Locale resolution
The spell-check language follows the UI locale (set in View → Locale). Changing the locale reloads the dictionary.
To resolve a dictionary for a locale such as en-GB, Vix tries, in order:
en-GB, then en_GB, then the base language en, and finally any en_* file
(for example en_US). The language follows the UI locale, falling back to the
base language and then en.
A missing dictionary leaves spell checking silently inert — there is no error, and the app runs fine without it.
The dictionary_path setting
The dictionary_path setting (default empty) adds one directory that Vix
searches first, before the bundled and system locations. Set it in your
configuration (see ../configuration/index.md) to point at your own dictionary
collection.
Note the spelling: the setting is dictionary_path (not dictionary_dir).
Obtaining dictionaries
The dictionaries are not vendored in this repository — the full set is about
287 MB across 92 locales, so it is listed in .gitignore. Use the standard
wooorm/dictionaries set, whose index.aff + index.dic per-locale layout
matches the directory structure above. Fetch only the locales you need into
dictionaries/; at minimum, dictionaries/en/ for default English. For example:
- Clone https://github.com/wooorm/dictionaries and copy its
dictionaries/<locale>folders into this project’sdictionaries/, or - Install the matching
dictionary-<locale>npm packages and copy theirindex.aff/index.dicintodictionaries/<locale>/.
Example
Enable spell checking and fix a typo in a comment:
- Open View → Editor → Toggle Spellcheck.
- A misspelled word in a comment or string is underlined in red.
- Move the cursor onto it and press
Ctrl+;. - Pick a suggestion with
↑/↓and pressEnterto replace it — or pressato add it to your session dictionary, orito ignore it this session.
Vix™ and Vix IDE™ are trademarks.
Compare Files
See how two files differ, and move changes between them, without leaving Vix™. Both sides are real, editable buffers.
Opening a comparison
- Tools → Compare → Compare With File… (or the command palette): type the path of the file to compare the current file against (relative paths resolve from the workspace root). The other file opens on the left, the current file on the right, in a side-by-side split.
- From the shell:
vix --diff OLD NEW, which is also howgit difftoolruns Vix (see the CLI page).
Working in it
- The gutter marks each side’s changes: yellow for a changed line, green for a line only on that side, red where lines exist only on the other side.
- The two panes scroll together: the other pane follows the one you’re in.
- Where one side has fewer lines than the other in a change, it shows blank hatched filler rows, so both panes stay row for row aligned below every change. Fillers are not text (the cursor skips them) and are not drawn with soft wrap on.
- Next Difference and Previous Difference move the cursor between changes.
- Copy Change to Left and Copy Change to Right copy the change at the
cursor to the other side, as one undo step there (like vimdiff
do/dp). - Edit either side as normal. Saving a side saves that file, and the comparison updates as you type.
- Show as Unified Diff opens the read-only unified view (green
+added, red-removed,⋯between changes). Scroll it with↑/↓orPageUp/PageDown, and close it withEscorq. - Close Comparison removes the split. Both files stay open. Closing either tab also ends the comparison.
An unsaved, untitled buffer has no file to put in a pane, so comparing one opens the unified view instead.
See the specification at crates/vix-diff-view/spec/index.md. For changes against the Git
HEAD version of a file, use the diff gutter and per-hunk tools
instead.
Vix™ and Vix IDE™ are trademarks.
Format with Prettier
Vix™ can format JavaScript, TypeScript, JSON, CSS, HTML, Markdown, YAML, GraphQL and Handlebars files with your own Prettier. Vix never bundles Node or Prettier: install it yourself.
Turn it on
Prettier is opt-in per language. List the languages in config.toml:
prettier_languages = ["typescript", "css", "markdown"]
The language ids are javascript (.js .jsx .mjs .cjs), typescript
(.ts .tsx .mts .cts), json (.json .jsonc .json5), css (.css .scss .less), html (.html .htm .vue), markdown (.md .markdown .mdx), yaml,
graphql and handlebars.
Use it
For a listed language, Format Document and
format_on_save run prettier --stdin-filepath <file> instead of the language
server. Files in any other language still use the language server.
Prettier reads your .prettierrc*, .editorconfig and .prettierignore
itself, so the result matches what prettier --write gives you. An ignored
file is left unchanged.
Which Prettier runs
- The nearest
node_modules/.bin/prettier, walking up from the file. - The first
prettieron yourPATH.
A project-local Prettier is code from the repository, so Vix uses it only in a
workspace you have trusted (the same decision that gates project scripts). In
an untrusted workspace only the PATH Prettier runs.
When it cannot run
The buffer is left unchanged and the status line says why: Prettier was not found (with how to install it), it timed out after 10 seconds, or it failed (usually a syntax error, with Prettier’s message).
Edit Bytes
Edit Bytes shows the active buffer’s bytes as a classic hex dump — an offset column, sixteen hex byte pairs, and an ASCII gutter — and lets you move a byte cursor and overwrite bytes by typing hex digits.
Opening
Open it from Edit → Mode → Bytes… or the command palette (Edit Bytes). The view loads the buffer’s bytes; sixteen are shown per row, with the cursor byte highlighted in both the hex and ASCII columns.
Moving and editing
- Arrow keys or h / j / k / l move the byte cursor; Home / End jump to the row ends; PageUp / PageDown page.
- Type a hex digit (
0–9,a–f) to overwrite the current byte: the first digit sets the high nibble, the second sets the low nibble and advances. Moving the cursor resets the nibble. - Editing is overwrite-only (no insert or delete), so the file length stays stable.
- u undoes, Ctrl + R redoes.
Saving and closing
Ctrl + S writes the bytes back to the buffer and saves it. Esc or q closes.
Note: the bytes are decoded to UTF-8 (lossily) for the text buffer, so this
surface targets the bytes of text files; a full binary round-trip is a future
refinement. See the specification at crates/vix-edit-bytes/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Edit JSON
Edit JSON opens the active buffer as a foldable tree of objects, arrays, and scalar values, so you can browse and edit structured data without hunting through braces. It shares one editor with Edit YAML — only the parser and serializer differ.
Opening
Open it from Edit → Mode → JSON… or the command palette (Edit JSON). The buffer is parsed into a tree; object key order is preserved, and numbers keep their original textual form so they round-trip unchanged. If the buffer is not valid JSON (or YAML), Vix™ says so instead of opening.
Folding and navigating
- ↑ / ↓ (or k / j) move to the previous / next visible row; PageUp / PageDown, Home / End page and jump.
- ← / → (or h / l) collapse / expand the selected container, or step to its parent / first child. Space toggles the fold.
Editing values
- Enter or F2 edits the selected scalar; type the new value, Enter
commits, Esc cancels. The text is interpreted as
true/false/null, a number when it parses as one, otherwise a string. On a container, Enter toggles the fold. - u undoes, Ctrl + R redoes.
Saving and closing
Ctrl + S serializes the tree back to JSON (pretty-printed, key order preserved) into the active buffer and saves it. Esc or q closes.
See the specification at crates/vix-edit-value/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Edit Outline
Edit Outline turns the active buffer into a foldable, reorderable tree — code folding, but for prose, and a file-explorer-style hierarchy of the buffer’s lines. It is one of Vix™’s edit surfaces: a full-screen overlay that owns its own keys and saves back to the buffer.
Opening
Open it from Edit → Mode → Outline… or the command palette (Edit Outline). Each line becomes an outline item whose level is its indentation depth — leading tabs, or two spaces per level, auto-detected from the buffer.
Folding and moving
- ↑ / ↓ (or k / j) move to the previous / next visible item.
- ← / → (or h / l) close / open the item:
←collapses it (or jumps to the parent when there is nothing to collapse),→expands it (or steps into the first child). Space toggles the fold. Collapsing an item hides its whole subtree. - Home / End, PageUp / PageDown jump and page through visible items.
Restructuring
- Tab / Shift + Tab (or Alt + → / ←) indent / outdent the item and its subtree. Indenting needs a preceding sibling to nest under.
- Alt + ↑ / ↓ move the item (with its subtree) up / down among its siblings. (Terminals can’t send Tab+arrow, so these moves use Alt+arrows.)
- u undoes, Ctrl + R redoes.
Saving and closing
Ctrl + S writes the restructured outline back to the buffer (indentation is regenerated from each item’s level) and saves it. Esc or q closes.
This is distinct from the read-only Code Outline (Ctrl+Shift+O), which lists
code symbols. See the specification at crates/vix-outline-panel/spec/edit-outline/index.md.
Vix™ and Vix IDE™ are trademarks.
Edit SQL
vix-edit-sql mode gives a .sql file a tidy, statement-at-a-time view. Open it
from Edit → Mode → SQL… or the command palette (Edit SQL).
Vix™ splits the buffer into individual SQL statements (it knows not to split on
semicolons inside strings or comments) and lists them, each tagged with its kind
(SELECT, INSERT, CREATE, …) and a one-line preview.
From the list you can:
- Move with
↑/↓(ork/j),PgUp/PgDn,Home/End. - Reorder a statement with
Alt+↑/Alt+↓(orK/J). - Delete a statement with
d. - Format keywords to uppercase with
f(selected) orF(all). - Undo / redo with
u/Ctrl+R. - Save back to the buffer with
Ctrl+S; Esc orqcloses.
It’s a practical way to reorganize and clean up SQL scripts — not a full SQL
parser. See the specification at crates/vix-edit-sql/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Edit Table
Edit Table opens the active buffer as a spreadsheet-like grid of rows and columns, so you can view and edit delimited data — CSV and TSV — without counting commas. It is one of Vix™’s edit surfaces: a full-screen overlay over the editor that owns its own keys and saves back to the buffer.
Opening
Open it from Edit → Mode → Table… or the command palette (Edit Table). The
delimiter is chosen from the file extension — .tsv is tab-separated, everything
else is parsed as CSV (RFC 4180 quoting). The first row is treated as the header
and is pinned while you scroll.
Moving around
- Arrow keys or h / j / k / l move the cell cursor.
- PageUp / PageDown move by a screen; Home / End jump to the first / last column; g / G jump to the first / last row.
Editing
- Enter or F2 edits the selected cell; type to change it, then Enter commits and moves down, Tab commits and moves right, Esc cancels.
- Delete clears the current cell.
- Alt + ↑ / ↓ insert a row above / below; Alt + ← / → insert a column to the left / right. Alt + Delete deletes the row; Alt + Backspace deletes the column. At least one row and one column always remain.
- s / S sort the data rows by the current column, ascending / descending (numeric cells compare numerically; the header stays put).
- / starts a search; type a query and Enter jumps to the next match; n repeats it.
- u undoes, Ctrl + R redoes.
Saving and closing
Ctrl + S serializes the grid back to delimited text in the active buffer and
saves it (the normal Save / Save As flow applies). Esc or q closes the
editor. A * in the title marks unsaved edits.
See also the Edit Outline prose outliner and the
specification at crates/vix-editor/spec/edit-table/index.md.
Vix™ and Vix IDE™ are trademarks.
Edit YAML
Edit YAML opens the active buffer as a foldable tree of mappings, sequences, and scalar values. It is the YAML twin of Edit JSON: the same editor, navigation, and editing keys — only the file format differs.
Opening
Open it from Edit → Mode → YAML… or the command palette (Edit YAML). The buffer is parsed into a tree (mapping key order preserved). If it is not valid YAML, Vix™ says so instead of opening.
Using it
Navigation, folding, and value editing are identical to Edit JSON — see Edit JSON for the full key reference:
- ↑ / ↓ / ← / → (or k / j / h / l) to move and fold,
- Enter / F2 to edit a scalar, Space to toggle a fold,
- u / Ctrl + R to undo / redo.
Saving and closing
Ctrl + S serializes the tree back to YAML into the active buffer and saves it.
Esc or q closes. See the specification at crates/vix-edit-value/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Emmet Expansion
A pragmatic subset of Emmet abbreviation expansion: type a compact abbreviation, then expand it into indented HTML in place.
Using it
Type an abbreviation ending at the cursor — the contiguous non-whitespace run immediately before it — then choose Edit → Emmet Expand or the command palette. Vix™ replaces that run with the expanded HTML.
If the run doesn’t parse as Emmet, nothing is replaced and the status line says so instead.
Supported syntax
The expander covers the common operators and modifiers:
| Syntax | Meaning |
|---|---|
> | child |
+ | sibling |
*N | multiply (repeat N times) |
#id | id attribute |
.class | class attribute (.a.b for multiple) |
{text} | literal text content |
$ | numbering inside text within a multiplied element |
Grouping with () is not supported — an abbreviation that needs it
doesn’t parse, and nothing is replaced.
A single abbreviation is also capped at 100,000 expanded elements, so a
runaway multiply like div*900000000 fails to parse rather than hanging or
exhausting memory.
Example
With the cursor right after ul>li.item$*3, choosing Edit → Emmet
Expand replaces it with:
<ul>
<li class="item1"></li>
<li class="item2"></li>
<li class="item3"></li>
</ul>
Notes
Expansion is pure logic in crate::emmet::expand (editor action
edit.emmet_expand), with no dependency on file type — it works in any
buffer. See the specification at crates/vix-emmet/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
File Encodings
Vix detects a file’s text encoding when it opens it, and writes the file back in the same encoding, byte for byte.
Detection
A byte-order mark wins; then valid UTF-8; then a guess for legacy encodings. A guess is used only if the file decodes with no malformed sequences and re-encodes to exactly the same bytes. Otherwise the file opens read-only with unreadable bytes replaced, so detection can never silently corrupt a file. UTF-16 is always saved with a BOM, since without one it cannot be told from binary.
The status bar shows the encoding in use (see Status panel).
Choosing one
| Action id | Menu item | Does |
|---|---|---|
file.reopen_with_encoding | File → Reopen with Encoding… | Re-reads the file decoded as the encoding you pick. |
file.save_with_encoding | File → Save with Encoding… | Saves the buffer in the encoding you pick. |
The chooser offers 16 labels: UTF-8 (with and without a BOM), UTF-16LE/BE,
windows-1252/1250/1251, ISO-8859-2/15, KOI8-R, GBK, gb18030, Big5, Shift_JIS,
EUC-JP and EUC-KR. A character the chosen encoding cannot hold fails the save;
nothing is ever written as ?.
See the specification at crates/vix-encoding/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
FHIR Client
Talk to an HL7 FHIR server from the editor: build a request from a one-line
command, read the result as pretty-printed JSON, and browse search results
one row per Bundle entry. It builds on the HTTP client
and, like it, is part of the http capability.
Menu: Tools → FHIR Request… and Tools → FHIR Bundle….
1. Server profile — .vix/fhir.json
Create .vix/fhir.json in the workspace root:
{
"base_url": "https://fhir.example.com/r4",
"auth": { "type": "bearer", "token_env": "FHIR_TOKEN" }
}
auth is optional (default: no authentication) and is one of:
type | Fields | Behavior |
|---|---|---|
none | — | No Authorization header. |
bearer | token_env | Sends the token in that environment variable. |
smart_backend | token_url, client_id_env, client_secret_env, scope | SMART-on-FHIR backend services: fetches a token with the OAuth2 client-credentials grant (HTTP Basic client authentication) before each request. |
Secrets never live in the file. The *_env fields name environment
variables, and each must look like FHIR_[A-Z0-9_]+. A literal "token" is
rejected as an unknown field, and a name outside the FHIR_ prefix is
refused, so a repository you clone cannot make Vix send AWS_SECRET_ACCESS_KEY
(or any other variable) to its server. An authenticated profile must use
https (loopback hosts such as http://localhost:8080 are allowed for
development). Start Vix from a shell that has the variables set:
FHIR_TOKEN=… vix .
Not supported: private_key_jwt (signed client assertion) authentication; only
client_secret_basic.
2. Tools → FHIR Request
Opens a prompt. Type one line:
<interaction> [Type[/id]] [name=value&name=value…]
| Line | Request |
|---|---|
capabilities (or metadata) | GET [base]/metadata |
read Patient/123 | GET [base]/Patient/123 |
search Patient name=smith&_count=20 | GET [base]/Patient?name=smith&_count=20 |
create Patient | POST [base]/Patient, body = the active buffer |
update Patient/123 | PUT [base]/Patient/123, body = the active buffer |
delete Patient/123 | DELETE [base]/Patient/123 |
history Patient/123 / history Patient | GET [base]/Patient/123/_history / …/Patient/_history |
Every request sends Accept: application/fhir+json; create and update also
send Content-Type: application/fhir+json. Write search parameters
unencoded; Vix percent-encodes them (a comma, which means “or” in FHIR, and a
:modifier such as status:not stay as typed). The resource type and id are
validated, and a create/update body must be a JSON object whose resourceType
matches the line (and, for update, whose id matches the URL) before anything
is sent.
The request is sent on a background thread. The response opens in a new untitled JSON tab:
- a resource is pretty-printed;
- a Bundle is pretty-printed and the status line reports its entry count;
- an OperationOutcome (any status, usually 4xx/5xx) starts with one
readable line per issue —
error (not-found): Resource Patient/zz is not knownplusat <expression>lines — followed by the JSON; - an empty body (for example
204after a delete) only reports the status.
3. Tools → FHIR Bundle
Opens the Bundle viewer on the active buffer if it holds a Bundle, else on
the last FHIR response. One row per entry: the Type/id reference, the
search mode or transaction-response status, and a short label (a patient’s name,
an observation’s code, a title…).
| Key | Action |
|---|---|
↑ ↓ PgUp PgDn | Move the highlight (a click selects; click again to open) |
Enter | Open the entry’s resource, pretty-printed, in a JSON tab |
n | Follow the Bundle’s next link and replace the list with that page |
Esc | Close |
A next link is followed only if it is on the same origin as base_url
(scheme, host and port); otherwise Vix refuses, so a hostile server cannot make
the editor send your credential elsewhere.
Privacy
FHIR data is protected health information, so by default Vix:
- never logs or caches it to disk — responses live in unsaved tabs and in one in-memory slot (the last Bundle, for the viewer); sessions store file paths only;
- keeps tokens in memory for one request and never writes them anywhere;
the
Secrettype prints asSecret(***); - puts no URL, body or token in a status or error message — a network failure just says the server could not be reached, because a search URL can contain a patient’s name.
Anything you save from a tab (Save As) is, of course, then on disk.
See also
- HTTP Client — the
.httprequest buffers this reuses. crates/vix-fhir/spec— the crate’s specification.
File Explorer
The file explorer is Vix™’s built-in left dock: a directory tree for browsing, opening, and managing your workspace files without leaving the keyboard.
Status: Shipped.
Showing and Focusing the Explorer
Ctrl+Btoggles the file explorer sidebar on or off. When a nested file is active, toggling the explorer on expands the tree and reveals that file.Ctrl+Eswitches focus between the file explorer and the editor.
Navigation
Use the arrow keys to move through the tree:
- Up / Down move the selection up and down.
→/Enteropen a file or expand a directory.←collapse an expanded directory, or jump to its parent.←never expands.
Opening Files
Enteropens the selected file and focuses the editor.- Arrow Up / Down also open the highlighted file in a preview tab automatically as you move, so you can scan files without leaving the keyboard.
Preview tabs
- Single-click opens a file in an ephemeral preview tab. The next single-click on another file replaces it instead of piling up tabs.
- Any real commitment promotes the preview to a permanent tab: editing the file,
pressing
Enter, double-clicking, clicking the tab itself, or a layout action like splitting. - Double-click opens the file in a permanent tab and focuses the editor.
Preview tabs are enabled by default. Turn them off with the preview_tabs
setting (see ../configuration/index.md) if you prefer every click to open a
permanent tab.
Mouse Support
- Wheel moves the selection.
- Click a file to preview it; click it again to open it permanently.
- Click a directory to expand or collapse it.
Cut / Copy / Paste
Ctrl+C/Ctrl+X/Ctrl+Vcopy, cut, or paste the selection.- A same-directory copy auto-appends a suffix:
copy,copy 2, and so on. - A same-directory cut is a no-op.
- Pasting into a different directory with a name conflict prompts per file: (o)verwrite, (O) all, (s)kip, (S) all, (c)ancel.
Cut-pending items are visually dimmed. Cancel a pending cut with Escape, or
by pasting it back into the same directory.
Multi-Selection
Shift+Up/Shift+Downextend a multi-select range from the current anchor.- All clipboard operations — and delete — act on the whole selection.
Deleting
Deleteremoves the selection. Deletion always asks for confirmation first, and the prompt says which will happen.- By default, deleted items go to the OS trash / Recycle Bin — undoable from
there. Set
explorer_delete = "hard"inconfig.tomlto remove outright instead (no undo). Seedocs/configuration/index.md.
Editing a Directory as Text
File → Edit Directory… (palette: Explorer: Edit Directory, action
explorer.edit_directory) opens a directory as an editable buffer, one line
per entry, in the style of Emacs’s wdired and Neovim’s Oil. It lists the
directory highlighted in the explorer (or a highlighted file’s directory) when
the explorer has focus, otherwise the active file’s directory, otherwise the
workspace root.
/001 docs/
/002 a.txt
/003 b.txt
The /001 prefix is the entry’s id: it is how Vix knows which entry a line
was, so leave it alone. Directories end in /. Then edit the text:
- Rename an entry by changing the name after its id. Swapping two names works: Vix moves one aside under a temporary name first.
- Create an entry by adding a line without an id:
notes.mdmakes an empty file,drafts/a directory. - Delete an entry by deleting its line. Deletes follow the
explorer_deletesetting: the OS trash by default, or removed outright with"hard".
Save (Ctrl+S) to see what will change: one row per rename, create and
delete. y or Enter applies it, n or Esc cancels. Nothing on disk
changes before that. A listing that can’t be applied is refused with a
reason on the status line: a repeated or unknown id, a name that isn’t a
single entry (empty, ., .., or containing /), or two lines with one
name. Nothing is ever overwritten; if a step fails, the rest are skipped and
the error goes to Messages. Afterwards the buffer is re-read from disk, and
open buffers follow renamed files and close for deleted ones.
Buffers Follow Files
Open buffers stay in sync with file operations:
- Renaming or moving a file (via cut + paste) relocates any open buffers pointing at it.
- Deleting a file closes its buffer.
- Renaming a directory relocates buffers for every file inside it.
Roadmap
Drag-and-drop is a planned nice-to-have, not yet built.
Vix™ and Vix IDE™ are trademarks.
Git Graph
Git → Log → Graph… shows your repository’s history as a graph: one row per
commit, with lanes on the left that follow the branches and merges, the
branches and tags that point at each commit, and its subject, author and date.
It is the interactive sibling of Git → Log → Graph, which only prints
git log --graph text in the bottom dock.
●─╮ (*main, #v1) merge topic Ann 2026-10-27
│ ● (topic) side Ann 2026-10-26
● │ mainline Ann 2026-10-25
╰─╯ ...
(* marks the branch HEAD is on and # a tag.)
Using it
- Move with the arrow keys and PageUp/PageDown, or click a row.
- Search by just typing: rows are narrowed to commits whose hash, author, subject or ref names contain the text. Backspace edits the search.
- Filter by branch or tag with
Tab(andShift+Tabto go back). It steps through all refs, then each local branch, remote branch and tag. - Open a commit with
Enteror by clicking the highlighted row: its diff opens in a read-only tab titled<hash> graph, the same way Browse Log… does. - Check out the commit with
Ctrl+O(after a yes/no). If a local branch points at it, Vix switches to that branch; otherwiseHEADis detached there. - Create a branch at the commit with
Ctrl+B: type the name and pressEnter. - Cherry-pick the commit onto the current branch with
Ctrl+P(after a yes/no). If the pick stops on a conflict, it is undone and the error is shown, so the repository is never left half-done. - Copy the hash with
Ctrl+Y. Esccancels a pending question, and otherwise closes the graph.
History loads 200 commits at a time; the next page loads as you scroll toward the end of the list.
See also
- Git Panel for staging and committing.
- The
vix-git-graphcrate spec (crates/vix-git-graph/spec/index.md) for how the lanes are assigned.
Git
Vix™ is Git-aware. It shows the state of your repository while you edit and lets
you stage, commit, switch branches, and sync with remotes without leaving the
editor. Vix works by shelling out to your own git CLI, so your credential
helpers, SSH agents, and hooks behave exactly as they do on the command line.
Git state (whether the directory is a repo, the current branch, the list of changed files, and the committed file contents) is cached and refreshed automatically at startup, after each save, and after every git action. You can also refresh it on demand from the Changes panel.
Awareness
Vix surfaces the state of your working tree in three places, all of which update as you work.
Status bar
The status bar shows the current branch name. When the working tree has changes,
a dirty dot (•) appears next to the branch name. Click the branch indicator
to open the Git Changes panel.
File explorer badges
Changed tracked files carry a colored one-letter badge in the file explorer:
| Badge | Meaning | Color |
|---|---|---|
M | modified | yellow |
A | added | green |
? | untracked | green |
D | deleted | red |
R | renamed | cyan |
U | conflicted | magenta |
Editor diff gutter
In the line-number gutter, the editor draws a colored bar for each line that differs from its committed (HEAD) version:
- green — added line
- yellow — modified line
- red — deleted line
The gutter is computed by diffing the current buffer against its cached HEAD contents, and is drawn in both the normal and the soft-wrap view (in soft-wrap, a changed logical line shows its bar on its first visual row).
The coverage gutter uses this same column to show test coverage instead; the two share it, so only one shows per buffer at a time.
The Git menu
The Git menu gathers the git actions:
- Changes… — open the Changes panel (see below).
- Switch Branch… — choose a local branch to check out.
- Pull / Push / Fetch — sync with the remote.
- Stash List… and Worktree ▸ — manage stashes and worktrees (see below).
- Rebase ▸ — interactive rebase, continue/abort, and cherry-pick (see below).
Every Git menu item is also available from the command palette (for example, “Git: Changes”).
Changes panel
Open the Changes panel from Git → Changes…, from the command palette, or by clicking the branch indicator in the status bar.
The panel is a modal list of changed files. Each row shows a staged checkbox
([✓]) and the file’s change letter (M/A/?/D/R/U). The active branch
appears in the panel title (and in the status bar).
Keybindings
| Key | Action |
|---|---|
↑ / ↓ | Move the selection |
Space | Toggle the selected file staged / unstaged |
s | Stage the selected file |
u | Unstage the selected file |
Enter | Open the selected file’s changes as a diff against HEAD |
d | Discard the selected file’s unstaged changes (asks first) |
c | Commit (prompts for a one-line message; runs git commit) |
r | Refresh the status |
Esc | Close the panel |
Discard restores the file from the index (git restore --worktree), so staged
changes are kept. It refuses an untracked file rather than deleting it.
Git → Change Gutter Base… chooses what the editor’s change gutter compares
against: head (default), index (staged hunks stop being marked), disk
(only unsaved edits) or a branch. See the git_gutter_base setting.
Git → Review Range… opens a branch comparison (main..feature), a commit
or a stash (stash@{0}) as one read-only multi-file diff. Next/Previous
Review Hunk move between hunks, and Comment on Review Line… saves a
comment on the line under the cursor (empty text removes it) in
.vix/review/<range>.json, shown under the line and reloaded the next time you
review that range. Export Review Comments writes the same comments as
Markdown (.vix/review/<range>.md) to paste into a pull request or an agent
prompt. See Branch review.
Git → Diff with HEAD and Git → Diff with Staged open the active file’s diff against its committed or staged version, including unsaved edits.
Commit is available only when something is staged. The commit prompt accepts a
multi-line message: press Enter to commit, or Alt+Enter to start a new
line (e.g. a subject line, a blank line, then a body).
Mouse
A left click on a row toggles its staged state.
Refreshing
Vix re-reads git status when the panel opens, after each save, and after every
git action, so changes you make on the command line are reflected. Press r to
refresh on demand.
Switch Branch
Git → Switch Branch… lists your local branches in a chooser. Press Enter
to check out the highlighted branch (Vix runs git switch), then Vix refreshes
its cached state and the file explorer.
Open buffers are reloaded automatically: after the switch, every clean (unmodified) open file is re-read from disk so it reflects the new branch. Buffers with unsaved edits are left untouched, and a notification reports how many files were reloaded.
Pull, Push, and Fetch
Pull, Push, and Fetch run git pull, git push, and git fetch
through the async Run Command pipeline. Their output streams to the bottom dock,
and the cached git state refreshes when the command finishes.
Examples
Stage a file and commit it:
- Click the branch indicator in the status bar (or use Git → Changes…).
- Use
↑/↓to select the file, then presssto stage it. - Press
c, type a one-line commit message, and confirm.
Switch to another branch:
- Open Git → Switch Branch….
- Highlight the branch and press
Enter.
Per-hunk staging
Beyond whole-file staging in the panel, you can stage, unstage, and revert individual diff hunks straight from the editor — put the cursor inside the hunk, then:
- Git → Stage Hunk (
git.stage_hunk) stages just that hunk into the index. - Git → Unstage Hunk (
git.unstage_hunk) removes just that hunk from the index. - Git → Revert Hunk (
git.revert_hunk) restores the committed text for it. - Git → Next Change / Previous Change jump between changed hunks.
Hunk staging is safe: it only acts when the index still matches the expected text
for the hunk’s region. See crates/vix-git/spec/stage-hunk/index.md and
crates/vix-git/spec/unstage-hunk/index.md, and
Hunk Staging and Merge Conflicts for
the details and for resolving merge conflicts.
Blame
Git → Blame Line shows the cursor line’s commit (hash, author, date, summary)
in the status bar. Git → Toggle Inline Blame turns on a dimmed end-of-line
annotation for the cursor’s line (author, date · summary) that follows the
cursor as it moves between lines; it persists in the inline_blame setting (off
by default) and is shown in the normal, non-wrapped view. Both blame the
buffer as you see it, so with unsaved edits the line numbers still match and
edited lines show as not committed yet.
History
Beyond the plain streamed-to-the-dock Log views (All, Graph, Since…), Git → Log has three interactive ones:
- Browse Log… lists recent commits (hash, date, author, subject);
↑/↓navigate,Enter(or a click) opens the highlighted commit’s diff in a read-only tab. - File History is the same list, scoped to the active file
(
git log --follow, so renames are tracked) —Enteropens that commit’s diff for just this file. - Open File at Revision… prompts for a revision (a branch, tag, or any
commit-ish) and opens the active file’s content there, read-only, titled
file @ abbrev.
None of these three write anything — they’re all read-only views for looking at history, not editing it.
Stash list
Git → Stash and Git → Stash Pop stash the working tree and restore
the most recent stash. Git → Stash List… lists every stash
(stash@{0} is the newest) in a chooser:
| Key | Action |
|---|---|
↑ / ↓ | Move the selection |
Enter (or click) | Open the stash’s diff in a read-only tab titled stash@{N} |
a | Apply the stash and keep it in the list |
p | Pop the stash: apply it, then remove it from the list |
d / Delete | Drop the stash, after a yes/no question |
Esc | Close the chooser |
After an apply or pop, unmodified open files are reloaded from disk. A conflict is reported in the message drawer and the stash is kept.
Worktrees
A worktree is a second checkout of the same repository in its own folder, usually on its own branch, so you can work on two branches at once. The Git → Worktree submenu manages them:
- Add… asks for a folder (relative to the workspace, such as
../my-feature) and runsgit worktree add. git creates a new branch named after the folder, starting at the current commit. - List… shows every worktree: its folder, its branch (or
detached/bare), and whether it is the current one, locked, or missing.Enterswitches the workspace to the highlighted worktree,aadds one, anddremoves one. - Remove… shows the same list;
Enterremoves the highlighted worktree.
Switching works like Project → Switch…: Vix saves the current workspace’s session and restores the worktree’s own, so each worktree remembers its own open files. Removing asks first, and git refuses to remove a worktree with uncommitted changes or untracked files. You can’t remove the main worktree, or the one you have open, from here.
In a remote workspace, stash and worktree commands run on the remote host.
Interactive rebase
Git → Rebase → Interactive Rebase… rewrites recent history. It asks for
a base: a branch, a tag, or a commit such as HEAD~3. Then it lists every
commit after that base, oldest first, each marked pick:
| Key | Action |
|---|---|
↑ / ↓ | Move the selection |
Alt+↑ / Alt+↓ | Move the selected commit earlier / later |
p | pick: keep the commit as it is |
r | reword: type a new message for it (one line; it replaces the whole message) |
e | edit: stop after this commit so you can change it |
s | squash: meld into the commit above, keeping both messages |
f | fixup: meld into the commit above, dropping this message |
d | drop: leave the commit out |
Enter | Run the rebase |
Esc | Close without changing anything |
No editor opens: Vix hands git the list you made. The first commit can’t be
a squash or fixup, because there is nothing above it to meld into. The tree
must be clean, as for any git rebase.
The rebase stops at an edit, or when a commit doesn’t apply cleanly.
Change the files, stage them (or resolve the conflict), then choose
Git → Rebase → Continue Rebase. Abort Rebase gives up and puts the
branch back where it was.
Cherry-pick
Git → Rebase → Cherry-Pick… asks for a branch (or any revision), then
lists that branch’s commits that the current branch doesn’t have, in the
Browse Log panel. Enter shows a commit’s diff; c applies it on top of
the current branch (git cherry-pick). If it conflicts, git’s message
appears in the message drawer; resolve the conflict and commit as usual.
Roadmap
The core Git features are in place. Remaining ideas:
- Inline blame in the soft-wrap view (currently the non-wrapped view only).
Vix™ and Vix IDE™ are trademarks.
Hunk Staging and Merge Conflicts
This page goes deeper than the Git Panel overview on two jobs you do from inside the editor, one hunk or one conflict at a time:
- Hunks. Move between the changed regions of a file, then stage, unstage or revert one of them without touching the rest of the file.
- Merge conflicts. Find the conflict blocks git left in a file and keep ours, theirs or both, one block at a time or from a list of all of them.
Every command here is on the Git menu and in the command palette (type
> and part of the title). None of them has a default key in the shared
keymap; the Zed keymap binds
Previous Change to Alt+, and Next Change to Alt+.. Vix runs your
own git for all of it, so it works in any repository your git can read.
For a guided walk-through on a throwaway repository, see Tutorial 4: The Git Workflow.
What a hunk is
A hunk is a run of adjacent changed lines in the active buffer compared with
the file’s last commit (HEAD). Vix compares the buffer, not the file on
disk, so unsaved edits count. A deleted block has no lines left in the
buffer; Vix treats it as sitting on the line just after the deletion, so put
the cursor on that line to act on it.
The hunk commands always compare with HEAD. Git → Change Gutter Base…
changes only what the change gutter colors (for
example index, so staged hunks stop being marked). It does not change which
hunks these commands find.
Hunks need a saved file inside a git repository: in an untitled buffer, or with no changes, every hunk command reports No changes against HEAD.
Moving between hunks
- Git → Next Change (
git.diff_next) moves the cursor to the first line of the next hunk below it. - Git → Previous Change (
git.diff_prev) moves to the previous one.
Both wrap: past the last hunk, Next Change goes back to the first, and Previous Change before the first goes to the last. The same two commands are also on the Go menu.
Stage Hunk
Git → Stage Hunk (git.stage_hunk) stages the hunk under the cursor and
nothing else:
- Vix starts from what is staged for the file now (or from
HEADwhen nothing is staged). - It replaces that hunk’s region with the hunk’s lines from the buffer.
- It writes the result as the file’s index entry (
git hash-object, thengit update-index --cacheinfo).
The buffer and the file on disk do not change. Because the staged lines come from the buffer, you can stage an edit you have not saved yet. The status line says Hunk staged.
Vix refuses, and changes nothing, when:
| Status line | Why |
|---|---|
| No change hunk at the cursor | The cursor is not inside a hunk. |
| Stage hunk failed: index diverged | The index no longer holds the committed text for this region. This usually means you staged the hunk and then edited it again; unstage the old version first. |
| Stage hunk failed: outside workspace | The file is not under the workspace root. |
Git → Diff with Staged opens the file’s diff against the index, so you can
check what you staged. Then commit from the Changes panel (c).
Unstage Hunk
Git → Unstage Hunk (git.unstage_hunk) is the reverse. It puts the
committed text back into the index in place of the hunk’s lines, and leaves
the other staged changes, the buffer and the file on disk alone. The status
line says Hunk unstaged.
The index must still hold the hunk exactly as the buffer shows it. If you edited the hunk after staging it, change it back first, or Vix refuses:
| Status line | Why |
|---|---|
| Unstage hunk failed: nothing staged | The file has no index entry to change. |
| Unstage hunk failed: hunk not staged | The index does not hold the buffer’s lines for this hunk at that position. |
Revert Hunk
Git → Revert Hunk (git.revert_hunk) replaces the hunk under the cursor
with its committed text, in the buffer only. Nothing is written to disk
or to the index until you save. The buffer is marked modified, the cursor
moves to the start of the hunk, and the status line says Hunk reverted to
HEAD. The revert is one undo step, so Undo brings the edit back.
Getting into a merge conflict
A merge stops on a conflict when both branches changed the same lines. In Vix that happens with:
- Git → Branch → Merge… (
git.merge_branch): choose a local branch and Vix runsgit merge <branch>into the current branch. - Git → Pull → Merge (
git.pull_merge), which runsgit pull --no-rebase.
git’s output, including the list of conflicting files, streams to the bottom
dock. Conflicted files then show the magenta U badge in the file explorer
and the U letter in the Changes panel.
What Vix reads as a conflict
A conflict block is the text between git’s markers:
<<<<<<< HEAD
our lines
=======
their lines
>>>>>>> other-branch
The lines above ======= are ours (the branch you were on) and the lines
below are theirs (the branch coming in). A marker is any line that starts
with seven <, = or > characters; the labels after them are ignored.
Limits worth knowing before you resolve:
- diff3 style is not understood. With
merge.conflictStyle = diff3(orzdiff3), git adds a|||||||line and the common ancestor’s lines. Vix treats them as part of ours, so Keep Ours would keep them too. Use git’s default style, or delete that section by hand. - Nested conflicts are not supported.
- An unfinished block ends the search. If a block is missing its
=======or>>>>>>>line, that block and every block after it are not found.
Resolving one conflict at a time
- Git → Next Conflict (
git.conflict_next) moves the cursor to the<<<<<<<line of the next conflict. It skips the block the cursor is in and wraps to the first block after the last one. - Git → Resolve → Keep Ours (
git.conflict_ours) replaces the whole block, markers included, with our lines. - Git → Resolve → Keep Theirs (
git.conflict_theirs) keeps their lines. - Git → Resolve → Keep Both (
git.conflict_both) keeps ours followed by theirs.
The Resolve commands act on the block the cursor is in, or on the next block below it when the cursor is between blocks. Each one edits the buffer as a single undo step, marks it modified, puts the cursor where the block began, and says Conflict resolved. With no block at or after the cursor, they say No merge conflict here.
For example, with the cursor in the first block of
a
<<<<<<< HEAD
ours1
=======
theirs1
>>>>>>> x
mid
Keep Both leaves a, ours1, theirs1, mid. Later blocks stay as
they were.
The Conflicts list
Git → List Conflicts… (git.conflict_list) opens the Conflicts
overlay for the active buffer. Each row is a number and the first line of
each side, ours on the left:
1: ours1 → theirs1
2: ours2 → theirs2
↑↓ select Enter go to o/t/b resolve Esc close
| Key | Action |
|---|---|
↑ / ↓, PageUp / PageDown, Home / End | Move the highlight |
Enter or a click on a row | Jump to that conflict and close the list |
o / t / b | Keep ours / theirs / both for the highlighted conflict, and stay in the list |
Esc | Close the list |
After each o, t or b the list is rebuilt from the buffer, so it shrinks
by one. It closes by itself when the last conflict is resolved. If the buffer
has no conflicts, the list does not open and the status line says No merge
conflict here.
The list covers the active buffer only. To find the other conflicted files,
look for the U rows in Git → Changes….
Finishing the merge
Resolving a block only edits the buffer. To finish:
- Save the file.
- In Git → Changes…, select the file and press
s(orSpace) to stage it. Staging is how git learns the conflict is resolved. - When every conflicted file is staged, press
cand commit. git records the merge commit.
A conflict during an interactive rebase is finished the same way, except that
step 3 is Git → Rebase → Continue Rebase (or Abort Rebase to give
up). Vix has no command to abort a merge; run git merge --abort in the
terminal.
See also
- Git Panel: whole-file staging, commits, branches.
- Change Gutter Base: what the gutter compares with.
- Branch Review: stage or discard hunks while reviewing a whole branch.
- Interactive Rebase.
- Specs:
crates/vix-git/spec/stage-hunk/index.md,crates/vix-git/spec/unstage-hunk/index.md,crates/vix-conflict-tool/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Change Gutter Base
The editor’s change gutter marks lines that differ from a base. By default the base is the last commit; you can choose another.
Git → Change Gutter Base… (also in the command palette, action
git.gutter_base) opens a list of head, index, disk and one
branch:<name> row per local branch, with the current base preselected. The
choice applies for the session; to make it permanent set git_gutter_base in
your settings file.
| Value | Compares against | Use |
|---|---|---|
head (default) | the last commit | everything not yet committed |
index | the staged version | staged hunks stop being marked |
disk | the file as saved | exactly the unsaved edits |
branch:<name> | the tip of that branch | a feature’s or agent’s whole change as you scroll |
An unrecognized value, or branch: with no name, means head. A file that
is absent from the base (new, or not on that branch) compares against empty,
so every line shows as added. Changing the base recomputes the marks at once.
Stage Hunk, Unstage Hunk and hunk navigation always work against HEAD and the index, whatever the gutter base is. While the coverage gutter is visible it takes the gutter column instead.
See the specification at crates/vix-git/spec/git-integration/index.md
(section “Gutter base”).
Vix™ and Vix IDE™ are trademarks.
Inline Suggestions (Ghost Text)
A dimmed suggestion appears after the cursor as you pause typing, and you accept it without opening a popup. It is off by default.
Turning it on
Set inline_completion in your settings file (see
Configuration):
| Value | Suggestions come from |
|---|---|
"off" (default) | Nothing is requested or drawn. |
"lsp" | A language server that offers textDocument/inlineCompletion (LSP 3.18), such as copilot-language-server. A server that does not advertise it is never asked. |
"ai" | A fill-in-the-middle prompt sent through your configured AI provider. This sends the text around the cursor to that provider, so it is opt-in, and ai = "off" still turns it off. |
Any other value behaves as "off".
Using it
| Key | Action id | Does |
|---|---|---|
Tab | inline_completion.accept | Accept the whole suggestion. |
Ctrl+Right | inline_completion.accept_word | Accept one word; the rest stays as a new suggestion. |
Esc | inline_completion.dismiss | Dismiss it. |
| (palette) | inline_completion.trigger | Ask for a suggestion right now. |
With no suggestion visible these keys do what they always did. Typing or moving the cursor discards a visible suggestion, and a reply that arrives for an older buffer or cursor position is dropped silently.
Vix asks only after the buffer or cursor has been still for the idle delay, with an editor focused, no completion popup, no selection and one caret, and only when the rest of the line after the cursor is blank. Merely opening a file requests nothing.
Only the first line is drawn (cut at the view’s edge, with … when more lines
follow). Soft-wrapped views draw none, though a suggestion can still be
accepted.
See the specification at crates/vix-lsp/spec/index.md (section “Inline
(ghost-text) completion”) and crates/vix-ai-core/spec/index.md (the prompt).
Vix™ and Vix IDE™ are trademarks.
Interactive Rebase and Cherry-Pick
Rewrite recent history from inside Vix, without a text editor opening for git’s todo list. The full key tables are in the Git panel guide; this page is the short version.
Actions (Git → Rebase)
| Action id | Menu item | Does |
|---|---|---|
git.rebase_interactive | Interactive Rebase… | Asks for a base (branch, tag, or HEAD~3), then shows the commits after it, oldest first. Enter runs the rebase. |
git.rebase_continue | Continue Rebase | Continues after an edit stop or a resolved conflict. |
git.rebase_abort | Abort Rebase | Gives up; the branch goes back where it was. |
git.cherry_pick | Cherry-Pick… | Asks for a branch or revision, lists its commits that HEAD lacks; c cherry-picks the highlighted one, Enter shows its diff. |
In the todo list: p pick, r reword, e edit, s squash, f fixup,
d drop, Alt+↑/Alt+↓ reorder, Enter run, Esc cancel.
How it avoids an editor
Vix replaces git’s sequence editor with a command that writes your prepared list, and sets the message editor to accept git’s proposal. A reworded message is passed through an environment variable, never through a shell. A list that starts with a squash or fixup is refused before git runs. While a rebase is stopped, Interactive Rebase… will not start another; use Continue or Abort.
Because the list is built by Vix, git settings such as rebase.autoSquash
and rebase.updateRefs do not apply to it.
See the specification at crates/vix-git/spec/index.md (section
“Interactive rebase and cherry-pick”).
Vix™ and Vix IDE™ are trademarks.
HTML Character Picker
A picker for HTML named character references. You browse a scrollable table of entities — glyph, entity name, and Unicode code point — and insert one into the active editor.
Opening the picker
Open it from the menu bar: Tools → Characters → HTML Characters…. An overlay appears showing the table of HTML named character references, each row rendered as its glyph, its entity name, and its Unicode code point.
Keybindings
| Key | Action |
|---|---|
↑ ↓ | Move the highlight one row |
Page Up Page Down | Move the highlight one page |
Home End | Jump to the first / last row |
Enter | Insert the highlighted entity’s rendered character; keep the picker open |
Esc | Close the picker |
Pressing Enter keeps the picker open, so you can pick several entities in
a row.
Mouse
A click highlights that row. Which text is inserted depends on which column
you click: the glyph column inserts the rendered character, the name column
inserts the bare entity name, and the code-point column inserts the code
point label — each without the surrounding &/;.
Notes
The table is bundled as a TSV and parsed once on first use; the crate itself
is pure data (the character table plus the picker’s row-selection and scroll
state) — the host renders the rows, maps clicks to columns, and performs the
insertion. Inserting into an image tab (or when there is no editable buffer)
does nothing. See the specification at
crates/vix-html-character-picker/spec/index.md.
Example
To insert a non-breaking space: open Tools → Characters → HTML
Characters…, use the arrow keys (or type to scroll) to reach the nbsp;
entry, and press Enter. Its rendered character is inserted at the cursor
and the picker stays open for the next pick.
Vix™ and Vix IDE™ are trademarks.
HL7 v2 View & Send
Read an HL7 v2 message (pipe-and-hat, “ER7”) as numbered segments and fields, and send it to an interface engine over MLLP — all from the active buffer.
Open a message
Put an HL7 v2 message in a buffer. Segments can be separated by newlines or by the carriage returns HL7 files often use:
MSH|^~\&|SEND|FAC|RECV|FAC|202401011200||ADT^A01|MSG0001|P|2.5
PID|1||12345^^^HOSP^MR||DOE^JANE^Q||19800101|F
The first line must be an MSH segment. Its second character is the field
separator and the next four are the component, repetition, escape and
subcomponent characters; Vix reads them from there, so unusual delimiters work.
Tools → HL7 View
Opens an overlay with one row per segment and per non-empty field, numbered the
way the HL7 standard numbers them (MSH-1 is the field separator itself):
PID
PID-3 12345^^^HOSP^MR
PID-3.1 12345
PID-3.4 HOSP
PID-3.5 MR
PID-5 DOE^JANE^Q
PID-5.1 DOE
- Type to filter by field number or value.
- Up / Down / PageUp / PageDown move; Enter (or a click) jumps the cursor to that segment or field and closes the view; Esc closes it.
- The view opens on the segment the cursor is on.
- Escape sequences (
\F\,\S\,\.br\,\X41\, …) are decoded in values.
The parser is lenient: a ragged or damaged message still shows whatever fields it has, and nothing crashes on bad input.
Tools → HL7 Send…
Sends the message to a server that speaks MLLP (the 0x0B … 0x1C 0x0D framing
used by most HL7 v2 interfaces).
- Choose Tools → HL7 Send….
- Type the target as
host:port, e.g.127.0.0.1:2575. The port is required; there is no default and nothing is sent anywhere you did not type. - Press Enter. The send runs in the background; the editor stays usable.
- The reply opens in a new read-only tab: a line such as
Acknowledgement AA for message MSG0001, then the reply’s numbered view. The status line shows the code (AA/CAaccepted;AE/AR/CE/CRrejected).
Timeouts apply to connecting, writing and waiting for the reply, and a failure (host not found, refused, timed out, closed early, malformed reply) is shown as a message without opening a tab.
Privacy and safety
- MLLP is plaintext TCP. Send only over networks you trust, or through a VPN or tunnel.
- Vix never logs, caches or saves a message or its reply. The reply tab cannot be
saved over a file. The last
host:portis remembered in memory for the session only. - Sending is a network action, so it belongs to the
httpbuild capability: a build without it (for example--no-default-features) leaves HL7 Send out. HL7 View is always available.
See the crate specification at crates/vix-hl7/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
HTTP / REST Client
A minimal HTTP client driven by a .http-style buffer — write a request as
plain text, send it, and read the response in a new tab.
Buffer format
Write the request in the active buffer using the common “REST client” shape:
POST https://api.example.com/things
Content-Type: application/json
Authorization: Bearer TOKEN
{"name": "widget"}
- The first non-blank, non-comment line is
METHOD url; the method is optional and defaults toGETif the line is just a URL. - The URL must be absolute (include a scheme) — otherwise the line isn’t recognized as a request at all.
- Lines up to the next blank line are
Header: valuepairs. - Everything after the blank line is the request body.
- Lines starting with
#or//are comments.
Sending it
With such a buffer active, choose Tools → Send HTTP Request or the
command palette. Vix™ sends the request on a background thread (via the
pure-Rust ureq client) so the editor stays responsive, and the status line
shows the URL while it’s in flight.
Only http:// and https:// URLs are accepted; anything else is rejected
before any network activity, both as defense-in-depth and as a clear error.
Several requests in one file
Separate requests with a line starting with ###. Send HTTP Request
sends the request the cursor is in (a file with no ### is one request).
@host = https://api.example.com
@token = {{login.response.body.$.token}}
# @name login
POST {{host}}/login
Content-Type: application/json
{"user": "joel", "id": "{{$guid}}"}
###
GET {{host}}/things
?limit=10
&after={{$datetime iso8601 -1 d}}
Authorization: Bearer {{token}}
-
File variables:
@name = valueanywhere in the file; reference with{{name}}. Values may use other variables. -
System variables:
{{$guid}},{{$timestamp}},{{$datetime iso8601}}orrfc1123,{{$randomInt 1 100}},{{$processEnv NAME}}and{{$dotenv NAME}}(from.envbeside the file).$timestampand$datetimetake an offset such as-1 d(unitsms s m h d w). -
Chaining: put
# @name loginabove a request. Once it has been sent, later requests can use{{login.response.body.$.token}}(a JSON path),{{login.response.body.*}}or{{login.response.headers.X-Id}}. Sending a request that refers to one you haven’t sent says so. -
Query continuation: following lines that start with
?or&are joined to the URL. A trailingHTTP/1.1on the request line is ignored. -
Body from a file: a body that is the single line
< ./payload.jsonis read from that file, which must be inside the.httpfile’s folder. -
Basic auth:
Authorization: Basic user:passwordis base64-encoded for you. -
Copy as curl: Tools → Copy HTTP Request as curl puts the request under the cursor on the clipboard as a
curlcommand, variables expanded. -
Local time:
{{$localDatetime iso8601}}(orrfc1123, with the same optional offset) is$datetimein your computer’s time zone. -
XML responses: for an XML body use an XPath instead of a JSON path:
{{soap.response.body.//Token}},{{r.response.body.//item[2]/@id}}. Supported:/and//steps, names (namespace prefixes ignored),*,text(),@attr, and the predicates[2],[@a]and[@a='v']. The first match’s text is used. -
Azure AD token:
{{$aadToken}}(optionally{{$aadToken https://vault.azure.net tenantid:ID}}) asks the Azure CLI for a token by runningaz account get-access-token. Install the CLI and runaz loginfirst; without it Vix shows an install hint. The token is kept in memory only, never logged or written to disk. The call takes about a second, during which the editor waits.
Environments
Put named sets of variables in .vix/http-env.json in your workspace:
{
"$shared": { "version": "v2" },
"dev": { "host": "https://dev.example.com", "token": "{{$processEnv DEV_TOKEN}}" },
"prod": { "host": "https://example.com", "token": "{{$processEnv PROD_TOKEN}}" }
}
Choose the active one with Tools → HTTP Environment… (the first row means
“no environment”). Vix remembers the choice for the workspace in
.vix/http-env.active. Each section maps names to strings, numbers or
booleans, referenced as {{host}}.
When the same name is defined in more than one place, the active
environment wins over the .http file’s @name = value, which wins over
$shared.
Secrets. Do not write a token or password into http-env.json. Give the
value as {{$processEnv NAME}} so it is read from your shell environment when
the request is sent, and add both files to .gitignore:
.vix/http-env.json
.vix/http-env.active
The response
When the response arrives, it opens in a new tab as plain text: an HTTP status line, the response headers, a blank line, then the body — for example:
HTTP/1.1 200 OK
Content-Type: application/json
{"id": 42, "name": "widget"}
An HTTP error status (4xx/5xx) is still a real response and opens the same way, formatted with its own status line and body. Only a transport failure — DNS, connection, or TLS — is reported as an error message instead of a new tab.
Notes
Parsing is pure logic in crate::http_client::parse_request; sending is
blocking and runs on a background thread, polled once per event-loop
iteration by App::poll_http. See the specification at
crates/vix-http-client/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
IM (instant messaging)
The IM menu lets you talk about code without leaving Vix. It is a
code-aware chat rather than a general chat client: every message can point at
code — a path:line that opens on Enter, a shared selection, a shared cursor
position — and it never interrupts you. IM never opens, focuses or pops
anything up on its own; new messages raise a count in the status bar, and you
open the panel when you choose.
There are three kinds of conversation today:
- Notes — local, only you, always there. It works with no network and no account, so every menu item has somewhere to go. Use it as a scratch log of code references.
- Session — the people in your Cowork session (see below). It appears when a session starts and is gone when it ends; there is nothing to set up.
- IRC rooms and direct messages, through an account you configure. IRC is an open, vendor-neutral protocol; Vix speaks IRCv3 over TLS.
Beside conversations there are threads anchored to lines of your files
(see below), which need no network either. Matrix is planned (see
spec/instant-message/index.md).
The panel
IM → Chat Panel shows the panel beside the editor and gives it the keyboard; choosing it again while the panel has the keyboard hides it. The panel has the conversation list at the top, the messages of the selected conversation, the input line and a key hint.
| Key | Action |
|---|---|
| Enter | Send the input line; on a highlighted message with a code reference, open it |
| Tab / Shift+Tab | Next / previous conversation |
| Up / Down | From an empty input, move into the messages; Down past the newest returns to the input |
| Left, Right, Home, End, Backspace, Delete | Edit the input |
| Esc | Give the keyboard back to the editor (the panel stays shown) |
Shortcuts with Ctrl or Alt and the function keys still reach the menus and the palette while the panel has the keyboard. A click in the panel gives it the keyboard; a click on a conversation selects it. A paste goes into the input as one line and is never sent by itself.
Each message is one line in reading order — time author: text — with the
time in your system’s time zone. Unread counts and mentions are written as
text (3 unread, @), not shown by color alone. A nick in an IRC room shows
(unverified) unless the server confirmed its account.
Commands in the input
| Command | Does |
|---|---|
/me TEXT | Send an action (* ana waves) |
/join #ROOM | Join a room |
/part [#ROOM] [REASON] | Leave a room (the selected one by default) |
/msg NICK TEXT | Message one person directly |
/nick NEW | Change your nick |
/topic [TEXT] | Show or set the room’s topic |
/status available|away|busy | Set your presence |
/follow [N] | In a Cowork session, follow participant N; with no number, stop |
/clear | Clear the conversation on screen |
An unknown command is an error and is never sent as text; the line stays so
you can fix it. To send text that starts with /, double it: //etc/hosts
sends /etc/hosts.
Code references
Any path:line, path:line:col or path:line-line in a message is a code
reference. Highlight the message and press Enter to open the file there. A
reference opens only a file that exists inside the workspace root — never a
path outside it — and never runs anything. URLs are shown, not fetched.
- IM → Share Selection sends the selected lines as a snippet to the
selected conversation. It first shows exactly what will be sent, and to
whom, and sends only on
yor Enter. A selection is limited to 50 lines. - IM → Share Location sends the cursor’s
path:line:col.
Paths are relative to the workspace root, so the people you share with can open them in their own checkout.
Threads on lines
A thread is a short conversation attached to a line, or a range of lines, of a file: a review note, a question for whoever picks the code up next.
- IM → Comment on Line… asks for a comment. On a line that already has a thread it adds a reply; otherwise it starts a thread on the selected lines, or on the cursor’s line. The file must be saved inside the workspace.
- A line with a thread shows
◆in the gutter beside its line number, or◇once the thread is resolved. - IM → Threads… lists every thread in the workspace —
path:line, the number of messages and the first one — with the thread under the cursor highlighted and its messages shown below. Enter opens the file at the thread, r resolves or reopens it, Esc closes the list. - IM → Next Thread and Previous Thread move through the threads in the current file, wrapping around, and show the thread’s first message in the status line.
- IM → Resolve or Reopen Thread toggles the thread on the cursor’s line.
A thread follows its text as you edit: add lines above it and its mark moves down with it; change the line itself and the surrounding lines still place it. If both the text and its surroundings are gone, the thread is outdated: it has no mark, and the list says so.
Threads are stored one JSON file each in .vix/im/threads/ at the
workspace root, written as soon as you comment, reply, resolve or reopen. The
line a thread sits on is updated when you save the file. Commit the directory
to share threads with your team through Git; threads that arrive that way
show up as gutter marks, and nothing pops up. Message text in a thread file is
cleaned like any received message, and a thread whose path leads outside the
workspace is ignored.
The gutter has one sign per line. When several apply, the debugger’s
stopped line (▶) comes first, then a breakpoint (●), then a thread, then
the git change or coverage bar (▎).
Session chat (Cowork)
When you host or join a Cowork session, a Session conversation appears in the list. Nothing opens: like every other conversation it raises the unread count, and you open the panel when you choose. It needs no account and no server — its lines travel inside the session’s own encrypted, authenticated connection — and it is dropped, with its messages, when the session ends. It is never written to disk history.
- Who said it. Every line shows the sender’s identity as the session
verified it: the name the host confirmed when the person joined, and the
number the session gave them (
ana #2; the host is always#1). The host stamps it, so nobody can speak as someone else. - Who is where. While the Session conversation is selected, the panel
lists everyone above the messages, each with the shared file their cursor is
in (or the session notes), and
(you),(host),(muted)and(following)written out. - Code. Share Selection and Share Location work here too. A guest who presses Enter on a reference opens the host’s file if it is already shared in, or asks the host for it (the host must have shared its file tree).
- Follow.
/follow 2follows participant 2 from buffer to buffer, as Tools → Cowork → Follow… does;/followalone, or any key or click in your own view, stops. - Moderation (host). Tools → Cowork → Mute in Chat… stops relaying a guest’s lines (asking again unmutes); Remove Guest… ends their part in the session. Everyone sees a line in the conversation when either happens, and when someone joins or leaves.
- Anyone in the session can talk, including view-only guests.
Session notes. Tools → Cowork → Session Notes opens one Markdown buffer shared by everyone in the session — Zed’s channel notes, kept for the length of a session. It never opens on its own. The host and guests with edit rights write it; view-only guests read it. It is not a file: Save does nothing (copy the text into a file to keep it), and when the session ends it stays behind as an unsaved buffer.
Connecting to IRC
Add an account to config.toml:
[im]
nick = "ana"
[[im.accounts]]
name = "Libera"
server = "irc.libera.chat"
port = 6697
tls = true
channels = ["#vix"]
sasl_user = "ana"
IM → Connect… connects the account (with several, pick one from a list).
The password for SASL sign-in comes only from the environment variable
VIX_IM_PASSWORD_<NAME> — the account name upper-cased, other characters as
_, so VIX_IM_PASSWORD_LIBERA here. Vix never reads a password from a file,
never writes one, and never shows or logs it. Without the variable Vix signs
in without SASL and says so in the account’s conversation.
Each account has a server conversation for connection news and errors. Join Room…, Leave Room and Direct Message… act on the account of the selected conversation. Disconnect closes it.
TLS is the default and the certificate is checked against the Mozilla root
store bundled with Vix. tls = false connects in plaintext and puts a warning
in the conversation.
Connecting to Matrix
Matrix needs a Vix built with the opt-in matrix feature
(cargo install vix-tui --features matrix) and the separate vix-matrix
helper from crates.io (cargo install --locked vix-matrix), which does the Matrix work, including
end-to-end encryption, in its own process. Vix finds the helper beside the
vix program, then on PATH, or at im.matrix_helper when you set it. Add
an account:
[[im.accounts]]
name = "Home"
protocol = "matrix"
homeserver = "https://matrix.org"
user = "@ana:matrix.org"
IM → Connect… starts the helper and signs in. The first time, the
password comes from VIX_IM_PASSWORD_<NAME> (VIX_IM_PASSWORD_HOME here),
as for IRC. Vix hands it to the helper once, over a pipe, never on a command
line. The helper then saves the session in your system keyring, and later
connects resume it without a password. The encrypted message store lives
under the platform data directory (for example
~/.local/share/vix/matrix/Home/), never in the workspace.
Every room you have joined shows up as a conversation; direct-message rooms
show as direct conversations. People are shown by their Matrix user id
(@bob:matrix.org), not their display name, because display names are not
unique. A message from a device its owner has not cross-signed is marked
(unverified), like an IRC nick the server didn’t vouch for. A message this
device has no key for (for example one sent before it signed in) shows as a
system line saying it can’t be decrypted. Join Room… takes a room alias
(#vix:matrix.org) or id, and Leave Room and /me work as for IRC.
Not yet: verifying devices (emoji or QR), restoring older messages from key
backup, starting a new direct conversation, /nick, /topic, threads,
reactions, edits, files and images, and single sign-on. The vix-matrix
helper is not yet in the release archives, Homebrew, npm or the Linux
packages. Set VIX_MATRIX_LOG to a file path to keep the helper’s warnings;
it never logs messages, tokens or keys.
Status and notifications
- IM → Status ▸ Available / Away / Busy sets your presence. It is local: Vix does not broadcast it. Busy silences notifications.
- IM → Notifications ▸ All Messages / Mentions Only / Off sets when a new
message notifies you. The default is Mentions Only: a message that
@-mentions your nick, or any direct message.
A notification is a short note in the status line. The status bar’s IM
segment (IM 3 unread @) shows the unread total, with @ while a mention is
unread, whatever the notification setting. A message in the conversation you
have open on screen is read straight away. IM → Next Unread jumps to the
next conversation with unread messages, mentions first.
History
By default messages live only in memory and are gone when Vix exits. With
history = "disk", each conversation is written as JSON Lines under the
platform data directory (for example ~/.local/share/vix/im/), never inside
the workspace, readable only by you. Messages older than history_days are
dropped when a conversation is loaded. IM → Clear History deletes the
selected conversation’s messages and its file, after asking.
Settings
| Setting | Default | Meaning |
|---|---|---|
im.nick | "" | Your nick; empty uses the operating system user name. |
im.notify | "mentions" | "all", "mentions" or "off". |
im.history | "session" | "session" (memory only) or "disk". |
im.history_days | 30 | Days of disk history to keep. |
im.blocked | [] | Nicks whose messages and mentions are hidden. |
im.accounts | [] | Accounts: name and protocol ("irc", the default, or "matrix"); IRC: server, port (6697), tls (true), channels, sasl_user; Matrix: homeserver, user. |
im.matrix_helper | "" | The vix-matrix helper’s path; empty looks beside vix, then on PATH. |
Security
- Everything received is cleaned before it is stored or drawn: control characters, terminal escape sequences and the bidirectional override characters used in “Trojan Source” spoofing are removed. Text in any script, left-to-right or right-to-left, is otherwise shown as sent.
- Remote text never becomes a terminal hyperlink or any other escape sequence.
- Nothing is sent without you asking: no file names, no presence. In a Cowork session the other participants see the shared file your cursor is in, as Cowork itself already shows them.
- Blocked nicks are hidden locally.
Building without it
im is a Cargo capability feature, on by default and part of the net and
full umbrellas. Without it Vix opens no chat socket: Connect, Disconnect,
Join Room, Leave Room and Direct Message are hidden, and everything else —
the panel, Notes, sharing into Notes, threads on lines, status,
notifications and history — still works. See Cargo features.
See also
- The design,
spec/instant-message/index.md, and the crate specscrates/vix-im/spec/index.md,crates/vix-im-panel/spec/index.mdandcrates/vix-im-irc/spec/index.md.
Hunspell
Vix™ and Vix IDE™ are trademarks.
Insert
The Tools → Insert submenu inserts generated content at the cursor. (It was previously named “Generate”; the UUID and ZID generators still live here, joined by snippet and date helpers.)
UUID
Insert → UUID offers RFC 4122 / RFC 9562 versions 1–8, labeled by what each
encodes (e.g. 4 = Random, 7 = Time + Random). Choosing one inserts a fresh
UUID string. Implemented by vix-uuid-tool; see
crates/vix-uuid-tool/spec/index.md.
ZID
Insert → ZID inserts a secure random lowercase-hex string of the chosen width:
128-bit (32 hex), 256-bit (64 hex), or 512-bit (128 hex). Implemented by
vix-zid-tool; see crates/vix-zid-tool/spec/index.md.
Markdown
Insert → Markdown drops in small Markdown templates: Headline 1/2/3, a Link, a bullet List, a Table, and a Todos checklist.
HTML
Insert → HTML drops in the HTML equivalents: <h1>–<h3> headlines, an <a>
link, a <ul> list, and a full <table> (thead / tbody / tfoot).
SQL
Insert → SQL drops in ready-to-edit PostgreSQL statements: Alter Role,
Create Extension (a commented list of common extensions), Create Function
(an updated_at() trigger function), Create User, Grant Create, Grant
Usage, and Create Table (with an identity key, timestamps, an updated_at
trigger, and a trigram GIN index). The snippets use placeholders (alice,
items) meant to be edited after insertion.
LaTeX
Insert → LaTeX drops in Org/LaTeX-style markup: headlines (* , ** ), a
link, bold/italic/underline, a table, Org planning lines (Deadline,
Scheduled), timestamps (plain, range, repeater), block constructs (Quote, Verse,
Center), and a Drawer. The placeholder text is meant to be edited after insertion.
Org
Insert → Org drops in Org-mode building blocks: Title/Author keywords,
headlines, links and images, plain/ordered/check lists, a table, TODO/DONE
items, planning lines (Deadline, Scheduled), timestamps (plain, range, repeater),
a Drawer, and a Properties drawer. The Org submenu also holds the inline
markers — Tag :, Bold *, Italic /, Underline _, Strikethrough +,
Code ~, Verbatim = — each of which toggles the marker around the selection
(e.g. selecting text and choosing Bold gives *text*; choosing it again
removes the markers).
Insert → Begin-End toggles an Org block around the selection — Comment,
Center, Quote, Verse (#+BEGIN_QUOTE … #+END_QUOTE).
Lorem ipsum
Insert → Lorem ipsum inserts placeholder text — Words, a Sentence, or a Paragraph — derived deterministically from a fixed passage.
Date/Time
Insert → Date/Time inserts the current local time formatted as ISO 8601
(YYYY-MM-DDTHH:MM:SS), RFC 3339 (with the UTC offset), or Epoch (Unix
seconds), using the same formatting logic as Tools → Clock’s live box (see
docs/clock/index.md; implemented by vix-clock-panel).
For a navigable date picker instead, use Tools → Calendar
(docs/calendar-panel/index.md).
See the specifications under spec/tools/insert/.
Vix™ and Vix IDE™ are trademarks.
Jupyter kernels
Run code from the editor in a Jupyter kernel and see
what comes back in the bottom dock, in an Org file’s #+RESULTS:, or in an
image tab, without leaving Vix. Any kernel works:
IPython (ipykernel), IRkernel, evcxr for Rust, Deno, and others. Vix
talks the kernel protocol itself, so it does not need Jupyter Notebook,
JupyterLab or jupyter console, only the kernel.
Get a build with Jupyter
Jupyter support is off by default, so the standard build never starts a
kernel. Build Vix with the jupyter feature:
cargo install vix-tui --features jupyter
# or, from a checkout:
cargo run --features jupyter
The actions live under Run → Jupyter and in the command palette
(>jupyter).
Install a kernel
Vix finds kernels the way Jupyter does: each kernel is a kernel.json in a
kernels/<name>/ directory under $JUPYTER_PATH, your Jupyter data
directory (~/Library/Jupyter on macOS, ~/.local/share/jupyter on Linux,
%APPDATA%\jupyter on Windows), or the share/jupyter directory of the
active virtual environment, Conda environment or the Python on PATH. For
Python:
pip install ipykernel
python -m ipykernel install --user
jupyter kernelspec list shows what is installed. Vix never runs pip
itself; with no kernel installed it says how to install one.
Run code
Put the cursor in the code and choose Run → Jupyter → Run
(Ctrl+Shift+Enter; terminals send that key only with the kitty keyboard
protocol). Vix runs, in this order:
- the selection, if there is one;
- the Org source block around the cursor (
#+begin_src python…#+end_src;jupyter-pythonalso means Python); - the cell around the cursor, in a file split into cells with the
language’s comment followed by
%%(# %%in Python,// %%in JavaScript or Rust), the format VS Code, Spyder and Jupytext use; - the current line.
Run and Advance does the same, then moves the cursor past the code it ran, so you can step through a file cell by cell.
The first run for a language starts that language’s kernel. Vix picks the
kernelspec named for the language in the [jupyter_kernels] setting, else
the first installed kernel for the language; with none, it shows the kernel
picker. One kernel serves each language for the whole workspace, so a
variable set from one file or block is there for the next, as in a notebook.
Start Kernel… opens the picker yourself. Each row shows the kernel’s name, language and the exact command Vix will run.
Example: a Python file in cells
import math
# %% Set up
radius = 2
# %% Area
math.pi * radius ** 2
Put the cursor on the first line and choose Run and Advance three
times. The first time, Vix starts the Python kernel and sends import math
(the lines above the first marker are a cell of their own), then moves the
cursor to the # %% Set up line. The second time it sends radius = 2,
and the third time the “Area” cell: the dock shows 12.566370614359172,
and the same value appears at the end of the cell’s last line.
Output
Output goes to the bottom dock, under a [*] <kernel> line that quotes the
code’s first line:
- printed text (stdout and stderr) and the value of the last expression, as plain text;
- an error as
Name: messageand its traceback, with the colors removed; - a value with several forms uses the plain-text form. When a richer form such as HTML was dropped, the dock says so;
- an image (
image/pngorimage/jpeg, such as a Matplotlib figure) opens in an image tab, and the dock says so and shows the image’s text form. Without theimagefeature, or in a terminal without graphics, the dock says the image cannot be shown here.
When the kernel finishes, the dock adds [n] <kernel>: done (or failed,
or not run when an earlier cell failed), where n is the execution count.
The first line of the last output also shows at the end of the line that
ran. Clear Results removes it.
Org source blocks
In an Org file, put the cursor anywhere in a source block and press
C-c C-c, or choose Run → Jupyter → Run. Vix runs the block in the
kernel for its language and writes the result under it, the way Emacs’s
ob-jupyter does:
#+begin_src python
total = sum(range(10))
print("adding")
total
#+end_src
#+RESULTS:
: adding
: 45
Running the block again replaces the results. The write is one undo step,
so Ctrl+Z takes it back. Long results (10 lines or more) go in a
#+begin_example block, as in Org. Clear Results with the cursor in the
block removes its #+RESULTS:. Blocks share their kernel, so total is
there for the next Python block.
The block’s language picks the kernel: python and jupyter-python both
mean Python. These header arguments on the #+begin_src line are honored:
| Header argument | Effect |
|---|---|
:results value | The default: everything the block shows, in order — printed text, values and errors, as in a notebook cell. |
:results output | Only printed text (stdout and stderr) and errors. |
:results replace | The default: new results replace the old ones. |
:results append | New results go after the old ones. |
:results silent | Nothing is written to the file; the output goes to the dock and the end-of-line hint. |
:file plot.png | Save the block’s image there, relative to the Org file’s folder, and write a link to it. |
:eval no or :eval never | Never run the block. |
:eval query | Ask before every run. |
Words can be combined, as in :results output append. Other header
arguments (:session, :exports, :var, …) are ignored, and so are
#+header: lines and header-args properties.
Example: a plot
#+begin_src python :file sine.png
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 6.3, 100)
plt.plot(x, np.sin(x))
plt.show()
#+end_src
#+RESULTS:
[[file:sine.png]]
The figure is saved as sine.png next to the Org file. Without :file, an
image is saved as <org-file-name>-images/<hash>.png (for notes.org,
notes-images/…). Vix refuses a :file that is an absolute path or climbs
out of the Org file’s folder with ..; then it writes the image’s text form
instead.
The status bar shows the kernel for the buffer’s language: its name, its
state (starting, idle, busy, restarting) and the execution count.
Control the kernel
- Interrupt Kernel stops the code that is running. The kernel and its variables stay.
- Restart Kernel starts the kernel again; its variables are gone.
- Shut Down Kernel stops it. Vix also stops every kernel when it exits.
Each acts on the kernel for the language at the cursor, else the kernel that ran code last.
Safety
A kernel runs code as you, with your files and your network. So:
- Nothing runs on its own. Vix starts a kernel and sends code only when you choose an action. Opening a file, restoring a session or saving never runs anything.
- Org blocks ask first. In a workspace you have not trusted, the first
run of each Org source block in a session asks for confirmation, showing
its language and first lines, like Emacs’s
org-confirm-babel-evaluate:yruns it,ncancels, andaruns it and trusts the workspace for Org blocks from now on (“always in this workspace”, remembered across sessions). A block in a file outside the workspace always asks, and does not offera. A selection, cell or line you send yourself is never prompted. Thejupyter_confirm_evaluatesetting changes this (below). - Kernels in the project need trust. A kernelspec inside the workspace
(such as one in its
.venv) could be a program the repository’s author chose, so Vix uses it only once you trust the workspace (scripts trust, oraabove). Then.venv/share/jupyter/kernelsandvenv/share/jupyter/kernelsare searched too. - Images are checked. Vix refuses an image over 16 MB, over 16,384 pixels on a side, over 16 megapixels, or that is not the type it claims, before decoding it.
- Remote workspaces are refused. A kernel runs on this computer, so Vix does not start one while the workspace is on another machine.
- A private connection. Each kernel gets its own
0700directory and a0600connection file with a random key; on Unix the kernel listens on Unix sockets in that directory, so no TCP port is opened. Every message is signed and checked. Kernels cannot ask for input (input()raises an error instead of waiting).
Settings
# When an Org block asks before it runs: "untrusted" (the default) asks
# for a block's first run unless the workspace is trusted, "always" asks
# every time, "never" never asks. `:eval query` and `:eval never` in a
# block still win.
jupyter_confirm_evaluate = "untrusted"
# Which kernelspec runs each language.
[jupyter_kernels]
python = "python3"
rust = "rust"
Not yet
Remote kernels, input(), widgets, HTML and SVG output, updating a display
in place, kernel completion, .ipynb editing, #+header: lines and
header-args properties, and Org’s table and raw result formats are out of
scope for now. The design is in spec/jupyter.
Language Server Protocol
Vix™ speaks the Language Server Protocol
(LSP), so you get real, compiler-grade help — diagnostics, completion, hover,
go-to-definition, rename, and more — from the same language servers other editors
use. Install a server (e.g. rust-analyzer, pyright, gopls,
typescript-language-server) and, once you trust the workspace, Vix finds it
on your PATH and starts it the first time you open a matching file; the
trust prompt names the server first, because a server can run the project’s
build code. Add an lsp_servers entry to use a different server, or one Vix
does not know.
The protocol core lives in the vix-lsp-core crate (JSON-RPC framing, request
builders, response parsers, and char↔UTF-16/UTF-8 position maths); the process IO
and editor wiring live in the vix-lsp crate. The authoritative method list is
crates/vix-lsp/spec/language-server-protocol.tsv.
Configuration
Two settings (see configuration):
lsp_enabled— master on/off switch (on by default).lsp_servers— a list mapping language ids / file extensions to a server command. Each entry names the command to spawn and the extensions it handles.
Servers start lazily when you open a matching file. Vix advertises UTF-16 and UTF-8 position encodings and adopts whatever the server selects.
What you get
Most actions live under Tools → Language Server and the command palette
(>LSP …); a few have direct keys.
| Capability | How to use it | LSP method(s) |
|---|---|---|
| Diagnostics | Errors/warnings underline in color; Diagnostics… opens a workspace-wide list (Enter jumps). A server that waits to be asked is asked after each open and shortly after you stop typing. | publishDiagnostics, textDocument/diagnostic, workspace/diagnostic |
| Hover | Type info / docs popup for the symbol under the cursor. | hover |
| Completion | Auto-complete popup; detail/docs fill in as you scroll the list. | completion, completionItem/resolve |
| Go to definition | F12 jumps to where a symbol is defined. | definition |
| Implementation / type definition | Jump to the implementation or the type’s definition. | implementation, typeDefinition |
| Find references | Lists every use in the results panel (Enter jumps). | references |
| Call hierarchy | Callers or callees of the function under the cursor in the results panel; Alt+D there flips between them. | prepareCallHierarchy, callHierarchy/incomingCalls, callHierarchy/outgoingCalls |
| Type hierarchy | Supertypes or subtypes of the type under the cursor; Alt+D flips between them. | prepareTypeHierarchy, typeHierarchy/supertypes, typeHierarchy/subtypes |
| Highlight occurrences | Marks the other occurrences of the symbol under the cursor. | documentHighlight |
| Document symbols | Outline of the current file; Enter jumps. | documentSymbol |
| Workspace symbols | Prompt for a query, jump to a symbol anywhere in the project. | workspace/symbol |
| Signature help | Parameter hints popup. | signatureHelp |
| Format | Format the whole document, or the selection. | formatting, rangeFormatting |
| Rename | F2, then a new name — applied across every file via a workspace edit. | rename |
| Code actions | Quick-fixes / refactors in a chooser; the chosen action’s edit is applied. | codeAction |
| Code lens | Lists invokable lenses; running one executes its server command. | codeLens, workspace/executeCommand, workspace/applyEdit |
| Expand / shrink selection | Grow or shrink the selection to the next syntactic range. | selectionRange |
| Code folding | Fold/unfold ranges the server reports (▾/▸ in the gutter; View → Editor). | foldingRange |
| Inlay hints | Inline type/parameter annotations (toggle in View → Editor). | inlayHint |
| Linked editing | Edit linked ranges (e.g. an open/close tag pair) together. | linkedEditingRange |
| Colors and links | Colors the server finds get a ■ swatch; Edit Color… (lsp.edit_color) lists the formats the server can write the color under the cursor in and applies the one you pick. Open Link (or Ctrl/Cmd+click) opens a link. | documentColor, colorPresentation, documentLink |
| File changes | Renaming (File → Rename), moving, copying, creating or deleting files and folders in the explorer or the directory editor first asks servers that want it for edits such as import updates (waiting at most 3 seconds), applies them, then tells the server. Servers that register file watchers are also told about outside changes to matching files anywhere in the workspace (a bounded scan every few seconds). | willRenameFiles, didRenameFiles, willCreateFiles, didCreateFiles, willDeleteFiles, didDeleteFiles, didChangeWatchedFiles |
Lifecycle (initialize/initialized/shutdown/exit) and document sync
(didOpen/didChange/didClose/didSave) are handled automatically. A server
that asks for incremental sync is sent only the changed range of each edit;
others get the whole document. Semantic tokens are requested for the lines
around the view when the server supports ranges, and refreshed shortly after
you stop typing or scroll elsewhere.
Server status and progress
While a server reports work through $/progress — indexing a project,
building, loading crates — the status bar shows the newest task beside the
git branch, as language: title: message (n%), with +N when more tasks are
in flight. It clears when the server reports the task ended.
View → LSP Status… lists every configured server, live:
- its name (language id) and state: not started (no matching file opened yet), starting, running, or failed (the command would not start, or it crashed more often than the automatic respawn allows);
- its command, workspace root, file extensions and number of open files;
- its in-flight progress tasks;
- the capabilities it advertised at
initialize(hover,definition,rename, …); - its last error since it was last restarted: the command would not start, it exited unexpectedly, or the message of a failed request.
Use ↑/↓ to pick a server and r (or Enter) to restart it; Esc closes the
panel. Tools → Language Server → Restart Server and Show Server Log
act on the active file’s servers instead.
When no server is configured
Every LSP action degrades gracefully: with no server attached it reports
“language server inactive” in the status line and does nothing else.
Go-to-definition additionally falls back to a heuristic, language-agnostic search
so the F12 jump still works without a server.
Vix™ and Vix IDE™ are trademarks.
Large File Viewer
The Large File Viewer opens a file too big for a text buffer — a multi-gigabyte log, dump, or data export — read-only, a screen at a time. It never loads the whole file: it reads only the lines on screen, and builds a small line index in the background. On the reference machine a 4 GiB log shows its first screen in under a millisecond, jumps to its end in under a millisecond, and is fully indexed in about half a second, using under 5 MiB of memory (see Performance).
Opening
- File → Open in Large File Viewer…, or Open in Large File Viewer in the command palette, asks for a path (seeded with the active file).
- Opening a file larger than your
large_file_mbsetting asks first; press v there to view it in the Large File Viewer instead of loading it. - A file over 500 MB asks the same question with a memory warning, even when
large_file_mbis0. - A file over 1 GiB is too large for any buffer: Vix opens it in the Large File Viewer straight away and says so in the Messages dock.
The viewer reads files on this machine only, not on a remote (SSH) workspace.
Moving around
- ↑ / ↓ (or k / j) move a line; PgUp / PgDn page.
- Home / g goes to the first line, End / G to the last — instantly, even before indexing finishes.
- ← / → (or h / l) scroll sideways through long lines; 0 returns to the left edge. › and ‹ mark text beyond the edges.
- : (or Ctrl+G) goes to a line (
1234), a percentage (50%), or a byte offset (@1024or0x400). A line the index hasn’t reached yet is jumped to as soon as it has.
Searching
/ searches forward, ? backward; n and N repeat. The search streams through the file in the background with a progress percentage, and Esc cancels it. A search in lowercase ignores case; one with a capital letter matches case exactly.
Copying
m (or Space) starts a selection at the cursor line; move to extend it (Shift+↑/↓ also extends). y, c, or Ctrl+C copies the selected lines, or the cursor line if nothing is selected. Copies are limited to 16 MiB.
What it shows
The status line shows the cursor’s byte offset and position through the file,
its line number once indexed (and the total once done), and indexing and
search progress. A dimmed gutter shows each line’s byte offset. Invalid UTF-8
shows as �, Windows line endings are handled, and control characters show as
·.
q or Esc closes the viewer. It is read-only: editing a file this size is out of scope.
See the specification at
crates/vix-large-file/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Markdown Preview
A read-only, formatted preview of the Markdown file you’re editing —
headings get an underline rule, lists get bullets/numbers, block quotes a
│ rail, code blocks stay verbatim, and links render as text (url).
Using it
Tools → Markdown Preview opens it, scrolled to wherever your cursor was in the source — jump to the paragraph you were writing and preview opens right there instead of at the top.
↑/↓/PageUp/PageDownscroll.topens the table of contents: every heading, jump to one withEnter(back to the preview, scrolled there), close it alone withEsc(leaving the preview open). A document with no headings makesta no-op.Escorqcloses the preview.
See the specification at crates/vix-markdown-preview/spec/index.md. For
inserting Markdown boilerplate (headings, links, tables, todo lists) rather
than previewing, see Insert.
Vix™ and Vix IDE™ are trademarks.
MCP server
vix --mcp turns Vix into a Model Context Protocol
server, so an AI agent (Claude Code, Zed, or any MCP client) can read a
workspace the way Vix sees it. It speaks MCP over standard input and output
and does not open the editor.
It is read-only: no tool writes a file, a setting, a session or a database. The one file it writes is a log of database tool calls (see Shared database connections).
Set it up
Point your MCP client at the vix command with the --mcp flag. The
workspace is the directory you pass, or the client’s current directory.
Claude Code:
claude mcp add vix -- vix --mcp /path/to/project
Any client that takes a JSON server list:
{
"mcpServers": {
"vix": { "command": "vix", "args": ["--mcp", "/path/to/project"] }
}
}
What an agent can read
| Tool | What it returns |
|---|---|
list_open_buffers | The files Vix last had open in this workspace (from its saved session). |
read_buffer | One file’s saved text. |
document_symbols | Functions, types, modules and other declarations, with line numbers — the same offline scan as Vix’s Outline panel. |
outline | Markdown headings, Org headlines, or a code file’s symbols, each with its level and line. |
diagnostics | Unresolved merge-conflict blocks in one file or every open buffer. |
db_schema | Tables, views and columns of the SQLite databases in the workspace. |
db_connections | The saved database connections you shared: name, kind, environment and database. |
db_tables | Tables, views and routines in one schema of a shared connection. |
db_describe | One table’s columns, primary key, indexes, foreign keys and constraints. |
db_query | One read-only statement on a shared connection, at most 100 rows. |
The open buffers are also listed as file:// resources an agent can read.
Shared database connections
In the DB workbench (DB → Connections…), edit a saved connection and turn on Share with MCP. Only connections you share exist for an agent; the rest are invisible. An agent sees a shared connection’s name, engine, environment and database name, never its host, user or password.
- Read-only.
db_queryruns oneSELECT,WITH,EXPLAIN(notEXPLAIN ANALYZE),SHOWorVALUESstatement. Anything that could write is refused before a connection is opened. The statement runs inside a read-only transaction that is rolled back, with a 30-second timeout. - No prompts. The password comes from the connection’s password command
or the OS keyring (connect once in the workbench with Save to keyring
on). A connection that needs a typed password fails with an error. An SSH
tunnel must work without a passphrase or a host-key question (an agent
key, and a host already in
known_hosts). - Logged. Every call is a JSON line in
mcp-db.log, next to Vix’ssession.tomlandconfig.toml(~/.config/vix/mcp-db.logon Linux,~/Library/Application Support/rs.vix/mcp-db.logon macOS): the time, the tool, the connection and the SQL. Only you can read it. At 1 MiB it is renamedmcp-db.log.1and a new log starts. - Only your own settings file is read; a project’s
.vix/settings.tomlcannot share a connection.
Limits in this version
- No live editor.
vix --mcpis a separate process. It sees the files saved on disk and the list of files your last Vix session had open, not unsaved edits in a running Vix. - No language server. Symbols and outlines come from Vix’s own offline
scan, and diagnostics are limited to merge conflicts. Language-server
diagnostics would need a running server; every diagnostics result says
"language_server": "not_running". - Databases. SQLite files inside the workspace are opened read-only.
PostgreSQL and MySQL are reached only through saved connections you
share. Results are text (a
NULLshows as empty), and an empty result has no column names. - SQLite timeout. SQLite has no server-side timeout, so a 30-second read on a shared SQLite connection fails the call, but SQLite may finish the abandoned read in the background.
Safety
- Every path must stay inside the workspace root, after following symbolic links.
- Files that may hold secrets are refused:
.envfiles, private keys and certificates,.netrc,.pgpass,credentials*, and anything in.git/or.ssh/. API keys are never read; the keyring and password commands are used only for a connection you shared, when an agent uses it. - Files over 2 MiB and binary files are refused.
- Nothing is written to disk except
mcp-db.log, and nothing uses the network except a shared connection’s database server (and its SSH tunnel, if it has one) during a call on it.
The full protocol, including error codes, is in
spec/mcp-server.
OC (containers)
The OC menu manages local containers, images, volumes and networks without
leaving Vix. It drives whichever OCI engine you have installed – Docker,
Podman or nerdctl – through that engine’s command line, so anything the
engine can reach (its context, DOCKER_HOST, rootless Podman) works as it
does in your shell. Vix itself implements none of the OCI specs.
Engines
OC → Engine → Detect shows which engine will be used. The order is the
oc_engine setting, then docker, then podman, then nerdctl; the default
"auto" takes the first one found on PATH. Choose steps the setting
through auto and each installed engine. With none installed, Vix says how to
get one instead of failing silently.
The panel
Containers…, Images…, Volumes…, Networks… and (Podman only)
Pods… open one panel. Tab / Shift+Tab move between the lists, the
arrows and PageUp/PageDown move through the rows, r reloads, Enter (or i)
opens the object’s inspect JSON in a read-only tab, and Esc closes.
| List | Keys |
|---|---|
| Containers | s start, x stop, t restart, p pause or unpause, l logs to the bottom dock, e shell (an exec -it terminal), w open a workspace inside it (Docker or Podman; see remote editing), c copy http://localhost:PORT for the first published port, a show or hide stopped containers |
| Images | u run, g tag, p pull, P push |
| Every list | d or Delete remove, D prune that list |
Run asks for IMAGE [name=NAME] [port=HOST:CTR]... and runs detached. Build
(OC → Build Image…) asks for FILE [tag=REF] [context=DIR], seeded with a
Containerfile or Dockerfile in the workspace root.
Container workspaces and dev containers
OC → Open Workspace in Container… opens the container list; w on a
running container opens File → Open Remote… with its name filled in
(docker://web/), so you can work on the files inside it. OC → Reopen in
Dev Container builds and starts the project’s dev container with the
devcontainer CLI (it asks first) and opens it. Both are described in
remote editing.
Compose
OC → Compose → Up / Down / Logs use the compose.yaml, compose.yml,
docker-compose.yaml or docker-compose.yml in the workspace root. Up and
Down show the exact command and wait for a yes; Logs streams into the bottom
dock. Output of builds, pulls, pushes, runs and Compose goes to the dock too.
Safety
- You see the command first. Remove, prune, run, build, pull, push, and
Compose Up/Down show the exact command line and run only on
yorEnter. A prune says which kind of object it clears. - No shell. Every command is an argument list; a value that starts with
-or contains whitespace is refused rather than passed to the engine. - Read-only mode. Set
oc_mode = "read-only"to allow only listing, inspecting, logs, shell and copy-URL. Everything else answers that OC is read-only. - Passwords never go on a command line. The login command builder uses
--password-stdin. (There is no login prompt yet; sign in from a terminal.)
Settings
| Setting | Default | Meaning |
|---|---|---|
oc_engine | "auto" | "auto", "docker", "podman" or "nerdctl". |
oc_mode | "full" | "full" or "read-only". |
Building without it
oc is a Cargo capability feature (on by default, implies tasks). Without it
Vix never starts a container engine and the OC menu is hidden. See
Cargo features.
See also
- The
vix-ociandvix-oci-panelcrate specs (crates/vix-oci/spec/index.md,crates/vix-oci-panel/spec/index.md) and the design,spec/open-container/index.md.
Matching Tag
Despite the crate name vix-tags, this is not Org-mode tags (see
Org) and not a ctags/etags integration — it is matching
HTML/XML tag navigation: jumping the cursor between an opening tag and its
closing partner, or back again.
It is a single menu item, Go → Matching Tag, action id
nav.matching_tag.
How to use
- Put the cursor inside or on an HTML/XML opening or closing tag.
- Open Go → Matching Tag (or run it from the command palette).
The cursor jumps to the partner tag: from an opening tag to its closing tag,
or from a closing tag back to its opener. Nesting is tracked correctly, so
jumping from the outer <div> in <div><div>x</div></div> lands on the
outer closing </div>, not the inner one.
- Self-closing tags (
<br/>) and unmatched tags (no partner found) do nothing — the cursor stays put, and Vix reports “No matching tag” on the status line. - There is no default keybinding; it runs from the Go menu or the command palette.
Example
<section>
<p>Hello <em>world</em></p>
</section>
With the cursor on the <section> opening tag, running Matching Tag moves
it to the closing </section> two lines down. With the cursor on <em>, it
jumps to </em> on the same line — the nearer, correctly-nested partner, not
the outer </p>.
Implementation
The pure matching logic is vix_tags::matching_tag, which takes the buffer
text and a cursor offset and returns the matching offset (or None). The
menu action jumps there via Editor::goto_offset.
See the crate spec at crates/vix-tags/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Media Types
Look up and insert media types (MIME / content types) — like image/png or
application/json — without leaving the editor.
Using the picker
Open Tools → Media Types (tools.media_types). You get a searchable list of
common media types, each with its description and file extension(s). If the file
you’re editing has a recognized extension, the list opens pre-selected to its
media type.
- Type to filter by media type, description, or extension (e.g.
svg,font,.docx). - ↑/↓ and PgUp/PgDn move the highlight; Backspace edits the filter.
- Enter or a click inserts the highlighted media type at the cursor and keeps the panel open so you can insert several; Esc closes it.
The catalog covers the common web types plus popular developer and modern formats (source code, config, archives, fonts, images, audio, and video). It is a curated common set, not the full IANA registry.
See the specification and data table at
crates/vix-media-type/spec/.
Vix™ and Vix IDE™ are trademarks.
Nerd Font Picker
The Nerd Font picker is a character picker for Nerd Font glyphs. You browse a grid of icon glyphs and insert one into the active editor.
Opening the picker
Open it from the menu bar: Tools → Nerd Font Palette…. A small overlay appears showing a fixed-width grid of curated glyphs, the highlighted glyph’s name, and a key hint.
Glyph grid
The grid is 8 columns wide. The highlighted glyph’s name is shown alongside
the grid.
The glyphs come from the common Nerd Font ranges (Font Awesome, Devicons, Powerline, Octicons) that virtually every patched font ships, so the picker is useful regardless of which Nerd Font your terminal uses. A glyph that a particular font lacks simply renders as a fallback box; nothing breaks.
Keybindings
| Key | Action |
|---|---|
← ↑ ↓ → | Move the highlight within the grid (clamps at edges) |
Enter | Insert the highlighted glyph; keep the picker open |
Esc | Close the picker |
Pressing Enter keeps the picker open, so you can pick several glyphs in a row.
Mouse
A click on a cell highlights and inserts that glyph, also leaving the picker open.
Notes
Inserting into an image tab (or when there is no editable buffer) does nothing.
Example
To add a folder icon to a status line: open Tools → Nerd Font Palette…, use
the arrow keys to move the highlight to the glyph you want (its name appears
next to the grid), and press Enter. The glyph is inserted at the cursor and
the picker stays open for the next pick.
Vix™ and Vix IDE™ are trademarks.
Notification Panel
The notification panel is the message drawer in the right dock. It collects notifications and advice from the editor — each a single line of text that you can read and dismiss individually.
Show / Hide
Toggle the panel with View → Show/Hide Right Dock, or by clicking the
right-edge dock icon in the menu bar. Its width is draggable, and the chosen
width persists in the messages_width setting.
Notification Levels
Each notification has a level, which selects its row icon:
- Info — general information.
- Advice — a suggestion or hint.
- Warn — a warning.
- Error — an error.
Notifications are listed oldest first, with one row selected.
What lands here
As well as inline editor advice, the panel collects the results of background work, so you have a durable record after the status-bar message fades:
- Run Command (and Git Pull / Push / Fetch, which use the same pipeline) post a completion notification — Info on success, Error on a non-zero exit — alongside their streamed output in the bottom dock.
- AI menu transforms (Summarize, Explain, Define, Annotate, Improve) post their done/failed outcome. The interactive AI chat panel keeps its own transcript and does not duplicate into the feed.
Reading and Dismissing
↑/↓move the selection between notifications.- Dismiss the highlighted notification with the close
xon its row, theDeletekey, orEnter. The selection stays in range after a notification is removed, so you can clear several in a row by pressingDeleterepeatedly.
Example
After a failed action, an Error notification appears. Open the panel
(View → Show/Hide Right Dock), highlight the message with ↑ / ↓, then
press Delete to dismiss it once you have read it.
Vix™ and Vix IDE™ are trademarks.
Org
Vix™ includes a working subset of Org mode for
outline notes, task lists, tables and agendas. Every command is on the Org
menu (Alt+O) and in the command palette. Under the Emacs keymap the
familiar C-c chords run the same commands (see Emacs chords).
This page is the reference. For a guided walk through the same features, see Tutorial 6: Org Mode & Roam. For networked notes (nodes, backlinks, dailies), see Org-Roam.
It is a pragmatic subset, not a full Org implementation: there is no Emacs
Lisp, no Calc, and source blocks run only in a build with the jupyter
feature (see Source blocks).
Where Org commands work
- Org commands act on the active buffer at the cursor line. Most work in any
buffer, but Tab folding, the table keys and the
[[mailto:/[[contact:completion only work in a file whose extension is.org. - When a command does not apply, the status line says why, for example “Not on an Org headline”, “No sibling subtree to swap with” or “No heading that way”. The buffer is left unchanged.
- The Org menu shows each command’s Emacs chord in its shortcut column. Those chords are bound only in the Emacs keymap; in other keymaps use the menu or the palette. The table keys (Tab, Enter, Alt+arrows, Shift+arrows) are the exception: they work in every keymap while the cursor is inside a table.
Headlines and structure
Org outlines are built from headlines: lines starting with one or more *
and a space. The number of stars is the level. A subtree is a headline
plus every following line up to the next headline of the same or a higher
level.
* Project
** Task one
** Task two
Folding
- Tab on a headline folds or unfolds its subtree. A headline with no body has nothing to fold, and Tab does not indent it.
- Tab on a drawer header such as
:PROPERTIES:or:LOGBOOK:folds the drawer through its:END:line; the header shows a trailing.... - Shift+Tab folds every headline and drawer (an overview), or unfolds everything when something is folded.
- Org → Show/Hide has Cycle Visibility (Fold) (what Tab does), Overview (Fold All) and Show All.
- Org → Show/Hide → Sparse TODO Tree folds every subtree that has no
TODOheadline; Sparse Tree Match… asks “Sparse tree: show subtrees containing” and folds every subtree without that text (case-insensitive). The status line reports “Sparse tree: N subtree(s) folded”.
Folding never edits the text, and it needs no language server: the ranges come from the headlines themselves.
Moving around
Org → Navigate Headings has Up to Parent, Previous Heading / Next Heading (any level) and Previous Same Level / Next Same Level (siblings only, stopping at the parent). Org → New Heading inserts a sibling headline below the cursor line.
Editing structure
Org → Edit Structure:
| Item | Effect |
|---|---|
| Promote / Demote | Remove or add one * on every headline of the subtree. Promote is refused at level 1. |
| Move Subtree Up / Move Subtree Down | Swap the subtree with its previous or next sibling. The cursor follows it. |
| Copy Subtree / Cut Subtree | Copy the subtree to the system clipboard (“Subtree copied”); cut also removes it. |
| Paste Subtree | Paste the clipboard as a sibling, releveled to fit. Refused with “Clipboard does not start with an Org headline” otherwise. |
| Sort Children | Sort the subtree’s direct children alphabetically. |
| Refile Subtree… | Open a chooser of every headline outside the subtree; Enter or a click moves the subtree under the chosen one, one level deeper (“Subtree refiled”). |
Headlines, TODO and DONE keywords and links are highlighted. A link’s
description is underlined and its brackets and target are dimmed; the full
[[…]] text stays editable.
Tasks, priorities and checkboxes
- Org → Cycle TODO cycles a headline: none,
TODO,DONE, none. - Org → Mark Done with Note… asks for a “Closing note (Alt+Enter =
newline)”, then marks the headline
DONE, adds aCLOSED: [now]line and logs the note in the headline’s:LOGBOOK:drawer. - Org → Priority Up / Priority Down step the
[#X]cookie after the keyword. Vix’s range is0(highest) to9(lowest), unlike Emacs’sA..C; a headline without a cookie gets[#0]. The steps stop at the ends of the range. Theorg_priority_highest,org_priority_lowestandorg_priority_defaultsettings change this. - Org → Toggle Checkbox flips a list item between
- [ ]and- [x].
Statistics cookies
A parent checkbox reflects its children: all checked gives [X], none
[ ], some [-]. A cookie [/] or [%] in a headline or a parent list
item counts its children:
* Organize Party [33%]
** TODO Call people [1/2]
*** TODO Peter
*** DONE Sarah
** TODO Buy food
** DONE Talk to neighbor
A headline cookie counts its top-level checkboxes if it has any, otherwise
its direct child TODO headlines. A :COOKIE_DATA: property of checkbox or
todo decides, and adding recursive counts the whole subtree. Cookies are
recomputed after Toggle Checkbox and Cycle TODO, and on demand with Org →
Update Statistics.
Org → Refresh Context (C-c C-c) does the right thing for the line: inside
a table it realigns and recalculates the table; on a checkbox it toggles it;
then it recomputes every statistics cookie. In a build with the jupyter
feature, inside a source block it evaluates the block instead.
Tags and properties
Org → Tags & Properties:
- Set Tags… asks “Tags (colon separated; empty clears)”, seeded with
the headline’s current tags, and replaces its trailing
:tag:tag:group. - Set Property… asks “Property (NAME VALUE)” and creates or updates the
:NAME:line in the headline’s:PROPERTIES:drawer, creating the drawer when it is missing. - Column View ▸ opens the property table described in Column view.
Dates, scheduling and time tracking
Org → Dates & Scheduling:
| Item | Effect |
|---|---|
| Insert Timestamp / Insert Inactive Timestamp | Insert today as <2026-11-27 Fri> (active) or [2026-11-27 Fri] (inactive). |
| Schedule Item… / Deadline… | Ask for a YYYY-MM-DD date (seeded with today) and set the headline’s SCHEDULED: or DEADLINE:, on the existing planning line or a new one under the headline. A bad date says “Invalid date (expected YYYY-MM-DD)”. |
| Date 1 Day Later / Date 1 Day Earlier | Shift the date under the cursor by a day and rewrite its weekday. Off a date: “No date at the cursor”. |
Clocking works on CLOCK: lines, as Org writes them:
- Org → Clock In inserts an open
CLOCK: [timestamp]entry at the cursor, in local time. - Org → Clock Out closes the most recent open entry with the end time and
the
=> H:MMduration (“Clocked out”; “No open clock entry to close” when there is none). - Org → Time Tracker totals each headline’s
CLOCK:durations in the buffer into a report table in a new tab.
Agenda
Org → Agenda builds a view from your .org files into a read-only buffer.
| Item | Shows |
|---|---|
| Weekly/Daily Agenda | DEADLINE: and SCHEDULED: items grouped by date, plus unscheduled TODOs. |
| Global TODO List | Every TODO headline that is not DONE. |
| Match Tags/Property… | Headlines whose tags match a query such as work-boss: +tag requires, -tag excludes, a bare tag requires (case-insensitive). |
| Search… | Headlines whose entry contains all the keywords you type. |
| Stuck Projects | Headlines that are not DONE, have children, and have no child that is not DONE (no next action). |
The status line reports “Agenda view: N item(s)”. Every view is
interactive: press t on a task line to cycle that task’s TODO state in its
source .org file on disk. Vix reloads an open, unmodified buffer of that
file and rebuilds the same view in place (“Task state cycled in its source
file”).
Which files the agenda reads
- A restriction lock, when set: only the locked file. Org → Agenda → Set Restriction Lock (This File) sets it (“Agenda locked to …”; the file must be saved), Remove Restriction Lock clears it. The lock lasts for the session.
- The agenda file list, when not empty: the
org_agenda_filessetting, paths relative to the workspace, saved with your settings. Org → Agenda → File List has Add Current File, Remove Current File and Clear List (All Project Files). Listed files that do not exist are skipped. - Otherwise every
.orgfile in the project.
Org → Agenda → File List → Show Scope reports which applies, for example “Agenda scope: every .org file in the project”.
Capture
Org → Capture files a new entry from a template, in the style of Emacs
org-capture. Five templates are built in:
| Item | Key | Inserts at the cursor |
|---|---|---|
| Anything… | a | * TODO <task> after one prompt. |
| Task… | t | A review buffer prefilled with * TODO . |
| Babel… | b | A #+begin_src <language> / #+end_src block, after a language prompt. |
| Note… | n | * <note> and a creation timestamp. |
| Contact… | c | An org-contacts entry: name, then Email, Phone, Address, Birthday, Nickname and Note properties. |
Choose Template… opens every configured template in a chooser.
Each %^{…} field is asked in turn, and the prompt shows a live preview of
the whole entry: answered fields filled in, the current one marked ‹Label›,
later ones as [Label]. Unless the template finishes immediately, the
expanded text then opens in a review buffer (“Review capture: … (Alt+Enter =
newline)”); Enter files it and the status line says “Captured: …”.
Your own templates
Templates live in the org_capture_templates setting, as TOML
array-of-tables in config.toml:
[[org_capture_templates]]
key = "j"
description = "Journal"
target = "file+datetree:journal.org"
template = "* %U %^{Entry}"
Setting the list replaces the five built-ins, so copy any of them you still want (their exact text is in the settings reference). Anything… and the other fixed items run their template by key; with that key gone they say “No org_capture_templates entry with key …”.
| Field | Meaning | Default |
|---|---|---|
key, description | How the template is chosen and labeled. | (required) |
template | The text, with the placeholders below. | (required) |
target | Where it is filed (below). | "cursor" |
entry_type | entry (adds * unless the text starts with a headline), plain, item (- ), check-item (- [ ] ) or table-line (| … |). | "entry" |
prepend | File at the top of the target instead of the bottom. | false |
empty_lines | Blank lines around the entry. | 0 |
immediate_finish | Skip the review buffer. | false |
clock_in | Add a CLOCK: line after the entry’s first line. | false |
Placeholders: %^{Label} (a prompt; %^{Label|a|b} prefills the first
choice), %t/%T and %u/%U (active and inactive date or date-time),
%<strftime>, %a (a link back to where you started), %i (the
selection), %f/%F (the file’s name or path), %c (the clipboard),
%^g/%^G (a tags prompt), %? (where the cursor lands) and %%.
Targets: cursor; file:<path> (appended, created if missing);
file+headline:<path>#<Headline> (under that headline, created if
missing); file+datetree:<path> (under today in a Year, Month, Day tree);
id:<ID> (under the headline or node with that :ID:, searched across the
project; “No node with :ID: … found in the project” if none). File targets
open the file after filing.
Tables
Org’s pipe tables are edited in place. A table is a run of lines starting with
|; a line starting |- is a horizontal rule. While the cursor is inside a
table in an .org file, these keys work in every keymap:
| Key | Action |
|---|---|
Tab | Realign, then the next field (adds a row past the last field) |
Shift+Tab | Realign, then the previous field |
Enter | The next row (adds one past the last) |
Shift+Enter | Copy the field from above into an empty field, or this field into the next row |
Shift+arrows | Swap the cell with its neighbor |
Alt+Up / Alt+Down | Move the row |
Alt+Left / Alt+Right | Move the column |
Alt+Shift+Down / Alt+Shift+Up | Insert a row above / delete the row |
Alt+Shift+Right / Alt+Shift+Left | Insert / delete a column |
Org → Table has every structural edit as a menu item, plus:
- Create Table from Selection turns delimited text into a table (“Table created”); Export to TSV opens the table as TSV in a new tab.
- Insert Horizontal Line and Insert Line Below and Move.
- Rectangle ▸ Copy / Cut / Paste Rectangle for a block of cells.
- Align Table, Recalculate (Apply Formulas), Sum Column (“Sum: …
(copied to the clipboard)”), and Sort Table…, which asks “Sort table
(COLUMN [a|n|t] [r])”: a column number, then alphabetic, numeric or time
order, and
rto reverse. It sorts the rows between the horizontal rules around the cursor, so a header row stays put. - Transpose Table (horizontal rules are dropped).
Columns where most data cells are numbers are right-aligned. Outside a table every table action says “Not inside an Org table”.
Formulas
A #+TBLFM: line right after the table holds ::-separated formulas.
$3=$1+$2 fills column 3 of every data row; @1$3=$1+$2 fills one field.
Row numbers count data rows only, not horizontal rules. Inside a formula,
$N is column N of the current row, @R$C is one field, and a range
@1$1..@3$1 works as the argument of vsum, vmean, vmin, vmax or
vcount. A ;%.2f suffix sets the decimals. A formula that fails writes
#ERROR into its field.
| 1 | 2 | |
#+TBLFM: @1$3=$1+$2
Formulas run only when you ask: Recalculate, or Refresh Context (C-c
C-c) on a table line. There are no Calc or Lisp formulas, named references
or remote() references.
Column view
Org → Tags & Properties → Column View → Turn On shows the outline at the cursor as a table: one row per headline, one column per property. It edits the buffer directly: every change is written into the Org text at once (saving to disk is still up to you). Without an open Org buffer it says “Open an Org file to use Column View”.
The columns come from the nearest :COLUMNS: property above the cursor, else
the file’s #+COLUMNS: line, else %ITEM %TODO %PRIORITY %TAGS. A column is
%[WIDTH]PROPERTY[(TITLE)][{SUMMARY}]; a PROPERTY_ALL property lists the
values a cell can cycle through:
:COLUMNS: %25ITEM %9Approved(Approved?){X} %Owner %11Status %10Time_Estimate{:}
:Owner_ALL: Tammy Mark Karl Lisa Don
A summary rolls parent rows up from their children: + (sum), $, min,
max, mean, X, X/, X% (checkboxes), : and :min/:max/:mean
(times), @min/@max/@mean (ages) and est+ (estimate ranges).
| Key | Action |
|---|---|
| arrows | Move between fields |
n / Shift+Right, p / Shift+Left | Next / previous allowed value |
1–9, 0 | The first to ninth, or tenth, allowed value |
e | Edit the value (Enter commits, Esc cancels) |
a | Edit the column’s allowed values |
v | Show the full value on the status line |
C-c C-c | Toggle a checkbox field; on any other field, close |
< / > | Narrow / widen the column |
Alt+Left / Alt+Right | Move the column |
Alt+Shift+Right / Alt+Shift+Left | Insert a column (asks for the property name) / delete it |
Alt+Up / Alt+Down | Move the row’s headline in the outline |
r / g | Recompute |
q / Esc | Close |
- Quick Column Export writes the same table once, as a plain Org table in a new tab. Dynamic Block ▸ Insert… asks for a scope (*“Dynamic block scope
- id (empty = local)“*) and inserts a
#+BEGIN: columnview…#+END:block; Update at Point (cursor on the#+BEGIN:line) and Update All refresh such blocks.
Links, footnotes, source blocks and archiving
Org → Hyperlinks:
- Store Link to Here remembers a
[[file:path::line][path:line]]link to the cursor (“Stored …”); it seeds the next Insert Link…. - Insert Link… asks for a “Link target”, then a “Link description (empty for a bare link)”.
- Follow Link opens
file:links (honoring::line), resolvesid:links by searching the project’s.orgfiles for that:ID:, jumps to a*Headlinetarget, and copieshttp(s):andmailto:links to the clipboard (“Copied … to the clipboard”). - Next Link / Previous Link move between
[[…]]links.
Org → Editing:
- Emphasis ▸ wraps the selection in
*bold*,/italic/,_underline_,~code~,=verbatim=or+strike+; Insert Block ▸ inserts an empty#+begin_src,example,quote,center,verseorcommentblock. - Edit Source Block opens the
#+begin_srcblock at the cursor in its own tab (“Editing source block — run Edit Source Block (C-c ’) again to apply”); running it again there writes the body back (“Source block updated”). Outside a block: “Not inside a source block”. - Footnote New/Jump jumps from a
[fn:x]reference to its definition and back, or inserts the next numbered footnote under a* Footnotesheadline.
Source blocks are text unless the build has the jupyter feature. Then
Run → Jupyter → Run, or C-c C-c in the block, evaluates it in a kernel
for its language and writes a #+RESULTS: block; nothing runs on open, save
or export. See Jupyter.
Org → Archive → Archive Subtree to File moves the subtree to the sibling
<file>_archive file, as a level 1 headline with an :ARCHIVE_TIME:
property (“Archived to …”; an unsaved buffer says “Save the file first”).
Toggle ARCHIVE Tag adds or removes the :ARCHIVE: tag.
For inserting Org snippets, headlines, lists and drawers from a menu, see Tools → Insert → Org / Markers / Begin-End (Insert).
Export
Org → Export converts the buffer and opens the result in a new tab (“Exported to a new … buffer”):
| Item | Output |
|---|---|
| Markdown | Headings as #, emphasis, links and bullet lists. |
| HTML | A standalone HTML document. |
| LaTeX | A standalone LaTeX article: sections, itemize lists, verbatim blocks, \href links. |
| iCalendar | The buffer’s SCHEDULED: and DEADLINE: entries as all-day events. |
#+title: becomes the top heading. Block delimiters are dropped and their
text kept. Emphasis follows Org’s rules, so and/or, snake_case_name and
the slashes in a URL stay plain text. It is a quick conversion, not a
typesetter.
Roam, Node and Dailies
Org → Roam and Org → Node turn a folder of .org files into linked
notes: a node is a file (or, with Node, a headline) carrying an :ID:, and
nodes link with [[id:…][Title]]. Find, insert and capture nodes, see
backlinks, build a Mermaid graph, and keep one daily note per day under
daily/ with Org → Roam → Dailies (Today, Capture Today…, Go to
Date…, Calendar…). The full reference is Org-Roam.
Contacts
A contact is a headline whose :PROPERTIES: drawer holds EMAIL, PHONE,
ADDRESS, BIRTHDAY, NICKNAME or NOTE. Add one with Org → Capture →
Contact…. Org → Contacts:
| Item | Effect |
|---|---|
| Find Contacts | A name, email and phone table of every contact in the project’s .org files. |
| Complete Link… | Complete a [[mailto: or [[contact: link at the cursor. |
| Insert Field ▸ | Insert an Email, Phone, Address, Birthday, Nickname or Note property line into the current entry. |
| Birthdays | Contacts with a BIRTHDAY, sorted by date. |
| Export to vCard | Every contact as vCard 3.0 in a new tab. |
In an .org file, type [[mailto: or [[contact: and press Tab right
away: a popup offers Name <email> (completing to [[mailto:email][Name]])
or names (completing to [[contact:Name]]). Typing anything first, or using
Complete Link… elsewhere, says “Type [[mailto: or [[contact: first, then
complete the link”.
Emacs chords
Under the Emacs keymap, C-c starts an Org chord and a which-key popup lists
the next keys; C-c C-x is a second prefix with its own popup. C-u before
C-c is the universal argument.
| Chord | Command |
|---|---|
C-c C-t / C-u C-c C-t | Cycle TODO / Mark Done with Note… |
C-c C-c / C-u C-c C-c | Refresh Context / Recalculate (in a table) |
C-c C-s / C-c C-d | Schedule Item… / Deadline… |
C-c . / C-c ! | Insert Timestamp / Insert Inactive Timestamp |
C-c C-q | Set Tags… |
C-c C-w | Refile Subtree… |
C-c / | Sparse Tree Match… |
C-c a | Weekly/Daily Agenda |
C-c l / C-c C-l / C-c C-o | Store Link to Here / Insert Link… / Follow Link |
C-c ' | Edit Source Block |
C-c | / C-c - / C-c RET | Create Table from Selection / Insert Horizontal Line / Insert Line Below and Move |
C-c + / C-c ^ | Sum Column / Sort Table… |
C-c C-x f | Footnote New/Jump |
C-c C-x a / C-c C-x C-s | Toggle ARCHIVE Tag / Archive Subtree to File |
C-c C-x < / C-c C-x > | Set / Remove Restriction Lock |
C-c C-x C-i / C-c C-x C-o | Clock In / Clock Out |
C-c C-x C-w / C-c C-x C-y | Cut / Paste Subtree (in a table: Cut / Paste Rectangle) |
C-c C-x M-w | Copy Rectangle (in a table) |
C-c C-x C-c | Column View |
C-c C-x C-u | Update Dynamic Block at Point |
Some terminals send C-i as Tab; use the menu for Clock In there.
Specifications
crates/vix-org/spec/index.md: headlines, agenda, column view, export, Roam, Node, contacts.crates/vix-org-table/spec/index.md: tables and formulas, including what Org has that Vix does not.crates/vix-org-capture/spec/index.md: capture templates.crates/vix-column-view/spec/index.md: the column view overlay.
Vix™ and Vix IDE™ are trademarks.
Outline Panel
The outline panel lists the symbols in the active buffer — functions, structs, modules, and more — so you can see a file’s structure at a glance and jump to any symbol.
Opening the panel
Open it with Ctrl+Shift+B, or run “Outline” from the command palette.
The panel appears as a modal overlay over the editor.
On open, the panel selects the symbol the cursor is currently inside, so you start at your current location in the file.
Symbol list
Each entry shows a kind prefix followed by the symbol name. Prefixes
include fn, struct, mod, and impl, among others, which helps you tell at
a glance what kind of symbol each row is.
Symbols come from the same fast, offline, language-agnostic heuristic used by
go-to-symbol (palette::symbols), so no language server or network access is
required.
Keybindings
| Key | Action |
|---|---|
↑ / ↓ | Move the selection up / down one symbol |
PageUp / PageDown | Move the selection by a page |
Home / End | Jump to the first / last symbol |
Enter | Jump to the selected symbol and close the panel |
Esc | Close the panel |
Mouse
A click on an entry jumps to that symbol in the file.
Example
While editing a Rust file, press Ctrl+Shift+B. The panel lists entries such as
struct App, impl App, and fn on_key. Move to the symbol you want and press
Enter to jump straight to it.
Outline sidebar (persistent)
Beyond the modal panel, a persistent outline sidebar can stay open while you
edit. Toggle it from View → Layout → Outline Sidebar (action
view.outline_dock); the preference persists in show_outline_dock (width
outline_width).
The sidebar shows the same symbol list and follows the cursor: its highlight tracks the symbol you’re currently inside, and the list rescans automatically as you edit. Click any row to jump straight to that symbol. It docks on the right, beside the editor.
Roadmap
- A status-bar Outline button to toggle the sidebar.
- Collapsible nesting (group methods under their
impl/class).
Vix™ and Vix IDE™ are trademarks.
Persistent Undo
vix-undo-store is not just internal plumbing behind Ctrl+Z — it backs a
real, user-facing feature: persistent undo. A buffer’s undo tree survives
closing and reopening the file, across separate runs of Vix.
What it does
Vix’s undo is a branch-preserving tree, not a simple linear stack (see
Edit → Switch Undo Branch, edit.undo_branch, for moving between
branches, and Edit → Undo Tree… to see the
tree and jump to any state in it). Persistent undo saves that whole tree to disk and restores it the
next time the same file is opened, so an undo history you built up in a
previous session is still there — you can undo past the point where you last
saved, even after quitting and relaunching Vix.
When it runs
- On save. Whenever a file is written to disk and the
persistent_undosetting is on, its undo tree is serialized to a small JSON file under<config>/undo/, named by a hash of the file’s absolute path. - On open. When a file is freshly opened (not already open in another
tab) and
persistent_undois on, Vix looks for that file’s saved undo history and restores it — but only if the stored content hash matches the file’s current content. Each saved history carries a hash of the file content it was saved against; if the file has changed since (edited outside Vix, checked out to a different revision, …), the mismatched history is discarded rather than replayed onto text it doesn’t describe. The undo tree then simply starts fresh, as if persistence were off for that file.
This all happens automatically — there is no menu item or action id for “restore undo history”; it is a side effect of the ordinary open/save flow.
Setting
| Setting | Type | Default | Description |
|---|---|---|---|
persistent_undo | bool | true | Persist each file’s undo tree across sessions (restored on reopen when the file content still matches). |
See docs/reference/settings.md for the setting alongside every other one.
Turn it off to keep undo history purely in-memory, cleared as soon as a
buffer or the whole app closes.
Storage and limits
- One JSON file per saved file, under
<config>/undo/, holding the serialized undo history (editor_core’s history types viaserde) plus a hash of the matching file content. - Restoration is all-or-nothing per file: either the content hash matches and the whole tree comes back, or it doesn’t and the file opens with no undo history at all. There is no partial replay.
- The store only ever helps a file you’ve saved through Vix at least once with the setting on — a buffer that was only ever edited and never written, or edited with the setting off, has nothing to restore.
Implementation
crate::undo_store::save/load do the hashing (SHA-256 of the path for the
filename, and of the content for the guard) and JSON (de)serialization; they
are wired into write_active_to_disk (save) and open_path via
App::restore_persistent_undo (open).
See the crate spec at crates/vix-undo-store/spec/index.md, and its
sub-specs crates/vix-undo-store/spec/persistent-undo/index.md,
crates/vix-undo-store/spec/undo/index.md, and
crates/vix-undo-store/spec/redo/index.md for the plain undo/redo actions
this builds on.
Vix™ and Vix IDE™ are trademarks.
Local History
A second store, Local History, keeps timestamped
snapshots on every save, with labels, diff and restore. It is controlled by the
local_history_keep setting (default 50, 0 = off) and is separate from
persistent_undo.
Hot exit
The same crate keeps hot-exit backups of unsaved buffers (T629), so a
crash, a closed terminal or a forced quit never loses typed text. While Vix is
idle (every couple of seconds, writing only buffers that changed since their
last backup) and again on quit, each unsaved buffer is copied to
<config>/backup/. Untitled buffers are kept too, under a session id.
When you next open a file that has a backup, Vix asks whether to recover it:
| Key | Does |
|---|---|
r | Put the unsaved text back into the buffer. It stays unsaved until you save. |
d | Show the file on disk against the backup, then ask again. |
x | Delete the backup. |
n / Esc | Decide later: the backup is offered again next time. |
Untitled buffers are offered together when Vix starts in the same workspace.
A backup is never applied without asking, and saving the buffer deletes it.
Buffers in a remote workspace are backed up on this machine, keyed by their
remote name. Turn the feature off with hot_exit = false.
Full behavior: crates/vix-undo-store/spec/hot-exit/index.md.
Project Environment
Vix reads a project’s own development environment once and gives it to the language servers, tasks and terminals it starts, so Python and Node tooling finds the project’s interpreter and packages. A status-bar segment shows the active source.
Sources
Tried in this order; the first that yields variables wins.
| Source | Detected by | How it resolves | Runs project code? |
|---|---|---|---|
| direnv | .envrc | direnv export json in the workspace root | yes |
| mise | .mise.toml, mise.toml, .tool-versions | mise env --json | yes |
| venv | .venv/pyvenv.cfg or venv/pyvenv.cfg | sets VIRTUAL_ENV, puts the venv’s bin (Scripts on Windows) first on PATH, removes PYTHONHOME | no, reads files only |
Each tool is stopped after 5 seconds. Output that is not an object of string values is rejected whole.
Trust
Nothing runs or loads an environment from an untrusted workspace. direnv
and mise execute project-controlled code, so they run only in a workspace you
have trusted. In an untrusted one Vix tells you the source was blocked and
falls back to the .venv source, which only reads files. Accepting the trust
prompt resolves the environment again. Commands that run on a remote host are
not given the local environment.
Reloading
Already-running processes keep the environment they started with. After
changing .envrc or activating a different venv, run
Project → Reload Environment (project.reload_env); later spawns use the
new one. Restart a language server to pick it up.
See the specification at crates/vix-project-env/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Undo Tree
Vix never throws undo history away. When you undo a few steps and then type something new, the old steps stay in the history as a separate branch, so the history is a tree rather than a line. Edit → Undo Tree… shows that tree and takes you to any state in it.
Using it
Open Edit → Undo Tree… (edit.undo_tree, also in the command palette
as “Undo Tree”). A panel lists every state of the active buffer, oldest
first, with each branch in its own column:
o 0 original
o 1 12:00:01
|\
o | 2 12:00:04
@ 3 12:00:09
ois a state and@the one you started at. The number is the state’s sequence number, in the order the states were made, and the time is when it was made, on your local 24-hour clock.|\marks the point where a later edit started a new branch.
| Key | Effect |
|---|---|
↑ / ↓ | Select the previous / next state |
PageUp / PageDown | Move a page |
Home / End | Select the original / the newest state |
Enter | Keep the selected state |
Esc | Go back to where you started |
The buffer changes as soon as the selection moves, so you see each state’s
text in the editor behind the panel. Enter keeps the state you are on. It
becomes the current point in the history, and Redo then follows the branch
you came down. Esc puts back the text, the cursor, the selection and the
tab’s modified flag exactly as they were.
Edit → Switch Undo Branch (edit.undo_branch) is still there for
choosing which branch the next Redo follows without opening the panel.
When it is not available
- Shared buffers. In a Cowork shared buffer local undo is off: Undo there reverses only your own edits, through the collaboration session. The status bar says so, and the panel does not open.
- No edits yet. A buffer with no history shows a status message instead.
- Read-only tabs block it, as they block any change to the text.
Safety
The text you preview while the panel is open is never written anywhere. Auto-save, the hot-exit backup and the check for files changed on disk all wait until the panel closes, and quitting with the panel open first puts the starting state back. Persistent undo saves the whole tree when you save; you cannot save while the panel is open, so the saved tree always matches the saved text.
See crates/vix-undo-tree-panel/spec/index.md
for the specification.
Remote editing
Experimental. Vix can work on a folder on another machine over SSH, or inside a running container, Kubernetes pod or WSL distribution (see Containers), with your own settings, themes and keybindings, and the remote side’s files and tools. Nothing needs to be installed on the remote side; if Vix is there, it is used to go faster (see The remote agent).
vix ssh://me@build-box/srv/app # a folder: it becomes the workspace
vix ssh://build-box:2222/~/src/app # relative to the remote home
vix /ssh:me@build-box:/srv/app/main.rs # TRAMP's form; a file opens in its folder
Or, from inside Vix, File → Open Remote… (also in the command palette):
pick a recent remote or choose New connection… and type a name in either
form. Vix connects in the background (the status bar shows ⟳ host) and then
opens the folder as the workspace. Save or close modified buffers first,
since switching workspaces closes them.
Opening from the dialog never prompts
The editor owns the terminal, so the dialog runs ssh in BatchMode: it
cannot ask for a password, a passphrase or whether to trust a new host key.
If the host needs one of those, the connection fails with a message that
says what to do:
- run
ssh build-boxonce in a terminal to accept its host key (it is saved in~/.ssh/known_hosts), orssh-addto load your key into the agent; or - start Vix with
vix ssh://…instead, which connects before the editor takes over the screen and so can prompt normally.
Keys in an agent, ssh_config and an existing shared connection all work
from the dialog.
Containers
The same works inside a running container, a container in a Kubernetes pod,
or a WSL distribution: Vix runs each command through the engine’s exec
instead of ssh, so nothing needs to be installed inside but a POSIX sh
and the usual commands.
vix docker://web/srv/app # a running Docker container (name or id)
vix podman://node@api/~/src # Podman, as user node, under its home
vix k8s://dev/web-7f9c/app/srv # namespace/pod/container in Kubernetes
vix wsl://Ubuntu/home/me/src # a WSL distribution (from Windows)
File → Open Remote… takes these names too. From the OC menu,
Open Workspace in Container… lists the containers: select a running one
and press w, and the Open Remote prompt is filled in with its name (for a
Docker or Podman container); finish
the path inside and press Enter.
File → Open Remote… also lists the containers of running Kubernetes pods
when kubectl is installed (Kubernetes container…: the pods of the current
context’s namespace) and the installed WSL distributions when wsl.exe is
(WSL distribution…). Pick one and the prompt is filled in with its name
and ~; change the path if you like and press Enter.
Everything in this page applies: the status bar shows ⇄ docker:web,
saves are atomic and checked for changes inside, a stopped container shows
as a lost connection (File → Reconnect Remote once it runs again), a new
container workspace is untrusted until you trust it, and Tools →
Terminal opens a login shell inside ($SHELL, else bash, else sh).
Language servers, tasks and git run inside the container. The remote_agent
setting applies too: with "upload", Vix copies itself in when the
container runs the same operating system and architecture, checked the same
way.
Environment variables for tasks and servers reach Docker and Podman by name
(-e NAME, the value read from Vix’s side), never on the command line.
kubectl and wsl.exe have no such option, so for those they are part of
the command line, as over SSH.
Dev containers
OC → Reopen in Dev Container opens the current project in its dev
container (devcontainer.json in the .devcontainer folder, or .devcontainer.json). It
needs the devcontainer CLI
(npm install -g @devcontainers/cli); Vix says so if it isn’t installed.
Building a dev container runs the project’s own Dockerfile, features and
lifecycle commands, so Vix asks first; then it runs devcontainer up --workspace-folder . in the background (with --docker-path podman when
the oc_engine setting, or what is installed, is Podman) and opens the
workspace folder the CLI reports, as the remoteUser the configuration
names, as a trusted workspace. Vix reads devcontainer.json (comments
allowed) only for workspaceFolder and remoteUser as fallbacks; the CLI
does everything else.
While you work
- The status bar shows the host:
⇄ me@build-box, or⇄ me@build-box (restricted)until you trust the workspace (below). - Saves check for changes on the remote side. Each buffer remembers the
file’s size and modification time from when it was read or last saved.
If the file changed since (someone else saved it, or a pull or checkout
rewrote it), the save doesn’t overwrite it; Vix asks instead:
ooverwrites,cshows the file on disk against your buffer so you can merge by hand and save again,n(or Esc) leaves both alone. Local files are saved as before, without this check. - Connection lost. If the connection drops, the status bar shows
⚠ host: connection lostand a warning explains it. Your buffers stay open with their edits; saving is refused (not attempted and failed) and the check for files changed on disk pauses. File → Reconnect Remote connects again in the background; then save as usual. A file that changed remotely while you were away is caught by the check above.
Trust
A remote workspace is untrusted until you say otherwise. The first time you
open one, Vix asks whether to trust it (press y to trust, n for
restricted mode; keys typed before the question appears are ignored). The
answer is remembered on your machine for that host and folder; File →
Trust Remote Workspace… asks again.
In restricted mode you can browse, edit, search and save, but nothing the
workspace itself defines runs: no tasks or project commands (Project
menu), run configurations, test lenses, debugger, language servers, project
scripts (.vix/scripts) or project-local Prettier (node_modules/.bin).
Vix has no automatic environment activation to switch off. The terminal
still opens, but in your remote home folder rather than the workspace, so
nothing in the workspace (a shell hook, an .envrc) runs until you cd
there yourself.
How it works
Vix runs your system ssh for every file operation and process, so your
~/.ssh/config applies as usual: host aliases, User, Port, ProxyJump,
keys, the SSH agent and host-key checking. Vix connects once before the
editor starts, so ssh can ask for a password, passphrase or host-key
confirmation on the terminal; after that, every command shares that one
connection (OpenSSH’s ControlMaster), and none of them can prompt.
On the remote side it needs only a POSIX sh and the usual commands: cat,
head, stat, find, mv, cp, mkdir, rm. GNU, BusyBox, BSD and macOS
versions all work, and so does a fish or csh login shell.
- Saves are atomic: Vix writes a temporary file next to the original and renames it into place, keeping the file’s permissions and writing through a symbolic link.
- Explorer, File → Open, the file finder, search, git and tasks work on
the remote machine, in the workspace. Find in Workspace, Search in
Workspace (to dock), the TODO finder and Todo Tree, and go to definition
run one
rgon the remote machine (orgrepfor a plain-text search whenrgisn’t installed there), so a search is one round trip, not one per file. The file finder honors.gitignorewhen the folder is a git work tree. - Language servers and debuggers run on the remote machine, where the
code and toolchain are, once you trust the workspace. Install them there
(Vix looks each one up on the remote machine’s
PATH, or at the path you configured); a server that isn’t installed there shows as failed in View → LSP Status…. Go to definition, references, rename, code actions, diagnostics and the debugger’s stops all use the remote paths. - Tasks, project commands, test lenses and run configurations run on the
remote machine in the workspace folder, with its
sh(also from a Windows machine). - Tools → Terminal → Show/Hide Terminal opens a shell on the remote machine, in the workspace
folder: Vix runs
ssh -tover the same shared connection, and the remote side starts your login shell ($SHELL). It shows inside Vix like the local terminal;Ctrl+]closes it. - Settings, themes, keybindings, snippets, session and undo history stay on your machine. So does the AI command-line provider, which runs where you are signed in to it.
The remote agent
When the remote machine has vix of exactly the same version as yours,
Vix starts it there as a helper (vix --remote-agent) over the same SSH
connection, and file operations go through it instead of one shell command
each: opening, saving, listing, the file finder’s walk, and the
once-a-second check for files changed on disk (all open files in one
request). Anything it can’t do (a file over 64 MiB, running a program)
still uses the shell commands, and if it stops, Vix carries on with them.
The Messages drawer says when the agent is in use, or why it isn’t.
Vix looks for it in ~/.cache/vix/agent/<version>/vix (or under
$XDG_CACHE_HOME) and on the remote PATH. The remote_agent setting
decides the rest:
remote_agent = "installed" # default: use one that is already there
remote_agent = "upload" # ...and copy this vix there if there is none
remote_agent = "off" # shell commands only
With "upload", and only when the remote machine runs the same operating
system on the same processor architecture, Vix copies its own binary into
that cache folder (private to you, mode 0700). The remote side computes the
copy’s SHA-256 (sha256sum, shasum or openssl) and compares it with
yours before the file is made executable, then runs it once to check its
version; on any mismatch the copy is deleted and nothing is installed. The
upload is off by default because it writes a large executable into your
remote home over what may be a slow link, which some hosts’ policies don’t
allow; turn it on for machines where that’s fine.
Limits
This is the first phase (spec/remote-editing).
- Opening from the dialog can’t answer a password, passphrase or host-key question (see above). There is no Disconnect: open another folder or quit.
- A dropped connection is noticed when an open, a save or the change check
fails; until then an operation may wait for
ssh’s 15-second connect timeout. Other failures (the explorer listing, search) show as ordinary errors. - Trust is per remote workspace only; local workspaces keep the existing script-trust prompt (a general workspace-trust setting is T627).
- Without the remote agent each operation is a round trip (the
once-a-second check for files changed on disk is one round trip for all
open files either way). A regular-expression search on a machine
without
rgreads every file, one round trip each; installripgrepthere for fast search. Workspace symbol search (@@in the palette), structural replace and the Org agenda still read every file. - Moving a file to the trash needs
gioortrash-puton the remote machine; without one, use delete (or setexplorer_delete = "hard"). - Language servers, debug adapters and tasks see the
PATHof a non-interactiveshon the remote machine, which doesn’t read your shell profile: a tool installed under, say,~/.cargo/binmay not be found. Configure its full path (for examplecommand = ["/home/me/.cargo/bin/rust-analyzer"]) in that case. The terminal is a login shell and has your usualPATH. - Debug adapters that talk over a TCP port rather than standard input and output aren’t supported (locally or remotely).
- Stopping a task or closing the terminal ends the local
ssh; a remote program that ignores the closed connection may keep running there. - Containers: a container without
/bin/sh(a “distroless” image) can’t be opened. nerdctl has no name form yet. Kubernetes has run against one local cluster; WSL has been tested only against a stand-in forwsl.exe.
Safety
- Vix never puts a password or other secret on the command line (a test
checks that none from your settings reaches
ssh’s arguments), and never turns host-key checking off: it passes noStrictHostKeyCheckingorUserKnownHostsFileoption, so yourssh_configandknown_hostsdecide, and it never accepts a new or changed host key for you. Authentication isssh’s own (keys, the agent,SSH_ASKPASS). - Every path and argument is quoted before it reaches the remote shell.
- The connection’s control socket lives in a private directory
(
$XDG_RUNTIME_DIR/vix-ssh, or/tmp/vix-ssh-<uid>), which Vix refuses to use if anyone else can reach it.
Testing against a real host
Vix’s own tests drive the SSH support through a stand-in for ssh. To run
the shared file-system conformance suite against a real OpenSSH server on
your machine:
scripts/test-ssh-local
It needs sshd (on Debian or Ubuntu, sudo apt-get install openssh-server;
macOS ships it). The script starts a temporary sshd as you, not as root, on
127.0.0.1:22022 (set VIX_TEST_SSH_PORT to change it), with freshly
generated keys and its own client configuration, so host-key checking stays
on and your ~/.ssh, your SSH agent and any system sshd are left alone.
Everything lives in one temporary directory that is removed afterwards
(VIX_TEST_SSH_KEEP=1 keeps it, with the server’s log). The same script runs
in GitHub Actions whenever the SSH code changes.
For containers, VIX_TEST_DOCKER=1 cargo test -p vix-authority --features ssh --test container a_real_docker_container_conforms starts a throwaway
alpine container with your docker (Podman’s docker works too), runs
the same suite inside it, and removes it; VIX_TEST_DOCKER=<name> uses a
running container instead.
To test against another machine instead, set VIX_TEST_SSH_HOST to a host
your ssh can reach without a prompt (user@host or ssh://host:port) and
run cargo test -p vix-authority --features ssh --test ssh a_real_host_conforms.
The suite creates and removes a scratch folder under /tmp there.
QR Code
The QR Code generator encodes text into a scannable QR code drawn with Unicode block characters, shown in a read-only overlay you can scan straight from the screen.
Using it
Open it from Tools → QR Code… or the command palette. The encoded text is the current selection if you have one; otherwise it is the cursor’s line. (Selecting a URL and opening QR Code is the common case.) If there is nothing to encode, Vix™ says so instead of opening.
The overlay draws the QR forced to black-on-white so it scans regardless of your theme, with a quiet-zone border. Press Esc, Enter, or q to close it.
Notes
The encoder is a thin wrapper over the qrcode crate (Unicode renderer only; no
image or SVG backends are compiled in). See the specification at
crates/vix-qr-tool/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Org-Roam
Vix™ includes an Org-roam-style layer on top of
Org mode: networked, Zettelkasten-style note-taking over a
directory of .org files. Open the Org → Roam (or Org → Node) menu
with a buffer of Org text.
A node is an .org file carrying an :ID: property and a #+title:.
Nodes link to one another with [[id:<id>][Title]] links; the set of nodes
and links forms a graph you can search, insert into, and visualize.
Finding, creating, and linking nodes
- Find Node… (
roam.node_find) prompts for a title and opens the matching node, or offers to create one if none exists. - Insert Node Link… (
roam.node_insert) prompts for a title and inserts a[[id:...][Title]]link to that node at the cursor — finding or creating it — without leaving the buffer you’re editing. A freshly created node file is written to disk but not opened. - Random Node (
roam.node_random) jumps to a random existing node. - Complete Link… (
roam.link_complete), and typing[[directly in an Org buffer, opens a completion popup of node titles; accepting one inserts the link. Seecrates/vix-roam/spec/wiki-link-completion/index.md. - Capture Node… (
roam.capture) prompts for a title and creates (or opens) a node without needing to already know whether it exists.
Backlinks
- Backlinks (
roam.backlinks) lists the nodes that link to the current one. - Live Backlinks (
roam.backlinks_follow) is a toggle that fills the bottom dock with the active node’s linked and unlinked references, and refreshes automatically as you move between nodes. Seecrates/vix-roam/spec/live-backlinks/index.md.
Dailies
Org → Roam → Dailies manages one daily note per day:
- Today (
roam.dailies_today) opens (or creates) today’s daily note. - Capture Today… (
roam.dailies_capture) prompts for a quick note to drop into today’s daily note. - Go to Date… (
roam.dailies_date) opens (or creates) the daily note for a date you type. - Calendar… (
roam.dailies_calendar) opens the month-grid calendar in dailies mode: pressing Enter on a day opens or creates that day’s daily note instead of inserting a date string. Seecrates/vix-roam/spec/dailies-calendar/index.md.
Node metadata
Org → Roam → Metadata edits the current node’s file-level property
drawer and #+filetags: line:
- Add Tag… (
roam.tag_add) - Add Alias… (
roam.alias_add) - Add Ref… (
roam.ref_add)
Graph and database
- Graph (
roam.graph) compiles the node/link graph into a Mermaid diagram in a new tab. - Sync Database (
roam.db_sync) rebuilds the node index from the project’s.orgfiles.
Org → Node
Org → Node is a second menu over the same node infrastructure, styled
after org-node: fast, ID-based nodes that can be whole files or subtrees.
It reuses Find/Insert Link/Random/Backlinks from Roam and adds its own
operations:
- Insert Transclusion… (
node.insert_transclusion) - Nodeify Entry (
node.nodeify) — give the headline at the cursor an:ID:so it becomes a node in place. - Extract Subtree to Node (
node.extract_subtree) — move a subtree into its own node file. - List Dead Links (
node.dead_links) — findid:links with no matching node. - Rename File by Title (
node.rename_by_title) — rename a node’s file to match its#+title:. - Rebuild Cache (
node.reset) — the same rebuild as Sync Database, run from the Node menu.
None of these actions have default keybindings; all run from the Org menu or the command palette.
Implementation
vix-roam is the pure, testable core — parsing a node’s title/id, building
new node and daily-note skeletons, editing the property drawer and
#+filetags:, and compiling backlinks/graph/index views — with no
filesystem or editor dependency of its own. The host (App, mostly
tui/src/app/roam.rs) wires these functions to the menu, prompting for input and
reading/writing the actual .org files under the project root.
See the crate spec at crates/vix-roam/spec/index.md, and its sub-specs
crates/vix-roam/spec/dailies-calendar/index.md,
crates/vix-roam/spec/live-backlinks/index.md, and
crates/vix-roam/spec/wiki-link-completion/index.md. For the underlying
headline/TODO/agenda
features these notes are written in, see Org.
Vix™ and Vix IDE™ are trademarks.
Safe Save
Saving never leaves a half-written file, and never changes who owns it or splits a hard link.
How a save works
Vix writes the new contents to a temporary file next to the target, then renames it into place, so a crash leaves either the old file or the new one. An existing file keeps its permission bits exactly; a brand-new file gets your normal umask-default mode.
Hard links and other owners
A rename replaces the file’s inode, which would break a hard link or change the owner and group of a file that belongs to someone else. So when the file has more than one hard link, or its owner or group differs from the new file’s, Vix writes in place instead. The same happens when the directory is not writable.
Before any in-place write, Vix copies the original to a recovery directory
($XDG_STATE_HOME/vix/recovery, else ~/.local/state/vix/recovery) as a
*.vixrecover file, and deletes the copy once the new data is flushed to
disk.
After an interrupted save
If Vix is killed in the middle of an in-place write, the copy stays behind. At the next start the status line reports how many such copies were found and where. The original bytes are in that file after its two header lines (magic and original path). A Restore / Diff / Discard prompt is not built yet.
See the specification at crates/vix-fileops/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Snippets
Insert reusable boilerplate two ways:
- Tools → Snippets… (or the command palette) opens a searchable picker — type to filter by name, prefix, or description, then Enter to insert.
- Prefix expansion — type a snippet’s prefix (e.g.
fn) and press Tab; the word is replaced by the snippet body.
Snippets can carry tabstops — fields you fill in and jump between with Tab.
Creating a snippet from a selection
Select some text, then Tools → New Snippet from Selection…. Type a prefix at the prompt — it becomes both the new snippet’s name and its expansion prefix — and the selection is saved to your global snippets file. Reusing an existing prefix overwrites that snippet. With nothing selected, this is a no-op.
Your own snippets (JSON files)
Beyond the bundled set, Vix™ loads snippet files from three places (modeled on VS Code’s JSON snippets):
- Global —
~/.config/vix/global/snippets/snippets.json(always available). - Media-type —
~/.config/vix/media-types/<type>/<subtype>/snippets/snippets.json, e.g.…/media-types/text/rust/snippets/snippets.jsonfor Rust files. Applies only to buffers of that media type. - Project —
<config>/snippets/snippets.jsonunder the project root (set the path with theproject_snippetssetting).
Each file is a JSON object of "Name": { "prefix": …, "body": …, "description": … }
entries. prefix and body may be a string or an array of strings (joined by
newlines). For example:
{
"Function": {
"prefix": "fn",
"body": ["fn ${1:name}(${2}) -> ${3:()} {", "\t$0", "}"],
"description": "A Rust function"
}
}
(The files are JSON, not XML; TextMate’s interpolated shell code and \u escapes
are not supported.) See the full reference at crates/vix-snippets/spec/index.md.
Tabstops
When a snippet has fields, inserting it places the cursor on the first one and selects any placeholder text, so you can just start typing:
- Tab moves to the next field.
- Esc leaves snippet mode (Tab goes back to indenting).
- The last field (
$0) is where the cursor ends up.
For example, the Rust function snippet expands to:
fn name() -> () {
}
with name selected first; Tab then moves to the parameters, the return type, and
finally the body.
Writing tabstops
Snippet bodies use a small syntax:
| Marker | Meaning |
|---|---|
$1, $2, … | A field, visited in order |
${1:placeholder} | A field pre-filled with selectable text |
$0 | The final cursor position |
\$ | A literal dollar sign |
See the specification at crates/vix-snippets/spec/index.md. For one-shot generated text
(UUIDs, dates, language boilerplate) see Insert.
Vix™ and Vix IDE™ are trademarks.
Status Bar
The status bar is the bottom band of the window. It shows, at a glance, the active file and its state, the keymap mode, the latest status message, and — on the right — details about the current buffer and cursor. A full-width top border separates it from the body above.
Show / Hide
Toggle the bar with View → Show/Hide Bottom Status (the show_status_bar
setting).
Left Side
The left segment shows:
- the keymap mode indicator (for Vim or Emacs keymaps), when active;
- the file path of the active buffer;
- a dirty flag glyph when the buffer has unsaved changes;
- the latest status message, after an em-dash separator.
Git Branch
When the workspace is a git repository, the bar shows the current branch name,
with a • dirty dot when the working tree has changes. Clicking the branch
indicator opens the Git Changes panel. See docs/git-panel/index.md.
Right Side
The right segment shows buffer and cursor details:
- the buffer’s language (omitted for a non-text tab);
- the line ending (LF or CRLF);
- the encoding the file was read in and will be saved in, such as
UTF-8,UTF-8 BOMorShift_JIS(change it with File → Reopen with Encoding… or Save with Encoding…); - the selection size, rendered as
Sel {chars} ({lines}L)when text is selected; - the cursor position, as
Ln {line}:Col {col}; - a calendar icon at the far right.
Example
Editing an unsaved Rust file on line 42, column 9, on the main branch with
changes, the bar reads roughly:
tui/src/app.rs ● — Saved Rust LF UTF-8 Ln 42:Col 9
Clicking the main • branch indicator opens the Git Changes panel.
Vix™ and Vix IDE™ are trademarks.
Surround
Surround wraps the current selection in a matching pair of brackets or quotes — or removes that pair if the selection is already wrapped. It is a menu item under Edit → Surround; choosing one transforms the selection in place.
The feature is a thin editor wiring around the vix-affix crate, which is
pure text logic: adding, dropping, or toggling a prefix/suffix pair around
a string. vix-affix has no menu presence of its own — it does not do
anything with lines or files, only strings — the surrounding feature lives in
App::surround / App::toggle_wrap in tui/src/app.rs.
How to use
- Select the text you want to wrap.
- Open Edit → Surround.
- Choose a pair.
With nothing selected, Surround still runs: it inserts the empty pair at the cursor and leaves the cursor between the two halves, ready to type.
Available pairs
| Menu item | Action ID | Pair |
|---|---|---|
| ( Parentheses ) | edit.surround.paren | ( ) |
| [ Brackets ] | edit.surround.bracket | [ ] |
| { Braces } | edit.surround.brace | { } |
| < Angles > | edit.surround.angle | < > |
| “ Double Quotes “ | edit.surround.double_quote | " " |
| ’ Single Quotes ’ | edit.surround.single_quote | ' ' |
| ` Backticks ` | edit.surround.backtick | ` ` |
There is no default keybinding for any of these — they are menu- and palette-driven only.
Toggle behavior
Each action toggles: if the selected text already starts with the pair’s
opening character and ends with its closing character, running the action
again strips the pair instead of doubling it up. This is vix_affix::toggle
underneath — it checks whether the text is already wrapped before deciding
whether to add or drop.
Examples
Select alfa and choose ( Parentheses ):
alfa→(alfa)- Run ( Parentheses ) again on the still-selected
(alfa)→alfa
Select hello world and choose “ Double Quotes “:
hello world→"hello world"
With no selection, choosing { Braces } inserts {} and puts the cursor
between the two, so typing continues inside the pair.
See the crate spec at crates/vix-affix/spec/index.md for the underlying
add/drop/toggle functions.
Vix™ and Vix IDE™ are trademarks.
System Information Panel
The system information panel is a scrolling, read-only overlay that shows a snapshot of your machine. You can browse the values and insert any one of them into the active editor.
Opening the panel
Open it from the menu bar: Tools → System Information. The panel appears as a modal overlay over the editor.
What it shows
The panel gathers a static snapshot once, at the moment it opens, using the
sysinfo crate. It covers:
- Operating system — name, version, kernel, hostname, architecture.
- CPU — model, vendor, physical and logical core counts.
- Memory and swap — total, used, and available.
- Storage — per-mount, shown as free of total.
- Uptime — how long the system has been running.
- Environment — user, home directory, working directory, shell.
Because the snapshot is taken once on open, the values do not refresh while the panel is open; reopen the panel to gather fresh data.
Keybindings
| Key | Action |
|---|---|
↑ / ↓ | Move the highlight up / down one row |
PageUp / PageDown | Move the highlight by a page |
Home / End | Jump to the first / last row |
Enter | Insert the highlighted value into the editor |
Esc | Close the panel |
Mouse
A left click on a row inserts that row’s value into the active editor.
Example
To record your kernel version in a bug report: open Tools → System
Information, highlight the kernel row, and press Enter (or click it). The
value is inserted at the cursor.
Roadmap
Live refresh, per-process CPU/memory and the process tree, hardware sensors (battery, temperatures, fan speeds), and network interfaces / traffic rates are planned but not yet implemented.
Vix™ and Vix IDE™ are trademarks.
Tasks
Define your project’s common commands once and run them from a menu instead of
retyping them. Vix™ reads a tasks.toml from the workspace root (or
.vix/tasks.toml) and lists the tasks under Tools → Tasks… (also in the
command palette).
Defining tasks
[[task]]
name = "build"
command = "cargo build"
[[task]]
name = "test"
command = "cargo test --all"
[[task]]
name = "serve docs"
command = "python3 -m http.server -d docs"
Each [[task]] needs a name (shown in the chooser) and a command (a shell
command line). Entries missing either are ignored.
Running a task
Open Tools → Tasks…, highlight a task with ↑ / ↓, and press Enter (or
click it). The command runs through the same pipeline as Run Command: output
streams to the bottom dock and the completion is recorded in the
notification panel (Info on success, Error on a
non-zero exit). If no tasks.toml is found, Vix says so in the status bar.
Problems in task output
While a command runs — a task, a Project menu command, Tools → Run Tests, or
a plain Run Command — Vix reads its output for compiler errors, lint
findings and failing tests, like VS Code’s problem matchers or Emacs’s
next-error. When it finishes, the status bar says how many problems it found.
Then:
- Go → Next Error and Go → Previous Error open each problem’s file at its line and column, in the order the tool printed them, across files. At the last problem Next starts again from the first (and Previous from the last). The status bar shows “Problem 2 of 5” and the message.
- Tools → Language Server → Diagnostics… (the Problems list) shows them too, after the language servers’ diagnostics, tagged with the tool that found them.
- The open file shows the message at the end of the problem’s line, in the same
way as inline diagnostics (the
inline_diagnosticssetting:off,cursor-lineorall). - Clicking a line in the bottom dock jumps to the location it names, including
rustc’s
--> src/main.rs:4:18lines and Python’sFile "app.py", line 3frames.
Vix recognizes rustc and cargo, gcc and clang, tsc, eslint, Python tracebacks and pytest, and the Go toolchain. A task can pick one, turn matching off, or give its own regular expression:
[[task]]
name = "lint"
command = "npx eslint src"
matcher = "eslint" # or "rustc", "gcc", "tsc", "python", "go",
# "auto" (the default) or "none"
[[task]]
name = "check"
command = "./check.sh"
matcher = '^(?P<file>[^:]+):(?P<line>\d+): (?P<severity>\w+): (?P<message>.*)$'
A regular expression must have file and line groups; column, severity
and message are optional. If it is invalid, Vix says so and uses the built-in
matchers instead.
File names are taken relative to the folder the command ran in. Vix never opens a file just because a command printed its name: it opens one only when you go to that problem, and only if it exists.
See the specification at crates/vix-tasks/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Integrated Terminal
Run a shell without leaving Vix™. Tools → Terminal (or the command palette) opens a real interactive terminal — your usual shell, in the workspace directory — right inside the editor.
Using it
- Open with Tools → Terminal. Vix launches your shell (
$SHELL, or/bin/sh;cmd.exeon Windows) on a pseudo-terminal. - Type as you would in any terminal: full-screen programs (
vim,htop,gitpagers), colors, and the cursor all work — output is parsed with a real terminal emulator (vt100). - Hide the terminal with
Ctrl+](or Tools → Terminal → Show/Hide Terminal). Hidden terminals keep running; show them again the same way. - Close a terminal with Tools → Terminal → Close Terminal. When its shell exits, the tab stays, marked as exited: press Enter to restart the shell, or any other key to close the tab.
While the terminal is shown it receives every keystroke (so Vix’s own shortcuts are paused), apart from a few chords of its own:
| Keys | Does |
|---|---|
Ctrl+] | Hide the terminal and return to the editor |
Shift+PgUp / Shift+PgDn | Scroll back / forward a page |
Shift+Home / Shift+End | Jump to the oldest kept line / back to the live screen |
Ctrl+PgUp / Ctrl+PgDn | Previous / next terminal |
The terminal resizes with the window so programs lay out correctly.
Several terminals
Tools → Terminal → New Terminal opens another shell as a new tab. With more
than one, a row of numbered tabs shows above the screen, the active one
highlighted. Switch with Ctrl+PgUp / Ctrl+PgDn or Next Terminal /
Previous Terminal; Close Terminal stops the active one.
Scrollback
Each terminal keeps its last 2000 lines. Scroll back with Shift+PgUp or the
mouse wheel; the title says how far back you are, and typing anything returns to
the live screen. Change how many lines are kept with the terminal_scrollback
setting (at most 50 000; 0 keeps none); it applies to terminals opened
afterwards.
Mouse and copy
- Select text by dragging with the left button; letting go copies it to the clipboard. Tools → Terminal → Copy Terminal Text copies the selection, or the whole visible screen when nothing is selected.
- Programs that use the mouse (
htop,vimwithmouse=a,tmux) get your clicks, drags and wheel. HoldShiftto select text in Vix instead.
Terminal and editor together
- Open from output.
Ctrl+clickon a path in the terminal (including scrollback) opens it in the editor and hides the terminal.path,path:lineandpath:line:colwork, resolved against the terminal’s own directory and then the workspace root. If the word is not a file, the whole row is read like task output, so compiler errors, Python tracebacks and similar lines jump to their location. Nothing found: the click does nothing. - Working directory. If your shell announces its directory (OSC 7, which zsh, bash and fish integrations send from the prompt), relative paths resolve against it. Without that, they resolve against the directory the terminal started in.
- Send Selection to Terminal (
terminal.send_selection) runs the editor’s selection, or its current line, in the active terminal and presses Enter. It opens a terminal if none is open. - Restart Terminal (
terminal.restart) starts the same command again in place, keeping the screen and scrollback. - Toggle Terminal Key Capture (
terminal.toggle_capture, orCtrl+\) chooses whetherCtrlandAltchords go to the shell (the default) or fall through to the editor while the terminal stays open; the title sayseditor keyswhile capture is off.
Notes
- In a remote workspace every terminal is a shell on the remote machine; see Remote editing.
See the specification at crates/vix-terminal/spec/index.md. For one-off, non-interactive
commands whose output you want to keep, use Tools → Run Command (it streams to
the bottom dock) or define a task.
Vix™ and Vix IDE™ are trademarks.
Test Runner
Run your test suite and see a tidy pass/fail list instead of scrolling raw output. Tools → Run Tests runs your test command, and the Test panel shows each test with a ✓ / ✗ / ○ and lets you jump to failures.
Configure
Set the command for your project in config.toml:
test_command = "cargo test" # or "pytest -v", "npm test", "go test ./..."
Using it
- Tools → Run Tests (or the command palette) runs
test_command. Output still streams to the bottom dock; when it finishes, the Test panel fills with the parsed results and a notification reports how many passed / failed / were ignored. - Toggle Test Panel shows or hides the panel on the right.
- Each row shows the test name with a status icon. Click a failing test to
jump straight to the line that panicked (for
cargo test; other runners show status without a location).
Vix™ understands cargo test (libtest) and the common name PASSED/FAILED/SKIPPED
format used by pytest -v and others.
See the specification at crates/vix-test-runner/spec/index.md. For arbitrary project
commands (not just tests) see Tasks.
Vix™ and Vix IDE™ are trademarks.
Themes
Every theme in Vix™ is a JSON theme (see crates/vix-theme/spec/index.md). A set ships
bundled in the binary — including Dark (the default) and Light — and you
can add your own. Pick a theme live in View → Theme… (↑↓ to preview, Enter to
apply, Esc to cancel). The chosen theme’s name is saved to the theme setting.
Built-in themes
Dark (default, a soft [215,215,215] on [40,40,40]) and Light (its
inverse) are ordinary bundled themes — tui/themes/dark.json and
tui/themes/light.json — with no special treatment. Edit those files, or install a
same-named theme of your own, to change them.
Following the terminal (theme = "auto")
Set theme = "auto" and Vix picks theme_light or theme_dark (defaults "light"
and "dark") to match your terminal. At startup it asks the terminal for its background
color (OSC 11) and waits up to 200 ms for the answer; if the terminal doesn’t answer it
reads COLORFGBG, and if that is missing too it uses theme_dark. It asks once, at
startup, so changing your terminal’s appearance mid-session takes effect on the next
launch. Nothing is asked unless theme is "auto".
Terminals without truecolor
Themes are written in RGB. On a terminal that can’t show RGB, Vix converts every color
to the nearest one the terminal has: the xterm 256-color palette, or the 16 ANSI colors.
It decides from COLORTERM, TERM and TERM_PROGRAM (for example COLORTERM=truecolor
keeps RGB, macOS Terminal.app gets 256 colors, the Linux console 16) without asking the
terminal anything. vix --doctor shows the depth it chose. If a truecolor terminal is
detected wrongly, set COLORTERM=truecolor. See
crates/vix-theme/spec/index.md.
Custom themes
Themes are JSON files in the themes directory:
~/.config/vix/themes/<name>.json # Linux (and platform equivalents)
Ready-made themes
A set of themes is bundled into the binary (from the repo’s tui/themes/
directory) and appears in View → Theme… automatically — no installation
needed: Dark, Light, Darker, Darkest, Lighter, Lightest,
Turbo, Solarized Dark, Solarized Light, Dracula, Nord, Gruvbox Dark,
Monokai, One Dark, Tokyo Night, Catppuccin Mocha, High Contrast
(WCAG AA, 11:1 or better on every text color), and four single-color
themes: Phosphor Green Monochrome, Phosphor Amber Monochrome,
Phosphor White Monochrome and Safelight Red Monochrome. Each draws the
whole screen in one color on black, with no syntax colors and a reverse-video
cursor. Plus every theme generated from a
bundled base16 palette, prefixed Base16 … in the same View → Theme… list
(see crates/vix-base16/spec/index.md).
A theme you install in your own themes directory overrides a bundled one of the same name, so you can customize any of them by dropping an edited copy there.
Contrast. The default Dark and Light themes meet WCAG AA: every text
color is at least 4.5:1 against its background, and the cursor at least 3:1.
Other themes, bundled or your own, are not held to that: some are chosen for
their look (the single-color themes, Turbo, the base16 palettes), and Vix
loads and applies any theme you pick without checking it. For the most
contrast, pick High Contrast.
Writing your own
Each file defines per-region colors. Any region, channel, or section you omit
falls back to the primary editor color, so a partial theme is valid.
Colors are [R, G, B] arrays, each channel 0–255.
{
"name": "my-theme",
"menu-bar": { "foreground": [212, 212, 212], "background": [30, 30, 30] },
"status-bar": { "foreground": [212, 212, 212], "background": [30, 30, 30] },
"left-dock": { "foreground": [212, 212, 212], "background": [30, 30, 30] },
"right-dock": { "foreground": [212, 212, 212], "background": [30, 30, 30] },
"editor": {
"foreground": [212, 212, 212],
"background": [30, 30, 30],
"cursor": [82, 139, 255],
"font-style": "normal",
"font-weight": "normal"
},
"syntax": {
"keyword": [86, 156, 214],
"string": [206, 145, 120],
"comment": [106, 153, 85]
}
}
Regions
| Key | Region |
|---|---|
menu-bar | The top menu bar. |
status-bar | The bottom status bar. |
left-dock | The file explorer drawer. |
right-dock | The message drawer. |
editor | The center text area. |
Each region takes foreground and background, and optional font attributes:
| Field | Values | Default |
|---|---|---|
foreground | [R, G, B] | theme fg |
background | [R, G, B] | theme bg |
font-style | "normal" or "italic" | "normal" |
font-weight | "normal" or "bold" | "normal" |
editor additionally takes a cursor color (drawn as the block-cursor cell).
The optional syntax block colors Tree-sitter tokens — keyword, string,
comment, and number are recognized.
The bundled Dark/Light themes use no italic or bold; those effects appear only under a theme that opts in.
Selecting a custom theme
Drop a file in the themes directory and reopen View → Theme…: it appears in
the list after Dark and Light. Selecting it saves its name to the theme
setting, so it is restored on the next launch. If a saved custom theme name can
no longer be found, Vix falls back to Dark.
Theme editor
View → Edit Theme… (T202) opens an in-app editor over a copy of the active
theme: 15 rows, one per color slot, each showing its current #RRGGBB value.
↑/↓ (or the mouse) move the highlight; Enter opens the same X11 color
picker Tools → X11 Colors uses, so choosing a slot’s new color is browsing a
named-color table, not typing hex by hand. Every change is applied live, so
the real UI reflects the edit immediately. Esc closes the editor and reverts
to the theme that was active before you opened it, if you haven’t saved.
Ctrl+S prompts for a name and writes the result to
~/.config/vix/themes/<name>.json, then makes it the active theme — the same
outcome as picking any other theme from View → Theme….
See crates/vix-theme-editor-panel/spec/index.md for the implementation.
See also
crates/vix-theme/spec/index.md— the theme specification (source of truth).- configuration.md — the
themesetting and file locations.
Vix™ and Vix IDE™ are trademarks.
Todo Tree
Every TODO, FIXME, HACK, XXX, BUG and NOTE comment in your
project, gathered in one window and grouped so none are forgotten.
Open it with Tools → Todo Tree or from the command palette. Vix™ scans
the project’s files (the ones your .gitignore doesn’t exclude) and lists
what it finds, up to 2,000 entries.
Reading the tree
Entries are grouped under a header that shows how many it holds.
- By tag (the default): one group each for
TODO,FIXME,HACK, and so on. Each entry showsfile:lineand the comment’s text. - By file: one group per file, each entry showing its line number.
A tag only counts as a whole word, so a variable named todos is not a
TODO. A line with several tags is listed once, under the first.
Keys
| Key | What it does |
|---|---|
| Up / Down, PageUp / PageDown | Move the highlight |
| Enter | On an entry, jump to it; on a header, fold or unfold the group |
| Space | Fold or unfold the highlighted row’s group |
g | Switch between grouping by tag and by file |
[ / ] | Fold every group / unfold every group |
| Esc | Close |
Clicking an entry jumps to it; clicking a header folds it.
The flat list
Tools → TODO Finder is still there when you just want a quick pick from a flat list of the same entries.
Not yet
Custom tags and patterns, limiting the scan to open files, refreshing on save, and docking the tree beside the editor are planned.
See the specification at crates/vix-todo-tree/spec/index.md.
vix-bui (desktop window on BUI)
vix-bui is the sixth desktop front end for Vix: the same editor, in a native
window drawn by BUI, Blender’s user
interface toolkit packaged as a library. Like the other desktop front ends
(vix-gpui, vix-egui, vix-iced, vix-gtk4, vix-slint) it is
experimental, written so the toolkits can be compared side by side.
Run it
vix-bui has no release archives or installers. On Linux, every release
has vix-bui .deb, .rpm and Arch packages (x86_64 and aarch64; see
Getting Started); it runs on X11, or through
XWayland on a Wayland session. To build it from source you need
CMake and a C/C++ compiler (BUI’s core is C), and on
Linux the X11 headers (libx11-dev).
cargo run --manifest-path gui/Cargo.toml --release -p vix-bui
cargo run --manifest-path gui/Cargo.toml --release -p vix-bui -- README.md
It takes the same command line as vix. Set BUI_THEME=light for BUI’s light
theme and a light default palette; Vix’s own themes (View → Theme) work as
usual.
What you get
Everything in the terminal editor that fits a grid of characters: open, edit
and save files, tabs and splits, find and replace, the explorer, the command
palette (Ctrl+P), every menu (click, F10, Alt mnemonics), docks, pickers,
LSP, git, tasks, themes and keymaps. The window draws the unchanged editor
into a character grid, so nothing behaves differently from the terminal.
- Keys: typed text, named keys and
Ctrl/Alt/Cmdchords. On macOSCmdacts asCtrlandOptionasAlt. - Mouse: click, drag, double-click and the wheel.
- Clipboard: the system clipboard through Vix’s usual copy and paste keys.
What is different
- Fonts. Text is in Menlo, Consolas or DejaVu Sans Mono by platform; set
VIX_GUI_FONTto a family name to change it. Icons need a Nerd Font installed; CJK and symbols come from a fixed list of system fonts. Emoji in color and scripts that need shaping (Arabic, Devanagari) do not draw properly. With no such font installed, BUI’s built-in Inter is used, placed cell by cell. - Menus. On macOS the native menu bar works alongside the in-window one, and File → Open with System Dialog… is on it. Elsewhere use the in-window menus. There is no input-method (IME) support.
- Quit with File → Quit (
Ctrl+Q). Closing the window with its close button ends the program immediately, without the unsaved-changes prompt: BUI cannot let an app veto it. - Move the pointer over the window before you type. BUI delivers keys to the node under the pointer until something has been clicked.
- Software drawing. BUI has no GPU renderer on macOS.
The full list of limits, and what is and is not verified, is in the
specification. Licensing: BUI is
GPL-3.0-or-later (from 0.4.1), so the vix-bui binary is distributed under the GPL-3.0
only (like vix-slint); see spec/license.
See also the desktop GUI overview.
Vix™ and Vix IDE™ are trademarks.
vix-zgui (desktop window on zgui)
vix-zgui is the seventh desktop front end for Vix. It is the same editor, in
a native window drawn by zgui, a Rust UI
framework with fine-grained reactivity, real CSS and a GPU renderer. Like the
other desktop front ends (vix-gpui, vix-egui, vix-iced, vix-gtk4,
vix-slint, vix-bui), it is experimental, written so the toolkits can
be compared side by side.
Run it
vix-zgui has no release archives or installers. On Linux, every release
has vix-zgui .deb, .rpm and Arch packages (x86_64 and aarch64; see
Getting Started). It also builds from source
in any of three ways:
brew install vixide/tap/vix-zgui # Homebrew: compiles the crates.io crate
cargo install --locked vix-zgui # crates.io
cargo run --manifest-path gui/Cargo.toml --release -p vix-zgui -- README.md # a checkout
Then run vix-zgui (or vix-zgui FILE…). Compiling takes a few minutes: it
builds the whole editor and zgui’s GPU stack. On Linux it needs the Wayland,
xkbcommon and fontconfig development packages.
It takes the same command line as vix. Set VIX_GUI_THEME=light for a light
default palette. Vix’s own themes (View → Theme) work as usual.
What you get
You get everything in the terminal editor that fits a grid of characters:
- open, edit and save files;
- tabs and splits, find and replace, the explorer;
- the command palette (
Ctrl+P); - every menu (click,
F10,Altmnemonics), docks and pickers; - LSP, git, tasks, themes and keymaps.
The window draws the unchanged editor into a character grid, so nothing behaves differently from the terminal.
- Keys: typed text, named keys, and
Ctrl,AltandCmdchords. On macOSCmdacts asCtrlandOptionasAlt. - Mouse: click, drag, double-click and the wheel, including trackpad scrolling.
- Clipboard: the system clipboard, through Vix’s usual copy and paste keys.
- Closing the window runs File → Quit, so unsaved changes are asked about first.
What is different
- Fonts. Text is in Menlo, Consolas or DejaVu Sans Mono, depending on the
platform. Set
VIX_GUI_FONTto a family name to change it. Icons need a Nerd Font installed (Symbols Nerd Font is tried first). CJK and other scripts fall back to system fonts automatically. - Menus. On macOS the native menu bar works alongside the in-window one, and it has File → Open with System Dialog…. On other platforms, use the in-window menus.
- Input methods. Committed text from an input method is typed, but the text being composed is not shown in the window.
- Light or dark follows
VIX_GUI_THEME, not the desktop setting.
The full list of limits, and of what is and is not verified, is in the
specification. Licensing: zgui is
Apache-2.0, so vix-zgui has the same license choice as the editor; see
spec/license.
See also the desktop GUI overview.
Vix™ and Vix IDE™ are trademarks.
IDE Parity Features
Eight features people miss when they move from Visual Studio or a JetBrains
IDE, built on parts Vix already had. The assessment behind them is
spec/ide-parity.
Local History
Every time you save, Vix™ keeps a timestamped copy of the file, independent of git and of the undo tree. File → Local History… lists them, newest first, with size and label.
| Key | What it does |
|---|---|
| Enter | Open a read-only diff from that snapshot to the file as it is now |
o | Open the snapshot’s text read-only |
r | Restore the whole file from the snapshot (left unsaved, so you can undo) |
s | Restore only the selected lines (or the cursor line) from the snapshot |
| Esc | Close |
File → Label Local History Snapshot… saves a snapshot of the buffer right
now under a name; a labelled snapshot is the last to be pruned. The
local_history_keep setting (default 50) is how many snapshots each file
keeps; 0 turns Local History off. Snapshots live under <config>/history/.
Search Everywhere
Go → Search Everywhere is one box over files, commands, the open file’s
symbols and workspace symbols. Type and the best of each kind appear, files
first. The usual prefixes still pick one kind: > commands, @ symbols,
@@ workspace symbols, # buffers, : a line number. The ordinary
Ctrl+P palette is unchanged.
Refactor, Organize Imports, Code Cleanup
These need a language server for the file.
- Tools → LSP → Refactor… lists only the server’s refactorings (extract,
inline, move and so on). In the list, Enter applies one and
ppreviews it as a diff first. - Tools → LSP → Organize Imports asks the server to sort and prune imports and applies the result.
- Edit → Code Cleanup trims trailing whitespace, drops blank lines at the end of the file and ensures a final newline, then (with a server) organizes imports. It does not run the formatter; use Format for that.
Run configurations
Project → Run Configuration… runs a named configuration from
.vix/run.toml, which you commit so a team shares it. Project → Edit Run
Configurations opens the file, creating a starter if it is missing.
[[config]]
name = "build"
command = "cargo build"
[[config]]
name = "api"
command = "cargo run -p api"
cwd = "services/api" # relative to the project root
env = { PORT = "8080" }
before = ["build"] # runs first and must succeed; a config or a task
[[config]]
name = "stack"
compound = ["api", "web"] # started together
A configuration has either command or compound, never both. before
entries may also name a task from tasks.toml. Everything runs as one shell
line through the same pipeline as Run Command, so output streams to the
bottom dock and only one runs at a time. On Windows the members of a compound
run one after another.
Peek Definition
Tools → LSP → Peek Definition shows the definition of the symbol under the cursor in a popup of surrounding lines without leaving the file. Enter opens the definition; Esc closes. With no language server it uses the same text search as Go to Definition and peeks the first match.
CodeLens
Code lenses appear as dimmed rows above the lines they belong to, for
example Run | Debug over a Rust test or 3 references over a function.
They are not part of the file: the cursor, selections, line numbers and
saving all ignore them. They work with soft wrap and with folds (a folded-away
line shows no lens).
- Where they come from. The language server’s lenses (requested when a file opens, again half a second after you stop typing, on save, and whenever the server asks for a refresh; lenses the server sends without a title are filled in only once they scroll into view). Without a server, or where the server put no lens on a test, Vix adds its own Run test lens above each test it recognizes (Rust, Python, Go, JavaScript/TypeScript, Ruby, Elixir, the same rules as Project → Test at Point).
- Running one. Tools → LSP → Run Code Lens on Line
(
lsp.code_lens_run) runs the lens above the cursor’s line; when the line has several it opens a list to pick from. Tools → LSP → Code Lens… (lsp.code_lens) lists every lens in the file, starting at the cursor. A command the server advertises is sent back to it; rust-analyzer’s Run runs itscargocommand in the bottom dock, and N references opens the references list. Any other client-side command (for example rust-analyzer’s Debug) reports “Unsupported code lens command”. - Turning them off. View → Editor → Code Lens (
view.code_lens), orcode_lens = falsein the config file.
Postfix completion
Type an expression, a dot and a template key, then press Tab: ready.if
becomes if ready { … } and items.for becomes a for item in items loop.
Templates exist for Rust, JavaScript and TypeScript, Python, Go and the
C family (if, else, not, for, let/const/var, return, and a few
per language such as match, some, log, print). The expression may be a
path, a call or an index (self.items, foo(a, b), xs[0]).
Tools
The Tools menu collects a set of small, single-purpose utilities alongside
the editor’s larger panels — quick converters and testers you open, use for a
moment, and close. Most work one of two ways: a Tools → Convert (or
Checksum) leaf transforms the selection (or, with nothing selected, the
whole buffer) in place; a … leaf opens a small dialog with its own fields and
an Insert or Run button. None of the tools below has a default
keybinding or command-palette entry — open them from the menu.
Number base converter
Converts an integer between decimal, hexadecimal, binary, and octal. The
number is parsed with an auto-detected radix — 0x/0X for hex, 0b/0B for
binary, 0o/0O for octal, otherwise decimal — tolerating surrounding
whitespace, a leading +/- sign, and _ digit separators. Each menu item
re-renders the value in one target base with its conventional prefix.
Open it from Tools → Convert → Number → Dec / Hex / Bin / Oct. It runs on the selection, or the whole buffer if nothing is selected.
Example: select 255 and choose Hex → 0xff. Select 0xff and choose
Dec → 255.
See crates/vix-base-tool/spec/index.md.
Base16 color themes
Not a Tools-menu item at all — vix-base16 is a set of built-in color
themes, not a converter. It ships about a dozen well-known
base16 palettes (each a 16-color
scheme, base00–base0F: base00–base07 running dark to light for
backgrounds and foregrounds, base08–base0F as accents), turned into full
Vix themes and merged into the bundled set. They show up under View →
Theme, named Base16 … to avoid colliding with the hand-authored JSON
themes in tui/themes/.
See crates/vix-base16/spec/index.md.
Base64
Encodes or decodes text as standard Base64 (RFC 4648, +// alphabet with
= padding). Decoding is lenient about whitespace and newlines — the common
case when pasting wrapped Base64 — and reports an error if the input isn’t
valid Base64 or doesn’t decode to UTF-8 text.
Open it from Tools → Convert → Base64 → Encode or Decode. It runs on the selection, or the whole buffer if nothing is selected.
Example: select hello and choose Encode → aGVsbG8=. Select aGVsbG8=
and choose Decode → hello.
See crates/vix-base64-tool/spec/index.md.
Calculator
Opens a dialog with a text field for typing any arithmetic/boolean formula. Press
Run to evaluate it (via the evalexpr expression engine) and see the
result, then Insert to drop the result into the editor at the cursor.
Open it from Tools → Calculator….
See crates/vix-calculator-tool/spec/index.md.
Checksum
Computes a cryptographic or non-cryptographic digest of text, rendered as lowercase hex. The crate’s own spec documents SHA-256 and SHA-512; the menu also wires up MD5 and CRC32 digests through the same tool.
Open it from Tools → Checksum → SHA-256 / SHA-512 / MD5 / CRC32. It runs on the selection, or the whole buffer if nothing is selected.
See crates/vix-checksum-tool/spec/index.md.
Color converter
A dialog with three fields — HEX, RGB, and HSL. Type a value into any one of
them and the other two update instantly, so you can copy whichever format you
need. Supports shorthand hex (#rgb) and percentage HSL.
Open it from Tools → Color Converter….
See crates/vix-color-converter-tool/spec/index.md.
JWT Decode
Decodes a JSON Web Token’s header and payload into pretty-printed JSON. A JWT
is header.payload.signature, each part Base64URL-encoded (no padding); this
tool decodes the first two parts only — the signature is left untouched and is
not verified (there’s no key to check it against). The output is prefixed
with an explicit warning that the claims are unverified/untrusted, and calls
out alg: none (an unsigned token) specifically when it sees one.
Open it from Tools → Convert → JWT Decode. It runs on the selection, or the whole buffer if nothing is selected.
See crates/vix-jwt-tool/spec/index.md.
Pomodoro
A work/break countdown timer. The dialog defaults to 25 minutes and is adjustable before you start it. Click Start to close the dialog and begin counting down in the background — it keeps running even while the dialog is closed. Click Stop to cancel the countdown and reset back to the time it started from. When the timer reaches zero, Vix™ shows a “Pomodoro break: 5 minutes” alert with a Cancel button; the break counts down on its own and the alert closes automatically when it reaches zero.
Open it from Tools → Pomodoro….
See crates/vix-pomodoro-tool/spec/index.md.
Regex tester
A live regular-expression tester with two fields — the pattern and the
subject text — that shows matches (or the compile error) as you type. It
matches using the same regex crate engine as Vix’s own Find/Replace, so it
is the same regex flavor you’d use there: no backreferences or lookaround.
Open it from Tools → Regex Tester….
See crates/vix-regex-tool/spec/index.md.
Unit converter
A dialog with a numeric field and two unit dropdowns (from/to). Typing a number updates the converted output automatically; an Insert button drops the number and its unit into the editor. Units are grouped into five dimensions — length, mass, temperature, digital data size, and time — and conversion is only defined within one dimension (there’s no length-to-mass conversion).
Open it from Tools → Convert → Unit Converter….
See crates/vix-unit-converter-tool/spec/index.md.
URL
Percent-encodes or decodes text. Encoding escapes every byte outside the RFC
3986 “unreserved” set (A–Z a–z 0–9 - _ . ~) — so a space becomes %20, never
+ — making the result safe to drop into any part of a URL. Decoding reverses
%XX escapes and reports an error if the result isn’t valid UTF-8.
Open it from Tools → Convert → URL → Encode or Decode. It runs on the selection, or the whole buffer if nothing is selected.
Example: select hello world and choose Encode → hello%20world. Select
hello%20world and choose Decode → hello world.
See crates/vix-url-tool/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Welcome Panel
The first-run welcome screen: a scrollable overlay of getting-started text shown automatically the first time Vix™ runs.
When it appears
Vix shows this overlay automatically on first launch. At startup, if the
show_welcome_dialog setting (see docs/reference/settings.md) is true
(its default), Vix opens the welcome overlay and immediately sets that
setting to false and saves it — so the overlay appears once, on the very
first run, and not on later launches.
You can also open it on demand at any time from Help → Welcome…, or set
show_welcome_dialog back to true in your settings to see it again on the
next launch.
Content
The overlay’s text lives in the host’s i18n catalog (the welcome.body
locale key), so it is translated along with the rest of the UI. The crate
itself holds no text — it is pure scroll state: the lines the host hands it,
plus a scroll offset. The host renders the visible window with a scrollbar
and forwards scroll keys to it.
Keybindings
| Key | Action |
|---|---|
↑ ↓ | Scroll one line |
Page Up Page Down | Scroll one page |
Home End | Jump to the first / last line |
| Mouse wheel | Scroll (the overlay is modal — the wheel only scrolls it) |
Esc | Close the overlay |
What’s New
Help → What’s New… opens the same overlay with the release notes for
the version you are running: the changelog’s not-yet-released section and
this version’s section, bundled into Vix when it was built. Vix also opens
it by itself once, on the first start after the version changes (it
remembers the last version shown in session.toml); on the very first
launch you see the welcome screen instead.
Notes
The same overlay type is also reused for a few other read-only text screens
reachable from Help — License, Report Issue, and Privacy — each just
hands it different lines. So does Help → What’s New…. See the specification at
crates/vix-welcome-panel/spec/index.md.
Vix™ and Vix IDE™ are trademarks.
Workspace Information
Vix™ and Vix IDE™ are trademarks.
X11 Color Picker
A picker for the standard X11 color names. You browse a scrollable table of
colors — swatch, #RRGGBB hex string, and name — and insert the highlighted
color’s hex value into the active editor.
Opening the picker
Open it from the menu bar: Tools → X11 Colors…. An overlay appears showing the table of named X11 colors, each row rendered as a swatch, its hex string, and its name.
Keybindings
| Key | Action |
|---|---|
↑ ↓ | Move the highlight one row |
Page Up Page Down | Move the highlight one page |
Home End | Jump to the first / last row |
Enter | Insert the highlighted color’s hex value; keep the picker open |
Esc | Close the picker |
Pressing Enter keeps the picker open, so you can pick several colors in a
row. A click on a row does the same as Enter.
Reused by the theme editor
The same picker also opens when choosing a color slot’s new value inside the
theme editor (View → Edit Theme…): pressing Enter on a slot there
opens this picker, and a pick applies the color to that slot and closes the
picker (returning you to the theme editor) instead of inserting hex text and
staying open. It’s the same overlay and the same underlying
crate::x11_color_picker::Panel either way — only what happens when you
pick a color differs, based on how the picker was opened.
Notes
The color table is bundled as a TSV and parsed once on first use; the crate
itself is pure data (the color table plus the picker’s row-selection and
scroll state) — the host renders the rows, maps clicks to rows, and performs
the insertion or the theme-slot update. Inserting into an image tab (or when
there is no editable buffer) does nothing. See the specification at
crates/vix-x11-color-picker/spec/index.md.
Example
To insert #F0F8FF (AliceBlue) into a stylesheet: open Tools → X11
Colors…, move the highlight to AliceBlue, and press Enter. The hex
value is inserted at the cursor and the picker stays open for the next pick.
Vix™ and Vix IDE™ are trademarks.
Vix Architecture Overview
Vix is a keyboard-friendly terminal IDE built with a clean, modular architecture. This document provides a high-level overview of Vix’s architecture to help new contributors understand how the pieces fit together.
Philosophy
Vix follows several key architectural principles:
- Crate-per-feature: Each major feature lives in its own Rust crate
- Spec-driven: Every crate has a specification that is the source of truth
- Zero
unsafe: The entire codebase contains nounsafeRust code - Terminal-first: Designed to work perfectly in terminals, over SSH, in tmux
- Progressive enhancement: Core editing works without LSP, Git, or other features
High-Level Architecture
At run time a key press travels from the terminal (through crossterm) into
the App shell, vix-tui, which owns the event loop, the App state and all
rendering (ratatui), and calls into the feature crates. The desktop GUIs in
gui/ wrap the same App shell instead of a terminal.
Crate layers (checked against cargo metadata)
The build-time picture is a layered dependency graph. A crate’s layer is the
longest chain of workspace dependencies below it: layer 0 crates depend on no
other workspace crate, and each layer depends only on layers below it. The App
shell vix-tui is the single crate at the top: it depends directly on 143 of
the 148 member crates under crates/ (the other five, such as
vix-civil-date and vix-jupyter-core, it reaches through other crates).
The diagram shows the layers with a few well-known crates in each; every arrow
is a real direct dependency (“depends on”), not every dependency is drawn.
flowchart TD
gui["Desktop GUIs in gui/ (a separate workspace)"]
subgraph L5["Layer 5: App shell (1 crate)"]
tui["vix-tui"]
end
subgraph L4["Layer 4 (2 crates)"]
script["vix-script"]
fhir["vix-fhir"]
end
subgraph L3["Layer 3: feature hosts (19 crates)"]
editor["vix-editor"]
lsp["vix-lsp"]
dap["vix-dap"]
git["vix-git"]
db["vix-db"]
undo["vix-undo-store"]
http["vix-http-client"]
end
subgraph L2["Layer 2 (9 crates)"]
settings["vix-settings"]
authority["vix-authority"]
session["vix-session"]
macros["vix-macros"]
end
subgraph L1["Layer 1 (54 crates)"]
core["vix-editor-core"]
fileops["vix-fileops"]
theme["vix-theme"]
menu["vix-menu"]
palette["vix-palette"]
end
subgraph L0["Layer 0: no workspace dependencies (64 crates)"]
input["vix-input"]
i18n["vix-i18n"]
list_state["vix-list-state"]
encoding["vix-encoding"]
lsp_core["vix-lsp-core"]
textops["vix-textops"]
theme_model["vix-theme-model"]
keymap_model["vix-keymap-model"]
end
gui --> tui
tui --> script
tui --> fhir
tui --> editor
tui --> lsp
tui --> dap
tui --> db
tui --> i18n
script --> git
script --> macros
fhir --> http
fhir --> list_state
editor --> core
editor --> authority
editor --> theme
editor --> textops
undo --> core
undo --> settings
lsp --> settings
lsp --> authority
lsp --> lsp_core
dap --> lsp_core
git --> authority
git --> list_state
db --> settings
db --> i18n
settings --> fileops
authority --> fileops
session --> fileops
core --> input
fileops --> encoding
theme --> theme_model
menu --> keymap_model
menu --> i18n
palette --> i18n
tui/tests/docs_crate_graph.rs keeps this diagram honest: it runs
cargo metadata, fails if an arrow between two crates is not a direct
dependency, if a crate is drawn in the wrong layer, or if a layer’s crate count
or the “143 of the 148” sentence above no longer matches, and checks that every
crate this page or the crate map names really exists. To
list the layers yourself:
cargo metadata --no-deps --format-version 1 --offline
and follow each package’s dependencies whose kind is not "dev". For
which crate owns what, read the crate map; it is the
maintained crate-by-crate reference, and this page only sketches the shape.
Layering rules
Beyond “each layer depends only on layers below it” (which the definition of
a layer guarantees), the graph keeps five rules. tui/tests/crate_layering.rs
enforces them, reading cargo metadata and the gui/*/Cargo.toml manifests,
and its failure message names each offending edge (from -> to):
- Nothing depends on the App shell. No workspace member depends on
vix-tui, as a normal, build or dev-dependency; the desktop GUIs ingui/are the only crates above it. - Only
vix-inputandvix-tuiusecrossterm. Terminal I/O stays in the App shell and key-event conversion, so every other crate works under a desktop GUI with no terminal. - Model and core crates know no UI surface. A crate named
*-coreor*-modelreaches no crate named*-panel,*-picker,*-previewor*-view, directly or through other crates. - The GUIs never depend on each other. No
gui/vix-*/Cargo.tomlnames another GUI crate; what two GUIs share lives invix-tuior undercrates/. - The headless MCP server knows no UI surface.
vix-mcp-server(behindvix --mcp) reaches no*-panel,*-picker,*-previewor*-viewcrate, directly or through other crates (T860: it parses Markdown headings itself instead of borrowingvix-markdown-preview’s table of contents), norvix-palette(T861: its symbol scan lives invix-textops).
A rule is added here only when the current graph already keeps it. The full
graph, every crate with its layer, direct workspace dependencies and number
of dependents, is the generated Crate Layers
reference (cargo run --example list_commands -- --write; scripts/check
fails when it is stale).
Workspace Structure
vix/
├── Cargo.toml # Root workspace manifest
├── AGENTS.md # Contribution guidelines
├── plan.md # Improvement roadmap
├── tasks.md # Detailed task checklist
├── spec/ # Cross-cutting specifications
│ ├── ci/ # CI/CD specs
│ ├── packaging/ # Packaging specs
│ └── ...
├── tui/ # Main app shell (vix-tui package)
│ ├── Cargo.toml
│ ├── src/
│ │ ├── main.rs # Binary: allocator + calls entry::run
│ │ ├── entry.rs # The vix command: terminal setup, event loop
│ │ ├── app.rs # App state and logic
│ │ ├── app/*.rs # Feature modules (git, lsp, org, etc.)
│ │ ├── ui.rs # UI rendering
│ │ └── ui/*.rs # UI components
│ ├── examples/ # Cargo examples
│ ├── benches/ # Benchmarks
│ └── tests/ # Integration tests
├── crates/ # 148 feature crates (vix-*)
│ ├── vix-editor/ # Editor host
│ │ ├── Cargo.toml
│ │ ├── src/
│ │ └── spec/
│ ├── vix-editor-core/ # Core editor widget
│ ├── vix-lsp/ # LSP client
│ ├── vix-lsp-core/ # LSP protocol types
│ ├── vix-dap/ # DAP debugger
│ ├── vix-git/ # Git integration
│ ├── vix-db/ # Database workbench
│ ├── vix-org/ # Org mode
│ ├── vix-terminal/ # Integrated terminal
│ ├── vix-http-client/ # REST client
│ ├── vix-file-browser-panel/ # File explorer
│ └── ... (130+ more)
├── gui/ # Desktop GUI front ends
│ ├── Cargo.toml
│ ├── vix-gpui/
│ ├── vix-egui/
│ ├── vix-iced/
│ ├── vix-slint/
│ ├── vix-gtk4/
│ ├── vix-bui/
│ └── vix-zgui/
├── fuzz/ # Fuzz targets
├── scripts/ # Build and check scripts
└── docs/ # User documentation
App Shell Architecture
The App shell (tui/) is the central coordinator that ties everything together:
classDiagram
class App {
-root: PathBuf
-editor: Editor
-settings: Settings
-focus: Focus
-flags: Flags
+on_key()
+on_mouse()
+run_action()
+tick()
+draw()
}
class Editor {
-buffer: Buffer
-cursors: MultiCursor
-history: History
-syntax: Syntax
+open()
+close()
+input()
+render()
}
class Lsp {
-clients: HashMap~LanguageServer~
+start_server()
+send_request()
+handle_response()
}
class Git {
-repo: Repository
+refresh()
+stage_hunk()
+commit()
}
App --> Editor : owns
App --> Lsp : owns
App --> Git : owns
App --> Settings : owns
App --> Terminal : owns
App --> Db : owns
App --> Im : owns
Key App Components
| File | Purpose |
|---|---|
tui/src/main.rs | The binary: the MUSL allocator and a main calling vix::entry::run |
tui/src/entry.rs | The vix command (entry::run): terminal setup, event loop; also called by the crates.io umbrella crate vix |
tui/src/app.rs | Main App struct, key/mouse handling, action dispatch |
tui/src/app/git.rs | Git integration logic |
tui/src/app/lsp_dap.rs | LSP and DAP coordination |
tui/src/app/cowork.rs | Real-time collaboration |
tui/src/app/remote_session.rs | Remote editing over SSH |
tui/src/ui.rs | Main UI rendering |
tui/src/ui/*.rs | UI components (panels, overlays, etc.) |
Editor Architecture
The editor is split across multiple crates:
flowchart TD
editor["vix-editor: editor host"] --> core["vix-editor-core: editor widget, rope buffer, Tree-sitter"]
editor --> fileops["vix-fileops: file operations"]
editor --> encoding["vix-encoding: character encodings"]
undo["vix-undo-store: persistent undo"] --> core
editorconfig["vix-editorconfig"] --> authority["vix-authority"]
Editor Core Components
| Crate | Purpose |
|---|---|
vix-editor | Editor host, tab management, split panes |
vix-editor-core | Core editor widget: rope buffer, cursors, Tree-sitter parsing and highlighting, rendering |
vix-editorconfig | EditorConfig file support |
vix-undo-store | Persistent undo tree with branching |
vix-fileops | File operations (read, write, watch) |
vix-encoding | Character encoding handling |
Feature Crate Categories
Code Intelligence
flowchart TD
lsp["vix-lsp: LSP client"] --> lsp_core["vix-lsp-core: protocol framing and types"]
dap["vix-dap: DAP client"] --> lsp_core
lsp --> project_env["vix-project-env: project environment"]
lsp --> settings["vix-settings"]
dap --> settings
| Crate | Description |
|---|---|
vix-lsp | LSP client implementation |
vix-lsp-core | LSP protocol types and message parsing |
vix-dap | Debug Adapter Protocol client |
Version Control
| Crate | Description |
|---|---|
vix-git | Git integration (status, diff, stage, commit) |
vix-git-graph | Interactive commit graph visualization |
vix-review | Code review with side-by-side diff |
vix-conflict-tool | Merge conflict resolution |
Data & Documents
| Crate | Description |
|---|---|
vix-db | Database workbench (SQLite, PostgreSQL, MySQL) |
vix-edit-table | CSV/TSV table editing |
vix-edit-sql | SQL file editing with syntax awareness |
vix-edit-value | JSON/YAML/TOML editing |
vix-edit-outline | Outline/structural editing |
vix-edit-bytes | Hex dump editing |
vix-large-file | Large file viewer (multi-GB files) |
vix-markdown-preview | Markdown preview rendering |
Org Mode
| Crate | Description |
|---|---|
vix-org | Core Org mode parsing and editing |
vix-org-table | Org table editing with formulas |
vix-org-capture | Org capture templates |
vix-org-contacts | Org contacts management |
vix-roam | Org-roam with backlinks |
vix-column-view | Column View for Org and file browser |
Projects & Tools
| Crate | Description |
|---|---|
vix-project-env | Project environment detection (direnv, mise, venv) |
vix-tasks | Task runner (npm, make, etc.) |
vix-terminal | Integrated terminal emulator |
vix-http-client | REST client for .http files |
vix-oci | Open Container Initiative support |
vix-oci-panel | Container management UI |
Collaboration
| Crate | Description |
|---|---|
vix-cowork | Real-time collaborative editing |
vix-cowork-net | Cowork network protocol |
vix-im | Instant messaging (IRC, Matrix) |
vix-im-panel | IM UI panel |
vix-matrix-protocol | Matrix protocol support |
vix-im-irc | IRC client implementation |
AI & Assistants
| Crate | Description |
|---|---|
vix-ai-core | AI provider abstraction |
vix-ai-panel | AI chat panel UI |
vix-ai-diff | AI-assisted diff review |
vix-acp | Agent Client Protocol client |
vix-mcp-server | Model Context Protocol server |
UI & Rendering
| Crate | Description |
|---|---|
vix-menu | Menu bar and context menus |
vix-palette | Command palette |
vix-status-bar-panel | Status bar |
vix-bottom-dock | Bottom dock area |
vix-left-dock | Left dock (file browser) |
vix-right-dock | Right dock area |
vix-welcome-panel | Welcome screen |
vix-theme | Theme loading and management |
vix-theme-model | Theme data model |
vix-theme-editor-panel | Theme editor UI |
Settings & State
| Crate | Description |
|---|---|
vix-settings | Configuration management |
vix-settings-bundle | Bundled settings presets |
vix-session | Session state management |
vix-workspace | Workspace state management |
vix-keymap-model | Keymap definitions |
vix-keybindings | Keybinding registry |
vix-snippets | Snippet management |
vix-script | Rhai scripting |
vix-macros | Keyboard macro recording |
File Browser & Navigation
| Crate | Description |
|---|---|
vix-file-browser-panel | File explorer UI |
vix-file-information-panel | File info display |
vix-workspace-dashboard-panel | Workspace dashboard |
vix-text-information-panel | Text info display |
vix-tags | Tag management |
vix-todo-tree | TODO tree |
vix-workspace-search | Workspace search |
vix-find-panel | Find/replace UI |
Utilities
| Crate | Description |
|---|---|
vix-i18n | Internationalization |
vix-locale-model | Locale management |
vix-clipboard | Clipboard access |
vix-authority | Authority abstraction (local, SSH, containers) |
vix-byte-size | Byte size formatting |
vix-civil-date | Civil date handling |
vix-time-zone-model | Time zone management |
vix-uuid-tool | UUID generation |
vix-base64-tool | Base64 encoding/decoding |
vix-jwt-tool | JWT encoding/decoding |
vix-qr-tool | QR code generation |
vix-calendar-panel | Calendar panel |
vix-clock-panel | Clock panel |
vix-system-information-panel | System info display |
vix-vcard-panel | vCard display |
vix-vcard-parser | vCard parsing |
vix-fhir | FHIR support |
vix-hl7 | HL7 v2 support |
Desktop GUI Architecture
Vix supports 7 desktop GUI front ends, each wrapping the same App shell:
graph TD
A[App Shell] --> B[vix-gpui]
A --> C[vix-egui]
A --> D[vix-iced]
A --> E[vix-slint]
A --> F[vix-gtk4]
A --> G[vix-bui]
A --> H[vix-zgui]
B --> I[GPUI Framework]
C --> J[egui Framework]
D --> K[iced Framework]
E --> L[Slint Framework]
F --> M[GTK4 Framework]
G --> N[BUI Framework]
H --> O[zgui Framework]
I --> P[Skia Renderer]
J --> Q[Softbuffer Renderer]
K --> R[wgpu Renderer]
L --> S[OpenGL Renderer]
M --> T[GTK Renderer]
N --> U[BUI Renderer]
O --> V[wgpu Renderer]
| Frontend | Framework | License | Notes |
|---|---|---|---|
vix-gpui | GPUI | MIT/Apache-2.0 | GPU-accelerated, native menu bar |
vix-egui | egui | MIT/Apache-2.0 | Immediate mode, simple |
vix-iced | iced | MIT/Apache-2.0 | Elm-style, CSS styling |
vix-slint | Slint | GPL-3.0-only | Declarative, OpenGL |
vix-gtk4 | GTK4 | LGPL | Native GTK integration |
vix-bui | BUI | GPL-3.0-only | Blender’s UI toolkit |
vix-zgui | zgui | Apache-2.0 | Reactive, CSS, wgpu |
All front ends:
- Share the same
Appshell fromtui/ - Use the same key handling, action dispatch, and state management
- Render using the framework’s capabilities
- Support the same features as the TUI version
Data Flow
Key Press Flow
flowchart TD
A[User Presses Key] --> B[Terminal]
B --> C[App::on_key]
C --> D{Keymap Active?}
D -->|Yes| E[Keymap Dispatch]
D -->|No| F[Global Key Handling]
E --> G[Match Key in Keymap]
G --> H[Find Action ID]
H --> I[App::run_action]
I --> J[Action Dispatch]
J --> K[Update State]
J --> L[Queue Render]
L --> M[App::draw]
M --> N[ratatui::Terminal::draw]
LSP Request Flow
flowchart TD
A[User Types] --> B[Editor::input]
B --> C[Trigger LSP Request]
C --> D[vix-lsp::request]
D --> E[Send to Language Server]
E --> F[Receive Response]
F --> G[vix-lsp::handle_response]
G --> H[Update Editor State]
H --> I[Queue Render]
Git Operation Flow
flowchart TD
A[User Triggers Git Action] --> B[App::run_action]
B --> C[git.* action]
C --> D[vix-git::handle]
D --> E[Spawn git Command]
E --> F[Parse Output]
F --> G[Update Git State]
G --> H[Refresh UI]
Internationalization (i18n)
Vix uses a robust i18n system:
flowchart TD
A[User Text] -->|t! macro| B[Lookup in Catalog]
B --> C[crates/vix-i18n]
C --> D[Load Locale File]
D --> E[Return Translated String]
E --> F[Display to User]
C --> G[locales/action.yml]
C --> H[locales/menu.yml]
C --> I[locales/ui.yml]
C --> J[... one file per key namespace, each key holding all 15 languages]
Supported Languages:
- English (en)
- Spanish (es)
- French (fr)
- German (de)
- Welsh (cy)
- Irish (ga)
- Scottish Gaelic (gd)
- Polish (pl)
- Portuguese (pt)
- Russian (ru)
- Arabic (ar)
- Hindi (hi)
- Bengali (bn)
- Chinese (zh)
- Japanese (ja)
Settings System
Vix uses a hierarchical settings system:
flowchart LR
builtin["Built-in defaults"] --> user["User: config.toml in the confy config folder (~/.config/vix/ on Linux)"]
user --> project["Project: .vix/settings.toml in the workspace root"]
project --> language["Language: a languages table per language id, per buffer"]
vix-settings loads four layers, each overriding the one before it
(crates/vix-settings/src/layers.rs; see its spec for the details):
- Built-in defaults
- User settings (
config.toml, located byconfy) - Project settings (
<root>/.vix/settings.toml) - Per-language overrides (
[languages.<id>]), resolved per buffer
Theme System
flowchart TD
A[Theme Selection] --> B[Load Theme]
B --> C[Built-in Themes]
B --> D[Custom Themes]
C --> E[21 Bundled Themes]
D --> F[~/.config/vix/themes/*.json]
E --> G[Theme Model]
F --> G
G --> H[Apply Colors]
H --> I[Render UI]
Bundled Themes:
- Default (light/dark variants)
- High contrast themes
- Popular color schemes (Catppuccin, etc.)
Keymap System
Vix supports 14 keymaps:
flowchart TD
A[Keymap Selection] --> B[Load Keymap]
B --> C[vix-keymap-model]
C --> D[Apple]
C --> E[VSCode macOS]
C --> F[VSCode Windows]
C --> G[Emacs]
C --> H[Vi]
C --> I[Spacemacs]
C --> J[Helix]
C --> K[IntelliJ macOS]
C --> L[IntelliJ Windows]
C --> M[Eclipse]
C --> N[Sublime]
C --> O[Zed]
C --> P[Fresh]
C --> Q[ttt]
Performance Architecture
Vix is designed for performance:
Background Processing
flowchart TD
A[Editor::input] --> B[Queue Background Task]
B --> C[Background Thread Pool]
C --> D[Process Task]
D --> E[Send Result]
E --> F[Apply to Editor]
C --> G[Tree-sitter Parsing]
C --> H[LSP Requests]
C --> I[Git Operations]
C --> J[Workspace Search]
Lazy Loading
flowchart TD
A[App Startup] --> B[Load Essential Components]
B --> C[Defer Optional Features]
C --> D[Load on First Use]
D --> E[LSP Servers]
D --> F[Git Integration]
D --> G[Database Workbench]
D --> H[Terminal]
D --> I[AI Panel]
Caching
flowchart TD
A[First Request] --> B[Check Cache]
B -->|Miss| C[Process Request]
C --> D[Store in Cache]
D --> E[Return Result]
B -->|Hit| E
A --> F[Subsequent Request]
F --> B
Security Architecture
Vix takes security seriously:
flowchart TD
A[User Input] --> B[Validation]
B --> C[Sanitization]
C --> D[Sandboxing]
D --> E[Execution]
A --> F[File Path]
F --> G[Check for Traversal]
G --> H[Check for Special Files]
H --> I[Safe Open]
A --> J[Shell Command]
J --> K[Check for Dangerous Patterns]
K --> L[Execute with Restrictions]
A --> M[Rhai Script]
M --> N[Disable File/Network/Process Access]
N --> O[Execute in Sandbox]
Security Features
- Zero
unsafeRust: No unsafe code anywhere in the codebase - Sandboxed scripts: Rhai scripts have no file/network/process access
- Workspace trust: Project scripts run only after explicit trust
- Keyring integration: Secrets stored in native credential stores
- Input validation: All external inputs are validated
- Path sanitization: Prevents directory traversal attacks
- Command sanitization: Prevents shell injection attacks
Testing Architecture
Vix has comprehensive testing:
flowchart TD
A[Development] --> B[Unit Tests]
A --> C[Integration Tests]
A --> D[Snapshot Tests]
A --> E[Fuzz Tests]
A --> F[Benchmarks]
B --> G[cargo test --workspace]
C --> G
D --> H[TestBackend]
E --> I[cargo +nightly fuzz]
F --> J[cargo bench]
G --> K[CI: GitHub/GitLab/Codeberg]
H --> K
I --> K
J --> K
Test Layers
| Layer | Framework | Purpose |
|---|---|---|
| Unit Tests | Rust #[test] | Test individual functions |
| Integration Tests | ratatui TestBackend | Test component interactions |
| Snapshot Tests | insta | Test UI rendering |
| Fuzz Tests | cargo-fuzz | Test parser edge cases |
| Benchmarks | Criterion | Test performance |
CI/CD Architecture
flowchart TD
A[Push to main] --> B[GitHub Actions]
A --> C[GitLab CI]
A --> D[Codeberg CI]
B --> E[Run scripts/check]
C --> E
D --> E
E --> F[cargo fmt --check]
E --> G[cargo build]
E --> H[cargo clippy]
E --> I[cargo test]
E --> J[cargo doc]
E --> K[scripts/check-docs]
E --> L[lychee link check]
E --> M[Generate Gate Attestation]
M --> N[refs/notes/vix-gate]
N --> O[pre-push Hook]
O --> P[Verify Attestation]
Summary
Vix’s architecture is designed for:
- Modularity: Each feature is isolated in its own crate
- Maintainability: Clear boundaries and specifications
- Extensibility: Easy to add new features
- Performance: Background processing, lazy loading, caching
- Security: Sandboxing, validation, zero unsafe
- Internationalization: Full support for 15 languages
- Accessibility: High contrast, keyboard-only, screen reader friendly
The architecture enables Vix to be:
- Fast: Native binary, optimized rendering
- Reliable: Comprehensive testing, zero unsafe
- Flexible: Multiple keymaps, themes, configurations
- Extensible: Scripting, plugins (future), customization
- Portable: Works anywhere Rust runs
Next Steps
If you’re new to Vix’s codebase, here are some good next steps:
- Read AGENTS.md - Detailed conventions and workflow
- Read agents/workflow.md - Spec-driven development guide
- Explore the crates - Each crate has its own
spec/index.md - Run the examples -
cargo run --example list_commands - Check the docs -
docs/has user-facing documentation - Join the community - Ask questions in GitHub Discussions
Resources
- AGENTS.md - Contribution guidelines
- agents/workflow.md - Development workflow
- plan.md - Improvement roadmap
- tasks.md - Detailed tasks
- docs/ - User documentation
- spec/ - Specifications
Architecture Decision Records
An architecture decision record (ADR) writes down one decision that shapes the
whole codebase: what was decided, when, what forced it, and what it costs. Each
record here was written after the fact, in November 2026, from the repository’s
own history: the commits that made the change, the rules in
AGENTS.md and agents/, the
cross-cutting specs in spec/, and
CHANGELOG.md. Every claim of fact names the file or
commit it comes from. Where the history does not record why something was
chosen, the record says so instead of supplying a reason.
| # | Decision | Date | Status |
|---|---|---|---|
| 1 | Write Vix in Rust | 2026-06-08 | Accepted |
| 2 | Build the terminal UI on ratatui and crossterm | 2026-06-08 | Accepted |
| 3 | Forbid unsafe code | 2026-06-09 | Accepted |
| 4 | A Cargo workspace of focused crates under a thin App shell | 2026-07-10 | Accepted (the third layout; supersedes a single crate of modules) |
| 5 | Optional capabilities as default-on Cargo features | 2026-10-18 | Accepted (reverses “wired in means always compiled”) |
Format
Each record has the same parts:
- Status: Accepted, Superseded or Reversed, with the record or commit that changed it.
- Date: the date of the first commit that put the decision into the tree.
- Context: what the project looked like and what pushed for a decision.
- Decision: what was decided, in the words of the files that enforce it.
- Consequences: what followed, good and bad, including later changes.
- Enforced by: the files and checks that keep the decision true today.
Commit hashes are abbreviated; git show <hash> shows the full change.
Adding a record
Add a record when a change sets a rule every later change must follow, or
reverses one. Number it after the last record, add it to the table above and
to docs/SUMMARY.md, and cite the files and commits it
rests on. Do not edit an accepted record’s Decision to describe a new one:
write a new record and set the old one’s Status to Superseded.
ADR 1: Write Vix in Rust
- Status: Accepted
- Date: 2026-06-08 (commit a7b9ebaf, “Initial commit: STRIDE — Simple Terminal Rust IDE”)
Context
Vix began as STRIDE, the “Simple Terminal Rust IDE”. The first commit
(a7b9ebaf, 2026-06-08) already contains a Rust package: its Cargo.toml names
the package stride, edition 2021, rust-version = "1.86", and its README
opens “STRIDE is a keyboard-friendly terminal text editor written in Rust”.
The first spec in that commit (spec/spec.md, now
spec/index/index.md) states the goal as
“Create a Simple Terminal Rust Integrated Development Environment. It opens
text files, edits them, saves them.” The current spec keeps that sentence and
the “Simple Terminal Rust IDE” title.
The language is part of the project’s name from its first commit, so no commit records a choice between Rust and another language. The repository does not record the alternatives considered, nor a written reason for choosing Rust.
Decision
Vix is written in Rust and built with Cargo. Every first-party package is a
Rust crate: the App shell (tui/Cargo.toml), the member crates under
crates/, the desktop GUIs (gui/Cargo.toml) and the Matrix helper
(matrix/Cargo.toml).
Consequences
What the repository shows followed from the choice:
- The library and binary split was there from day one. The first
architecture page (docs/architecture.md in a7b9ebaf) describes “a library
crate with a thin binary on top”, so editing logic is tested without a
terminal. That rule survives in
AGENTS.md(“Keep the logic terminal-independent”). - A toolchain policy. The edition moved from 2021 to 2024 on 2026-06-18
(commit 28523815, because the editor code used let-chains). The floor is
rust-versionin the rootCargo.toml(1.98 today), kept at “current stable minus two” byspec/rust-msrv-n-minus-2/index.md. - Quality gates come from the compiler and Clippy.
clippy::pedantic,missing_docs = "deny"andunsafe_code = "forbid"are compiler lints (see ADR 3 andspec/rust-clippy-pedantic/index.md). - The crate ecosystem shapes the design. The first commit depends on
ratatui,crossterm,regex,jiff,serdeandratatui-image(ADR 2); scripting later used Rhai, an embedded language for Rust (crates/vix-script/spec/index.md). The crate table inspec/index/index.mdlists each dependency’s Debian package, and Cargo features let one source tree build several products (ADR 5). - Distribution through Rust tooling. Releases are built by
dist(cargo-dist) and the member crates are published to crates.io (spec/ci/index.md,AI_STATEMENT.md). Publishing many crates is also a cost of ADR 4.
Enforced by
Cargo.toml([workspace.package]:edition = "2024",rust-version).spec/rust-msrv-n-minus-2/index.mdand its CI job (spec/ci/index.md).
ADR 2: Build the terminal UI on ratatui and crossterm
- Status: Accepted
- Date: 2026-06-08 (commit a7b9ebaf, the initial commit)
Context
The initial commit (a7b9ebaf) describes STRIDE as “A keyboard- and
mouse-friendly TUI text editor built on ratatui 0.30, ratatui-code-editor
(Tree-sitter syntax highlighting), crossterm, regex, jiff, and ratatui-image.”
Its Cargo.toml carries the comments “Terminal UI core. The whole widget
ecosystem must agree on this version.” on ratatui = "0.30" and “Must match
the crossterm that ratatui 0.30 re-exports.” on crossterm = "0.29". The
editing area was the third-party ratatui-code-editor 0.0.4, and images used
ratatui-image.
The repository does not record the alternatives considered: no commit,
spec or plan compares ratatui with another terminal UI library. What it
does record is that the choice was made together with its widget ecosystem:
an editor widget and an image widget that both already tracked ratatui
0.30 (the first spec’s crate table, now in
spec/index/index.md).
Decision
Vix draws its terminal UI with ratatui over the crossterm backend, and
the whole widget stack stays on one ratatui version. In the words of
AGENTS.md: “The whole widget stack must agree on
ratatui 0.30 / crossterm 0.29. Don’t add a widget crate on a different
version.” Rendering lives in the App shell, in tui/src/ui.rs and its
tui/src/ui/*.rs submodules.
Consequences
- The editor widget became Vix’s own. The same day, 308cdd74 vendored
ratatui-code-editorto put its Tree-sitter grammars behind features (release binary 18M with every grammar, 4.9M with the common set, 3.0M with none). On 2026-06-09 (b93e5695) the vendored copy became the internalvix-code-editor-panel, and on 2026-06-10 (48f152fa) it was replaced by “Vix’s fully-custom code-editor widget”: the Tree-sitter, rope and undo engine was kept, and the widget, input, mouse handling and a soft-wrap renderer were rewritten. It is nowcrates/vix-editor-core. So the oneratatuiwidget Vix depended on most is no longer a third-party crate. - One version, everywhere. A widget crate that needs another
ratatuicannot be added, and aratatuiupgrade has to move the editor, the image widget and every panel together. - Tests render without a terminal.
ratatui’sTestBackendlets tests draw a frame to a buffer: the initial commit already had “a TestBackend image render” test, andtui/tests/snapshots.rsnow snapshots whole screens as text. Seespec/test/index.md. - Terminal features come through
crossterm. Bracketed paste, focus events, the macOSCommandkey folded intoControland suspend/resume are handled intui/src/main.rsandApp::on_key(AGENTS.md, “Where things live”). - The desktop GUIs reuse the App shell. The seven front ends in
gui/wrap the same App shell instead of a terminal (docs/architecture/index.md,gui/spec/index.md).
Enforced by
- The “One
ratatuiversion” rule inAGENTS.md. Cargo.toml[workspace.dependencies], whereratatuiandcrosstermare declared once for every crate.cargo denywarns, but does not fail, when two versions of one crate end up in the build (multiple-versions = "warn"indeny.toml).
ADR 3: Forbid unsafe code
- Status: Accepted
- Date: 2026-06-09 (commit b93e5695, “Add i18n, themes, config & CLI; split into internal crates”)
Context
The initial commit (a7b9ebaf, 2026-06-08) had no lint attributes in its
src/lib.rs or src/main.rs. The next day, b93e5695 added
#![forbid(unsafe_code)] and #![deny(missing_docs)] to src/lib.rs, and a
new spec, spec/main-rs-and-lib-rs-boilerplate.md (now
spec/main-rs-and-lib-rs-boilerplate/index.md),
required every main.rs and lib.rs to start with them under the comment
“Always start with high quality coding conventions.”
That comment is the only reason the commit gives. The repository does not
record the alternatives considered (for example allowing unsafe in
reviewed modules), nor a longer rationale. Later files describe the rule as a
security property: SECURITY.md lists “No unsafe code”
first under Hardening, and docs/why-vix/index.md
lists it under “Private and careful by default”.
Decision
No first-party crate may contain unsafe code. Since 2026-10-23 (e3754514,
T599) the rule is one line in the root Cargo.toml:
[workspace.lints.rust]
unsafe_code = "forbid"
and every crate opts in with [lints] workspace = true, so it covers
libraries, binaries, tests, benches, examples and build scripts
(AGENTS.md, “Hard rules enforced by the build”).
forbid, unlike deny, cannot be overridden by an #[allow] further in.
Consequences
- It survived every layout change. When the subcrates were folded into
modules on 2026-06-18 (d2dda06f), the commit notes that
“forbid(unsafe_code) and deny(missing_docs) still apply crate-wide”; the
workspace split of 2026-07-10 (ADR 4) repeated the
attributes in every crate root, until T599 replaced the 124 copies with
[workspace.lints](tasks.md, T599). - Features are designed around it. The Large File Viewer reads only the
lines on screen with positioned reads: “there is no memory map and no
unsafe” (crates/vix-large-file/spec/index.md). - It covers first-party code only. Dependencies may use
unsafeinternally; they are vetted bycargo deny(advisories, licenses, sources) instead (SECURITY.md,deny.toml). - The separate workspaces carry it too.
gui/Cargo.tomlandmatrix/Cargo.tomlsetunsafe_code = "forbid"in their own lint tables.
Enforced by
Cargo.toml[workspace.lints.rust], and[lints] workspace = truein every crate manifest.cargo clippy --workspace --all-targets -- -D warningsandcargo buildinscripts/checkand CI (spec/ci/index.md).agents/conventions.md, “Lints”.
ADR 4: A Cargo workspace of focused crates under a thin App shell
- Status: Accepted. This is the third layout: it supersedes the single crate of modules of 2026-06-18, which had replaced the first workspace of 2026-06-09.
- Date: 2026-07-10 (commits 658b977a, 530ea0cf and 5cf38c98, merged as 7fda5d8a, “split major concepts into cargo workspace crates”)
Context
The layout changed three times in five weeks:
- 2026-06-08, one package. The initial commit (a7b9ebaf) was one crate,
a library with a thin binary, split into modules (
app,editor,explorer,menu,uiand others; docs/architecture.md in that commit). - 2026-06-09, a first workspace. b93e5695 “Restructure[d] Vix into a
Cargo workspace” with internal crates holding “data/logic in the crate,
host renders” (
vix-code-editor-panel,vix-theme-chooser, and others). - 2026-06-18, back to modules. d2dda06f folded “~49 separate vix-*
subcrates” into modules under src/, keeping only
vix-editor“so its Tree-sitter grammar feature flags keep working”; the same day 28523815 folded that one too, leaving “no members”, and 9092f519 rewrote the docs for “the single-crate architecture”. The commits describe what moved but not why the subcrates were folded. - 2026-07-10, the workspace again. 658b977a converted the repository
to a Cargo workspace and added a shared
vix_i18ncrate; 530ea0cf moved 76 leaf modules into crates; 5cf38c98 moved the mid-tier ones, leaving 98 crates.
The 2026-07-10 commits record two reasons. First, translations: “rust_i18n’s
t! embeds the 588 KB, 15-language table per crate that invokes i18n!;
routing every crate through vix_i18n compiles it in exactly once instead of
~90 times” (658b977a). Second, isolation: the library’s crate docs say “The
split lets each concept build and unit-test on its own”
(tui/src/lib.rs). They do not record why the earlier fold was reversed
beyond that.
Decision
Vix is a Cargo workspace: a thin App shell over focused vix-* member
crates.
- Members. The root
Cargo.tomlis a virtual workspace withmembers = ["crates/*", "tui"]anddefault-members = ["tui"]. There are 147 member crates undercrates/today (agents/share/crate-map.md). - The App shell is the
vix-tuipackage intui/, which builds thevixcommand and holds the CLI, event loop,Appstate and rendering. It moved from the repository root intotui/on 2026-10-24 (90d7a449, T643), beside the desktop GUIs ingui/.tui/src/lib.rsre-exports the crates under short names (pub use vix_git as git;), socrate::gitstill resolves. - Every crate owns its spec at
crates/<crate>/spec/index.md(AGENTS.md, “Source of truth”). - A new crate has to earn its place (T151, 2026-09-09, bfcdc68a): its
own spec, its own tests, and a consumer other than the App shell or a clear
reuse story; a crate failing all three folds into its sole consumer
(
AGENTS.md, “When to add a new crate”).
Consequences
- Some modules cannot be split.
editorandpane_treewere mutually recursive, so 5cf38c98 merged them into onevix-editorcrate exposing both as modules. The App shell’sappanduistay intui/, split intotui/src/app/*.rsandtui/src/ui/*.rssubmodules instead (T141, T142 intasks.md). - The split kept going. T152 (2026-09-08) moved the last spec-less
modules out of the root, calling it “the 2026-07 ‘crates, not modules’
decision … applied everywhere except here” (
tasks.md); T151 folded the no-opvix-queryback into the App shell. - Publishing and naming. The crates were renamed to kebab-case on
2026-07-11 (bd2f144d) and made publishable to crates.io (3c0b038c, 2026-07-10),
so a release publishes many crates, each after its
pathdependencies (AI_STATEMENT.md, “Publish order is respected”), and every crate’s public API is checked against its last published version bycargo semver-checks(spec/ci/index.md, “Semver (T602)”). - Features forward through crates. The Tree-sitter grammars live in
vix-editor-core, and the App shell’ssyntax-*andlang-*features forward to it (5cf38c98;tui/Cargo.toml). See ADR 5. - Documentation must keep up. With 147 crates, drift is checked by
script:
scripts/check-docsfails on a crate without a spec and on a crate missing from the crate map, andtui/tests/docs_crate_graph.rschecks the layer diagram indocs/architecture/index.md.
Enforced by
- The root
Cargo.toml[workspace]table. scripts/check-docs(crate specs and crate-map drift).- The T151 guideline in
AGENTS.md.
ADR 5: Optional capabilities as default-on Cargo features
- Status: Accepted. It reverses the earlier “wired in means always compiled” decision of T103 and T111 for the areas listed below.
- Date: 2026-10-18 (commit 33bd62b7, “feat(T586): capability
Cargo-feature framework”); researched 2026-10-09 (
plan.md, “Capability Cargo features”)
Context
Vix has had two kinds of Cargo feature.
Grammar features, since 2026-06-08. On the first day, 308cdd74 put each
Tree-sitter grammar behind a feature (lang-rust, lang-json, …) with
syntax-common as the default and syntax-all for every grammar, because
grammars dominated the binary: 18M with all of them, 4.9M with the common
set, 3.0M with none. Files whose grammar is not compiled in open as plain
text.
Capabilities, since 2026-10-18. Before that, an area wired into the App
shell was always compiled: T101 had put scripting behind a feature, T103 made
it unconditional again, “reasoning that once a crate is wired into the App
shell (startup, palette, menu, prompts) it is as core as vix-editor”, and
T111 did the same for vix-modal (plan.md). The 2026-10-09 research
measured, with cargo metadata, how many third-party crates each area
alone pulls in: sql 48, image 81, script 9, terminal 10, and
sql, http and ai together 88, while git, jj, lsp, dap and
org pulled in none (plan.md; tasks.md, Run L). It concluded that
the reasoning against features “holds only as long as there’s no payoff”.
Decision
Capabilities with a measured payoff are Cargo features of the vix-tui
package, all on by default
(spec/cargo-features/index.md):
- Two criteria. A capability earns a feature when it removes many
third-party crates or a whole outward surface, or (T595) when it is a place
Vix starts another program: “In a build without them Vix starts no child
process of its own.”
orgstays unflagged: no payoff and the heaviest coupling. - Default-on.
default = ["syntax-common", "full"], andfulllists every capability (tui/Cargo.toml), so released binaries are unchanged.cowork,jupyterandmatrixare opt-in and not infull. - Gate at the root, filter at runtime.
cfglives only in thevix-tuipackage (tui/src/capability.rsand the gated modules); menus and the palette staycfg-free and hide whatcapability::is_availablerejects, and an action id of a compiled-out capability shows “X is not included in this build”. - Settings never lose data. Settings types stay compiled in every build, so a smaller build never deletes a section it does not know on save.
Consequences
- A smaller, locked-down build. Measured on 2026-10-18 (macOS arm64):
the default build is 21.8 MiB and
--no-default-features12.3 MiB, with no TLS stack and no outbound network code; built with[profile.minimal]it is 7.4 MiB. It ships as an extra release artifact (T594,.github/workflows/release-minimal.yml) (spec/cargo-features/index.md). - Stand-ins for compiled-out code. Shared call sites stay
cfg-free through small*_off.rsmodules (for exampletui/src/app/scripts.rshasscripts_off.rsno-op stand-ins). - More builds to keep green. Every feature combination is built in CI
(T587, 40f31c24;
spec/ci/index.md, “Feature combinations”), and changes must also passcargo clippy -p vix-tui --no-default-features. - Tests depend on the build. Whole-product tests such as menu-bar
snapshots gate on
full, “since a build with any capability off legitimately has a different menu bar” (tui/Cargo.toml). - Two axes. The grammar features (
syntax-*,lang-*) are older and separate; they forward tovix-editor-core(ADR 4).
Enforced by
tui/Cargo.toml[features]andtui/src/capability.rs(its tests cover the action-prefix map).tui/tests/spawn_sites.rs, which fails when a file outside its allow list starts a process, so a new spawn site has to be gated first.- The
feature-combosCI job (spec/ci/index.md).
Comparison
An honest feature-parity matrix, first against the two editors Vix is most often weighed against: Vim and Emacs, both stock, with no plugins or packages (the baseline the vix-for-vim-users and vix-for-emacs-users pages also assume). Then Helix (the other “modern terminal editor written in Rust”), Zed (a modern GUI editor, included as the “if you’d consider a GUI” comparison point), and two young terminal editors with the same “GUI conventions in a terminal” goal as Vix: Fresh (Rust, GPL-3.0-or-later) and ttt (Go, MIT). Fresh and ttt are marked from their own READMEs and manifests as read on 2026-11-10; both move fast, so check them for anything that matters to you. See also vix-for-emacs-users, vix-for-visual-studio-code-users, and vix-for-helix-users for the prose version of some of these same comparisons.
For VS Code, Neovim, JetBrains IDEs and Sublime Text, see Why Vix?. Three editors also have a page of their own, each with a side-by-side table, when to pick which, and how to switch: Vix compared with VS Code, Vix compared with Neovim and Vix compared with Helix.
✓ built in, no plugin needed. - not built in (a plugin may exist).
~ partial — see the footnote.
| Feature | Vix | Vim | Emacs | Helix | Zed | Fresh | ttt |
|---|---|---|---|---|---|---|---|
| Interface | TUI, GUI1 | TUI2 | TUI, GUI | TUI | GUI | TUI, GUI3 | TUI |
| Modal editing, on by default | -4 | ✓ | - | ✓ | - | - | -5 |
| Menu bar | ✓ | - | ✓ | - | ✓ | ✓ | ✓ |
| LSP (diagnostics, rename, go-to-def) | ✓ | - | ✓6 | ✓ | ✓ | ✓ | ✓ |
| Debugger (DAP) | ✓ | - | -7 | ✓ | ✓ | - | - |
| Tree-sitter highlighting | ✓ | - | ~8 | ✓ | ✓ | ✓ | -9 |
| Built-in fuzzy finder / palette | ✓ | - | ~10 | ✓ | ✓ | ✓ | ✓ |
| Multiple cursors | ✓ | - | - | ✓ | ✓ | ✓ | ✓ |
| Git client (stage, commit, log, blame) | ✓ | - | ~11 | ~12 | ✓ | ~13 | ✓ |
| Jujutsu client | ✓ | - | - | - | - | - | - |
| Integrated terminal | ✓ | ✓ | ✓ | - | ✓ | ✓ | ✓ |
| Plugin/scripting system | ✓ (Rhai) | ✓ (Vimscript) | ✓ (Emacs Lisp) | ~14 | ~15 | ✓ (TypeScript) | ✓ (Lua) |
| Persistent, branching undo | ✓ | ~16 | ~17 | - | - | - | - |
| Org-mode (outline, TODO, agenda) | ✓ | - | ✓ | - | - | - | - |
| Database workbench | ✓ | - | ~18 | - | - | - | - |
HTTP client for .http files | ✓ | - | - | - | - | - | - |
| Themes built in | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Interface in many languages | ✓ | ✓ | - | - | - | ✓ | - |
| Single static binary, no runtime | ✓ | ✓ | - | ✓ | - | ✓ | ✓ |
| Native remote/SSH project editing | ~19 | ✓20 | ✓21 | - | ✓ | ~22 | - |
None of this is “Vix wins every row” — it doesn’t, and a matrix this
compressed necessarily flattens nuance the linked prose pages restore. Read
it as: Vix bundles into one binary what Helix and Zed also ship built in
(LSP/DAP/tree-sitter/pickers), Vim leaves to plugins and Emacs only partly
builds in, plus a few
things none of the other six have at all (Org-mode, a Jujutsu client,
persistent undo with no setup, a bundled DB/HTTP/JWT/regex tool shelf) —
traded against real gaps of its own: remote/SSH editing that is still
experimental, no modal editing by default (opt-in instead), and a much
younger, smaller plugin ecosystem than Vim’s or Zed’s (Rhai scripts today; see
docs/scripting/index.md).
Where Vix is simplest
No plugin manager, no extension marketplace, no JavaScript/TypeScript runtime to sandbox. What ships in the binary is everything there is — smaller attack surface, nothing to configure before it works.
Where Vix does more than stock Vim and Emacs
Vim and Emacs are both deeply extensible, and almost every row above can be
filled in with plugins or packages: LSP and DAP clients, a fuzzy finder,
multiple cursors, Magit, an HTTP client. Vix’s difference is that these are
present, configured and documented on first launch, alongside a
left-side file explorer, a right-side message drawer, a bottom
dock for logs, output, test results and the DB workbench, 21 switchable
themes, and a switchable UI language in 15 languages — see
index.md for the full tour. What Vim and Emacs do
better: decades of ecosystem, Vimscript and Emacs Lisp reach far deeper
than Vix’s Rhai scripts, and Emacs’s Org mode and TRAMP are more mature.
Easier to pick up than Vim or Emacs, for a newcomer
Vim (like Helix) defaults to modal editing, and Emacs to its own chords
(C-x C-s to save) and vocabulary (kill and yank for cut and paste), both
unfamiliar territory for most people’s first day. Vix’s default (Apple) keymap uses ordinary
Ctrl+C/Ctrl+V-style shortcuts and shows a menu bar — modal editing is a
menu choice away (View → Keymap) for whoever wants it, not the only
door in.
Vix™ and Vix IDE™ are trademarks.
-
The desktop front ends (
vix-gpui,vix-eguiand five more) run the same editor in a native window; they are experimental. Seegui/spec/index.md. ↩ -
A GUI build (
gvim) exists alongside the terminal one; the comparison above is against stock terminal Vim, matching the vix-for-vim-users page’s own baseline. ↩ -
Fresh Desktop, a separate standalone build. ↩
-
Off by default (the Apple keymap), but a Vi, Spacemacs (Vi-modal plus a
Spaceleader) or Helix (select-then-act) keymap is one menu choice away — see keymaps. ↩ -
Vim and Emacs editing are plugins from ttt’s Plugins sidebar. ↩
-
Eglot, Emacs’s built-in LSP client since Emacs 29. ↩
-
GUD drives
gdband other command-line debuggers, but Emacs has no built-in Debug Adapter Protocol client. ↩ -
Built in since Emacs 29, but the grammars are installed separately. ↩
-
ttt highlights with TextMate grammars (a Go port of VS Code’s engine), not Tree-sitter. ↩
-
M-xandC-x p fcomplete command and file names, andfido-vertical-modenarrows them, but there is no fuzzy palette out of the box. ↩ -
VC commits, shows logs and annotates (blames) through one interface for many systems; hunk-by-hunk staging is Magit, a package. ↩
-
Helix shows a diff gutter and has some Git awareness, but by its own stated design does not aim to be a Git client — no stage/ commit/log panel. ↩
-
Fresh’s README lists a Git log, Git grep and a Git file finder, but no staging, committing or blame. ↩
-
Steel, a Scheme-based scripting/plugin layer, is still under active development as of 2026, not yet a stable, documented plugin API. ↩
-
Zed’s extensions add languages, themes, and debug adapters, not general-purpose editor scripting. ↩
-
Vim’s
:set undofilepersists undo history across sessions, and its undo tree branches — the underlying data model is comparable. What Vix adds is a browsable Undo Branch UI with no config: Vim’s branches exist but need a plugin (e.g. Gundo/undotree) to browse. ↩ -
Emacs never loses an undo state (undoing an undo is part of the history), but there is no tree browser or persistence without a package such as
vundoorundo-fu-session. ↩ -
SQL mode runs
psql,mysqlorsqlite3in a console buffer: a query console, not a results grid or schema tree. ↩ -
New in 2.0 and experimental: File → Open Remote… or
vix ssh://host/pathedits a folder on another machine with nothing installed there. See remote editing. ↩ -
Not a feature of Vim itself —
ssh host -t vim fileruns Vim on the remote host over a plain terminal session, the way any TUI program can be used remotely. ↩ -
TRAMP edits remote files over SSH and other protocols. ↩
-
Fresh’s README lists remote/SSH workspaces under its Orchestrator. ↩
Vix™ compared with VS Code
VS Code is a desktop editor whose language support, debuggers and much else come from extensions in its marketplace. Vix is a terminal editor with those pieces built in and no marketplace. This page puts the two side by side, says which to pick when, and how to switch. For the step-by-step move, see Vix for VS Code users.
Claims about VS Code describe its documented defaults; see the VS Code documentation. Every claim about Vix cites the test or file that checks it. The wider matrix, with Vim, Emacs, Helix, Zed, Fresh and ttt, is on the comparison page; JetBrains IDEs, Neovim and Sublime Text are in Why Vix?.
At a glance
✓ built in. - not built in (an extension may exist). ~ partial: see
the footnote.
| Vix | VS Code | |
|---|---|---|
| Runs in a terminal | ✓ | - |
| Edits a remote folder over SSH | ~1 | ~2 |
| Desktop window | ~3 | ✓ |
| Language servers | ✓4 | ~5 |
| Debugger | ✓6 | ✓ |
| Git: stage and commit | ✓7 | ✓ |
| Integrated terminal | ✓8 | ✓ |
| Multiple cursors | ✓9 | ✓ |
| Persistent, branching undo | ✓10 | - |
| Extension marketplace | - | ✓ |
| Scripting | Rhai scripts and plugins11 | JavaScript and TypeScript extensions |
| Live co-editing | ~12 | -13 |
Choose VS Code when
- Your work depends on a particular extension: notebooks, a remote-container workflow, a proprietary language pack. The marketplace covers far more than Vix ever will.
- You want graphical surfaces: webviews, image diffs, drag and drop.
- You work mouse-first in a desktop window.
Choose Vix when
- You work in a terminal, over SSH or in tmux, and want the same editor there as on your laptop, with nothing installed on the remote side.1
- You want the IDE pieces (language servers, a debugger, Git, a terminal) to work on first launch without choosing extensions.
- You would rather not maintain an extension set.
Switching
Pick View → Keymap… → VSCode macOS or VSCode Windows.14 The rows below are copied from the generated VS Code keybindings reference; a test fails if a row here stops matching it.
| Key | Action | Action ID |
|---|---|---|
C-p | Open… | file.open |
C-S-p | Command Palette | tools.palette |
C-g | Number | nav.goto_line |
C-S-o | Go to Symbol | nav.goto_symbol |
C-t | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-b | Toggle Explorer | view.explorer |
C-j | Show/Hide Bottom Dock | view.bottom_dock |
| `C-`` | Show/Hide Terminal | tools.terminal |
C-S-l | Select All Occurrences | edit.select_all_occurrences |
C-\ | Vertical | view.split_vertical |
C-S-m | Diagnostics… | lsp.diagnostics |
Ctrl+D adds the next occurrence as a caret, as in VS Code.15 Then
bring your settings, snippets and language servers across with the
migration guide.
Vix™ and Vix IDE™ are trademarks.
-
Experimental.
tui/tests/remote_ui.rs,open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩ ↩2 -
Through Microsoft’s Remote - SSH extension, which installs a VS Code server on the remote machine; see Remote development over SSH. ↩
-
Seven experimental desktop front ends run the same editor in a native window. See
gui/spec. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
VS Code speaks LSP, but each language’s support comes from an extension; a few languages are bundled. ↩
-
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
tui/tests/integration/editing.rs,select_all_occurrences_creates_multi_carets,ctrl_d_adds_a_caret_and_edits_all_occurrencesandcolumn_select_block_edits_multiple_lines. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩ -
Rhai scripts add palette commands and key bindings:
tui/tests/integration/scripting.rs,script_command_appears_in_the_command_paletteanda_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser:plugin_chooser_enables_and_disables_a_plugin. ↩ -
Compiled in only with the
coworkCargo feature, which the defaultfullfeature set intui/Cargo.tomlleaves out. See the Cowork specification. ↩ -
tui/tests/integration/editing.rs,ctrl_d_adds_a_caret_and_edits_all_occurrences. ↩
Vix™ compared with Neovim
Neovim is a modal terminal editor that you build into an IDE with Lua plugins. Vix is a terminal editor with the IDE pieces built in, ordinary keys by default, and a Vi keymap one menu choice away. This page puts the two side by side, says which to pick when, and how to switch. For the exact account of which Vi keys behave the same, see Vix for Vim users, whose parity table is generated from a test.
Claims about Neovim describe its documented defaults, with no plugins; see the Neovim documentation. Every claim about Vix cites the test or file that checks it. The wider matrix, with Vim, Emacs, Helix, Zed, Fresh and ttt, is on the comparison page.
At a glance
✓ built in. - not built in (a plugin may exist). ~ partial: see the
footnote.
| Vix | Neovim | |
|---|---|---|
| Modal editing by default | -1 | ✓ |
| Menu bar | ✓2 | - |
| Language server client | ✓3 | ✓4 |
| Tree-sitter highlighting | ✓5 | ✓6 |
| Debugger | ✓7 | -8 |
| Fuzzy file finder and command palette | ✓9 | -10 |
| Multiple cursors | ✓11 | - |
| Git: stage, commit, blame | ✓12 | - |
| Integrated terminal | ✓13 | ✓14 |
| Persistent, branching undo | ✓15 | ~16 |
| Scripting | Rhai scripts and plugins17 | Lua and Vimscript |
Choose Neovim when
- You want to build your own editor. Lua reaches far deeper than Vix’s Rhai scripts, and the plugin ecosystem is vast.
- You need the full Vi language: Vix’s Vi keymap covers the common core but not all of it (see the known differences).
- Startup time and memory matter most: in Vix’s own measurements Neovim starts faster and uses less memory on a 10,000-line source file (see Performance).
Choose Vix when
- You want an IDE in the terminal on first launch, without choosing and configuring plugins.
- You want menus, a palette and
F1help to discover commands, with modal editing optional. - You want a Git client, a debugger and persistent, browsable undo without plugins.
Switching
Pick View → Keymap… → Vi, or set keymap = "vi" in
config.toml.18 A few rows from the generated
Vi keybindings reference (a test fails if
a row here stops matching it):
| Key | Action | Action ID |
|---|---|---|
i | Insert Before Cursor | vim.insert |
a | Append After Cursor | vim.append |
o | Open Line Below | vim.open_below |
u | Undo | edit.undo |
/ | Find… | edit.find |
n | Find Next | edit.find_next |
% | Jump to Matching Bracket | edit.match_bracket |
Operators, counts, text objects, . and : commands go beyond that table;
the Vim guide lists them. Then bring your
settings across with the migration guide: Vix does
not read init.lua or init.vim.
Vix™ and Vix IDE™ are trademarks.
-
Off by default; the Vi, Spacemacs and Helix keymaps are modal. Vi Normal mode:
tui/tests/integration/keymaps.rs,vim_keymap_normal_mode_is_modal. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
The client is built in; you install and configure each server. See LSP. ↩
-
The grammars compiled in by default are the
syntax-commonfeature intui/Cargo.toml. ↩ -
See Tree-sitter. ↩
-
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩ -
Through plugins such as nvim-dap. ↩
-
The prefixes are
Mode::from_inputincrates/vix-palette/src/lib.rs. ↩ -
Command-line completion is built in; fuzzy pickers are plugins. ↩
-
tui/tests/integration/editing.rs,select_all_occurrences_creates_multi_carets,ctrl_d_adds_a_caret_and_edits_all_occurrencesandcolumn_select_block_edits_multiple_lines. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩ -
undofilekeeps undo history across sessions and the history branches, but browsing the branches needs a plugin. See Undo. ↩ -
Rhai scripts add palette commands and key bindings:
tui/tests/integration/scripting.rs,script_command_appears_in_the_command_paletteanda_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser:plugin_chooser_enables_and_disables_a_plugin. ↩
Vix™ compared with Helix
Helix is a modal terminal editor, written in Rust, with selection-first editing and language servers, Tree-sitter and multiple selections built in. Vix shares the “built in, no plugins to assemble” idea but takes a wider scope (a Git client, terminals, menus) and is not modal by default; its Helix keymap brings the selection-first core along. This page puts the two side by side, says which to pick when, and how to switch. For more, see Vix for Helix users.
Claims about Helix describe its documented defaults; see the Helix documentation. Every claim about Vix cites the test or file that checks it. The wider matrix, with Vim, Emacs, Zed, Fresh and ttt, is on the comparison page.
At a glance
✓ built in. - not built in. ~ partial: see the footnote.
| Vix | Helix | |
|---|---|---|
| Selection-first modal editing | ~1 | ✓2 |
| Modal by default | - | ✓ |
| Menu bar | ✓3 | - |
| Language servers | ✓4 | ✓ |
| Tree-sitter highlighting | ✓5 | ✓ |
| Multiple selections | ✓6 | ✓ |
| Git: stage, commit, blame | ✓7 | ~8 |
| Integrated terminal | ✓9 | - |
| Persistent, branching undo | ✓10 | - |
| Scripting | Rhai scripts and plugins11 | -12 |
Choose Helix when
- You want the whole selection-first model: Vix’s Helix keymap covers the core, but not named registers, view and window modes, or rotating and flipping selections.
- You prefer a smaller, deliberately focused editor.
- You want modal editing without switching anything on.
Choose Vix when
- You want the Git client, terminals, a debugger13 and browsable, persistent undo in the same binary.
- You want menus and a command palette for discovery, with modal editing optional.
- You want to script commands and key bindings today.
Switching
Pick View → Keymap… → Helix, or set keymap = "helix" in
config.toml.14 A few rows from the generated
Helix keybindings reference (a test
fails if a row here stops matching it):
| Key | Action | Action ID |
|---|---|---|
w | Select to Next Word | helix.select_word_next |
x | Select Line | helix.select_line |
% | Select All | edit.select_all |
d | Delete Selection | helix.delete |
c | Change Selection | helix.change |
y | Yank Selection | helix.yank |
v | Toggle Select Mode | helix.toggle_select |
s | Select Regex Matches in Selection | edit.select_regex_in_selection |
C | Add Multi-Cursor Down | spawn_multi_cursor_down |
. | Repeat Last Change | helix.repeat_last_change |
After Space:
| Key | Action | Action ID |
|---|---|---|
f | Open… | file.open |
/ | Search in Workspace | search.workspace |
k | Hover | lsp.hover |
r | Rename Symbol | lsp.rename |
a | Code Action… | lsp.code_action |
Then see the migration guide for settings:
Helix’s editor.line-number = "relative" becomes
relative_line_numbers = true, for one.
Vix™ and Vix IDE™ are trademarks.
-
The Helix keymap:
tui/tests/integration/keymaps.rs,helix_w_selects_a_word_and_d_deletes_it,helix_c_changes_every_match_and_dot_repeats_on_every_selectionandhelix_space_f_opens_the_file_picker. ↩ -
Every LSP action against a mock server:
tui/tests/integration/lsp.rs,every_lsp_action_applies_a_mock_servers_reply; servers start only in a trusted workspace:a_builtin_language_server_starts_only_in_a_trusted_workspace. ↩ -
The grammars compiled in by default are the
syntax-commonfeature intui/Cargo.toml. ↩ -
tui/tests/integration/editing.rs,select_all_occurrences_creates_multi_carets,ctrl_d_adds_a_caret_and_edits_all_occurrencesandcolumn_select_block_edits_multiple_lines. ↩ -
Stage and commit, blame:
tui/tests/integration/git.rs,git_panel_stages_and_commitsandgit_blame_annotates_the_current_line. ↩ -
A diff gutter shows changed lines; there is no staging, committing or blame. ↩
-
tui/tests/integration/terminals.rs,several_terminals_each_get_their_own_keys. ↩ -
persistent_undodefaults totrueincrates/vix-settings/src/lib.rs; the tree view:tui/tests/integration/undo_tree.rs,moving_the_selection_previews_and_enter_keeps_the_state. ↩ -
Rhai scripts add palette commands and key bindings:
tui/tests/integration/scripting.rs,script_command_appears_in_the_command_paletteanda_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser:plugin_chooser_enables_and_disables_a_plugin. ↩ -
No plugin system in a released version; one is in development. ↩
-
Breakpoints and the debugger actions:
tui/tests/integration/debugger.rs,edit_breakpoint_sets_condition_hit_count_and_log_message. ↩
Performance
Baseline numbers for Vix’s per-keystroke and per-frame hot paths, so a
regression is a number that moved, not a feeling. See
spec/test/index.md for how the
benchmarks themselves are organized and how to read a run’s console output.
Running the benchmarks
cargo bench # everything
cargo bench --bench editor_ops # one file
cargo bench -- editor/open # one group; Criterion compares to the
# last run under target/criterion/
cargo bench --bench startup -- open/ # the large-checkout open-time exercise
cargo bench uses [profile.bench] (speed-optimized, no LTO) rather than the
default [profile.release] (size-optimized, lto = "thin") that a plain
bench run would otherwise inherit — the release profile is tuned for a small
shipped binary, not for representative hot-path timing, and workspace-wide
LTO makes the final link slower to rerun casually.
Baseline (measured 2026-09-15, editor/open re-measured after T121, startup/* added for T122)
Apple M4 Max, macOS (Darwin 25.6.0), rustc 1.98.0, cargo bench (release,
no LTO). These are one machine’s numbers, not a promise — the point is
the shape (which sizes are cheap, which are not) and a reference to diff a
later run against, not an absolute SLA.
Each cell is Criterion’s middle (best) estimate from a 10–100 sample run; see
target/criterion/ locally for the full confidence interval.
editor/open measures only Editor::new returning — since T121 (below),
that’s no longer the same thing as “fully parsed and highlighted” for a
buffer at or above the 50 KB async-parse threshold, which is why these rows
moved so much from the original 2026-09-02 baseline: they’re measuring the
same operation as before, but that operation itself got faster, not a
different one. editor/open_until_highlighted (new) measures the older,
“fully parsed too” quantity for the two sizes where that now differs — use
it, not editor/open, when the question is “how much total background CPU
does opening this file cost”, not “how long does it block the user”.
| Benchmark | Input | Time |
|---|---|---|
editor/open | 200 lines (~8 KB, below the async-parse threshold) | 399 µs |
editor/open | 5,000 lines (~200 KB) | 49.0 µs |
editor/open | 20,000 lines (~800 KB) | 136 µs |
editor/open | 125,000 lines (~5 MB, plan T006’s “syntax-highlight a 5 MB Rust file”) | 707 µs |
editor/open | 2,500,000 lines (~100 MB, plan T006’s “open/parse a 100 MB file”) | 14.1 ms |
editor/open_until_highlighted | 125,000 lines (~5 MB) — editor/open’s own number before T121 | 236 ms |
editor/open_until_highlighted | 2,500,000 lines (~100 MB) — editor/open’s own number before T121 | 4.69 s |
editor/typing | 200 lines, one keystroke | 14.3 µs |
editor/typing | 5,000 lines, one keystroke | 2.27 µs |
editor/typing | 250,000 lines (~10 MB, plan T121’s “keypress-to-frame < 16 ms at 10 MB”), one keystroke | 3.35 µs |
editor/random_edits | 10k inserts/deletes burst, plan T006’s scenario | 1.60 s |
editor/paste_undo | paste 50 lines | 12.4 µs |
editor/paste_undo | undo | 272 µs |
editor/line_transforms | sort_lines, 2,000 lines | 4.35 ms |
editor/line_transforms | remove_duplicate_lines, 2,000 lines | 3.29 ms |
editor/line_transforms | trim_trailing_whitespace, 2,000 lines | 4.21 ms |
find/matches | plain, 1,000 lines | 190 µs |
find/matches | plain, 20,000 lines | 4.50 ms |
find/matches | regex, 1,000 lines | 341 µs |
find/matches | regex, 20,000 lines | 3.83 ms |
workspace_search/rescan | 1,000 files, plan T006’s “10k-file tree” scenario | 33.4 ms |
workspace_search/rescan | 10,000 files | 214 ms |
palette/fuzzy | filter, 1,000 candidates | 59.6 µs |
palette/fuzzy | filter, 20,000 candidates | 1.20 ms |
palette/fuzzy | rank, 1,000 candidates | 149 µs |
palette/fuzzy | rank, 20,000 candidates | 1.37 ms |
textops/cursor_rewrites | transpose_words / transpose_sentences / delete_word / delete_paragraph / smart_toggle, 100 lines | 4.1–18.7 µs |
textops/cursor_rewrites | same, 2,000 lines | 66.3–336 µs |
textops/whole_text | wrap_80, to_crlf, squeeze_blank_lines, sentence_starts | 34.3–873 µs |
startup/app_new | App::new — theme scan, editor/menu/LSP-client setup, no git involved | 134 µs |
startup/refresh_git | refresh_git (3 git subprocesses: repo?/branch/status) against an empty fixture repo | 12.2 ms |
T121’s three explicit budgets — open 100 MB < 1 s, keypress-to-frame < 16 ms at 10 MB, workspace search 10k files < 500 ms — are now all met, two of them by a wide margin:
- Open 100 MB < 1 s: was the one furthest from budget in the original
2026-09-02 run (5.05 s), and the clearest incremental/lazy-highlighting
candidate that run named. It wasn’t highlighting that was slow, though —
highlight-query execution was already lazy and viewport-scoped (only the
visible rows’ byte range is ever queried, at any buffer size); the whole
5.05 s was one synchronous, unconditional, whole-buffer Tree-sitter parse
in
Code::new, which never went through the background-worker machinery a post-edit reparse already used for large buffers. Routing the initial parse through that same worker (the change T121 actually made — seecrates/vix-editor-core/spec/syntax-highlighting/index.md) took it to 14.1 ms, a 350× improvement, without touching the highlight layer at all. - Keypress-to-frame < 16 ms at 10 MB: 3.35 µs for the mutation + incremental-reparse-trigger side of a keystroke in a 250,000-line (~10 MB) buffer — this budget was already met before T121 (typing already used the async-reparse worker for any buffer over 50 KB), this run just adds a benchmark point at the actual target size to prove it with a number instead of an inference from the 200/5,000-line points.
- Workspace search 10k files < 500 ms: already clears this comfortably at 214 ms (unchanged by T121 — a separate subsystem) and scales close to linearly with file count (33 ms → 214 ms for 1k → 10k, roughly 10× for 10×).
One thing this baseline still shows, not addressed by T121 and worth its
own investigation: editor/random_edits’ 1.60 s for 10k random-position
edits, against editor/typing’s 2–14 µs steady-state single keystroke, says
random-position churn (structural edits scattered across a buffer, not
typing at one spot) is disproportionately expensive — the incremental-parse
machinery amortizes a single edit well, but a burst of scattered ones
still adds up; a candidate for a future task, not something T121’s parse/
highlight work touches.
Cold start (T122)
main.rs timed step by step opening this repository itself (~/git/vixide/ vix, a real, large, ~115-crate workspace — not a synthetic fixture) with a
throwaway instrumented build: Settings::load 0.6–1.0 ms, App::new
10.1 ms, load_scripts/maybe_prompt_script_trust/resolve_key_overrides/
maybe_show_welcome/restore_session combined under 1 ms — and
refresh_git 75–82 ms, by far the largest single cost, all of it before
ratatui::init() had even taken over the terminal. refresh_git shells out
to git three times (repo?, branch, status); on a small/empty repo that’s
cheap (startup/refresh_git’s own 12.2 ms, above, against a fixture repo
with no files or history) but real subprocess spawn overhead, git status
included, scales with repository size — this one just happens to be a large
one, which is exactly the realistic case worth fixing for.
The fix: main no longer calls refresh_git before the first frame draws.
App’s git-related fields (git_repo, git_branch, git_status) already
default to “not a repo” — the same state opening Vix outside a repo renders
correctly today — so drawing before that first refresh_git call is safe;
the terminal now shows the real editor almost immediately (Settings::load
App::new, ~11 ms in the instrumented run above, before terminal setup’s own small cost), with the branch/status indicator catching up one frame later rather than blocking everything that comes after it. Nothing else measured mattered enough to move: every other pre-first-frame step was already sub-millisecond, so — per this task’s own “defer if measurement says it matters” — none of them needed to move.
A smaller, unconditional fix landed alongside it: App::new scanned the
custom-themes directory (real filesystem I/O) twice — once inside
apply_saved_theme, once again immediately after for the View → Theme
submenu’s name list — now scanned once and reused for both.
The startup git refresh, in the background (T830)
T122 moved refresh_git (three git runs: repo?, branch, status) after
the first frame; a later change (e3063798) dropped the startup call
altogether, which saved its cost but left the status-bar branch, the
changed-file state and the change gutter empty until the first save or git
action. Since T830, App::start (both front ends) starts the same refresh on
a worker thread (tui/src/app/git_refresh.rs) and App::tick installs its
answer; the event loop ticks every 50 ms while it runs, so the branch and
gutter appear within a frame or two of the answer landing. A synchronous
refresh_git (opening the Git panel, a save, any git action) supersedes a
refresh still in flight.
Measured with cargo bench --bench startup -- startup/ on 2026-11-27
(on 6875a21c, a busy machine: load average around 45, so the absolute times
are high; the ratios are the point). VIX_BENCH_GIT_DIR points the git
benchmarks at a real repository, here this checkout (147 crates):
| Benchmark | What it times | Empty fixture repo | This checkout |
|---|---|---|---|
startup/app_new | App::new, no git (before: 235 µs) | 302 µs | 678 µs |
startup/refresh_git | the synchronous refresh, as before T830 (before: 27.4 ms) | 30.7 ms | 87.1 ms |
startup/start_git_refresh | what the UI thread pays now: spawning the worker | 60 µs | 17 µs |
startup/git_refresh_landed | spawn through tick installing the answer (wall time, off the UI thread) | 31.3 ms | 86.3 ms |
So startup’s git cost on the UI thread fell from a blocking 27–87 ms (before
e3063798) to tens of microseconds, and the branch shows again: it lands
once git answers, without holding up the first frame or the first keystroke.
The open-time exercise below (open/) runs App::start and so now
includes that spawn; its first editable frame (6.7 ms warm median for 20,000
files on the same busy machine) is dominated by everything else.
Rarely used features at startup (T830)
What App::new and the first frame spend on the rarely used features,
measured 2026-11-27 with a throwaway timing test built with
[profile.bench] (median of 300 runs; default features plus cowork and
jupyter, which are opt-in; load average around 12 on 16 cores):
| Feature | What App::new builds | Time | Size in App | Startup I/O |
|---|---|---|---|---|
| DB workbench | db: None, built when the workbench first opens | 0 | an Option | none |
| OC containers | oc: None, built when the OC panel first opens | 0 | an Option | none |
| Jupyter | an empty kernel list (nothing is discovered until a kernel is asked for) | 0 ns | 344 B | none |
| Cowork | an empty session state and one mpsc channel | 83 ns | 1.7 KB | none |
IM, history = "session" (default) | the inbox with Notes, the panel | 209 ns | 528 B | none |
IM, history = "disk" | the same, plus reading and decoding Notes’ JSONL (1,000 messages, 110 KB) | 297 µs | 528 B | a file read (and a rewrite if pruned) |
For scale, all of App::new took 187 µs in the same run and the first
frame (120 × 40, nothing open) 140 µs. Only the disk-history read was worth
deferring: it was larger than the rest of App::new together and was file
I/O for a feature most sessions never open. Notes’ history is now read on
the first IM use (an im.* action, a delivered message, or the panel drawn;
ImState::ensure_notes_history), so startup with disk history reads no file
and costs what the default does. The others are already lazy, or too small
to measure against the noise, and are unchanged.
cargo bench --bench startup -- startup/app_new afterwards read 230 µs
(load average around 25; 302 µs in the git-refresh run above at around
45). It uses default settings, session-only history, so this change does
not move it; with history = "disk" it saves the ~0.3 ms above.
Caches over a long session (T830, measured 2026-11-27)
Everything the App and the editor widget keep that could grow over a long
session, and what bounds it. The exercise is
app::memory::tests::opening_and_closing_a_thousand_files_keeps_per_file_state_bounded
(cargo test -p vix-tui --lib memory -- --nocapture prints the sizes): in a
committed repository of 1,000 small files, open each one (two in three as a
Position History jump, one in three as an explorer preview, which the next
preview replaces), let the language-server sync, the change gutter and the
once-a-second disk poll see it, then close it (Close Tab for one in three,
Close All every 30 files). The highlight cache has its own exercise in
vix-editor-core (highlight_cache_is_bounded_and_rebuilds_what_it_evicted):
draw a 2,000-line Rust file at each of its 2,000 scroll positions.
| Cache | Key | Grown by | Evicted before T830 | Size after the exercise, before | After |
|---|---|---|---|---|---|
App::disk_mtimes | file path | each disk poll, per open file | never | 1,000 entries (about 100 B each) | the open files (3) |
App::lsp_synced and, in vix-lsp, the document’s version and full text | file path | the first sync of a file a server handles | Close Tab only; not Close All, a replaced preview or a deleted file’s buffer (the server kept the document open too) | 667 entries, each holding the whole file text | the open files (3); the rest get didClose |
App::git_head_cache | file path | the change gutter, per file shown | a git refresh (a save, a git action) | 1,000 entries, each the file’s whole HEAD text | the open files |
App::git_gutter_base_cache (gutter base other than HEAD) | file path | the same | the same | as above, with another base | the open files |
App::nav_history (Position History) | — | every jump | never | 1,332 locations | 100 (NAV_HISTORY_CAP, as Vim’s jumplist) |
vix-editor-core highlight cache, per tab | visible byte range | each new scroll position (each visual row with soft wrap) | an edit or theme change | 2,000 entries for 2,000 positions (a viewport’s spans each, a few KB) | 256 (HIGHLIGHT_CACHE_ENTRIES), least recently used first |
| Reopen Closed Tab stack | — | each close | capped | 20 | 20 |
| Recent files | path | each open | capped | 15 (recent_files_max) | 15 |
| Command palette recents / query history | — | each command / query | capped | 12 / 50 | 12 / 50 |
| Clipboard history | — | each copy | capped | 30 | 30 |
| Output dock, terminal scrollback | — | output | capped | scrollback (1,000) / at most 50,000 lines | unchanged |
| IM messages | conversation | each message | capped | 5,000 per conversation | unchanged |
| Undo history, folds, marks, per-tab caches | — | edits in that tab | dropped with the tab | — | unchanged |
| LSP diagnostics | file path | the server’s publishes | the server’s empty publish | as many files as the server reports on | unchanged (the server decides) |
| Messages drawer | — | notices | the user dismisses each | 2 | unchanged (by design, vix-right-dock) |
| Symbols, picker preview, inline blame | — | — | one entry each | 1 | 1 |
| File index, Tree-sitter queries, git repository location | workspace / language / workspace folder | — | rebuilt, never per file | the workspace’s files / one per language / one per folder | unchanged |
Bounded since T830:
- Per-file state is dropped once no tab shows the file.
App::prune_closed_file_stateruns from the once-a-second disk poll and keepsdisk_mtimes,git_head_cacheandgit_gutter_base_cacheonly for open files, and sendsdidClosefor any synced file without a tab, which also dropsvix-lsp’s copy of its text. Every close path reaches it, so Close All, a replaced preview and a deleted file’s buffer no longer leak. A reopened file is re-read: its mtime is recorded afresh (no reload warning), the server gets a newdidOpenand the gutter fetches HEAD again (a_reopened_file_rebuilds_what_was_dropped). - Position History keeps the newest 100 jumps, as Vim’s jumplist does
(
position_history_keeps_the_newest_hundred_jumps). - The highlight cache keeps 256 ranges, evicting the least recently
used; an evicted range is recomputed to the same spans
(
highlight_cache_evicts_the_least_recently_used_range). Each eviction scans the 256 entries once, and only on a miss, which already runs a Tree-sitter query.
The exercise takes about 0.9 s in a debug build (the change gutter is built
for one file in ten there, since each build runs git show; the “before”
column comes from a run that built it for all 1,000, about 11 s).
Vi sentence motions (T830, measured 2026-11-27)
In the T843 profile about half of a Vi ( or ) was
vix_textops::sentence_starts decoding the whole buffer into a
Vec<char>; the rest was copying it out of the rope first. Now (/) read
the editor’s rope from the cursor outward through
vix_textops::sentence_start_from / sentence_start_before (a small state
carried over the chars, seeded from the whitespace and closing marks just
behind the cursor), and sentence_starts itself scans bytes from one
sentence end to the next. Both give the same starts as before: the
vix-textops tests compare them with the old scan at every offset of a
table of texts and of proptest-generated ones, and the vix-modal oracle
tests compare the motions.
editor/vi_sentences (tui/benches/editor_ops.rs): ) + ( through the
real App key path, in prose with a sentence end every few words around
the same line; --warm-up-time 1 --measurement-time 3, load average
around 10–15:
| Buffer | Before | After |
|---|---|---|
| 4 KiB | 19.2 µs | 4.4 µs |
| 512 KiB | 1.67 ms | 4.7 µs |
| 8 MiB | 34.7 ms | 4.8 µs |
sentence_starts on the textops/whole_text prose (144 KB), old and new
timed alternately in one process (median of 400): 140 µs → 84 µs; on 140 KB
of code with no sentence ends, 137 µs → 59 µs. A sentence motion in text
with no sentence end (code, say) still walks to a buffer end, but over the
rope without a copy.
Go → Sentence → Next / Previous (nav.sentence_next /
nav.sentence_prev) did the same whole-buffer copy and scan; they now
read the rope through the same two functions (vix-editor’s
next_sentence_start / prev_sentence_start, checked against the old
scan at every offset). editor/go_sentences (tui/benches/editor_ops.rs):
Next then Previous through App::run_action in the same prose buffer,
measured 2026-11-27 with --warm-up-time 1 --measurement-time 3, load
average around 15–23:
| Buffer | Before | After |
|---|---|---|
| 4 KiB | 8.5 µs | 1.7 µs |
| 512 KiB | 895 µs | 2.0 µs |
| 8 MiB | 14.2 ms | 2.0 µs |
Word and sentence navigation, Matching Tag, Highlight Word (T851, measured 2026-11-27)
T830 left four paths that copied the whole buffer out of the rope. Highlight
Word (App::refresh_word_highlight) is the one that runs without being
asked: when the setting is on, the event loop calls it every tick, and it
does its work whenever the cursor or the buffer changed since the last
call, so on every cursor move and every keystroke that edits. Measured
first, before changing anything (editor/word_highlight in
tui/benches/editor_ops.rs: two cursor moves, each followed by the
refresh, around the same line; rare is an identifier found once, so the
search reads to the end; common is a word of the filler, where the
500-mark cap is reached early): about 20 ms per cursor move at 8 MiB
(39.3 ms per two). It copied the buffer twice (once to find the word under
the cursor, once to search) and decoded each copy into a Vec<char>.
Now the word under the cursor is read from the rope out from the cursor,
and the occurrences are found by vix_textops::whole_word_matches, a byte
search over the rope’s chunks (no copy), with the marks’ char offsets from
Rope::byte_to_char. Go → Matching Tag reads the rope through
vix_tags::matching_tag_in from the cursor to the partner; Go → Word
(Start, End, Next, Previous) and Go → Sentence (Start, End) read from the
cursor to where they land; Go → Word / Sentence → Number count from the
top to the target. Each gives the old answer: unit tests compare them with
the old whole-text code at every offset of tables and generated texts, and
go_word_sentence_tag_and_highlight_word_make_no_whole_buffer_pass in
tui/tests/integration/big_buffer.rs checks that none of them makes a
whole-buffer pass in ~1.7 MB of text.
--warm-up-time 1 --measurement-time 3, load average around 15–20 before
and 6–10 after:
| Bench | 4 KiB before | 4 KiB after | 512 KiB before | 512 KiB after | 8 MiB before | 8 MiB after |
|---|---|---|---|---|---|---|
word_highlight/rare (2 moves) | 36.4 µs | 2.2 µs | 1.98 ms | 134 µs | 39.3 ms | 2.13 ms |
word_highlight/common (2 moves) | 17.5 µs | 15.6 µs | 1.10 ms | 55.7 µs | 27.4 ms | 58.6 µs |
go_words/word_next_prev | 11.2 µs | 0.99 µs | 1.08 ms | 1.23 µs | 25.9 ms | 1.39 µs |
go_words/word_start_end | 9.4 µs | 0.97 µs | 802 µs | 1.23 µs | 14.9 ms | 1.22 µs |
go_words/sentence_start_end | 9.7 µs | 1.55 µs | 902 µs | 1.85 µs | 16.3 ms | 1.80 µs |
go_words/goto_word_and_sentence_10 | 8.7 µs | 2.2 µs | 861 µs | 2.3 µs | 15.4 ms | 2.4 µs |
matching_tag/there_and_back | 37.0 µs | 3.7 µs | 4.58 ms | 2.97 µs | 83.0 ms | 2.95 µs |
Highlight Word with a rare identifier still searches the whole buffer (it marks the first 500 occurrences anywhere), now about 1 ms per cursor move at 8 MiB instead of 20; Go → Word / Sentence → Number to a far target, and a matching tag far away or missing, still read up to it, but over the rope without a copy.
Highlight Word marks the occurrences on screen (T852, measured 2026-11-27)
After T851 Highlight Word still marked the first 500 occurrences in the
buffer: in a large file with a common word, every mark could sit above the
viewport, and a word found once read to the end of the buffer (about 1 ms
per cursor move at 8 MiB). Now word_marks_near in tui/src/app.rs
searches the visible rows first, then the cursor’s neighborhood when it is
off screen, then outward from the view in 256-line steps, alternately above
and below, stopping at 500 marks or 3,000 lines past the view each way
(nothing shows a total count; the rule is in
crates/vix-find-panel/spec/highlight-word/index.md). The rebuild key gains
the view’s top line and height, so scrolling moves the marks and an idle
frame recomputes nothing.
Same bench (editor/word_highlight, two cursor moves; the view stays at the
top, so the cursor’s neighborhood is what gets searched), default criterion
settings:
| Bench | 4 KiB before | 4 KiB after | 512 KiB before | 512 KiB after | 8 MiB before | 8 MiB after |
|---|---|---|---|---|---|---|
word_highlight/rare (2 moves) | 2.90 µs | 3.66 µs | 142 µs | 70.4 µs | 2.26 ms | 67.5 µs |
word_highlight/common (2 moves) | 16.5 µs | 17.4 µs | 57.9 µs | 69.5 µs | 78.2 µs | 74.4 µs |
The rare word now costs the same at 512 KiB and 8 MiB (the window, not the buffer); the common word’s cost is the 500 marks either way. At 4 KiB the stepwise search adds under a microsecond.
Tree-sitter on very large files (T830, measured 2026-11-27)
Measured with cargo run --release --example large_syntax -p vix-tui -- <MiB> [plain]: an App with large_file_mb = 0 opens a generated, deterministic
Rust file (doc comments, structs, impl blocks with match, strings,
numbers, a test module per item; about 29 bytes a line) and draws into a
200×50 test terminal; plain opens the same bytes as .txt. Open is
App::open_initial; parse is the wall time until the background parse is
installed; keystroke is on_key in the middle of the file, then the
frame after it, then the wall time of the background reparse (median of
five). Resident memory is vix_system_information_panel::resident_memory
before and after the open. Each size is its own process; Apple silicon.
What the code already did before this slice, read from
crates/vix-editor-core/src/code.rs: the first parse of a buffer at or above 50 KB
runs on the vix-parse worker (T121), so opening never waits for it; each
edit calls Tree::edit and reparses with the old tree on the worker, so
typing never waits either; and highlighting runs a range-scoped
QueryCursor over the visible rows only (plus the LRU of 256 ranges). The
numbers confirm it: the keystroke reparse is incremental (19 ms at 64 MiB
against a 9.7 s full parse) and the highlighted frame costs the same at every
size.
Before (2026-11-27; every Rust file parsed):
| Size | Lines | Open | First frame (plain until parsed) | Parse (background) | First highlighted frame | Keystroke (on_key) | Reparse (background) | Memory the open added |
|---|---|---|---|---|---|---|---|---|
| 1 MiB | 36 k | 32 ms¹ | 1.2 ms | 125–160 ms | 0.85 ms | 19 µs | 0.5–6 ms | 47 MiB |
| 8 MiB | 286 k | 31–50 ms¹ | 4–7 ms | 1.0–1.7 s | 0.9 ms | 22–33 µs | 2.5–4 ms | 343 MiB |
| 16 MiB | 570 k | 36 ms | 8.7 ms | 2.2 s | 0.8 ms | 33 µs | 11 ms | 679 MiB |
| 32 MiB | 1.14 M | 46 ms | 29 ms | 4.1 s | 0.8 ms | 35 µs | 15 ms | 1,350 MiB |
| 64 MiB | 2.27 M | 261 ms | 97 ms | 9.7 s | 0.9 ms | 27 µs | 19 ms | 2,691 MiB |
64 MiB as .txt | 2.27 M | 28 ms | 28 ms | — | — | 15 µs | — | 73 MiB |
¹ Most of it is compiling the Rust highlight query, once per process.
The one problem is memory: the parse tree costs about 42 bytes of resident memory per byte of text, and the first parse about 140 ms per MiB of CPU on the worker. A 64 MiB source file held 2.7 GiB and kept a core busy for ten seconds before any color showed. Time on the UI thread was never the issue.
The fix is a size limit, nothing else: a buffer larger than
SYNTAX_MAX_BYTES (8 MiB) when it is created opens with Tree-sitter off
(no tree, so no highlighting, textobjects or structural selection), and the
status line says “Opened … ; syntax highlighting is off for files over 8 MiB”
(status.opened_syntax_off). At or under 8 MiB nothing changed. 8 MiB keeps
the tree near 340 MiB and the background parse near a second; VS Code’s
editor.largeFileOptimizations draws a similar line at 20 MB. After:
| Size | Highlighted | Open | First frame | Keystroke (on_key) | Memory the open added |
|---|---|---|---|---|---|
| 1 MiB | yes | 35 ms¹ | 1.4 ms | 23 µs | 47 MiB |
| 8 MiB | yes | 50 ms¹ | 7.1 ms | 33 µs | 343 MiB |
| 9 MiB | no | 4.4 ms | 4.5 ms | 16 µs | 11 MiB |
| 64 MiB | no | 28 ms | 28 ms | 18 µs | 73 MiB (was 2,691) |
Found and not changed here (they are the same with and without
Tree-sitter, so they belong to “incremental rendering”): the first frame
after a keystroke costs about 7 ms per MiB of text (66 ms at 8 MiB, 0.46 s at
64 MiB, .txt included), and five keystrokes at 64 MiB raised resident
memory by about 320 MiB in both cases.
Opening a large checkout (T823)
How long a user waits after opening a big project: for the file named on
the command line to be on screen and editable, and for Quick Open (the
palette’s file finder, Ctrl+P in the VS Code and Sublime keymaps) to list a
result. Measured by the open-time exercise in tui/benches/startup.rs,
2026-11-26 (branch for T823, on d570a67a).
cargo bench --bench startup -- open/ # the default run: no language server
VIX_BENCH_LSP=1 cargo bench --bench startup -- lsp/ # opt-in, needs rust-analyzer
The checkout is generated, never committed: a seeded, Cargo-workspace-shaped
tree of 100 crates under crates/cNNN/src/ (a lib.rs each, modules two
directories deep), written to $TMPDIR and deleted afterwards.
VIX_BENCH_OPEN_FILES sets its size (default 20,000) and
VIX_BENCH_OPEN_RUNS the number of opens per authority (default 10; 20
below). Each open builds a fresh App.
Environment of the run below. Apple M4 Max (16 cores), macOS (Darwin
27.2.0, aarch64), rustc 1.100.0 (0ef1bc386 2026-11-09), git version 2.56.1, vix 3.0.0 built with [profile.bench] and default features
(capabilities: sql, image, script, terminal, http, ai, git, jj, oc, im,
lsp, dap, tasks, hunspell), language servers switched off in the settings
(subsystems.lsp_enabled = false, so nothing can start one and no trust
prompt covers the first frame). Workspace: 20,000 files, 4,193 directories,
28.6 MiB. Load average 50.3 / 57.3 / 53.7 (1 / 5 / 15 min) from other
jobs on the machine, about three runnable threads per core: the numbers are
indicative, and the spread (p90, max) is mostly the scheduler.
| Measurement | Authority | Run | Median ms | p90 ms | Min ms | Max ms | Samples |
|---|---|---|---|---|---|---|---|
| First editable frame | local | cold | 18.9 | 18.9 | 18.9 | 18.9 | 1 |
| First editable frame | local | warm | 6.8 | 21.2 | 3.4 | 21.8 | 19 |
| Quick Open, files listed | local | cold | 67.3 | 67.3 | 67.3 | 67.3 | 1 |
| Quick Open, files listed | local | warm | 65.4 | 95.0 | 50.8 | 104.2 | 19 |
| Quick Open, query result | local | cold | 67.6 | 67.6 | 67.6 | 67.6 | 1 |
| Quick Open, query result | local | warm | 65.7 | 95.3 | 51.1 | 104.5 | 19 |
| First editable frame | fake remote | cold | 4.4 | 4.4 | 4.4 | 4.4 | 1 |
| First editable frame | fake remote | warm | 6.0 | 24.9 | 3.7 | 48.5 | 19 |
| Quick Open, files listed | fake remote | cold | 68.4 | 68.4 | 68.4 | 68.4 | 1 |
| Quick Open, files listed | fake remote | warm | 61.7 | 88.3 | 51.2 | 365.8 | 19 |
| Quick Open, query result | fake remote | cold | 68.7 | 68.7 | 68.7 | 68.7 | 1 |
| Quick Open, query result | fake remote | warm | 62.0 | 88.6 | 51.5 | 366.1 | 19 |
Through the fake authority, the first frame made 17 authority calls and Quick Open 2 (the file-index walk is one call).
Where each measurement starts and ends
- First editable frame starts just before
App::newand ends when the first frame has been drawn (ui::drawinto a 120 × 40 headless terminal) with the file given on the command line open and focused. In between:App::new,App::start(scripts, project settings, key overrides, the welcome screen, opening the file) and the draw — whatmainruns. Not included: starting the process, loadingconfig.toml, setting up the terminal and the terminal painting the bytes. The whole-process figure, measured fromforkin a pseudo-terminal, is the T744 table above: about 40 ms to the first screen on a 10,000-line file. - Quick Open, files listed starts when
tools.paletteis invoked on that app and ends when the frame showing the open picker (empty query, files listed) has been drawn. Opening the picker builds the file index, so this includes walking the checkout; that walk is almost all of it. - Quick Open, query result has the same start and ends when the frame
listing at least one result for
lib.rs, typed one key at a time after the picker opened, has been drawn. The six keystrokes add about 0.3 ms. - Cold is the first open in the benchmark process: it pays one-time
costs (grammar and query compilation, the theme, the translation
tables). The operating system’s file cache is warm, since the checkout
was just written; a cold-disk run needs
sudo purgeand is not measured. The fake-remote “cold” run comes after the local runs in the same process, so it is only cold for the authority. - Warm is every later open: a new
Appeach time, in a warm process.
Remote authority
The remote rows install the in-process FakeAuthority (T711) over the same
checkout and open /proj, a path that exists only inside it, so every file
operation goes through the authority slot as it would over SSH. No host is
contacted. The timing starts after the authority is installed: that
stands for a finished connection, which main makes before App::new
(vix::remote::connect_cli), so the SSH handshake and the remote agent’s
start are not in these numbers. It ends at the same drawn frame as the
local rows. The fake has no transport: each call is a local file operation,
so these rows measure Vix’s routed code path, and match the local ones.
Over a real link, add about one round trip per authority call: 17 for the
first frame and 2 for Quick Open, so at a 50 ms round trip, roughly 0.85 s
and 0.1 s more.
Language server (opt-in, not measured here)
First semantic definition and first actionable diagnostic need a real
server, so the default run never starts one. With VIX_BENCH_LSP=1 and a
rust-analyzer that runs (VIX_BENCH_RUST_ANALYZER names another
program), the exercise generates a small Cargo crate (one package, 202
modules, no dependencies, the server run with CARGO_NET_OFFLINE=true) and
opens its lib.rs VIX_BENCH_LSP_RUNS times (default 3) with a local
server. Each interval starts just before App::new, so it includes the
server’s start and indexing, and ends at the first tick after which:
- first semantic definition:
nav.goto_definitionon a call inlib.rshas moved the cursor toa.rs(asked again every second, since a server still indexing answers with nothing); - first actionable diagnostic: the server has published an error for
lib.rs(a deliberate type mismatch).
Cold is the first run (a fresh server, first cargo metadata), warm the
later ones. On the machine above this mode printed
skipping lsp/large_checkout: `rust-analyzer --version` did not run:
rust-analyzer on PATH is a rustup proxy with no component installed,
so there are no language-server numbers yet. A remote language server is
not covered: the fake authority has no server behind it.
What the numbers say
- On a 20,000-file checkout the file is on screen and editable in about 7 ms (median, in-process; 19 ms for the first open in a process). The size of the checkout does not enter into it: nothing on that path walks the tree.
- Quick Open lists files in about 65 ms, nearly all of it the file-index
walk. That walk stops at 5,000 files
(
App::build_file_index’s cap), so in this checkout Quick Open only ever offers a quarter of the files, and its cost stops growing at that size. - The micro-benchmarks run alongside, under the same load:
startup/app_new378 µs (134 µs in the idle 2026-09-15 baseline) andstartup/refresh_git31.4 ms (12.2 ms), which shows how much the load inflates everything.
Large File Viewer (T733)
The Large File Viewer opens files too big for a buffer without loading them
(see crates/vix-large-file/spec).
Measured 2026-10-30 with scripts/bench-large-file, which generates a 1 GiB
and a 4 GiB log-like file (~113-byte lines), opens each headlessly in the
viewer with a 50 × 200 screen, and deletes them afterward.
Machine: Apple M4 Max (16 cores), 128 GiB RAM, internal SSD (APFS), macOS
27.0.1, rustc 1.99.1, --release. Warm cache: each file is measured
right after it is written, so it is in the OS page cache; a cold read from
disk is bounded by the drive instead, and only the full-index and search
rows (which read the whole file) would change much.
| Measurement | 1 GiB (9.5 M lines) | 4 GiB (38.1 M lines) |
|---|---|---|
| Time to first screen (open + first 50 lines drawn) | 0.3–0.4 ms | 0.2 ms |
| Goto end (before the index has started) | 0.1 ms | 0.1 ms |
| Time to full line index (background) | 119–120 ms | 480–487 ms |
| Goto a line in the middle (index done) | 0.2 ms | 0.2 ms |
| Search the whole file for a string on its last line | 83–86 ms | 335–341 ms |
Peak RSS of the whole process (/usr/bin/time -l) | 4.3 MiB | 3.6–4.6 MiB |
| Line-index checkpoints kept | 9,298 (73 KiB) | 37,191 (291 KiB) |
Ranges are two runs. The quotable number: a 4 GiB file opens to its first
screen in under a millisecond and is fully indexed in about half a second,
in under 5 MiB of memory (this machine, warm cache). Memory does not grow
with the file beyond the checkpoints (8 bytes per 1,024 lines); the index
and search each read 1 MiB at a time. Process start-up and terminal setup
are not included: the benchmark times the viewer, not vix launching.
Reproduce: scripts/bench-large-file (or scripts/bench-large-file 1 for
one size). It needs about 4 GiB of free space in $TMPDIR at a time.
Startup and memory vs other editors (T744)
How long Vix takes to show a file, and how much memory it holds, next to the other terminal editors installed on the same machine, measured the same way. Every editor that was measured is listed, including the ones that beat Vix.
Measured 2026-10-30 with scripts/bench-editors, re-run the same day after
the large-buffer fixes of T749 (branch perf/big-file-memory-startup on
806dd040); the first run, on commit 282b529f, is kept below for
comparison. Machine: Apple M4 Max (16 cores), 128 GiB RAM, internal SSD
(APFS), macOS 27.0.1 (Darwin 27.0.0). Vix built with cargo build --release -p vix-tui (rustc 1.99.1, the shipped [profile.release], default
features).
| Editor | Version | Command (config disabled) |
|---|---|---|
| Vix | 2.0.0 pre-release (commits above) | vix FILE with a fresh HOME; large_file_mb = 1024 so the 100 MB file opens as text |
| Vim | 9.2 | vim -u NONE -i NONE -n -N FILE |
| Neovim | 0.12.6 | nvim --clean -n FILE |
| Helix | 25.07.1 | hx -c EMPTY.toml FILE |
| GNU Emacs | 30.2 | emacs -nw -Q --eval '(setq large-file-warning-threshold nil)' FILE |
| micro | 2.0.15 | micro -config-dir EMPTY_DIR FILE |
| GNU nano | 9.3 | nano -I FILE |
| mg | macOS /usr/bin/mg (no version flag) | mg -n FILE |
| Kakoune | 2026.05.21 | kak -n FILE |
Zed is installed but is a GUI editor, so it is out of scope for a terminal comparison. (Kakoune was not installed for the first run.)
Each cell is the median (min–max) of 10 runs on the 10,000-line file and 5 runs on the 100 MB file, after 2 discarded warm-up runs per editor and file.
10,000-line Rust file (~300 KB)
| Editor | Time to first screen, ms | Memory, MiB | Idle CPU, % |
|---|---|---|---|
| Kakoune | 7.8 (7.3–43.7) | 4.2 (4.2–4.3) | 0 |
| mg | 10.6 (10.4–56.7) | 2.5 (2.5–2.5) | 0 |
| nano | 10.7 (9.6–11.2) | 8.3 (8.3–8.4) | 0 |
| Vim | 16.5 (14.1–28.0) | 12.3 (12.3–12.4) | 0 |
| Neovim | 31.9 (30.8–34.1) | 25.0 (24.9–25.1) ¹ | 0 |
| Vix | 39.7 (38.5–53.9) | 33.0 (32.8–34.2) | 0 |
| micro | 45.8 (36.4–86.6) | 28.3 (27.7–28.7) | 0 |
| Emacs | 188.7 (171.0–201.0) | 53.6 (53.5–53.7) | 0 |
| Helix | 197.1 (193.3–794.6) | 58.0 (53.3–64.8) ² | 0 |
100 MB plain-text log file (~1.1 M lines)
| Editor | Time to first screen, ms | Memory, MiB | Idle CPU, % |
|---|---|---|---|
| Vim | 62.8 (61.4–64.2) | 116.7 (116.6–116.8) | 0 |
| Kakoune | 78.5 (76.5–86.7) | 129.8 (129.8–129.9) ³ | 0 |
| Vix | 87.0 (71.0–93.8) | 125.5 (125.3–125.5) | 0 |
| Neovim | 120.6 (104.0–157.8) | 129.7 (129.7–130.1) ¹ | 0 |
| micro | 269.6 (240.6–285.8) | 359.6 (347.4–374.8) | 67.1 (58.7–68.9) |
| nano | 275.3 (258.2–284.6) | 159.1 (159.1–159.2) | 0 |
| Emacs | 364.9 (307.3–445.8) | 148.7 (148.7–148.9) | 0 |
| Helix | 554.2 (551.5–568.4) | 524.7 (433.8–526.4) | 0 |
| mg | 1264.0 (1246.5–1704.0) | 136.6 (136.6–136.6) | 0 |
¹ Neovim runs as two processes (the terminal UI and an embedded editor
server); the figure is both together. The UI process alone peaks at 10.6
MiB. ² Helix sometimes had a second process alive while it was sampled;
the figure includes it (Helix’s own peak RSS is 53.7 MiB). ³ Kakoune’s
peak RSS from wait4 is 225.0 MiB: it holds more while loading the file
than once its first screen is up, when it is sampled. Vix’s peak RSS and
sampled figure agree (125.5 MiB). Idle CPU of “0” means a median of 0.0;
single samples of 0.5% (one 10 ms scheduler tick in 2 s) occur for Vix and
Kakoune.
Before and after T749 (Vix, 100 MB file, same method and machine):
| Time to first screen, ms | Memory, MiB | Idle CPU, % | |
|---|---|---|---|
Before (282b529f) | 99.4 (98.1–110.0) | 1100.9 (1100.8–1102.8) | 7.5 (7.0–8.8) |
| After (T749) | 87.0 (71.0–93.8) | 125.5 (125.3–125.5) | 0 |
What the numbers say, without spin:
- Startup. On a 10,000-line source file Vix shows its first screen in about 40 ms: behind Kakoune, mg, nano, Vim and Neovim (8–32 ms), level with micro, and about 5× faster than Emacs (189 ms) and Helix (197 ms) with their configurations disabled.
- Memory on ordinary files. Vix holds about 33 MiB with that file open: more than Kakoune, mg, nano, Vim, Neovim and micro (2.5–28 MiB), less than Emacs and Helix (54–58 MiB).
- Memory on a 100 MB file. Vix now holds 126 MiB, about 1.25× the file: second to Vim (117 MiB), level with Kakoune and Neovim (130 MiB), and well under Helix (525 MiB) and micro (360 MiB). Before T749 it held 1.1 GiB, the most of any editor measured. It shows the first screen in 87 ms (third, after Vim and Kakoune) and uses no CPU afterwards with no input. For files beyond a buffer’s reach, the Large File Viewer stays under 5 MiB.
What T749 changed. Measured with macOS’s malloc_history (allocation
stacks of a release build with debug symbols) and sample:
- Only ~110 MB of the 1.1 GiB was live: the rope holding the text. The rest
was freed memory the macOS allocator keeps resident, left by transient
full copies of the text, each built by doubling a
String(4, 8, … 128 MB — ~256 MB allocated per copy). About 2.6 GB was allocated in the first three seconds. - Every frame copied the whole buffer to find the longest line (for the horizontal scrollbar): ~1.8 GB of allocations in three seconds, and the whole of the 7.5% idle CPU (draws happen every 500 ms with no input). Now cached on the buffer’s revision and scanned in place.
- Opening read the file into a doubling
Vec(~264 MB allocated), then built the rope from it; now plain UTF-8 streams into the rope in 64 KiB blocks, so no second file-sized copy exists. - Persistent undo copied the text on every open to hash it, even with no saved history; now only when one exists.
- Code lenses copied the text and split it into lines to look for tests
in files with no test syntax (a
.log); now skipped for those. - Startup no longer asks the terminal about image support (a kitty
graphics query,
ESC [ c,ESC [ 16t,ESC [ 5 n); it asks the first time an image is opened. In a pseudo-terminal that answers no query at all, Vix now shows a small file in ~10 ms instead of stalling ~250 ms.
Not covered: the cost of editing a 100 MB buffer. After an edit the longest line is measured again (~20 ms on that file), and features that read the whole text when it changes were not audited for it.
Method
- Time to first screen is measured from just before
forkuntil two marker words — one on the file’s first line, one on its twentieth — have both been written to the terminal (escape sequences stripped). That counts process start, loading the file and drawing the first frame; it does not count a terminal emulator turning those bytes into pixels. - Each editor runs in a 120 × 40 pseudo-terminal with
TERM=xterm-256color, its user configuration disabled (table above), andHOMEand theXDG_*directories pointed at a fresh temporary directory, so no personal config, plugin, session or history is loaded. - The harness answers the queries editors send at startup (device
attributes, status report, cursor position, cell size, background color,
mode queries) as a typical xterm-compatible terminal does. This matters:
before T749 Vix probed the terminal for image support at startup and, in
a terminal that does not answer the status-report query (
ESC [ 5 n), waited about 250 ms for it — an earlier version of the harness that did not answer it measured Vix at ~297 ms and Neovim at ~170 ms. Vix now sends no query at startup (unlesstheme = "auto"). - Memory is the resident memory of the editor’s whole process tree,
sampled every 0.25 s for 3 s after the first screen; the cell is the
largest sample. For single-process editors it matches the process’s peak
RSS from
wait4(the number/usr/bin/time -lprints), which the script also records. - Idle CPU is the CPU time the process tree used during the last 2 s of those 3 s, with no input, as a percentage of one core.
- Warm cache only. The binaries and input files are in the OS page cache
(two discarded warm-up runs; the warm-up also absorbs first-launch work
such as Vix’s welcome screen). Cold-cache numbers need
sudo purgeand are not measured here. - Feature sets differ. Vix runs with its default features (syntax
highlighting, menus, file explorer, Git status). Of the others, Neovim
(
--cleankeeps its built-in syntax files), Helix and micro highlight the Rust file; Vim with-u NONE, nano with-Iand mg do not, and Emacs-Qopens it infundamental-modewith no highlighting (Emacs 30 has no Rust mode without a grammar or package). These are each editor’s own behavior with user configuration off, not equal workloads. - The 100 MB file is above two editors’ “ask first” limits: Vix’s
large_file_mb(50 MB by default) and Emacs’slarge-file-warning-threshold(10 MB). Both are raised so the file opens directly; with the defaults both editors stop at a question instead. - One machine, one day, with no build running but other background
activity not stopped. Spreads are min–max; isolated slow outliers (for
example nano 65.9 ms, mg 152 ms) are scheduler noise and are left in. A
trial run of nano during a
cargobuild took 175 ms instead of 10 ms on the small file, so run it on an idle machine.
Reproduce: cargo build --release -p vix-tui && scripts/bench-editors
(--runs, --big-runs, --json PATH, or a list of editor names to limit
it). It needs about 100 MB free in $TMPDIR, installs nothing, and deletes
its files afterwards.
Binary size budget (T514)
CI’s binary-size job (T008) only tracks a delta against the immediately
previous main build — useful for catching one PR’s regression, but a slow
multi-quarter creep across many individually-small additions wouldn’t show up
against a baseline that moves with it. This section is the number to compare
against over a longer horizon.
Measured 2026-09-19 (macOS/arm64, cargo build --release, [profile.release]
— lto = "thin", strip = true, opt-level = "z"): the stripped vix
binary is ~25.4 MB. Budget: flag it for a real look — not necessarily a
regression, could be a deliberate new bundled grammar or asset, but worth
asking why — if it crosses 35 MB (roughly 40% headroom) on any platform
CI measures. Update this number (and re-set the budget) the next time it’s
deliberately grown for a good reason, so the budget keeps meaning something.
Profiling a session (VIX_PROFILE)
Benchmarks measure one operation in isolation. To see how responsive Vix is
in real use, on your own files, run it with VIX_PROFILE set to a file:
VIX_PROFILE=profile.txt vix big.log
Use Vix as usual, then quit. Vix writes a summary to that file (and says where on exit):
Vix frame profile (VIX_PROFILE)
session: 42.3 s
phase count p50 ms p95 ms p99 ms max ms
input to frame 310 1.71 3.02 6.88 14.10
input handling 318 0.09 0.41 1.20 5.33
draw 402 1.42 2.31 4.97 11.62
tick 402 0.02 0.05 0.11 0.80
resident memory: start 14.2 MiB, peak 61.8 MiB, end 58.3 MiB (42 samples, every 1 s)
inputs slower than 16 ms to reach the screen: 0 of 310
slowest inputs (ms, at s into the session):
14.10 at 12.8 s
- input to frame is what you feel: from Vix reading a key, click or paste to the end of drawing the frame that shows its result. Anything over 16 ms (one frame at 60 Hz) is counted as slow, and the slowest ten are listed with when they happened, so you can match them to what you were doing.
- input handling, draw and tick (the background work polled before each frame) split that time up.
- resident memory is how much RAM Vix itself holds (its resident set),
sampled at most once a second after a frame (T830): at the start, the
largest seen and at the end. A steady climb while you open and close the
same kind of files points at something that keeps growing. It is read
through
sysinfo, which Vix already uses for Tools → System Information (where the same figure is the Vix resident memory row); on a platform it does not support the line says so.
Nothing is timed when VIX_PROFILE is unset. Only the terminal front end
records a profile.
Finding where the time goes (sampling profilers)
VIX_PROFILE and the benchmarks say how long; a sampling profiler says
where. Profile an optimized build that keeps its symbols. That is not the
release build: [profile.release] is opt-level = "z" and strip = true,
so its stacks have no function names and its hot spots are not the shipped
speed-optimized ones. [profile.bench] (opt-level = 3, strip = false)
is the one to sample, and every benchmark already runs under it.
The quickest loop profiles a benchmark that exercises the slow path. On
macOS the built-in /usr/bin/sample needs no setup: start it waiting for the
bench executable, then run the benchmark (from a second terminal, or start
sample in the background first):
/usr/bin/sample text_ops 5 -wait -mayDie -file text_ops.sample.txt
cargo bench --bench text_ops -- sentence_starts
sample attaches when a process whose name contains text_ops appears,
records five seconds, and writes a call tree plus a “Sort by top of stack”
summary to the file. The symbols are v0-mangled
(_RNvCs…_11vix_textops15sentence_starts is vix_textops::sentence_starts),
which is readable as it is. (Homebrew can shadow sample with an unrelated
tool, hence the full path.)
To profile a whole session instead, build the vix command with the same
profile and point a profiler at it. cargo build --profile bench writes to
target/release/, like a release build:
cargo build --profile bench --bin vix
Then use samply
(samply record target/release/vix big.log) or
cargo flamegraph
(cargo flamegraph --profile bench --bin vix -- big.log; on macOS it uses
DTrace and needs --root); on Linux, perf record -g target/release/vix big.log works the same way. A later plain cargo build --release overwrites
that binary with the stripped one.
Typing in a large file (measured 2026-11-17)
render/frame/after_keystroke (tui/benches/render_ops.rs) types and
deletes a character and draws a frame. Before this measurement it grew with
the file, because every edit made the next frame rescan the whole buffer for
its widest line (for the horizontal scrollbar): 1.2 ms at 1,000 lines,
2.2 ms at 20,000, and 4.9 ms at 500,000 lines (about 15 MB), on course for
the 16 ms frame budget at 100 MB. Now a buffer of 4 MB or more reuses the
widest-line width while you type and remeasures once you pause for 250 ms
(Editor::max_line_width); the 500,000-line case takes 1.7 ms, level with
the small ones. Same machine as the baseline above, under load, so read the
ratio rather than the absolute numbers.
Vi motions in a large file (T843, measured 2026-11-26)
editor/vi (tui/benches/editor_ops.rs) drives the real App key path
with the Vi keymap and the modal engine on: l + h, w + b, 3dw +
u and 2dd + u (each returns to where it started), and l + h
with a frame drawn after each key. The cursor is on the same line in every
buffer; only the unrelated text around it grows. Before T843 every motion
copied the whole buffer into a String and decoded it into characters, so
the cost grew with the file; now motions read the editor’s rope and only the
lines they cover (crates/vix-modal/spec/index.md, § Design: motions).
Run with --warm-up-time 1 --measurement-time 3 on a heavily loaded
machine, so the numbers are indicative; the shape (flat vs. linear) is the
result.
| Benchmark | 4 KiB before | 4 KiB after | 512 KiB before | 512 KiB after | 8 MiB before | 8 MiB after |
|---|---|---|---|---|---|---|
l + h | 8.2 µs | 1.4 µs | 1.08 ms | 1.6 µs | 17.6 ms | 1.5 µs |
w + b | 10.8 µs | 1.1 µs | 1.10 ms | 1.3 µs | 25.5 ms | 1.2 µs |
3dw + u | 182 µs | 197 µs | 1.07 ms | 200 µs | 22.5 ms | 194 µs |
2dd + u | 370 µs | 343 µs | 1.73 ms | 339 µs | 35.4 ms | 405 µs |
l + h, frame after each | 355 µs | 287 µs | 1.16 ms | 295 µs | 18.0 ms | 581 µs |
The remaining operator cost (about 0.2 ms for 3dw + u) is the edit and
its undo, not the motion, and does not grow with the file.
Key-to-frame in the real terminal, from VIX_PROFILE: the bench-profile
vix binary in a 120×40 tmux pane with a fresh HOME and
keymap = "vi", an 8 MiB text file, the cursor moved to its middle line,
then 100 × l/h and 100 × w/b, 25 ms apart:
| input to frame p50 | p95 | p99 | inputs over 16 ms | |
|---|---|---|---|---|
| Before T843 | 12.14 ms | 15.14 ms | 17.64 ms | 7 of 405 |
| After T843 | 0.34 ms | 0.85 ms | 1.17 ms | 1 of 404 ¹ |
¹ The 68760G that moved the cursor to the middle line (19.4 ms): a
counted G walks the lines it skips, once.
A keystroke in a very large file (T858, measured 2026-11-27)
T830’s fifth slice found the frame after a keystroke costing about 7 ms per
MiB of text, with Tree-sitter on or off, and five keystrokes at 64 MiB
raising resident memory by about 320 MiB. tui/examples/keystroke_cost.rs
reproduces it: it opens a generated file, puts the cursor in the middle and
types through App::on_key, with a tick and a frame after each key. With the
cursor at the top nothing was slow, which is why earlier measurements missed
it. /usr/bin/sample on 30 keys at 64 MiB (bench profile) put 89% of the
time under ui::draw → draw_editor_region → App::sticky_header →
App::active_tab_symbols: after every edit the sticky-scroll header copied
the whole buffer (Code::get_content) and ran vix_palette::symbols over
every line to find the one declaration above the top line, then cloned the
list of every declaration in the file (top frames: vix_palette::symbols,
memchr, regex_automata searches, memory copies, malloc/free). Most of
the rest (7%) was Editor::max_line_width → Code::max_line_chars: once
the last width was 250 ms old, the frame after a key scanned the buffer again
for its widest line, so a key after a pause cost 27 ms at 64 MiB. The undo
history was not the cause: it already stores each edit’s text, not copies of
the buffer.
Now the sticky-scroll header and the breadcrumb read up from their line to
the nearest declaration and remember what they saw across edits
(crates/vix-editor/spec/sticky-scroll/index.md), and the widest-line width
is brought forward by measuring only the changed lines
(Code::changed_since, crates/vix-editor-core/spec/index.md).
editor/keystroke (tui/benches/editor_ops.rs): type x and draw, then
Backspace and draw, in the middle of a plain-text buffer of Rust-shaped
lines. On a heavily loaded machine (load average about 40), with
--warm-up-time 1 --measurement-time 3, so read the shape, not the
absolute numbers (at 4 KiB the two builds measured 1.0 to 2.4 ms on repeated
runs):
| Benchmark | 4 KiB | 512 KiB | 8 MiB | 64 MiB |
|---|---|---|---|---|
| Before T858 | 1.0 ms | 7.2 ms | 136 ms | 982 ms |
| After T858 | 2.0 ms | 2.3 ms | 1.7 ms | 1.8 ms |
keystroke_cost, one key with a tick and a frame, cursor in the middle of a
.txt file:
| 8 MiB | 64 MiB | 64 MiB, 300 ms pause before each key | Resident memory, 5 keys at 64 MiB | |
|---|---|---|---|---|
| Before T858 | 43 ms | 380 ms | 380 ms | +396 MiB |
| After T858 | 0.15 ms | 0.14 ms | 0.5 ms | +0.8 MiB |
None of the keys after T858 makes a whole-buffer pass
(tui/tests/integration/big_buffer.rs,
a_keystroke_and_its_frame_make_no_whole_buffer_pass and
typing_in_a_large_file_costs_no_memory_per_key). What is left is periodic,
not per key: hot exit copied a changed buffer over 4 MiB into its backup at
most once a minute (moved off the UI thread by T859, next section), and
narrowing the widest line itself still remeasures the buffer once typing
pauses for 250 ms.
Hot exit and Tree-sitter after T858 (T859, measured 2026-11-27)
Hot exit. The idle pass backed up a changed buffer over 4 MiB on the UI
thread, at most once a minute: it copied the text (Tab::text), serialized
it into a second string and wrote that. tui/examples/hot_exit_cost.rs
opens a generated .txt file, types one key and times the
App::poll_hot_exit call that backs it up, then waits for the backup file
(bench profile, three runs each at 64 MiB):
| UI thread paused | Resident memory during the pass | Backup on disk after | |
|---|---|---|---|
| Before T859, 64 MiB | 120, 154, 212 ms | +67 MiB | the same |
| After T859, 64 MiB | 0.05 to 0.44 ms | +0.2 MiB | 115 to 126 ms |
| After T859, 8 MiB | 0.10 ms | +0.2 MiB | 25 ms |
Now the pass clones the rope (shared chunks, O(1)) and a vix-hot-exit
worker thread streams the JSON from the chunks into the atomic, owner-only
temp file (BackupStore::write_chunks,
vix_fileops::write_atomic_private_with), so no whole copy is made on
either thread. Rules for ordering, superseding and quit are in
crates/vix-undo-store/spec/hot-exit/index.md.
Memory per key with Tree-sitter. T858 saw a .rs file at 64 MiB grow
about 0.15 MiB per key. Re-measured on main with keystroke_cost (20
keys): at 64 MiB +0.9 MiB in all, flat, and at 8 MiB (the generator writes
slightly over SYNTAX_MAX_BYTES, so Tree-sitter is off) +0.5 MiB: since
T830 slice 5 turned Tree-sitter off above 8 MiB, nothing grows there. Just
under the limit, at 7 MiB of Rust, it still grew, and without bound:
keystroke_cost 7 400 rs | after 40 keys | 200 keys | 360 keys |
|---|---|---|---|
| Before T859 | +2.1 MiB | +30.7 MiB | +48.0 MiB |
| After T859 | +1.0 MiB | +1.2 MiB | +1.9 MiB |
(.txt at 7 MiB, for comparison: +1.1 MiB after 400 keys.) The cause was
not old trees, the highlight cache or undo: each key cancels the background
reparse in flight (vix-editor-core’s parse_worker_loop), and
Tree-sitter keeps a cancelled parse’s state in the parser so that the next
call resumes it. The next call was a newer snapshot, so the worker went
on growing one half-finished parse across every superseded key, and the
tree it finally produced could hold the old text’s nodes (the new test
a_cancelled_parse_does_not_leak_into_the_next_request got the previous
document’s functions back for a one-line struct). The worker now resets
its parser after a cancelled parse.
Quick Open in a large checkout (T845, measured 2026-11-27)
palette/quick_open (tui/benches/search_and_palette.rs) builds a checkout
of 20,000 or 100,000 empty files (open/pkg<n>/mod<n>/item<n>.rs, 100 to a
directory) and drives the real App. first_results is a fresh App
opening Quick Open until it lists files; keystroke types one character
and deletes it (two re-filters) after a query that every file matches, so
the whole index is scored and ranked: the worst case. Setup waits for the
background index and checks that all n files are indexed
and that the first, middle and last file are found by name.
Before T845 the index stopped at 5,000 files, so most of these checkouts
could not be found at all; the “before” keystroke is cheap only because it
scored 5,000 files. “Old matcher” is the full index with the matching code
as it was (an owned label, Path::strip_prefix and a lowercased copy of
every path, a full sort); “after” is T845’s (borrowed paths, a text prefix
test, an allocation-free ASCII fuzzy_score, top 200 by partial
selection). Measured on a heavily loaded machine (load average over 100 on
16 cores; palette/fuzzy/rank/20000 read 1.45–3.9 ms in these runs
against 1.37 ms in the baseline above), so read the ratios.
| Benchmark | Before (5,000-file cap) | Old matcher, full index | After |
|---|---|---|---|
first_results, 20,000 files | 9.72 ms | 9.94 ms | 9.64 ms |
first_results, 100,000 files | 11.7 ms | 11.1 ms | 10.7 ms |
| per keystroke, 20,000 files | 1.6 ms (5,000 indexed) | 9.6 ms | 2.7 ms |
| per keystroke, 100,000 files | 1.6 ms (5,000 indexed) | 62 ms | 9.7 ms |
First results cost what they did: the first pass is the old walk. Per
keystroke the worst case is about 0.1 ms per 1,000 indexed files, so the
safety cap FILE_INDEX_CAP is 150,000 files (about 15 ms, inside the
16 ms frame budget); a more selective query is cheaper, since a path that
cannot match is rejected before it is scored in full. See
crates/vix-palette/spec/index.md, § File index.
Workspace search in a large checkout (T830, measured 2026-11-27)
workspace_search/large (tui/benches/search_and_palette.rs, a timed
report, not a Criterion loop) builds a checkout of 100,000 small source
files (four lines each, src/pkg<n>/mod<n>/item<n>.rs, 100 to a
directory) in which five files hold marmalade, opens Find in
Workspace on a real App, waits for the background file index and types
the query. Cold is the first search over the whole index with nothing
remembered (the query less its last character: every file read; the files were just written, so
the OS cache is warm); narrowing is typing the last character, widening
the backspace before it (medians of 7). Measured on a heavily loaded machine
(load average about 30 on 16 cores), so read the ratios.
workspace_search/rescan is the existing Criterion bench (one character
typed and deleted after need, so two scans per iteration; at the time it
did not wait for the background index, so the 10,000-file case scanned the
first 5,000 files; since T869 it does, see § Workspace search latency).
| Benchmark | Before | Parallel reads | … and no canonicalize | After (… and the memo) |
|---|---|---|---|---|
| 100,000 files, first full search (cold) | 3.67 s | 1.53 s | 0.84 s | 0.88 s |
| 100,000 files, a narrowing keystroke | 3.08 s | 1.20 s | 0.86 s | 0.18 s |
| 100,000 files, a widening keystroke | 3.08 s | 1.20 s | 0.86 s | 0.89 s |
workspace_search/rescan, 1,000 files | 50.3 ms | 12.2 ms | ||
workspace_search/rescan, 10,000 files | 306 ms | 63.5 ms |
(Before the memo, narrowing and widening keystrokes cost the same: each read every file.)
Where the time went (a probe over the same 100,000 files, same load):
canonicalize 0.71 s on one thread and 0.62–0.65 s on 4, 8 or 16 (it
does not scale), metadata 0.16 s on one thread and 0.09–0.12 s on 8–16,
reading every file 1.8 s on one thread and 0.62 s on 8. The old scan did all
of that on one thread, plus a regex call per line. The new one reads on
every core, replaces canonicalize with one lstat and a per-directory
lookup, and skips, with one lstat each, the files the last scan found no
candidate in when the query only got longer. A file watcher could save the
remaining lstats (about 0.1 s), not the reads, so none was added; see
crates/vix-workspace-search/spec/index.md, § The in-process scan.
Workspace search latency (T869, measured 2026-11-28)
Audit item PQ-08 found the project-search key handler scanning the whole
index before it returned. Since T869 a keystroke only requests the search;
the scan runs on a worker thread and its hits land on a later tick
(spec/find-and-replace, § Responsiveness). Three times are now measured
apart: key-to-return (App::on_key, what typing waits for), first
result (request to the first hits posted) and complete (request to the
summary). All numbers are [profile.bench] builds (opt-level = 3, the
build cargo bench uses), macOS arm64, 16 cores, under load (load average
13–20 from other builds), so read the ratios.
cargo run --profile bench --example workspace_search_latency -p vix-tui -- 10000 40:
10,000 one-line files, a tenth holding needle, 40 samples each. Cold
opens a fresh App per sample (no scan memo, every file read; the OS file
cache is warm) and types ne; warm types l after need in one App,
so the memo skips the files the last scan found nothing in. Before is the
same build with the request routed to the one-thread search, so key-to-return
equals completion. Milliseconds, p50 / p90 / p99 / max:
| Case | Before: key-to-return | After: key-to-return | After: first result | After: complete |
|---|---|---|---|---|
| Cold | 142 / 145 / 147 / 148 | 0.14 / 0.15 / 0.17 / 0.63 | 81.5 / 82.7 / 83.4 / 88.7 | 133 / 135 / 135 / 143 |
| Warm | 26.5 / 27.2 / 27.4 / 27.6 | 0.19 / 0.20 / 0.21 / 0.21 | 12.9 / 13.1 / 13.3 / 13.3 | 25.9 / 26.6 / 26.8 / 26.8 |
cargo bench --bench search_and_palette -- workspace_search (Criterion,
the l keystroke after need; rescan is that keystroke and its
backspace, each with its scan to completion, the number this bench always
gave; it now waits for the background file index, which it did not before,
so its 10,000-file case scans all 10,000 files instead of the first 5,000):
| Benchmark | 1,000 files | 10,000 files |
|---|---|---|
workspace_search/keystroke | 63.6 µs | 227 µs |
workspace_search/first_result | 2.04 ms | 10.6 ms |
workspace_search/complete | 2.25 ms | 20.0 ms |
workspace_search/rescan | 10.6 ms | 102 ms |
The keystroke’s remaining cost is the snapshot: copying the file index’s
paths and each named buffer’s text. The scan itself is unchanged (T830’s
workspace_search/large, 100,000 files, timed to completion: cold 0.91 s,
narrowing 0.15 s, widening 0.91 s), and it now never delays a keystroke,
Esc or the frame drawn after it. On main before T869 the audit’s
reproduction, typing x, y, z with the whole index in, returned in
1.6 / 102 / 16 ms in this build (the audit measured 0 / 195 / 167 ms in a
debug build; x alone is under the 2-character minimum and scans nothing).
Reading the numbers
Benchmark what the user waits for — a keystroke, a frame, a file open — not what runs once at startup or is dominated by I/O the user isn’t watching. The sizes that matter are the large-buffer ones: an editor is judged on the 20,000-line file, not the 200-line one, and the query-compilation regression that motivated this whole suite (opening a 200-line file cost 26 ms because of an uncached Tree-sitter query) only stood out against the 5,000-line case.
Criterion stores each run under target/criterion/ and reports the percentage
change from the previous run — measure, change, measure again, read the
delta. Don’t chase a percentage on a benchmark whose absolute time is a few
microseconds; noise dominates there. Do chase one on editor/open’s largest
sizes or editor/random_edits — those are seconds, and a real regression
shows up as a real number of seconds.
Running the gate on Linux and Windows from a Mac
Vix’s quality bar is scripts/check, run on the maintainer’s machine. A Mac
cannot show you what breaks on Linux or Windows, and the hosted macOS and
Windows runners are the expensive ones, so they run only on version tags and
the weekly schedule. This page shows how to cover both operating systems
yourself, before a tag finds the problem. The design is in
spec/local-ci.
Linux, in a container
scripts/check-linux # the push tier, in a Linux container
scripts/check-linux --tier fast # fmt, clippy, tests of changed crates
scripts/check-linux --shell # a shell in the same container, for debugging
You need the docker command talking to a running daemon. Any of these works
(the script installs nothing and tells you which one is missing):
- Colima:
brew install colima docker && colima start - OrbStack:
brew install --cask orbstack, then open it once - Docker Desktop
- Podman:
podman machine start, then either thedockercommand on Podman’s Docker-compatible socket orVIX_CONTAINER_CLI=podman
What the script does:
- Builds a small image, once per toolchain, on the official
rust:<version>-bookwormimage, where<version>is your ownrustc --version, so the container lints with the same clippy asscripts/checkon your Mac (with norustcinstalled it falls back to the MSRV,rust-versioninCargo.toml). It adds clippy, rustfmt and the few system tools the gate needs. SetVIX_LINUX_RUST=<version>to pick another toolchain. Do not pick the MSRV for the gate: clippy’s lints change between releases, so-D warningsat the MSRV fails on code stable accepts. - Limits cargo to one job per 3 GiB of the engine’s memory (at most one per
CPU), because the VM a Mac engine runs has no swap and linking one test
binary on
aarch64took 2.5 GiB; one job per CPU got the linker killed.VIX_LINUX_JOBS=<n>overrides it. Giving the VM more memory makes it faster. - Mounts your repository read-only and copies it into a Docker volume, so
your working tree is never written. A throwaway git repository is made there
because the gate runs
git diffon the generated reference docs. - Keeps
target/and the cargo registry in named volumes (vix-check-linux-target,vix-check-linux-cargo), so the second run is incremental.docker volume rm vix-check-linux-work vix-check-linux-target vix-check-linux-cargostarts clean. The target volume grows to about 45 GB for the push tier, so the engine’s VM disk needs that much free (an old toolchain’s build stays in it until you empty it). - Runs as your user id, not root, with all capabilities dropped. It mounts no
credentials: not
~/.ssh, not your git config, not the Docker socket. At run time the only network use is cargo fetching crates (building the image also reaches apt and rustup).
VIX_CI_DRY_RUN=1 scripts/check-linux prints the Dockerfile and the exact
docker run command instead of running it.
A pass here means “the push tier passes on Linux”. It is not the signed
attestation (scripts/attest still wants a full run), and a Linux container on
Apple Silicon is aarch64, not the x86_64 that hosted CI uses.
Tested on 2026-11-09 with Podman on an Apple Silicon Mac, both through the
docker command and with VIX_CONTAINER_CLI=podman: the push tier passed,
in about 12 minutes from a cold cache with a 12 GiB VM and about 80 seconds
on a rerun. Docker Desktop, Colima and OrbStack have not been tried, nor the
fast and full tiers or --shell.
Windows, in a virtual machine
Untested by the author on real Windows hardware. These steps follow the hosted
windows-latestjob in.github/workflows/ci.ymland the vendors’ documentation, but nobody has yet run them end to end. Treat the first run as the test and report what differs.
Pick a Windows 11 machine:
- On Apple Silicon: UTM (free), Parallels Desktop or VMware Fusion running
Windows 11 ARM64. Microsoft publishes an ARM64 Windows 11 disk image and
ISO. This tests
aarch64-pc-windows-msvc, one of the shipped targets, but not thex86_64target the hosted job tests. - Any machine: a cloud Windows VM (Azure, AWS or similar) on
x86_64, which matches the hosted job. Stop or delete it when done; it bills while it runs.
Give it at least 4 CPU cores, 8 GB of memory and 60 GB of disk. Then, in an administrator PowerShell:
winget install --id Git.Git -e
winget install --id Python.Python.3.12 -e
winget install --id Microsoft.VisualStudio.2022.BuildTools -e --override "--quiet --wait --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
winget install --id Rustlang.Rustup -e
Open a new terminal (so PATH is refreshed), then:
rustup default stable
rustup component add clippy rustfmt
git config --global core.autocrlf false
git clone https://github.com/vixide/vix.git
cd vix
Line endings matter: with core.autocrlf on, the generated-docs check and
some tests see \r\n and fail for reasons that are not real bugs.
Run the jobs in Git Bash (installed with Git), because scripts/ci is a
POSIX shell script and the hosted job also uses bash:
scripts/ci build # cargo build --workspace --all-targets
scripts/ci test # the test suite
scripts/ci examples # the headless examples
Those three are what the hosted Windows job runs. scripts/ci clippy and
scripts/ci fmt are also fine. Do not expect scripts/check as a whole to
work: it assumes Linux or macOS tools in places, and the hosted job does not
run it either. If a test fails on Windows, run just that package with
cargo test -p <crate> and compare against the hosted weekly run.
The GTK 4 front end (vix-gtk4) cannot build on Windows; the hosted GUI job
excludes it too.
What stays hosted
Hosted Windows and macOS run on version tags and the weekly schedule, not on
every push (see spec/ci, “Slim hosted CI”). The
local routes above are how you find an OS-specific failure before a tag does.
Vix: Simple Terminal Rust IDE
Goal: Create a Simple Terminal Rust Integrated Development Environment. It opens text files, edits them, saves them.
Nerd Font icons, monospace.
Specification-driven development
The specification is the single source of truth. Vix is built specification-first: each behavior is described in a spec, and the code implements the spec. When code and spec disagree, decide which is correct and make them match — edit the spec when intent changes, edit the code when it drifted.
Specs are per crate. Vix is a Cargo workspace: a thin App shell (package vix-tui,
tui/src/, building the vix command) over 147 vix-* member crates under crates/. Each member crate
owns its spec at crates/<crate>/spec/index.md (multi-topic crates add
spec/<topic>/index.md sub-specs), so a crate and its specification travel
together. This repo-root spec/ holds only the cross-cutting / app-level and
build/meta specs that no single crate owns — this overview, navigation,
comparisons, emacs-menus, tools, license, licenses, trademarks,
rust-clippy-pedantic, rust-cargo-fmt, test, ci, debian, brew, and the like.
A spec that describes one crate’s behavior belongs with that crate; scripts/check-docs
enforces that every crate owns a spec/index.md.
See AGENTS.md and
agents/workflow.md for the workflow, and
agents/share/crate-map.md for the full map.
Crates
Vix is built on a deliberately small, version-compatible crate set. The whole
ratatui widget ecosystem must agree on one ratatui version (0.30); the editor
widget pins that.
| Name | Purpose | URL | Debian equivalent? | Debian unstable version | Debian 14 Forky version |
|---|---|---|---|---|---|
| serde | Settings + theme (de)serialization | https://crates.io/crates/serde | librust-serde-dev | ? | ? |
| serde-json | Serialize/Deserialize JSON (and Vix config files) | https://crates.io/crate/serde_json | librust-serde-json-dev | ? | ? |
| serde-yaml | Serialize/Deserialize YAML | https://crates.io/crate/serde-yaml | librust-serde-yaml-dev | ? | ? |
| ratatui | Terminal UI (layout, widgets) | https://crates.io/crates/ratatui | librust-ratatui-dev | ? | ? |
| ratatui-image | In-terminal image viewing (png/jpg/…) | https://crates.io/crates/ratatui-image | ? | ? | |
| image | Image decoding for the viewer | https://crates.io/crates/image | librust-image-dev, librust-image+default-dev | 0.25.x | |
| crossterm | Cross-platform terminal backend / events / mouse | https://crates.io/crates/crossterm | librust-crossterm-dev | ? | ? |
| regex | Regular expressions for find/replace; Unicode feature | https://crates.io/crates/regex | librust-regex-dev, librust-regex+unicode-dev | ? | ? |
| jiff | Date & time (local, UTC, ISO week) | https://crates.io/crates/jiff | librust-jiff-dev | ? | ? |
| rust-i18n | Internationalization YAML files | https://crates.io/crates/rust-i18n | librust-regex-dev | ? | ? |
| confy | Configuration | https://crates.io/crates/confy | librust-confy-dev | ? | ? |
| clap | Command Line Argument Parsing | https://crates.io/crates/clap | librust-clap-dev, librust-clap-complete-dev, librust-clap-derive-dev, librust-clap-builder-dev | 4.6.1 | |
| mimalloc | MiMalloc custom memory allocator for MUSL | https://crates.io/crates/mimalloc | ? | ? | |
| include_dir | Embed bundled theme JSON files into the binary | https://crates.io/crates/include_dir | ? | ? | |
| tree-sitter | Rust bindings to the Tree-sitter parsing library | https://crates.io/crates/tree-sitter | librust-tree-sitter-dev | ? | ? |
| sysinfo | Host system snapshot (System Information panel) | https://crates.io/crates/sysinfo | librust-sysinfo-dev | ? | ? |
| spellbook | Pure-Rust Hunspell spell checker | https://crates.io/crates/spellbook | ? | ? | |
| similar | Text diffing (git diff gutter; word-level compare, inline feature) | https://crates.io/crates/similar | librust-similar-dev | ? | ? |
| ureq | HTTP client for the REST tool (pure-Rust rustls TLS) | https://crates.io/crates/ureq | librust-ureq-dev | ? | ? |
| evalexpr | Evaluate expression (solely for calculator tool) | https://crates.io/crates/evalexpr | librust-evalexpr-dev | ? | ? |
| rand | Randomness functionality, number generators | https://crates.io/crates/rand | librust-rand-dev | ? | ? |
| markdown | Markdown parser & converter | https://crates.io/crate/markdown | librust-markdown-dev | ||
| csv | Comma Separated Values | https://crates.io/crate/csv | librust-csv-dev | ||
| toml | Tom’s Obvious Minimal Language | https://crates.io/crate/toml | librust-toml-dev |
Cargo.toml is authoritative for the full dependency set; the table above lists
the load-bearing ones. Also linked, grouped by why:
| Why | Crates |
|---|---|
| Editor engine | ropey (rope buffer), unicode-segmentation, unicode-width, streaming-iterator, ratatui-core, rust-embed (Tree-sitter queries in langs/) |
| Clipboard | arboard, behind vix-clipboard’s process-wide lock and opt-in |
| Database workbench | sqlx (Any driver: bundled SQLite, pure-Rust Postgres/MySQL), tokio, futures-util |
| Terminal panel | portable-pty, vt100, nix (suspend/resume) |
| Hashes & ids | sha2, md-5, crc32fast, uuid, getrandom, base64, percent-encoding |
| Markup | pulldown-cmark, htmd (HTML → Markdown), qrcode |
| Files | ignore (gitignore-aware walking), anyhow |
The center editing area uses editor_core — Vix’s fully-custom code-editor
widget (Tree-sitter syntax highlighting, undo/redo history, selection, system
clipboard, mouse handling, theme-aware styles, and soft wrap), which tracks
ratatui 0.30. The file explorer, scrollbar, command
palette, popups, menu bar, and calendar box are implemented in-house on
ratatui primitives (List, Scrollbar, Clear, Tabs). The month grid is
computed with jiff, so the workspace depends on one date library only.
Build and run
cargo run # open in the current directory
cargo run -- tui/src/main.rs # open one or more files
cargo run -- file.rs:42:7 # open and jump to line 42, column 7
cargo test # run the logic + doc tests
cargo build --release # optimized binary (~4.9M, common grammars)
cargo build --release --no-default-features # ~3.0M, no syntax grammars
cargo build --release --no-default-features --features syntax-all # ~18M, all grammars
Tree-sitter grammars are gated behind Cargo features (see the [features] table
in Cargo.toml and the internal editor_core crate), so the binary
only links the parsers selected at build time. The default set is Rust, Markdown,
JSON, and TOML.
The application root is the current working directory; the explorer and the command-palette file finder operate within it.
- Top menu (see
menus.md) - Left drawer file browser (in-house tree;
Ctrl+Btoggle,Ctrl+Efocus) - Center editing area using
editor_core(Tree-sitter syntax highlighting, undo/redo, selection, system clipboard, block cursor)- Top tab bar: each tab is one text file; preview tabs render dimmed
- Show/hide line numbers, whitespace, scroll bar, soft wrap (
View ▸ Editor) - Editing comforts: select all (
Ctrl+A), duplicate line (Ctrl+Shift+D), delete line (Ctrl+K), forward delete (Ctrl+D, the macOS binding), move line up/down (Alt+↑/Alt+↓), jump to the matching bracket (Ctrl+]), and auto-indent on Enter (seecrates/vix-editor-core/spec/index.md) - Right-side scroll bar (
ratatui::widgets::Scrollbar) - Opening an image file (png/jpg/gif/bmp/webp/…) shows it in a read-only
image tab via
ratatui-image(needs a graphics-capable terminal)
- Right drawer message browser
- List of advice and notifications; each item shows a close
x(dismiss withx,Delete, orEnterwhile the drawer is focused)
- List of advice and notifications; each item shows a close
- Bottom dock (toggle with
View ▸ Show/Hide Bottom Dock; seecrates/vix-bottom-dock/spec/index.md) — a full-width, resizable, scrollable line panel pinned above the status bar for logs/output/data- Run Command (
Tools ▸ Run Command…) streams a shell command’s output here; Cancel Command kills it - Search in Workspace → Dock (
Edit ▸ Find) listspath:line:colhits here - Lines that name a
path:line[:col]location are click-to-jump; the dock can be focused (click) and scrolled, and follows new output only at the bottom
- Run Command (
- Bottom status bar (toggle with
View ▸ Show/Hide Bottom Status)- File path and dirty indicator, plus the latest status message
- Language, line ending (LF/CRLF), encoding (UTF-8), and the selected character/line count when text is selected
- Line number : Column number
- Calendar icon; toggle the calendar box from
Tools ▸ Calendar
- Mouse: click to place the cursor or focus a pane, drag to select, wheel to
scroll; click a tab to switch, click a message’s
xto dismiss it, click a menu name to open it - Keyboard shortcut help: press
F1(orHelp ▸ Keyboard Shortcuts) for an overlay of every binding
Architecture
The vix-tui package exposes a library (crate name vix) (tui/src/lib.rs) plus a thin binary
(tui/src/main.rs). Splitting it this way keeps all editing logic
terminal-independent and unit-testable: the binary owns the terminal, and
nothing else does.
The App shell is deliberately small — everything that can be a crate is one:
| Shell module | Responsibility |
|---|---|
main.rs | CLI (clap), locale resolution, terminal setup/teardown, the event loop, suspend/resume |
lib.rs | Crate root: lint posture, i18n! catalog, and the pub use vix_* as … re-exports |
app.rs | App state, on_key / on_mouse / on_paste, run_action, overlay routing, feature wiring — delegates most of this to tui/src/app/*.rs submodules (one per feature area: keymap.rs, git.rs, org.rs, …) |
ui.rs | All rendering: frame layout — delegates most per-pane/overlay draw functions to tui/src/ui/*.rs submodules (choosers.rs, db.rs, edit_surfaces.rs, menu_bar.rs, …) |
explorer.rs | The directory tree flattened into rows |
messages.rs | The notification drawer model |
search.rs, workspace_search.rs | Search bar helpers; workspace-wide search/replace state |
edit_table.rs, edit_outline.rs, column_view.rs | Overlay editors that live in the shell because they drive the active buffer directly |
Everything else — the editor widget, menu, palette, find/replace, settings,
themes, locales, keymaps, docks, panels, pickers, Git, LSP/DAP, Org, the
database workbench, and every pure text tool — is a vix-* member crate.
tui/src/lib.rs re-exports each under a short name (pub use vix_git as git;), so
shell code says crate::git, crate::menu, crate::db. See
agents/share/crate-map.md for the full map
and docs/architecture/index.md for the
narrative version.
Event flow
main runs the loop: draw, then poll one crossterm event.
ui::draw(&mut app) records each pane’s rectangle so mouse events can be
hit-tested. Keys go to App::on_key, mouse to App::on_mouse, and a bracketed
paste to App::on_paste (see
crates/vix-editor/spec/bracketed-paste/index.md).
Focus reports go to App::on_focus_gained / App::on_focus_lost (see
crates/vix-editor/spec/save-automation/index.md).
Terminal protocol (T628): each frame is drawn inside a synchronized update
(DEC mode 2026, BeginSynchronizedUpdate / EndSynchronizedUpdate), so the
terminal never shows a half-painted frame. App::terminal_caps (set once at
startup from COLORTERM/TERM/TERM_PROGRAM, with no terminal query)
decides the color depth every frame is downsampled to (see
crates/vix-theme/spec/index.md) and
whether URLs in the markdown preview and the messages dock get OSC 8
hyperlinks. Terminals without these features ignore the escapes.
on_key resolves, in strict priority order:
- Key-release events (dropped) and, on macOS, the
Command→Controlfold (crates/vix-editor/spec/command-key/index.md). - Jump-label mode, the LSP completion popup, and a pending hover tooltip.
- Modal overlays — welcome, help, dialogs, tool dialogs, calendar/clock, then
the panel layer (terminal, database, edit surfaces, choosers, query-replace,
workspace search, confirm, prompt, palette, search, menu).
App::overlay_capturing_keysmirrors this chain for callers that need to ask “is the editor reachable?” without dispatching; the two must be changed together. - Org-table context keys, when the cursor is inside a pipe table.
- The active keymap (Apple, VSCode macOS/Windows, Emacs, Vi, Spacemacs,
IntelliJ macOS/Windows, Eclipse, Sublime, Zed, Fresh, ttt, Helix — see
crates/vix-keymap-model/spec/index.md), which translates keys intorun_actionids and editor motions rather than duplicating behavior. - The focused pane: editor, explorer, messages, or bottom dock.
Each loop iteration also drains background work — streamed command output, LSP
and DAP messages, async database results, HTTP responses, file-change reloads,
auto-save — into the state the next draw reads. Menu items, palette commands,
and keymap chords all share one set of action ids dispatched by
App::run_action.
Implementation status
Vix is shipped and in use; the feature set below is built, specified, and
tested. Each crate’s own spec/index.md is authoritative for its area and marks
anything still in design.
| Area | State |
|---|---|
| Editing core | Tabs, undo tree (branch-preserving, persisted per file), soft wrap, bracket matching, indent guides, rainbow brackets, sticky scroll, minimap, multiple cursors, column selection, structural selection, read-only lock |
| Text transforms | Case, sort/dedupe/shuffle/reverse, squeeze blanks, line endings, ROT13, align, surround, transpose, delete-by-unit, wrap/fill, increment/toggle values, Emmet |
| Files & explorer | Tree, preview tabs, copy/cut/paste with conflict prompts, multi-select, delete, edit a directory as text, atomic saves that keep hard links and ownership, encoding detection, buffers that follow moves, File → Open browser, recent files, sessions and workspaces |
| Search | Incremental find, find/replace with regex + capture groups, smart case, workspace-wide search/replace, interactive query-replace, TODO finder |
| Navigation | Position history, go-to definition/symbol/line/percent/byte, jump labels, matching tag, breadcrumbs, outline panel |
| Language support | Tree-sitter highlighting (feature-gated grammars), LSP (diagnostics incl. per-document pull diagnostics, hover, completion, inline ghost-text completion, references, call and type hierarchy, rename, code actions/lens, inlay hints), DAP debugging (breakpoint conditions, exception filters, attach, a thread/stack/variables panel, inline values) |
| Version control | Git status/diff/blame, per-hunk stage/unstage/revert, branch/stash/amend, stash list, worktrees, interactive rebase, cherry-pick, branch review with saved line comments, merge-conflict resolver, diff gutter with a selectable base, word-level diff |
| Data & tools | Database workbench (SQLite/Postgres/MySQL), HTTP client, test runner, task runner, integrated terminal (tabs, scrollback, open-from-output, send selection), a project’s direnv/mise/venv environment (trust-gated), converters, generators, pickers, info panels |
| Org mode | Headlines, TODO/checkbox cookies, agenda, capture, refile, footnotes, id links, tables (TBLFM), column view, Org-roam, dailies, backlinks, export |
| Presentation | Monochrome bundled themes plus custom JSON themes, base16 palettes, Zen mode, split panes (up to 2×2), 27 UI languages, ten keymaps |
| Terminal integration | Mouse (click/drag/wheel/hover), in-terminal images, bracketed paste, macOS Command folded to Control, suspend/resume, synchronized output, focus events, color-depth fallback, OSC 8 hyperlinks |
Quality gates
cargo clippy --workspace --all-targets -- -D warnings, atclippy::pedantic, withunsafe_code = "forbid"andmissing_docs = "deny"set once in the root[workspace.lints]and inherited by every crate (spec/rust-clippy-pedantic/index.md).cargo test— unit, integration, and doc tests, none of which need a TTY.cargo fuzztargets over the pure text/parse cores, andcargo bench(Criterion) over the hot paths (spec/test/index.md).scripts/checkruns the whole gate locally;scripts/check-docschecks that this documentation still matches the tree it describes.- CI runs the same gate on all three forges (
spec/ci/index.md).
Crate and file map
Vix is a Cargo workspace ([workspace] members = ["crates/*", "tui"]) on edition
2024. The vix-tui package (tui/, building the vix command; library crate name vix) is the thin App shell — CLI, event
loop, App state, rendering, and the explorer — and it depends on the 148
vix-* member crates under crates/ that hold every feature plus the custom
editor widget (vix-editor-core). Shared reference for where things live.
Specs are per-crate. Each member crate owns its source-of-truth spec at
crates/<crate>/spec/index.md (multi-topic crates keep spec/<topic>/index.md
sub-specs). The top-level spec/ keeps only cross-cutting / app-level and
build/meta docs (index, navigation, comparisons, emacs-menus, license,
trademarks, debian, brew, homebrew-tap-token, ci, rust-cargo-*,
rust-clippy-pedantic, main-rs-and-lib-rs-boilerplate, test, tools).
Lint posture
The root Cargo.toml [workspace.lints] table sets unsafe_code = "forbid",
missing_docs = "deny" and clippy::pedantic for every crate and every target
(each crate has [lints] workspace = true; T599). There is no blanket #![allow(clippy::pedantic)]
or #![allow(missing_docs)] anywhere — findings are fixed in code. Sanctioned
allows are only a handful of targeted #[allow(clippy::too_many_lines)] /
too_many_arguments ones on specific functions that resist further
extraction — there is no standing #[allow(clippy::struct_excessive_bools)]
anywhere in the codebase: T149 converted every bool-cluster struct (App,
Settings, SearchBar, WorkspaceSearch, DblockParams, both Editors) to
a bitflags-based Flags field instead. Prefer that over a new allow for a
struct whose bools are independent, freely-combinable toggles.
cargo clippy --workspace --all-targets -- -D warnings is clean. See
[[rust-clippy-pedantic]] / spec/rust-clippy-pedantic.
vix-editor-core — the code-editor widget (crates/vix-editor-core/src/)
The fully-custom terminal code-editor crate. Every module — reused engine and
Vix-owned alike — is held to the same workspace clippy::pedantic as
every other crate; there is no blanket #[allow(clippy::all, clippy::pedantic)]
anywhere in it. Reached from the host via vix-editor’s CodeEditor (a
re-export of
editor_core::editor::Editor).
| Module | Kind | Owns |
|---|---|---|
code | engine | Rope buffer + Tree-sitter parse/highlight + edit batches. |
history | engine | Undo/redo stacks. |
selection, utils | engine | Selection type; grapheme/width/indent/comment helpers. |
actions | engine | Editing operations (insert/delete/move/indent/comment/…). |
named | engine | snake_case named-action methods on Editor (the spec/actions.tsv catalog). |
multicursor | engine | Multiple-caret model + add/skip/spawn. |
click | Vix | ClickTracker/ClickKind: single/double/triple-click classifier. |
editor | engine+Vix | Editor state, public API, marks, folds, inlay hints, mouse. |
render | engine | Non-wrap renderer + dispatch; fold/inlay row & column mapping. |
wrap | Vix | Soft-wrap visual-row layout + wrapped renderer. |
brackets | Vix | Bracket matching (matching_bracket). |
lines | Vix | Line transforms (move/sort/join/dedupe/trim/reverse). |
editor_input | engine | KeyEvent → actions mapping (always compiled). |
code also exposes expand_to_node (offline structural selection), len_bytes,
and serde on its history types (for persistent undo); editor adds the passive
word_marks channel, relative_line_numbers, and comment_prefix.
Tree-sitter highlight queries live in repo-root langs/, embedded with
rust-embed (#[folder = "langs/"]); grammars are gated behind lang-*
features (syntax-common by default, syntax-all for everything).
App shell — package vix-tui (tui/src/)
| File | Responsibility |
|---|---|
main.rs | clap CLI, locale resolution, terminal setup, event loop, suspend. |
lib.rs | Crate root; lint config; i18n! catalog init; module declarations. |
app.rs | App state, on_key/on_mouse, run_action, overlays, behavior — dispatches most of its logic into tui/src/app/*.rs (below). |
ui.rs | All rendering: frame layout — dispatches most per-pane/overlay draw functions into tui/src/ui/*.rs (below). |
tui/src/app/*.rs (T141) holds most of App’s actual logic, one file per feature
area (75 entries today, ls tui/src/app): keymap.rs (on_key + the fourteen keymap
dispatchers), overlays.rs (the OVERLAYS table that orders drawing and key
routing, T611; see spec/overlay-priority), git.rs (git/jj), git_review.rs
(branch review, T665), git_rebase.rs (interactive rebase, T633), scripts.rs,
command_palette.rs, session.rs, lsp_dap.rs, debug_panel.rs (the Debug
panel keys, Edit Breakpoint, exception filters, T617), completion.rs (T612),
ghost.rs (inline ghost-text completion, T618), terminal.rs (terminal
overlay and the editor bridge, T666), project_env.rs (T667), dir_edit.rs
(Edit Directory, T636), compare.rs (Compare Files and filler rows, T660/T671),
roam.rs, org_table.rs, org.rs, insert_tools.rs, picker_panels.rs,
info_panels.rs; features that can be compiled out come with a *_off.rs twin.
tui/src/ui/*.rs (T142) holds ui.rs’s draw functions, one file per
overlay/panel family (36 entries today, ls tui/src/ui; ui.rs itself is under
900 lines: the dispatch chain plus shared rendering primitives).
Besides app.rs and ui.rs, tui/src/ holds main.rs, lib.rs, cli.rs
(the shared clap definition), capability.rs (build-time features),
remote.rs (vix ssh://...), mcp.rs (vix --mcp), plugin_cli.rs and
term_caps.rs.
Everything else the shell used to own now lives in a member crate, reached
through the workspace dependency graph (e.g. vix-editor, vix-menu,
vix-palette, vix-find-panel, vix-session, vix-settings,
vix-theme, vix-fileops, vix-case) — T152 (done) moved the rest out:
explorer/
messages/search are thin pub use aliases in lib.rs for
vix-left-dock/vix-right-dock/vix-find-panel, and
workspace_search/edit_outline/edit_table/column_view alias four new
crates the same way (vix-workspace-search, vix-edit-outline,
vix-edit-table, vix-column-view, below) — none of the seven has a
src/*.rs file of its own anymore.
Feature crates (crates/vix-*)
| Area | Crates |
|---|---|
| Editor | vix-editor (the CodeEditor host wrapper), vix-editor-core (the widget, above). |
| MCP | vix-mcp-server (T731: the read-only Model Context Protocol core behind vix --mcp — newline-delimited JSON-RPC 2.0 over stdio, initialize/tools/*/resources/*, six read-only tools over open buffers, offline symbols and outline, merge-conflict diagnostics and SQLite schemas; the workspace boundary and secret filter; a Host trait the App shell implements in tui/src/mcp.rs). |
| LSP / DAP | vix-lsp (process IO + host wiring), vix-lsp-core (JSON-RPC framing, builders, parsers, positions); vix-dap (Debug Adapter Protocol client, reuses lsp_core::frame; its view module is the Debug panel tree model, T617). |
| Git | vix-git (status/diff/staging via the git CLI), vix-git-graph (T681: the interactive commit graph — pure lane assignment from parent links, %D ref decorations, paged git log, checkout/branch/cherry-pick), vix-review (T665: the multi-file review model for a revision range, saved line comments, Markdown/JSON export), vix-conflict-tool (merge-marker parser). |
| OC | vix-oci (T700: drive an OCI engine — Docker/Podman/nerdctl — via its CLI: detection, argv builders, NDJSON/array parsers, the process-gated runner; T718: devcontainer reads devcontainer.json (JSONC) and devcontainer up’s result), vix-oci-panel (T702–T704: the containers/images/volumes/networks/pods list panel with confirm and input modes). |
| IM | vix-im (T750: the pure core of the IM menu — conversations, messages, presence, @nick mentions under IRC case mapping, unread tracking, slash commands, path:line code references with workspace-root resolution, the received-text sanitizer, anchored threads with re-anchoring, JSONL history), vix-im-panel (T750: the IM dock panel state — conversation cycling, message list, input line, Enter-to-open references). |
| Spellcheck | vix-spellcheck (Hunspell via spellbook). |
| Snippets | vix-snippets (JSON snippet files: scopes, parse, merge, picker), vix-snippet-tool (tabstop engine + bundled snippets). |
| Media types | vix-media-type (the MIME catalog parsed from crates/vix-media-type/spec/media-types.tsv; text/binary base, extension lookup, picker). |
| Org mode | vix-org (headline structure, TODO/checkbox, the column-view spec — format string, resolution, Markdown/HTML export), vix-column-view (T152: the interactive Column View overlay — cursor, edit modes, key handling — over vix-org’s resolved spec), vix-org-table (the built-in table editor: structural edits + TBLFM formulas), vix-org-capture (capture templates + placeholder expansion), vix-affix (prefix/suffix add/drop/toggle helpers), vix-roam (Org-roam nodes/backlinks/dailies/transclusion), vix-org-contacts (contact parsing + vCard). |
| Run / test | vix-tasks (named tasks.toml tasks, project-type lifecycle commands, task discovery, monorepo subprojects, test-at-point — Project menu), vix-test-runner (parse test output into a pass/fail tree), vix-terminal (integrated shell), vix-project-env (T667: venv/direnv/mise environment activation applied to LSP, tasks and the terminal; direnv/mise only in a trusted workspace — Project → Reload Environment), vix-diff-view (compare-with-file), vix-coverage (T210: LCOV/Cobertura XML report parsing for the coverage gutter — Tools → Load Coverage File…). |
| Config | vix-editorconfig (.editorconfig parsing, and Vim/Emacs modelines in its modeline module), vix-macros (persisted keyboard macros), vix-workspace (.toml workspace: folders + files + split pane tree), vix-settings (confy-backed Settings), vix-session (save/restore), vix-settings-bundle (T555: bundle config.toml/macros/keybindings/user dictionary/the active custom theme into one file for vix --export-settings/--import-settings and Vix → Export/Import Settings…; host-agnostic so the CLI path can call it before any App exists, same reasoning as vix-doctor). |
| Scripting | vix-script — Rhai user scripting (crates/vix-script/spec/index.md); a plain (non-optional) dependency, wired into the App shell as of T103: scripts load at startup and on script.reload, registered commands appear in the command palette (script:<stem>:<id>) and Tools → Scripts → Run…, prompt/message/error use the real prompt overlay and message drawer. T104 (wiring bind_key into the real keymap) is done as of T104j — see the Keybindings row below. Only T105 (sample scripts + docs) remains open. |
| Modal editing | vix-modal — the real modal-editing engine for the Vi/Spacemacs keymaps: modes, operator × motion composition, counts, registers, text objects, dot-repeat (crates/vix-modal/spec/index.md); replaces vim_normal_key’s ad hoc binding table in tui/src/app.rs. Design-only as of T111: no functional code until T112. |
| Tutor | vix-tutor — an interactive, in-editor tutorial: six chapters whose lessons are real, freely-editable Vix buffers copied to a working temp dir, with cheap textual progress checks against what the learner typed (crates/vix-tutor/spec/index.md); launched via vix --tutor or Help → Tutorial. Design-only as of T401: no functional code until T402. |
| Keybindings | vix-keybindings — an exhaustive, queryable registry of every built-in keybinding across all 14 keymap ids, plus the user (keybindings.toml)/script (bind_key) override layer built on it (crates/vix-keybindings/spec/index.md). Epic complete, T104a–j. All 10 keymap ids converted (Emacs T104a, Vi/Spacemacs T104b, VS Code T104c, IntelliJ T104d, Eclipse T104e, Sublime T104f, Apple T104g): emacs_key, vim_normal_key, spacemacs_leader_key, vscode_ctrl_key, intellij_key, eclipse_key, sublime_key, and apple_ctrl_key all dispatch through the registry now (Binding/ChordContext/KeymapTable/lookup/shortcuts_for, plus lookup_sequence for Spacemacs’s leader-style sequence matching); intellij-macos/intellij-windows are two genuinely different tables (unlike VS Code’s one shared table); Apple genuinely mixes Shift-guarded and Shift-agnostic letters in one keymap, the latter via IntelliJ’s “faithfully preserve an unguarded quirk” duplicate-row technique applied more broadly. global_shared_key (called identically by every keymap, not itself keyed on one) is backed by a separate keymap-agnostic SHARED/lookup_shared list for its unconditional bindings. T104h: Settings::keybindings_path() + user_bindings::{UserBinding, load, upsert} round-trip keybindings.toml for real, mirroring macros.toml’s pattern. T104i: the on_key choke point is real — overrides::{Source, Override, Conflict, Shadow, Resolved, resolve} resolves override requests against each other (two claiming one token → both rejected, reported as an error) and against a keymap’s built-ins (shadowing → not a conflict, reported once informationally); App::override_key (inserted between org_table_key and every keymap’s own dispatch) consults the resolved key_overrides map ahead of all 10 keymaps; a new keybindings.reload action (+ Tools-menu leaf) mirrors script.reload. T104j: App::resolve_key_overrides (renamed from the narrower load_key_overrides) now also walks every loaded script’s bindings (action id format!("script:{stem}:{command_id}")) into the same combined resolution — a script and a persisted override (or two scripts) claiming one key really do both get rejected now, not just in theory; script.reload re-resolves too, alongside keybindings.reload. Closes crates/vix-script/spec/index.md’s “Key bindings” conflict-handling contract for real — the original T104 ask, opened at the very start of this whole epic. T204, done: vix-keybinding-editor-panel (crates/vix-keybinding-editor-panel/spec/index.md) is a sibling crate holding Source/Row/Column/Panel for the editable Vix → Keybindings… overlay (rebind by typing a token, reset a user override) — the data/table layer, App-side row-building (tui/src/ui.rs’s draw_keybinding_editor), and dispatch wiring (tui/src/app/overlays.rs’s OVERLAYS row for keybinding_editor_key) are all in place. |
| AI | vix-ai-agents (native Codex and Claude Code conversations), vix-acp (T635: Agent Client Protocol client – newline-delimited JSON-RPC framing, a pure session state machine, workspace path/permission policy; behind its process feature, enabled only by root ai, the agent subprocess; started only for a trusted workspace – AI → Start Agent), vix-ai-panel (chat panel), vix-ai-diff (AI diff review), vix-ai-core (T124: direct HTTP clients for Anthropic/OpenAI-compatible/Ollama, an alternative to the CLI shell-out every AI feature still defaults to). |
| Database | vix-db (the DB menu workbench, crates/vix-db/spec): a full-screen overlay over embedded sqlx Any drivers (bundled SQLite, pure-Rust Postgres/MySQL over rustls). Submodules: session (one persistent connection per workbench on a worker thread; blocking run + async send/poll streaming Chunks + restart), connect (saved-connection model + URLs), catalog (schema tree + per-engine metadata/EXPLAIN/DDL SQL), relations (per-table outgoing/incoming foreign keys + dependent views), editor/highlight/complete/alias/format (SQL editor: statement split, write detection, JOIN- and alias-aware autocomplete, beautify), results (grid: filter/sort/select/append), staging (staged updates/inserts/deletes and the one-row-each commit SQL), columns (generated columns and pick lists from enums/CHECK … IN/booleans), row_filter (server-side row search WHERE builder), store (history + saved queries + session query log), export (6 formats), ai (schema-only NL→SQL, spawn_ai bridge), chart (ASCII bars), erd (Mermaid ER diagram), import (CSV/TSV → table), compare (schema compare, T785: snapshot model, read PostgreSQL/SQLite catalog readers, diff, plan phase ordering, review screens), params (:name binds), secret (credential waterfall: password_command + OS keyring), tunnel (SSH -L forward). |
| Text tools | vix-format-tool, vix-jwt-tool, vix-base-tool, vix-base64-tool, vix-url-tool, vix-uuid-tool, vix-zid-tool, vix-checksum-tool, vix-regex-tool, vix-markdown-preview, vix-convert-tabular, vix-convert-from-*-into-*-tool (12). |
| Pure text ops | vix-align (align lines on a delimiter), vix-textops (line-ending convert / squeeze blanks / ROT13 / hard wrap, plus cursor-relative rewrites: increment number, smart toggle, transpose chars/words/lines/sentences/paragraphs/sections, wrap paragraph, sentence_starts, tag_column), vix-case (selection case transforms), vix-emmet (abbreviation → HTML), vix-tags (HTML/XML matching-tag jump). Pure text → text / offset helpers with unit tests, driven from Edit/Go/Tools actions. |
| Input types | vix-input (GUI Phase 0: backend-neutral KeyEvent/KeyCode/KeyModifiers/MouseEvent, mirroring crossterm’s shapes; every key/mouse handler takes these, and only the terminal loop in tui/src/main.rs converts crossterm events, via the crossterm feature — see crates/vix-input/spec/index.md). |
| Pure list ops | vix-list-state (T144: up/down/page_up/page_down/select_index/ensure_visible — shared selected/scroll arithmetic for a scrollable single-selection list; plain functions over usizes, not a struct panels adopt, so every panel keeps its own field names — see crates/vix-list-state/spec/index.md). |
| Byte size | vix-byte-size (Run H, T521: human_bytes(n: u64) -> String, e.g. "16.0 KiB" — extracted after vix-file-information-panel and vix-system-information-panel were found hand-rolling an identical copy each). |
| Civil date | vix-civil-date (Run H, T520: Howard Hinnant’s civil_from_days/days_from_civil — extracted after vix-file-information-panel, vix-git, and vix-org were found each hand-rolling an independent copy of the same algorithm). |
| Capped stack | vix-capped-stack (Run H, T525: push_capped<T>(stack: &mut Vec<T>, item: T, cap: usize) — extracted after every vix-edit-* crate’s undo stack was found hand-rolling an identical “push, evict oldest if over cap” clamp; deliberately not named “undo,” since it isn’t undo-aware and doesn’t overlap vix-undo-store, a different, persistent-undo feature). |
| Encoding | vix-encoding (T661: TextEncoding + detect/decode_exact/decode_lossy/encode over encoding_rs/chardetng — a guessed encoding counts only if it round-trips byte for byte; UTF-16 encoded by hand; Unmappable instead of ? substitution. Used by vix-fileops reads and vix-editor saves). |
| Hex RGB | vix-hex-rgb (Run H, T530: rgb(hex: &str) -> (u8, u8, u8), lenient — missing/invalid components zero-fill rather than error — extracted after vix-editor-core and vix-base16 were found hand-rolling an identical copy each; not a replacement for vix-color-converter-tool::from_hex’s deliberately stricter, rejecting API). |
| Greedy wrap | vix-greedy-wrap (Run H, T526: wrap_line(line: &str, width: usize) -> Vec<String> — extracted after vix-welcome-panel and vix-ai-panel were found hand-rolling independent copies that disagreed on over-long-word handling; the user chose “always break” as the merged behavior. Not vix-textops::wrap/wrap_chunk, which solve the harder multi-line editor-buffer wrap problem). |
| Networking | vix-http-client (.http-buffer parser + blocking ureq send; response into a tab), vix-hl7 (T685: HL7 v2 ER7 parser, numbered field view, ACK reader, pure MLLP framing, and — behind its net feature, enabled by vix-tui’s http — a blocking timeout-bounded TCP sender; Tools → HL7 View / HL7 Send…; no PHI logged or persisted). |
| Networking | vix-http-client (.http-buffer parser + blocking ureq send; response into a tab). |
| IM (IRC) | vix-im-irc (T751: IRCv3 client for the IM menu — pure line codec with message tags and server-time, CTCP ACTION, ISUPPORT case mapping, UTF-8-safe splitting under 512 bytes, and a registration/CAP/SASL PLAIN/PING state machine emitting its own Events; behind its net feature, enabled by vix-tui’s im capability (T752), a TLS (rustls + webpki-roots) connection thread talking to the App over channels; nothing logged, the password wiped after SASL). |
| IM (Matrix) | vix-matrix-protocol (T793: Vix’s side of the Matrix bridge — the JSON-lines protocol spoken with the separate Matrix helper program in matrix/ (Request/Reply, "v": 1, error keys instead of prose, a redacted Password wiped on drop) and its total codec; behind its net feature, enabled by vix-tui’s opt-in matrix feature, finding and starting the helper and pumping its stdin/stdout on two threads, plus an in-memory Handle::pair for tests). |
| FHIR | vix-fhir (T684: HL7 FHIR client logic — .vix/fhir.json Profile with env-var-named secrets, Spec/BuiltRequest for read/search/create/update/delete/history/capabilities, parse_bundle + BundlePanel, parse_operation_outcome; optional net feature runs requests and SMART client-credentials token fetch over vix-http-client). |
| Cowork | vix-cowork (T691: pure real-time collaboration core — Loro CRDT SharedDoc, peers/permissions, SharedPath confinement, wire codec, presence, host/guest session state machines incl. per-peer undo and T696 workspace-sharing requests, the is_private never-share list, the T697 shared-terminal messages, T756 session chat (Chat/ChatMuted, mute and kick; tags 50–63 reserved for later chat messages) and the T759 shared .vix/cowork/notes.md path; no I/O), vix-cowork-net (T694: Noise-encrypted, invite-token-authenticated TCP transport for the cowork feature). App wiring: tui/src/app/cowork.rs (Tools → Cowork, T695) with cowork_off.rs stand-ins. |
| Jupyter | vix-jupyter-core (T734a: pure Jupyter protocol core — signed wire codec with size caps and constant-time HMAC-SHA256 verification before any JSON is parsed, typed messages, the connection file, kernel.json parsing and the kernelspec search path, the Output/MIME model, ANSI stripping, the Org #+RESULTS: formatter and babel header arguments, checked PNG/JPEG decoding; no I/O), vix-jupyter (T734b: kernelspec discovery; behind its process feature, enabled only by vix-tui’s opt-in jupyter feature, kernel launch with a 0700 runtime directory and 0600 connection file, IPC on Unix / loopback TCP on Windows, and a zeromq client on a current_thread tokio worker thread behind the synchronous KernelHandle + KernelEvent channel, and PrivateDir). The App wiring (T734c–T734g: Run → Jupyter, Org babel #+RESULTS:, trust, image tabs) is tui/src/app/jupyter.rs and tui/src/app/jupyter/results.rs. Design: spec/jupyter. |
| Undo store | vix-undo-store (persist/restore the undo tree per file under <config>/undo/, content-hash guarded; local_history: timestamped per-file snapshots under <config>/history/, T720), vix-undo-tree-panel (T638: Edit → Undo Tree… — the undo tree as an ASCII graph; moving the selection previews a state live, Enter keeps it, Esc restores). |
| Clipboard | vix-clipboard (process-wide serialized clipboard access; the platform pasteboard is opt-in through use_system, so a test run never touches it). |
| Themes | vix-theme (Nerd Font icons + theme style helpers + T628 color-depth fallback), vix-theme-model (the JSON theme model + serialization), vix-base16 (bundled base16 color themes), vix-theme-editor-panel (T202: Vix → Theme → Edit Theme… — list a theme’s 15 color slots, edit each via the existing X11 color picker, live preview, Save As). |
| Edit surfaces | vix-edit-value (JSON/YAML tree, Tree + Format), vix-edit-bytes (hex/ASCII byte editor, Hex), vix-edit-sql (SQL statement list, Editor), vix-edit-outline (T152: prose-hierarchy outline, Tree + Outcome), vix-edit-table (T152: CSV/TSV spreadsheet grid, Grid + Outcome). Overlay editors with their own handle_key/Outcome, under Edit → Mode. (vix-column-view, above, is this family’s Org-specific sibling.) |
| Large files | vix-large-file (T733: the Large File Viewer — a read-only, chunked view of multi-gigabyte files: Source positioned reads (read_at/seek_read, no memory map), a background sparse LineIndex (every 1,024th line), a streamed cancellable Search, and the Viewer state with handle_key → Outcome; local files only; File → Open in Large File Viewer… and the T571 size-limit confirmation). |
| Generators | vix-qr-tool (QR code via the qrcode crate, Unicode renderer), vix-lorem (deterministic lorem-ipsum text). |
| Tool dialogs | vix-calculator-tool, vix-color-converter-tool, vix-unit-converter-tool, vix-pomodoro-tool. |
| Info panels | vix-text-information-panel, vix-file-information-panel, vix-system-information-panel, vix-status-bar-panel, vix-workspace-dashboard-panel, vix-outline-panel, vix-todo-tree, vix-choice-list, vix-welcome-panel. |
| Menu / find | vix-menu (3-level dropdown + command mode), vix-palette (command palette / fuzzy), vix-find-panel (find/replace state + engine), vix-workspace-search (T152: workspace-wide search/replace panel state, across every file under the workspace root — App drives the actual scan), vix-structural-replace (T201: $X/$$X-hole pattern matching, token/bracket-based rather than regex or tree-sitter). Interactive step-through query-replace (Decision, QueryReplace) lives directly in tui/src/app.rs (T151: folded in from a former single-purpose crate whose sole consumer was always the App shell — see spec/find-and-replace/index.md); its structural sibling StructuralReplace lives there too. |
| Pickers | vix-ascii-character-picker, vix-html-character-picker, vix-nerd-font-picker, vix-x11-color-picker. |
| Boxes | vix-calendar-panel, vix-clock-panel. |
| Contacts | vix-vcard-parser (RFC 6350), vix-vcard-panel, vix-contact-panel. |
| Docks | vix-left-dock (explorer), vix-right-dock (messages), vix-bottom-dock (output buffer). |
| Authority | vix-authority (T710/T711: the process-wide authority slot — one Authority trait owning workspace file access and process spawning; LocalAuthority delegates to vix-fileops/std unchanged, FakeAuthority maps a virtual namespace onto a temp dir and records calls, conformance::run is the suite every authority must pass; SshAuthority (T712, ssh feature) works on another machine through the system ssh with ControlMaster, POSIX sh and coreutils, and ssh::SshTarget parses ssh:// and TRAMP /ssh: names; agent (T717) is the remote agent vix --remote-agent serves (a framed, batched, version-locked protocol) and AgentAuthority over it, which SshAuthority uses when a same-version vix is on the remote machine (or, opt-in, uploads one, SHA-256 checked remotely); since T718 SshAuthority is ShellAuthority<SshTransport> and container::ContainerAuthority is the same shell authority through docker/podman/kubectl exec or wsl.exe (docker://, podman://, k8s://, wsl:// names), with remote::RemoteTarget covering every remote name. Config, session, undo and other per-user state stay on std::fs on purpose — see its spec). |
| Files / ops | vix-fileops (explorer copy/cut/paste/delete filesystem helpers), vix-file-browser-panel (File → Open… browser: one folder at a time, typed paths, fuzzy/glob/ext filter, sort). |
| Models | vix-keymap-model, vix-locale-model, vix-theme-model, vix-time-zone-model. |
| Help | vix-keyboard-shortcut-panel, vix-action-catalog (T147: (action id -> i18n title key) catalog for every run_action id titled nowhere else — no vix-menu leaf and no palette::COMMANDS entry. App::action_title (F1 help, the keybinding editor) falls back to it before the raw id; the command palette’s > mode appends it directly to COMMANDS; shortcuts_for-based UI, once any exists, can pair its results with it the same way), vix-doctor (T553: environment checks — git on PATH, configured LSP servers spawnable, the active locale’s spellcheck dictionary loadable, terminal color support — for vix --doctor and Help → Run Diagnostics; host-agnostic by design so the CLI path can call it before any App exists). |
| i18n | vix-i18n (embedded rust-i18n catalog). |
Other top-level paths
| Path | Contents |
|---|---|
crates/ | The 148 vix-* workspace member crates (each with its own spec/). |
crates/vix-editor-core/langs/ | Tree-sitter highlight queries (<lang>/highlights.scm), embedded. |
crates/vix-i18n/locales/ | rust-i18n translations, one YAML file per key namespace (action, menu, msg, ui, …); English is the fallback. |
/dictionaries/ | Hunspell dictionaries — fetched separately, gitignored, absent from a fresh clone; see crates/vix-spellcheck/spec/dictionaries. |
tui/themes/ | Bundled JSON color themes (embedded by the TUI). |
spec/ | Cross-cutting / app-level and build/meta specs (per-crate specs live in crates/<crate>/spec/). |
docs/ | Architecture, keybindings, themes, i18n, LSP, configuration, panels. |
tui/examples/ | Runnable headless examples (headless_edit.rs, list_commands.rs — which also regenerates docs/reference/ with --write — generate_man.rs, render_frame.rs, org_export.rs, …), plus config/, scripts/ and the demo-workspace/. |
tui/tests/ | tui/tests/integration/main.rs (+ one submodule per area — catalog, cowork, editing, git, ide_parity, im, large_file, mcp, org, … and common), authority_*.rs and remote_*.rs (remote editing; authority_ssh.rs is opt-in against a real sshd), mcp_stdio.rs, spawn_sites.rs, action_catalog.rs, db_smoke.rs, lsp_smoke.rs, i18n_keys.rs, example_scripts.rs, snapshots.rs (+ snapshots/*.snap) — terminal-independent tests. |
fuzz/ | cargo-fuzz targets over the pure text/parse cores. |
tui/ | The terminal UI: package vix-tui (command vix, library crate vix) — the App shell’s src/, tests/, benches/, examples/, themes/, man/, wix/ (T643). |
gui/ | The desktop GUIs — GPUI, egui, iced, GTK 4, Slint and BUI front ends, each a self-contained implementation (no common GUI library) — in their own [workspace] so no GUI toolkit enters the terminal build; see gui/spec/index.md. |
tui/benches/ | Criterion benchmarks (cargo bench). |
scripts/ | check (the CI-parity gate), check-docs (documentation integrity and CSpell), check-binary-licenses, docs-coverage, bench-large-file, test-ssh-local (T719), build-linux-packages, packaging (T742: check/render the winget, Scoop and AUR templates), and the demo/theme-gallery renderers. |
packaging/, docker/, flake.nix | Install-channel templates (winget, Scoop, AUR, Nix) and the container image (T742, T743) — the templates are not published or verified, and the image is built on every version tag but its ghcr.io package is not public yet; see packaging/index.md. |
vixide.github.io/ | The public GitHub Pages site (SvelteKit + Lily Design System), a monorepo subproject — see spec/monorepo-github-pages/index.md. Maintained here; published to the read-only sibling repo git@github.com:vixide/vixide.github.io.git via git subtree push, never edited there directly. |
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.
Action Reference
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Every action id App::run_action can dispatch, with the title it resolves to and where that title comes from: a Menu leaf, this workspace’s vix-action-catalog (Catalog, for ids with no menu leaf of their own), or a palette::COMMANDS entry (Palette, the few ids titled only there).
A handful of ids are dynamically suffixed (view.theme:Dark, script:my_script, …) rather than literal — their bare prefixes (view.theme:, view.locale:, view.keymap:, script:, view.time_zone:) are exempt from this list; see vix_action_catalog::dispatch_scan::DYNAMIC_PREFIXES.
| Action ID | Title | Source |
|---|---|---|
add_tab | New Tab | Catalog |
ai.agent_conversations | Agent Conversations… | Menu |
ai.agent_plan | Agent Plan | Menu |
ai.agent_plan_dock | Toggle Agent Plan Pane | Menu |
ai.agent_prompt | Prompt Agent… | Menu |
ai.agent_resume | Resume Agent | Menu |
ai.agent_start | Start Agent | Menu |
ai.agent_stop | Stop Agent | Menu |
ai.annotate | Annotate | Menu |
ai.chat | Chat… | Menu |
ai.define | Define | Menu |
ai.edit_with_instruction | Edit Selection with Instruction… | Menu |
ai.explain | Explain | Menu |
ai.generate_doc_comment | Generate Doc Comment | Menu |
ai.improve | Improve | Menu |
ai.summarize | Summarize | Menu |
autocomplete | Autocomplete Word | Palette |
backspace | Backspace | Catalog |
bookmark.list | Bookmarks… | Menu |
bookmark.next | Next Bookmark | Menu |
bookmark.prev | Previous Bookmark | Menu |
bookmark.toggle | Toggle Bookmark | Menu |
center | Center Cursor Line | Catalog |
clear_info | Clear Info Panel | Catalog |
clear_status | Clear Status Message | Catalog |
command_mode | Command Mode | Catalog |
copy | Copy | Catalog |
copy_line | Copy Line | Catalog |
cowork.files | Shared Files… | Menu |
cowork.follow | Follow… | Menu |
cowork.host | Host Session… | Menu |
cowork.invite | New Invite | Menu |
cowork.join | Join Session… | Menu |
cowork.leave | Leave Session | Menu |
cowork.mute | Mute in Chat… | Menu |
cowork.notes | Session Notes | Menu |
cowork.peers | Peers | Menu |
cowork.permissions | Permissions… | Menu |
cowork.remove | Remove Guest… | Menu |
cowork.share | Share This Buffer | Menu |
cowork.share_terminal | Share Terminal | Menu |
cowork.share_workspace | Share File Tree | Menu |
cowork.terminal | Shared Terminal | Menu |
cowork.terminal_input | Allow Terminal Input | Menu |
cowork.unshare | Stop Sharing This Buffer | Menu |
cursor_down | Cursor Down | Catalog |
cursor_end | Cursor to End | Catalog |
cursor_left | Cursor Left | Catalog |
cursor_page_down | Cursor Page Down | Catalog |
cursor_page_up | Cursor Page Up | Catalog |
cursor_right | Cursor Right | Catalog |
cursor_start | Cursor to Start | Catalog |
cursor_to_view_bottom | Cursor to View Bottom | Catalog |
cursor_to_view_center | Cursor to View Center | Catalog |
cursor_to_view_top | Cursor to View Top | Catalog |
cursor_up | Cursor Up | Catalog |
cut | Cut | Catalog |
cut_line | Cut Line | Catalog |
cut_to_line_end | Cut to Line End | Catalog |
cycle_autocomplete_back | Cycle Autocomplete Back | Catalog |
db.begin | Begin Transaction | Menu |
db.commit | Commit | Menu |
db.connections | Connections… | Menu |
db.disconnect | Disconnect | Menu |
db.execute | Execute at Cursor | Menu |
db.execute_all | Execute All | Menu |
db.explain | Explain | Menu |
db.explain_analyze | Explain Analyze | Menu |
db.export | Export Results… | Menu |
db.format | Format Query | Menu |
db.history | History… | Menu |
db.query | Query Editor | Menu |
db.refresh | Refresh Schema | Menu |
db.rollback | Rollback | Menu |
db.run_buffer | Run Buffer in Workbench | Menu |
db.save_query | Save Query… | Menu |
db.saved | Saved Queries… | Menu |
db.schema_compare | Schema Compare… | Menu |
delete | Delete | Catalog |
delete_line | Delete Line | Catalog |
delete_sub_word_left | Delete Sub-Word Left | Catalog |
delete_sub_word_right | Delete Sub-Word Right | Catalog |
delete_word_left | Delete Word Left | Catalog |
delete_word_right | Delete Word Right | Catalog |
deselect | Deselect | Catalog |
diff.close | Close Comparison | Menu |
diff.copy_to_left | Copy Change to Left | Menu |
diff.copy_to_right | Copy Change to Right | Menu |
diff.next | Next Difference | Menu |
diff.prev | Previous Difference | Menu |
diff.unified | Show as Unified Diff | Menu |
diff_next | Next Diff | Catalog |
diff_previous | Previous Diff | Catalog |
duplicate | Duplicate Selection | Catalog |
duplicate_line | Duplicate Line | Catalog |
edit.align.colon | On : (colon) | Menu |
edit.align.comma | On , (comma) | Menu |
edit.align.equals | On = (equals) | Menu |
edit.align.pipe | On | (pipe) | Menu |
edit.case_camel | Camel (fooBar) | Menu |
edit.case_kebab | Kebab (foo-bar) | Menu |
edit.case_lower | Lower (foo bar) | Menu |
edit.case_pascal | Pascal (FooBar) | Menu |
edit.case_snake | Snake (foo_bar) | Menu |
edit.case_title | Title (Foo Bar) | Menu |
edit.case_upper | Upper (FOO BAR) | Menu |
edit.cleanup_code | Code Cleanup | Menu |
edit.column_select_down | Column Select Down | Menu |
edit.column_select_up | Column Select Up | Menu |
edit.comment_banner | Comment Banner | Menu |
edit.copy | Copy | Menu |
edit.cut | Cut | Menu |
edit.decrement_number | Decrement Number | Menu |
edit.delete.character | Character | Menu |
edit.delete.paragraph | Paragraph | Menu |
edit.delete.section | Section | Menu |
edit.delete.sentence | Sentence | Menu |
edit.delete.word | Word | Menu |
edit.duplicate_line | Duplicate Line | Menu |
edit.emmet_expand | Emmet Expand | Menu |
edit.eol_crlf | To CRLF (Windows) | Menu |
edit.eol_lf | To LF (Unix) | Menu |
edit.expand_selection | Expand Selection | Menu |
edit.find | Find… | Menu |
edit.find_next | Find Next | Menu |
edit.find_prev | Find Previous | Menu |
edit.go_first | Start | Menu |
edit.go_last | End | Menu |
edit.increment_number | Increment Number | Menu |
edit.insert_command_output | Insert Command Output… | Menu |
edit.join_lines | Join Lines | Menu |
edit.keyboard_quit | Keyboard Quit | Catalog |
edit.line_end | End | Menu |
edit.line_start | Start | Menu |
edit.match_bracket | Jump to Matching Bracket | Palette |
edit.move_line_down | Move Down | Menu |
edit.move_line_up | Move Up | Menu |
edit.para_end | End | Menu |
edit.para_start | Start | Menu |
edit.paste | Paste | Menu |
edit.paste_from_history | Paste from History… | Menu |
edit.pipe_selection | Pipe Through Command… | Menu |
edit.query_replace | Query Replace | Palette |
edit.redo | Redo | Menu |
edit.remove_duplicate_lines | Remove Duplicate Lines | Menu |
edit.replace | Find & Replace | Palette |
edit.reverse_lines | Reverse Lines | Menu |
edit.section_end | End | Menu |
edit.section_start | Start | Menu |
edit.select_all | Select All | Menu |
edit.select_all_occurrences | Select All Occurrences | Menu |
edit.select_class_around | Class (Around) | Menu |
edit.select_class_inside | Class (Inside) | Menu |
edit.select_function_around | Function (Around) | Menu |
edit.select_function_inside | Function (Inside) | Menu |
edit.select_less | Select Less | Menu |
edit.select_line | Select Line | Menu |
edit.select_more | Select More | Menu |
edit.select_paragraph | Select Paragraph | Menu |
edit.select_parameter_around | Parameter (Around) | Menu |
edit.select_parameter_inside | Parameter (Inside) | Menu |
edit.select_regex_in_selection | Select Regex Matches in Selection | Menu |
edit.select_section | Select Section | Menu |
edit.shrink_selection | Shrink Selection | Menu |
edit.shuffle | Shuffle | Menu |
edit.sort_lines | Sort | Menu |
edit.sort_unique | Sort Unique | Menu |
edit.split_selection_into_lines | Split Selection into Lines | Menu |
edit.squeeze_blank_lines | Squeeze Blank Lines | Menu |
edit.structural_replace | Structural Replace… | Menu |
edit.structural_replace_workspace | Structural Replace in Workspace… | Menu |
edit.surround.angle | < Angles > | Menu |
edit.surround.backtick | Backticks | Menu |
edit.surround.brace | { Braces } | Menu |
edit.surround.bracket | [ Brackets ] | Menu |
edit.surround.double_quote | “ Double Quotes “ | Menu |
edit.surround.paren | ( Parentheses ) | Menu |
edit.surround.single_quote | ’ Single Quotes ’ | Menu |
edit.toggle_comment | Comment | Menu |
edit.toggle_value | Toggle Value | Menu |
edit.transpose_chars | Characters | Menu |
edit.transpose_lines | Lines | Menu |
edit.transpose_paragraphs | Paragraphs | Menu |
edit.transpose_sections | Sections | Menu |
edit.transpose_sentences | Sentences | Menu |
edit.transpose_words | Words | Menu |
edit.trim_trailing_whitespace | Trim Trailing Whitespace | Menu |
edit.undo | Undo | Menu |
edit.undo_branch | Switch Undo Branch | Menu |
edit.undo_tree | Undo Tree… | Menu |
edit.wrap | Wrap | Menu |
editor.fold | Fold | Menu |
editor.fold_all | Fold All | Menu |
editor.fold_toggle | Toggle Fold | Menu |
editor.unfold | Unfold | Menu |
editor.unfold_all | Unfold All | Menu |
end | End | Catalog |
end_of_line | End of Line | Catalog |
escape | Escape | Catalog |
explorer.edit_directory | Edit Directory… | Menu |
explorer.filter_exclude | Explorer: Exclude Regex Filter | Palette |
explorer.filter_include | Explorer: Include Regex Filter | Palette |
file.close | Close | Menu |
file.close_all | Close All Tabs | Menu |
file.insert_file | Insert File… | Menu |
file.local_history | Local History… | Menu |
file.local_history_label | Label Local History Snapshot… | Menu |
file.new | New | Menu |
file.open | Open… | Menu |
file.open_large | Open in Large File Viewer… | Menu |
file.open_path | Open Path… | Catalog |
file.open_recent | Open Recent… | Menu |
file.open_remote | Open Remote… | Menu |
file.quit | Quit | Menu |
file.reconnect_remote | Reconnect Remote | Menu |
file.rename | Rename… | Menu |
file.reopen_closed | Reopen Closed Tab | Menu |
file.reopen_with_encoding | Reopen with Encoding… | Menu |
file.revert | Revert | Menu |
file.save | Save | Menu |
file.save_all | Save All | Menu |
file.save_as | Save As… | Menu |
file.save_with_encoding | Save with Encoding… | Menu |
file.scratch | New Scratch Buffer | Menu |
file.switch_project | Switch Project… | Menu |
file.trust_remote | Trust Remote Workspace… | Menu |
find | Find | Catalog |
find_literal | Find (Literal) | Catalog |
find_next | Find Next | Catalog |
find_previous | Find Previous | Catalog |
first_split | First Split | Catalog |
first_tab | First Tab | Catalog |
force_quit | Force Quit | Catalog |
git.amend | Amend Commit | Menu |
git.blame | Blame Line | Menu |
git.blame_inline | Toggle Inline Blame | Menu |
git.browse_log | Browse Log… | Menu |
git.changes | Changes… | Menu |
git.changes_subproject | Changes… | Menu |
git.changes_workspace | Changes… | Menu |
git.cherry_pick | Cherry-Pick… | Menu |
git.clone | Clone… | Menu |
git.code_owners | Code Owners | Menu |
git.conflict_both | Keep Both | Menu |
git.conflict_list | List Conflicts… | Menu |
git.conflict_next | Next Conflict | Menu |
git.conflict_ours | Keep Ours | Menu |
git.conflict_theirs | Keep Theirs | Menu |
git.delete_branch | Delete… | Menu |
git.diff_head | Diff with HEAD | Menu |
git.diff_index | Diff with Staged | Menu |
git.diff_next | Next Change | Menu |
git.diff_prev | Previous Change | Menu |
git.edit_description | Edit Description… | Menu |
git.fetch | Fetch | Menu |
git.file_history | File History | Menu |
git.graph | Graph… | Menu |
git.grep | Grep… | Menu |
git.grep_subproject | Grep… | Menu |
git.gutter_base | Change Gutter Base… | Menu |
git.init | Init | Menu |
git.log | All | Menu |
git.log_graph | Summary | Menu |
git.log_since_1_day_ago | Since 1 day ago | Menu |
git.log_since_1_month_ago | Since 1 month ago | Menu |
git.log_since_1_week_ago | Since 1 week ago | Menu |
git.log_subproject | Log | Menu |
git.merge_branch | Merge… | Menu |
git.new_branch | New… | Menu |
git.open_at_revision | Open File at Revision… | Menu |
git.pull_ff | Fast Forward | Menu |
git.pull_merge | Merge | Menu |
git.pull_rebase | Rebase | Menu |
git.pull_squash | Merge Squash | Menu |
git.push | Push | Menu |
git.rebase_abort | Abort Rebase | Menu |
git.rebase_continue | Continue Rebase | Menu |
git.rebase_interactive | Interactive Rebase… | Menu |
git.revert_hunk | Revert Hunk | Menu |
git.review | Review Range… | Menu |
git.review_comment | Comment on Review Line… | Menu |
git.review_discard_all | Discard All Review Hunks… | Menu |
git.review_discard_hunk | Discard Review Hunk… | Menu |
git.review_discard_lines | Discard Review Lines… | Menu |
git.review_export | Export Review Comments | Menu |
git.review_next | Next Review Hunk | Menu |
git.review_prev | Previous Review Hunk | Menu |
git.review_stage_all | Stage All Review Hunks | Menu |
git.review_stage_hunk | Stage Review Hunk | Menu |
git.review_stage_lines | Stage Review Lines | Menu |
git.review_toggle_view | Review Two-Pane View | Menu |
git.stage_hunk | Stage Hunk | Menu |
git.stash | Stash | Menu |
git.stash_list | Stash List… | Menu |
git.stash_pop | Stash Pop | Menu |
git.status | Status… | Menu |
git.status_subproject | Status | Menu |
git.status_workspace | Status | Menu |
git.switch_branch | Switch… | Menu |
git.unstage_hunk | Unstage Hunk | Menu |
git.worktree_add | Add… | Menu |
git.worktree_list | List… | Menu |
git.worktree_remove | Remove… | Menu |
go.next_error | Next Error | Menu |
go.prev_error | Previous Error | Menu |
half_page_down | Half Page Down | Catalog |
half_page_up | Half Page Up | Catalog |
helix.append | Append After Selection | Catalog |
helix.change | Change Selection | Catalog |
helix.collapse | Collapse Selection | Catalog |
helix.delete | Delete Selection | Catalog |
helix.insert | Insert Before Selection | Catalog |
helix.move_down | Move Down | Catalog |
helix.move_left | Move Left | Catalog |
helix.move_right | Move Right | Catalog |
helix.move_up | Move Up | Catalog |
helix.paste_after | Paste After Selection | Catalog |
helix.paste_before | Paste Before Selection | Catalog |
helix.repeat_last_change | Repeat Last Change | Catalog |
helix.select_line | Select Line | Catalog |
helix.select_long_word_end | Select to WORD End | Catalog |
helix.select_long_word_next | Select to Next WORD | Catalog |
helix.select_long_word_prev | Select to Previous WORD | Catalog |
helix.select_word_end | Select to Word End | Catalog |
helix.select_word_next | Select to Next Word | Catalog |
helix.select_word_prev | Select to Previous Word | Catalog |
helix.switch_case | Switch Case | Catalog |
helix.toggle_select | Toggle Select Mode | Catalog |
helix.yank | Yank Selection | Catalog |
help.doctor | Run Diagnostics | Menu |
help.license | License | Menu |
help.privacy | Privacy Statement | Menu |
help.report_crash | Report a Crash… | Menu |
help.report_issue | Report an Issue… | Menu |
help.shortcuts | Keyboard Shortcuts | Menu |
help.tutorial | Tutorial… | Menu |
help.welcome | Welcome… | Menu |
help.whats_new | What’s New… | Menu |
hsplit | Split Horizontally | Catalog |
im.clear_history | Clear History | Menu |
im.comment_line | Comment on Line… | Menu |
im.connect | Connect… | Menu |
im.direct | Direct Message… | Menu |
im.disconnect | Disconnect | Menu |
im.join | Join Room… | Menu |
im.leave | Leave Room | Menu |
im.next_thread | Next Thread | Menu |
im.next_unread | Next Unread | Menu |
im.notify_all | All Messages | Menu |
im.notify_mentions | Mentions Only | Menu |
im.notify_off | Off | Menu |
im.panel | Chat Panel | Menu |
im.prev_thread | Previous Thread | Menu |
im.resolve_thread | Resolve or Reopen Thread | Menu |
im.share_location | Share Location | Menu |
im.share_selection | Share Selection | Menu |
im.status_available | Available | Menu |
im.status_away | Away | Menu |
im.status_busy | Busy | Menu |
im.threads | Threads… | Menu |
indent_line | Indent Line | Catalog |
indent_selection | Indent Selection | Catalog |
inline_completion.accept | Accept Inline Suggestion | Catalog |
inline_completion.accept_word | Accept Next Word of Suggestion | Catalog |
inline_completion.dismiss | Dismiss Inline Suggestion | Catalog |
inline_completion.trigger | Suggest Inline Completion | Catalog |
insert_newline | Insert Newline | Catalog |
insert_tab | Insert Tab | Catalog |
jj.abandon | Abandon | Menu |
jj.bookmark_create | Create… | Menu |
jj.bookmark_delete | Delete… | Menu |
jj.bookmark_list | List | Menu |
jj.bookmark_set | Set… | Menu |
jj.clone | Clone… | Menu |
jj.commit | Commit… | Menu |
jj.describe | Describe… | Menu |
jj.diff | Diff | Menu |
jj.edit | Edit… | Menu |
jj.git_fetch | Fetch | Menu |
jj.git_push | Push | Menu |
jj.init | Init | Menu |
jj.log | Log | Menu |
jj.log_all | Log All | Menu |
jj.new | New Change | Menu |
jj.op_log | Operation Log | Menu |
jj.rebase | Rebase… | Menu |
jj.restore | Restore | Menu |
jj.show | Show | Menu |
jj.squash | Squash | Menu |
jj.status | Status | Menu |
jj.undo | Undo | Menu |
join_lines | Join Lines | Catalog |
jump_line | Jump to Line | Catalog |
jump_to_matching_brace | Jump to Matching Brace | Catalog |
jupyter.clear_results | Clear Results | Menu |
jupyter.interrupt | Interrupt Kernel | Menu |
jupyter.restart | Restart Kernel | Menu |
jupyter.run | Run | Menu |
jupyter.run_advance | Run and Advance | Menu |
jupyter.shutdown | Shut Down Kernel | Menu |
jupyter.start | Start Kernel… | Menu |
keybindings.editor | Keybindings… | Menu |
keybindings.reload | Reload Keybindings | Menu |
last_split | Last Split | Catalog |
last_tab | Last Tab | Catalog |
lsp.call_hierarchy | Call Hierarchy (Callers) | Menu |
lsp.call_hierarchy_outgoing | Call Hierarchy (Callees) | Menu |
lsp.code_action | Code Action… | Menu |
lsp.code_lens | Code Lens… | Menu |
lsp.code_lens_run | Run Code Lens on Line | Menu |
lsp.complete | Completion | Menu |
lsp.diagnostics | Diagnostics… | Menu |
lsp.document_symbols | Document Symbols… | Menu |
lsp.edit_color | Edit Color… | Menu |
lsp.expand_selection | Expand Selection | Catalog |
lsp.format | Format Document | Menu |
lsp.highlight | Highlight Occurrences | Menu |
lsp.hover | Hover | Menu |
lsp.linked_edit | Edit Linked Ranges… | Menu |
lsp.open_link | Open Link | Menu |
lsp.organize_imports | Organize Imports | Menu |
lsp.refactor | Refactor… | Menu |
lsp.references | Go to References | Menu |
lsp.rename | Rename Symbol | Menu |
lsp.restart | Restart Server | Menu |
lsp.show_log | Show Server Log | Menu |
lsp.shrink_selection | Shrink Selection | Catalog |
lsp.signature_help | Signature Help | Menu |
lsp.status | LSP Status… | Menu |
lsp.type_hierarchy_subtypes | Type Hierarchy (Subtypes) | Menu |
lsp.type_hierarchy_supertypes | Type Hierarchy (Supertypes) | Menu |
lsp.workspace_symbols | Workspace Symbols… | Menu |
macro.play | Play | Menu |
macro.play_saved | Play Saved… | Menu |
macro.record | Record | Menu |
macro.save | Save… | Menu |
motion.char_left | Character Left | Catalog |
motion.char_right | Character Right | Catalog |
motion.delete_forward | Delete Forward | Catalog |
motion.end | Motion: End | Catalog |
motion.home | Motion: Home | Catalog |
motion.line_down | Line Down | Catalog |
motion.line_up | Line Up | Catalog |
motion.page_down | Motion: Page Down | Catalog |
motion.page_up | Motion: Page Up | Catalog |
move_lines_down | Move Lines Down | Catalog |
move_lines_up | Move Lines Up | Catalog |
nav.back | Back | Catalog |
nav.forward | Forward | Catalog |
nav.goto_byte | Go to Byte… | Menu |
nav.goto_declaration | Go to Declaration | Menu |
nav.goto_definition | Go to Definition | Menu |
nav.goto_implementation | Go to Implementations | Menu |
nav.goto_line | Number | Menu |
nav.goto_paragraph | Number | Menu |
nav.goto_percent | Go to Percent… | Menu |
nav.goto_section | Number | Menu |
nav.goto_sentence | Number | Menu |
nav.goto_symbol | Go to Symbol | Menu |
nav.goto_type_definition | Go to Type Definition | Menu |
nav.goto_word | Number | Menu |
nav.goto_workspace_symbol | Go to Symbol in Workspace | Palette |
nav.jump | Jump to Line (labels) | Menu |
nav.line_next | Next | Menu |
nav.line_prev | Previous | Menu |
nav.matching_tag | Matching Tag | Menu |
nav.next_class | Next | Menu |
nav.next_function | Next | Menu |
nav.next_issue | Next Issue | Menu |
nav.outline | Outline | Palette |
nav.para_next | Next | Menu |
nav.para_prev | Previous | Menu |
nav.peek_definition | Peek Definition | Menu |
nav.prev_class | Previous | Menu |
nav.prev_function | Previous | Menu |
nav.prev_issue | Previous Issue | Menu |
nav.recent_locations | Recent Locations… | Menu |
nav.search_everywhere | Search Everywhere | Menu |
nav.section_next | Next | Menu |
nav.section_prev | Previous | Menu |
nav.sentence_end | End | Menu |
nav.sentence_next | Next | Menu |
nav.sentence_prev | Previous | Menu |
nav.sentence_start | Start | Menu |
nav.switch_buffer | Switch Buffer | Catalog |
nav.word_end | End | Menu |
nav.word_next | Next | Menu |
nav.word_prev | Previous | Menu |
nav.word_start | Start | Menu |
next_split | Next Split | Catalog |
next_tab | Next Tab | Catalog |
node.dead_links | List Dead Links | Menu |
node.extract_subtree | Extract Subtree to Node | Menu |
node.insert_transclusion | Insert Transclusion… | Menu |
node.nodeify | Nodeify Entry | Menu |
node.rename_by_title | Rename File by Title | Menu |
node.reset | Rebuild Cache | Menu |
none | None | Catalog |
oc.build | Build Image… | Menu |
oc.compose_down | Down | Menu |
oc.compose_logs | Logs | Menu |
oc.compose_up | Up | Menu |
oc.containers | Containers… | Menu |
oc.devcontainer_reopen | Reopen in Dev Container | Menu |
oc.engine_choose | Choose | Menu |
oc.engine_detect | Detect | Menu |
oc.images | Images… | Menu |
oc.networks | Networks… | Menu |
oc.open_workspace | Open Workspace in Container… | Menu |
oc.pods | Pods… | Menu |
oc.prune | Prune… | Menu |
oc.pull | Pull Image… | Menu |
oc.run | Run Image… | Menu |
oc.volumes | Volumes… | Menu |
open_file | Open File | Catalog |
org.agenda | Weekly/Daily Agenda | Menu |
org.agenda.file_add | Add Current File | Menu |
org.agenda.file_clear | Clear List (All Project Files) | Menu |
org.agenda.file_list | Show Scope | Menu |
org.agenda.file_remove | Remove Current File | Menu |
org.agenda.lock | Set Restriction Lock (This File) | Menu |
org.agenda.match | Match Tags/Property… | Menu |
org.agenda.search | Search… | Menu |
org.agenda.stuck | Stuck Projects | Menu |
org.agenda.todo | Global TODO List | Menu |
org.agenda.unlock | Remove Restriction Lock | Menu |
org.archive.subtree | Archive Subtree to File | Menu |
org.archive.tag | Toggle ARCHIVE Tag | Menu |
org.block.center | Center | Menu |
org.block.comment | Comment | Menu |
org.block.example | Example | Menu |
org.block.quote | Quote | Menu |
org.block.src | Source | Menu |
org.block.verse | Verse | Menu |
org.capture | Anything… | Menu |
org.capture.babel | Babel… | Menu |
org.capture.contact | Contact… | Menu |
org.capture.note | Note… | Menu |
org.capture.select | Choose Template… | Menu |
org.capture.task | Task… | Menu |
org.clock_in | Clock In | Menu |
org.clock_out | Clock Out | Menu |
org.close_note | Mark Done with Note… | Menu |
org.column_view | Turn On | Menu |
org.column_view_export | Quick Column Export | Menu |
org.columns.insert_dblock | Insert Column View Dynamic Block… | Menu |
org.columns.update_all_dblocks | Update All Dynamic Blocks | Menu |
org.columns.update_dblock | Update Dynamic Block at Point | Menu |
org.contacts.birthdays | Birthdays | Menu |
org.contacts.find | Find Contacts | Menu |
org.contacts.link_complete | Complete Link… | Menu |
org.contacts.vcard | Export to vCard | Menu |
org.ctrl_c_ctrl_c | Refresh Context | Menu |
org.cycle_todo | Cycle TODO | Menu |
org.cycle_visibility | Cycle Visibility (Fold) | Menu |
org.date_down | Date 1 Day Earlier | Menu |
org.date_up | Date 1 Day Later | Menu |
org.deadline | Deadline… | Menu |
org.demote | Demote | Menu |
org.edit_src | Edit Source Block | Menu |
org.emphasis.bold | Bold | Menu |
org.emphasis.code | Code | Menu |
org.emphasis.italic | Italic | Menu |
org.emphasis.strike | Strikethrough | Menu |
org.emphasis.underline | Underline | Menu |
org.emphasis.verbatim | Verbatim | Menu |
org.export_html | HTML | Menu |
org.export_ics | iCalendar | Menu |
org.export_latex | LaTeX | Menu |
org.export_markdown | Markdown | Menu |
org.footnote | Footnote New/Jump | Menu |
org.link.follow | Follow Link | Menu |
org.link.insert | Insert Link… | Menu |
org.link.next | Next Link | Menu |
org.link.prev | Previous Link | Menu |
org.link.store | Store Link to Here | Menu |
org.move_down | Move Subtree Down | Menu |
org.move_up | Move Subtree Up | Menu |
org.nav.backward | Previous Same Level | Menu |
org.nav.forward | Next Same Level | Menu |
org.nav.next | Next Heading | Menu |
org.nav.previous | Previous Heading | Menu |
org.nav.up | Up to Parent | Menu |
org.new_heading | New Heading | Menu |
org.priority.down | Priority Down | Menu |
org.priority.up | Priority Up | Menu |
org.promote | Promote | Menu |
org.refile | Refile Subtree… | Menu |
org.schedule | Schedule Item… | Menu |
org.set_property | Set Property… | Menu |
org.set_tags | Set Tags… | Menu |
org.sort_children | Sort Children | Menu |
org.sparse.match | Sparse Tree Match… | Menu |
org.sparse.todo | Sparse TODO Tree | Menu |
org.subtree.copy | Copy Subtree | Menu |
org.subtree.cut | Cut Subtree | Menu |
org.subtree.paste | Paste Subtree | Menu |
org.table.align | Align Table | Menu |
org.table.copy_down | Copy Field from Above | Menu |
org.table.copy_rectangle | Copy Rectangle | Menu |
org.table.create_from_region | Create Table from Selection | Menu |
org.table.cut_rectangle | Cut Rectangle | Menu |
org.table.delete_column | Delete Column | Menu |
org.table.export_tsv | Export to TSV | Menu |
org.table.hline_and_move | Insert Line Below and Move | Menu |
org.table.insert_column | Insert Column | Menu |
org.table.insert_hline | Insert Horizontal Line | Menu |
org.table.insert_row_above | Insert Row Above | Menu |
org.table.insert_row_below | Insert Row Below | Menu |
org.table.kill_row | Delete Row | Menu |
org.table.move_column_left | Move Column Left | Menu |
org.table.move_column_right | Move Column Right | Menu |
org.table.move_row_down | Move Row Down | Menu |
org.table.move_row_up | Move Row Up | Menu |
org.table.paste_rectangle | Paste Rectangle | Menu |
org.table.recalc | Recalculate (Apply Formulas) | Menu |
org.table.sort | Sort Table… | Menu |
org.table.sum_column | Sum Column | Menu |
org.table.transpose | Transpose Table | Menu |
org.time_report | Time Tracker | Menu |
org.timestamp | Insert Timestamp | Menu |
org.timestamp_inactive | Insert Inactive Timestamp | Menu |
org.toggle_checkbox | Toggle Checkbox | Menu |
org.update_statistics | Update Statistics | Menu |
outdent_line | Outdent Line | Catalog |
outdent_selection | Outdent Selection | Catalog |
page_down | Page Down | Catalog |
page_up | Page Up | Catalog |
palette.resume | Resume Last Picker | Menu |
paragraph_next | Next Paragraph | Catalog |
paragraph_previous | Previous Paragraph | Catalog |
paste | Paste | Catalog |
paste_primary | Paste Primary Selection | Catalog |
previous_split | Previous Split | Catalog |
previous_tab | Previous Tab | Catalog |
project.cmake.build | Build | Menu |
project.cmake.clean | Clean | Menu |
project.cmake.configure | Configure | Menu |
project.cmake.debug | Debug | Menu |
project.cmake.edit_settings | Edit CMake Settings | Menu |
project.cmake.install | Install | Menu |
project.cmake.run | Run | Menu |
project.cmake.select_build_target | Select Build Target… | Menu |
project.cmake.select_build_type | Select Build Type… | Menu |
project.cmake.select_launch_target | Select Launch Target… | Menu |
project.cmake.select_preset | Select Configure Preset… | Menu |
project.cmake.select_test | Run Test… | Menu |
project.cmake.test | Test | Menu |
project.cmake.test_at_point | Test at Point | Menu |
project.compile | Compile | Menu |
project.configure | Configure | Menu |
project.discard_command_cache | Discard Command Cache | Menu |
project.install | Install | Menu |
project.package | Package | Menu |
project.reload_env | Reload Environment | Menu |
project.repeat_last_task | Repeat Last Task | Menu |
project.run | Run | Menu |
project.run_config | Run Configuration… | Menu |
project.run_config_edit | Edit Run Configurations | Menu |
project.run_task | Run Task… | Menu |
project.subproject.compile | Compile | Menu |
project.subproject.configure | Configure | Menu |
project.subproject.find_file | Find File | Menu |
project.subproject.install | Install | Menu |
project.subproject.package | Package | Menu |
project.subproject.run | Run | Menu |
project.subproject.test | Test | Menu |
project.test | Test | Menu |
project.test_at_point | Test at Point | Menu |
quit | Quit | Catalog |
quit_all | Quit All | Catalog |
redo | Redo | Catalog |
remove_all_multi_cursors | Remove All Multi-Cursors | Catalog |
remove_duplicate_lines | Remove Duplicate Lines | Catalog |
remove_multi_cursor | Remove Multi-Cursor | Catalog |
reset_search | Reset Search | Catalog |
reverse_lines | Reverse Lines | Catalog |
roam.alias_add | Add Alias… | Menu |
roam.backlinks | Backlinks | Menu |
roam.backlinks_follow | Live Backlinks | Menu |
roam.capture | Capture Node… | Menu |
roam.dailies_calendar | Calendar… | Menu |
roam.dailies_capture | Capture Today… | Menu |
roam.dailies_date | Go to Date… | Menu |
roam.dailies_today | Today | Menu |
roam.db_sync | Sync Database | Menu |
roam.graph | Graph | Menu |
roam.link_complete | Complete Link… | Menu |
roam.node_find | Find Node… | Menu |
roam.node_insert | Insert Node Link… | Menu |
roam.node_random | Random Node | Menu |
roam.ref_add | Add Ref… | Menu |
roam.tag_add | Add Tag… | Menu |
run.attach | Attach | Menu |
run.continue | Continue | Menu |
run.data_breakpoint | Data Breakpoint on Variable | Menu |
run.edit_breakpoint | Edit Breakpoint… | Menu |
run.exception_filters | Exception Breakpoints… | Menu |
run.focus_panel | Focus Debug Panel | Menu |
run.function_breakpoint | Function Breakpoint… | Menu |
run.instruction_breakpoint | Instruction Breakpoint… | Menu |
run.panel | Toggle Debug Panel | Menu |
run.pause | Pause | Menu |
run.repl | Evaluate… | Menu |
run.start | Start | Menu |
run.step_into | Step Into | Menu |
run.step_out | Step Out | Menu |
run.step_over | Step Over | Menu |
run.stop | Stop | Menu |
run.toggle_breakpoint | Toggle Breakpoint | Menu |
run.watch | Add Watch… | Menu |
save | Save | Catalog |
save_all | Save All | Catalog |
save_as | Save As… | Catalog |
script.plugins | Plugins… | Menu |
script.reload | Reload | Menu |
script.run | Run… | Menu |
scroll_down | Scroll Down | Catalog |
scroll_up | Scroll Up | Catalog |
search.edit_results | Edit Search Results | Palette |
search.next_selection | Find Selection | Menu |
search.prev_selection | Find Previous Occurrence of Selection | Palette |
search.subproject | Search in Subproject… | Menu |
search.workspace | Search in Workspace | Palette |
search.workspace_dock | Search in Workspace → Dock | Palette |
search.workspace_replace | Search and Replace in Workspace | Palette |
select_all | Select All | Catalog |
select_down | Select Down | Catalog |
select_left | Select Left | Catalog |
select_line | Select Line | Catalog |
select_page_down | Select Page Down | Catalog |
select_page_up | Select Page Up | Catalog |
select_right | Select Right | Catalog |
select_sub_word_left | Select Sub-Word Left | Catalog |
select_sub_word_right | Select Sub-Word Right | Catalog |
select_to_end | Select to End | Catalog |
select_to_end_of_line | Select to End of Line | Catalog |
select_to_paragraph_next | Select to Next Paragraph | Catalog |
select_to_paragraph_previous | Select to Previous Paragraph | Catalog |
select_to_start | Select to Start | Catalog |
select_to_start_of_line | Select to Start of Line | Catalog |
select_to_start_of_text | Select to First Non-Blank | Catalog |
select_to_start_of_text_toggle | Select to First Non-Blank (Toggle) | Catalog |
select_up | Select Up | Catalog |
select_word | Select Word | Catalog |
select_word_left | Select Word Left | Catalog |
select_word_right | Select Word Right | Catalog |
shell_mode | Shell Mode | Catalog |
shuffle | Shuffle Lines | Catalog |
skip_multi_cursor | Skip Multi-Cursor | Catalog |
skip_multi_cursor_back | Skip Multi-Cursor Back | Catalog |
sort_lines | Sort Lines | Catalog |
sort_unique | Sort Lines Unique | Catalog |
spawn_multi_cursor | Add Multi-Cursor | Catalog |
spawn_multi_cursor_down | Add Multi-Cursor Down | Catalog |
spawn_multi_cursor_up | Add Multi-Cursor Up | Catalog |
spell.suggest | Spelling Suggestions | Catalog |
start | Start | Catalog |
start_of_line | Start of Line | Catalog |
start_of_text | First Non-Blank Character | Catalog |
start_of_text_toggle | First Non-Blank Character (Toggle) | Catalog |
sub_word_left | Sub-Word Left | Catalog |
sub_word_right | Sub-Word Right | Catalog |
suspend | Suspend | Catalog |
tab.next | Next Tab | Menu |
tab.prev | Previous Tab | Menu |
terminal.close | Close Terminal | Menu |
terminal.copy | Copy Terminal Text | Menu |
terminal.new | New Terminal | Menu |
terminal.next | Next Terminal | Menu |
terminal.prev | Previous Terminal | Menu |
terminal.restart | Restart Terminal | Menu |
terminal.send_selection | Send Selection to Terminal | Menu |
terminal.toggle_capture | Toggle Terminal Key Capture | Menu |
toggle_diff_gutter | Toggle Diff Gutter | Catalog |
toggle_help | Toggle Help | Catalog |
toggle_highlight_search | Toggle Search Highlights | Menu |
toggle_key_menu | Toggle Which-Key Menu | Catalog |
toggle_overwrite_mode | Overwrite Mode | Menu |
toggle_ruler | Column Ruler | Menu |
tools.ascii | ASCII Characters… | Menu |
tools.calculator | Calculator… | Menu |
tools.calendar | Calendar… | Menu |
tools.cancel_command | Cancel Command | Menu |
tools.checksum.crc32 | CRC32 | Menu |
tools.checksum.md5 | MD5 | Menu |
tools.checksum.sha256 | SHA-256 | Menu |
tools.checksum.sha512 | SHA-512 | Menu |
tools.clock | Clock… | Menu |
tools.color_converter | Color Converter… | Menu |
tools.contacts | Contacts… | Menu |
tools.convert.base64.decode | Decode | Menu |
tools.convert.base64.encode | Encode | Menu |
tools.convert.csv.json | JSON | Menu |
tools.convert.csv.tsv | TSV | Menu |
tools.convert.html.markdown | Markdown | Menu |
tools.convert.json.csv | CSV | Menu |
tools.convert.json.toml | TOML | Menu |
tools.convert.json.tsv | TSV | Menu |
tools.convert.json.yaml | YAML | Menu |
tools.convert.jwt | JWT Decode | Menu |
tools.convert.markdown.html | HTML | Menu |
tools.convert.number.bin | Bin | Menu |
tools.convert.number.dec | Dec | Menu |
tools.convert.number.hex | Hex | Menu |
tools.convert.number.oct | Oct | Menu |
tools.convert.rot13 | ROT13 | Menu |
tools.convert.toml.json | JSON | Menu |
tools.convert.tsv.csv | CSV | Menu |
tools.convert.tsv.json | JSON | Menu |
tools.convert.unit | Unit Converter… | Menu |
tools.convert.url.decode | Decode | Menu |
tools.convert.url.encode | Encode | Menu |
tools.convert.yaml.json | JSON | Menu |
tools.dashboard | Workspace… | Menu |
tools.diff | Compare With File… | Menu |
tools.draw.arrow_down | Arrow Down | Menu |
tools.draw.arrow_left | Arrow Left | Menu |
tools.draw.arrow_right | Arrow Right | Menu |
tools.draw.arrow_up | Arrow Up | Menu |
tools.draw.color_box | Colored Box | Menu |
tools.draw.dashed_h | Horizontal Dashed Line | Menu |
tools.draw.dashed_v | Vertical Dashed Line | Menu |
tools.draw.document | Document | Menu |
tools.draw.flow | Two-Box Flow | Menu |
tools.draw.line_h | Horizontal Line | Menu |
tools.draw.line_v | Vertical Line | Menu |
tools.draw.point | Point | Menu |
tools.draw.rectangle | Rectangle | Menu |
tools.draw.rounded | Rounded Rectangle | Menu |
tools.draw.storage | Storage | Menu |
tools.edit_bytes | Bytes… | Menu |
tools.edit_json | JSON… | Menu |
tools.edit_outline | Outline… | Menu |
tools.edit_sql | SQL… | Menu |
tools.edit_table | Table… | Menu |
tools.edit_yaml | YAML… | Menu |
tools.file_info | File… | Menu |
tools.format.json_minify | JSON Minify | Menu |
tools.format.json_pretty | JSON Pretty | Menu |
tools.format.toml | TOML | Menu |
tools.format.yaml | YAML | Menu |
tools.hl7_send | HL7 Send… | Menu |
tools.hl7_view | HL7 View | Menu |
tools.html_chars | HTML Characters… | Menu |
tools.http_copy_curl | Copy HTTP Request as curl | Menu |
tools.http_environment | HTTP Environment… | Menu |
tools.http_fhir_bundle | FHIR Bundle… | Menu |
tools.http_fhir_request | FHIR Request… | Menu |
tools.http_send | Send HTTP Request | Menu |
tools.insert.block.center | Center | Menu |
tools.insert.block.comment | Comment | Menu |
tools.insert.block.quote | Quote | Menu |
tools.insert.block.verse | Verse | Menu |
tools.insert.datetime.epoch | Epoch | Menu |
tools.insert.datetime.iso8601 | ISO 8601 | Menu |
tools.insert.datetime.rfc3339 | RFC 3339 | Menu |
tools.insert.html.headline1 | Headline 1 | Menu |
tools.insert.html.headline2 | Headline 2 | Menu |
tools.insert.html.headline3 | Headline 3 | Menu |
tools.insert.html.link | Link | Menu |
tools.insert.html.list | List | Menu |
tools.insert.html.table | Table | Menu |
tools.insert.latex.bold | Bold | Menu |
tools.insert.latex.center | Center | Menu |
tools.insert.latex.deadline | Deadline | Menu |
tools.insert.latex.drawer | Drawer | Menu |
tools.insert.latex.headline | Headline | Menu |
tools.insert.latex.italic | Italic | Menu |
tools.insert.latex.link | Link | Menu |
tools.insert.latex.quote | Quote | Menu |
tools.insert.latex.scheduled | Scheduled | Menu |
tools.insert.latex.subheadline | Subheadline | Menu |
tools.insert.latex.table | Table | Menu |
tools.insert.latex.time_range | Time Range | Menu |
tools.insert.latex.timestamp | Timestamp | Menu |
tools.insert.latex.timestamp_repeater | Timestamp Repeater | Menu |
tools.insert.latex.underline | Underline | Menu |
tools.insert.latex.verse | Verse | Menu |
tools.insert.lorem.paragraph | Paragraph | Menu |
tools.insert.lorem.sentence | Sentence | Menu |
tools.insert.lorem.words | Words | Menu |
tools.insert.markdown.headline1 | Headline 1 | Menu |
tools.insert.markdown.headline2 | Headline 2 | Menu |
tools.insert.markdown.headline3 | Headline 3 | Menu |
tools.insert.markdown.link | Link | Menu |
tools.insert.markdown.list | List | Menu |
tools.insert.markdown.table | Table | Menu |
tools.insert.markdown.todos | Todos | Menu |
tools.insert.marker.bold | Bold * | Menu |
tools.insert.marker.code | Code ~ | Menu |
tools.insert.marker.italic | Italic / | Menu |
tools.insert.marker.strikethrough | Strikethrough + | Menu |
tools.insert.marker.tag | Tag : | Menu |
tools.insert.marker.underline | Underline _ | Menu |
tools.insert.marker.verbatim | Verbatim = | Menu |
tools.insert.org.author | Author | Menu |
tools.insert.org.check_list | Check List | Menu |
tools.insert.org.deadline | Deadline | Menu |
tools.insert.org.done | DONE | Menu |
tools.insert.org.drawer | Drawer | Menu |
tools.insert.org.headline | Headline | Menu |
tools.insert.org.image | Image | Menu |
tools.insert.org.link | Link | Menu |
tools.insert.org.list | List | Menu |
tools.insert.org.ordered_list | Ordered List | Menu |
tools.insert.org.properties | Properties | Menu |
tools.insert.org.scheduled | Scheduled | Menu |
tools.insert.org.subheadline | Subheadline | Menu |
tools.insert.org.table | Table | Menu |
tools.insert.org.time_range | Time Range | Menu |
tools.insert.org.timestamp | Timestamp | Menu |
tools.insert.org.timestamp_repeater | Timestamp Repeater | Menu |
tools.insert.org.title | Title | Menu |
tools.insert.org.todo | TODO | Menu |
tools.insert.sql.alter_role | Alter Role | Menu |
tools.insert.sql.create_extension | Create Extension | Menu |
tools.insert.sql.create_function | Create Function | Menu |
tools.insert.sql.create_table | Create Table | Menu |
tools.insert.sql.create_user | Create User | Menu |
tools.insert.sql.grant_create | Grant Create | Menu |
tools.insert.sql.grant_usage | Grant Usage | Menu |
tools.insert.uuid.v1 | 1 = Unsortable Time Count MAC | Menu |
tools.insert.uuid.v2 | 2 = DCE Security | Menu |
tools.insert.uuid.v3 | 3 = MD5 Name | Menu |
tools.insert.uuid.v4 | 4 = Random | Menu |
tools.insert.uuid.v5 | 5 = SHA-1 Name | Menu |
tools.insert.uuid.v6 | 6 = Sortable Time Count MAC | Menu |
tools.insert.uuid.v7 | 7 = Time + Random | Menu |
tools.insert.uuid.v8 | 8 = Custom Placeholder | Menu |
tools.insert.zid.128 | 128 bit = 32 hex | Menu |
tools.insert.zid.256 | 256 bit = 64 hex | Menu |
tools.insert.zid.512 | 512 bit = 128 hex | Menu |
tools.line_numbers | Toggle Line Numbers | Catalog |
tools.load_coverage_file | Load Coverage File… | Menu |
tools.markdown_preview | Markdown Preview… | Menu |
tools.media_types | Media Types… | Menu |
tools.nerd_palette | Nerd Font Characters… | Menu |
tools.palette | Command Palette | Menu |
tools.pomodoro | Pomodoro… | Menu |
tools.qrcode | QR Code… | Menu |
tools.regex_tester | Regex Tester… | Menu |
tools.run_command | Run Command… | Menu |
tools.snippet_new_from_selection | New Snippet from Selection… | Menu |
tools.snippets | Snippets… | Menu |
tools.system_info | System… | Menu |
tools.tasks | Tasks… | Menu |
tools.terminal | Show/Hide Terminal | Menu |
tools.test | Run Tests | Menu |
tools.test_panel | Toggle Test Panel | Menu |
tools.text_info | Text… | Menu |
tools.todo_finder | Find TODOs… | Menu |
tools.todo_tree | Todo Tree | Menu |
tools.toggle_coverage_gutter | Toggle Coverage Gutter | Menu |
tools.x11_colors | X11 Colors… | Menu |
trim_trailing_whitespace | Trim Trailing Whitespace | Catalog |
tutor.next_chapter | Tutorial: Next Chapter | Catalog |
tutor.prev_chapter | Tutorial: Previous Chapter | Catalog |
tutor.restart_chapter | Tutorial: Restart Chapter | Catalog |
undo | Undo | Catalog |
unhighlight_search | Clear Search Highlight | Catalog |
unsplit | Unsplit | Catalog |
view.auto_pair | Auto-Pair Brackets | Menu |
view.auto_save | Auto Save | Menu |
view.bottom_dock | Show/Hide Bottom Dock | Menu |
view.breadcrumbs | Breadcrumbs | Menu |
view.code_lens | Code Lens | Menu |
view.explorer | Toggle Explorer | Catalog |
view.final_newline_on_save | Final Newline on Save | Menu |
view.focus_other_pane | Other Pane | Menu |
view.format_on_save | Format on Save | Menu |
view.format_on_type | Format on Type | Menu |
view.highlight_word | Highlight Word Occurrences | Menu |
view.inlay_hints | Inlay Hints | Menu |
view.left_dock | Show/Hide Left Dock | Menu |
view.line_numbers | Show/Hide Line Numbers | Menu |
view.menu_tooltips | Toggle Menu Tooltips | Menu |
view.messages | View Messages | Catalog |
view.minimap | Minimap | Menu |
view.outline_dock | Outline Sidebar | Menu |
view.rainbow_brackets | Rainbow Brackets | Menu |
view.read_only | Read-Only | Menu |
view.relative_line_numbers | Relative Line Numbers | Menu |
view.right_dock | Show/Hide Right Dock | Menu |
view.scrollbar | Show/Hide Scroll Bar | Menu |
view.soft_wrap | Show/Hide Soft Wrap | Menu |
view.spellcheck | Toggle Spellcheck | Menu |
view.split_horizontal | Horizontal | Menu |
view.split_vertical | Vertical | Menu |
view.status_bar | Show/Hide Bottom Status | Menu |
view.sticky_scroll | Sticky Scroll | Menu |
view.theme_edit | Edit Theme… | Menu |
view.toggle_explorer_focus | Toggle Explorer Focus | Catalog |
view.toggle_menu | Toggle Menu Bar | Catalog |
view.trim_on_save | Trim Whitespace on Save | Menu |
view.unsplit | Unsplit | Menu |
view.whitespace | Show/Hide Whitespace | Menu |
view.zen | Zen Mode | Menu |
view.zoom_in | Zoom In | Menu |
view.zoom_out | Zoom Out | Menu |
view.zoom_reset | Reset Zoom | Menu |
vim.append | Append After Cursor | Catalog |
vim.append_end | Append at End of Line | Catalog |
vim.insert | Insert Before Cursor | Catalog |
vim.insert_line_start | Insert at Start of Line | Catalog |
vim.open_above | Open Line Above | Catalog |
vim.open_below | Open Line Below | Catalog |
vix.about | About Vix | Menu |
vix.email | Menu | |
vix.export_settings | Export Settings… | Menu |
vix.import_settings | Import Settings… | Menu |
vix.license | License | Menu |
vix.reload_settings | Reload Settings | Menu |
vix.settings | Settings… | Menu |
vix.website | Website | Menu |
vsplit | Split Vertically | Catalog |
word_left | Word Left | Catalog |
word_right | Word Right | Catalog |
workspace.add_folder | Add Folder to Workspace… | Menu |
workspace.open | Open Workspace from File… | Menu |
workspace.save | Save Workspace into File… | Menu |
1021 actions.
Settings Reference
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Every Settings field: its persisted key (the flat TOML key in config.toml), its Rust type, its default value, and its doc comment.
| Key | Type | Default | Description |
|---|---|---|---|
line_numbers | bool | true | Show the line-number gutter. |
relative_line_numbers | bool | false | Show line numbers relative to the cursor line (hybrid: cursor line absolute). |
show_whitespace | bool | false | Render visible glyphs for whitespace (space, tab, line ending). |
soft_wrap | bool | false | Wrap long lines across screen rows instead of scrolling horizontally. |
rainbow_brackets | bool | false | Color matching brackets by nesting depth (rainbow brackets). |
highlight_word | bool | false | Passively highlight every occurrence of the word under the cursor. |
prose_soft_wrap | bool | true | Soft-wrap prose (Markdown and Org files) even when soft_wrap is off, so paragraphs stay readable beside the docks. A file’s language table or modeline can still turn wrapping off. On by default. |
show_explorer | bool | true | Show the file explorer on startup. |
show_messages | bool | true | Show the message drawer on startup. |
show_bottom_dock | bool | true | Show the bottom dock (log/output/data panel). |
show_status_bar | bool | true | Show the bottom status bar. |
show_breadcrumbs | bool | false | Show the breadcrumb bar (file ▸ enclosing symbol) above the editor. |
show_outline_dock | bool | false | Show the code-outline sidebar (symbol list that follows the cursor). |
show_scrollbar | bool | true | Show the editor’s right-side scroll bar. |
show_minimap | bool | false | Show a code-overview minimap column at the right of the editor. |
show_menu_tooltips | bool | true | Show hover tooltips (help text) on the menu bar’s menus and items. |
show_scrollbar_markers | bool | true | Mark the scroll bar track where git changes, diagnostics and search matches are. |
preview_tabs | bool | true | Open single-clicked / arrow-scanned files in an ephemeral preview tab. |
sticky_search_highlight | bool | true | Keep search-match highlights visible after the Find box closes (“sticky” highlights), until they are explicitly toggled off. When false, closing Find clears the highlights. |
ai_diff_review | bool | true | Review AI replace transforms (Annotate / Improve) as an accept/reject diff before applying, instead of overwriting the text immediately. On by default. |
trim_trailing_whitespace | bool | true | On save, strip trailing spaces/tabs from every line. |
ensure_final_newline | bool | true | On save, append a final newline if the file does not end with one. |
format_on_save | bool | false | On save, run the language server’s formatter (when the file has one). |
prettier_languages | Vec<String> | [] | Languages formatted with the user’s own Prettier (T683) by Format Document and format-on-save, instead of the language server. Keys are Prettier language ids (javascript, typescript, json, css, html, markdown, yaml, graphql, handlebars). Empty (opt-in) by default. |
auto_save | AutoSave | "off" | When to save dirty file-backed buffers on their own: "off", "interval" (the active buffer every few seconds) or "focus_lost" (every buffer when the terminal loses focus, T628). The old true / false still load, as "interval" / "off". |
sticky_scroll | bool | true | Pin the enclosing scope’s header line at the top of the editor while scrolling (sticky scroll). |
persistent_undo | bool | true | Persist each file’s undo tree across sessions (restored on reopen when the file content still matches). |
local_history_keep | usize | 50 | How many timestamped snapshots Local History (T720) keeps per file; one is taken on each save that changed the text, and File -> Local History browses them. 0 turns Local History off. |
large_file_mb | u64 | 50 | Ask before opening a file larger than this many megabytes (T571); 0 sets no limit of its own. A file over 500 MiB always asks, with a memory warning, and one over 1 GiB opens in the Large File Viewer (T830). |
read_only_paths | Vec<String> | ["~/.cargo/registry/**","~/.cargo/git/**","~/.rustup/**","/nix/store/**","/opt/homebrew/Cellar/**","/usr/local/Cellar/**","**/node_modules/**","**/site-packages/**"] | Path globs that open read-only (T662): dependency and toolchain sources Go to Definition lands in. ~/ is the home directory and ** spans directories; View → Read Only still unlocks a tab. |
ephemeral_paths | Vec<String> | ["**/.git/**"] | Path globs the session never records (T662), such as Git’s COMMIT_EDITMSG, so they never reopen at a stale cursor. |
editorconfig | bool | true | Apply .editorconfig rules (indent style/size, trim/final-newline on save) for opened files, overriding the global settings per file. On by default. |
modeline_lines | usize | 5 | How many lines at the start and at the end of a file to search for Vim modelines (vim: set ts=4 sw=4 et:); an Emacs -*- … -*- line and Local Variables: block are read too. A modeline overrides the file’s .editorconfig and the settings. 0 turns modelines off. |
auto_pair | bool | true | Auto-insert the matching closer when an opening bracket/quote is typed (and delete both with Backspace inside an empty pair). On by default. |
spellcheck | bool | false | Underline misspelled words in comments and strings. |
restore_session | bool | true | Reopen the previous session (open files, focused tab, cursor positions) when Vix is launched in a workspace with no file given on the command line. The session is saved per workspace root in session.toml. |
show_welcome_dialog | bool | true | Show the welcome dialog on launch. Vix sets it to false and saves the settings as soon as the dialog has been shown once, so it appears on the first run only; set it back to true to see it again. |
hot_exit | bool | true | Hot exit (T629): back up each unsaved buffer to <config>/backup/ while idle and on quit, and offer the backup (with a diff) when the file is next opened. A clean save deletes the backup. |
lsp_enabled | bool | true | Master switch for Language Server Protocol features (diagnostics, hover, go-to-definition, completion). When off, no servers are launched. |
modal_engine | bool | true | Use vix-modal‘s real mode engine (Normal/Insert/Visual/Visual Line, composable operators, counts, registers, text objects, dot-repeat) for the Vi and Spacemacs keymaps’ Normal-mode vocabulary, instead of the original flat binding table. On by default since T115 shipped the full v1 slice (improvement plan T112–T115); a few real-Vim nuances are still deliberately unimplemented (see crates/vix-modal/spec/index.md’s own § Rollout and its T112–T115 status notes) — turn this off to fall back to the original table if one of them matters to you. |
inline_blame | bool | false | Show the git blame for the cursor’s line inline (dimmed, end of line). Off by default; toggle via Git → Toggle Inline Blame. |
code_lens | bool | true | Draw code lenses – a language server’s “Run | Debug | 3 references” and local “Run test” – as dimmed rows above their lines. |
document_colors | bool | true | Draw a ■ swatch for each color a language server reports (textDocument/documentColor, T621). |
lsp_auto_complete | bool | true | Request LSP completion automatically while typing an identifier or a server trigger character (debounced), instead of only on Ctrl+Space. On by default. |
format_on_type | bool | false | Ask the language server to format as you type (T624): after a character the server lists in documentOnTypeFormattingProvider (such as ;, } or Enter), send textDocument/onTypeFormatting and apply the returned edits. Off by default. |
bell_on_command_done | bool | false | Ring the terminal bell (\x07) when a background command started via run_command_in (Project → Compile/Run/Test, “Run shell command”, …) finishes — audible (or, on terminals configured for a visual bell, visible) to someone not looking at the screen when it happens, sighted or not. Off by default: opt-in, so it never surprises someone who didn’t ask for it. |
explorer_delete | String | "trash" | How the file explorer’s Delete acts: "trash" (default — move to the OS trash/Recycle Bin, undoable from there) or "hard" (remove outright, fs::remove_file/remove_dir_all, no undo). Any other value falls back to "trash", the safer default, rather than silently hard-deleting on a typo. |
review_view | String | "inline" | How a branch review (T665) opens: "inline" (default, one unified diff buffer) or "side_by_side" (old text left, new text right). Any other value means "inline". Git → Review Two-Pane View (or v in the review) switches the open review without changing this. |
remote_agent | String | "installed" | Whether a remote (SSH or container) workspace uses the Vix remote agent (T717), which answers file operations over one connection instead of one shell command each: "installed" (default — use a vix of exactly this version already on the remote machine, on its PATH or in ~/.cache/vix/agent/<version>/, and never upload one), "upload" (also copy this vix there when it has none and the remote operating system and machine match; the copy’s SHA-256 is checked on the remote side before it is made executable) or "off" (shell commands only). Any other value behaves as "installed". |
git_gutter_base | String | "head" | What the editor’s change gutter compares against (T664): "head" (default), "index" (staged hunks stop being marked), "disk" (marks exactly the unsaved edits) or "branch:<name>". Anything else is treated as "head". Git → Change Gutter Base… sets it. |
smart_commit | String | "ask" | What Git → Commit does when nothing is staged but the tree has changes (T577): "ask" (default — confirm, then git add -A), "always" (stage everything without asking) or "never" (refuse). Any other value behaves as "ask". |
oc_engine | String | "auto" | Which container engine the OC menu drives (T701): "auto" (default – the first of docker, podman, nerdctl on PATH) or one of those names. A named engine that is not installed falls back to the auto order; any other value behaves as "auto". |
oc_mode | String | "full" | What the OC menu may do (T701): "full" (default) or "read-only", which allows only listing, inspecting and viewing logs and refuses start/stop/remove/run/build/push/prune and every other change. Any other value behaves as "read-only", the safer reading. |
clipboard_provider | String | "auto" | How copy/paste reach the clipboard (T625): "auto" (default — OSC 52 over SSH, i.e. when SSH_TTY/SSH_CONNECTION is set, or when the system clipboard errors; the system clipboard otherwise), "system" (the system clipboard only) or "osc52" (always write the OSC 52 terminal escape, wrapped for tmux under TMUX). Under OSC 52, paste reads Vix’s internal register. Any other value behaves as "auto". |
inline_diagnostics | String | "cursor-line" | Which lines show their LSP diagnostic as dimmed end-of-line text (T614): "off", "cursor-line" (default — the cursor’s line only) or "all". Any other value behaves as "cursor-line". The status line shows the cursor’s diagnostic whatever this is set to. |
inline_completion | String | "off" | Where inline ghost-text suggestions come from (T618): "off" (default), "lsp" (textDocument/inlineCompletion from a language server) or "ai" (a fill-in-the-middle prompt to the configured AI provider, which sends the text around the cursor to it). Tab accepts, Ctrl+Right takes one word, Esc dismisses. Any other value behaves as "off". |
bottom_dock_height | u16 | 9 | Height (rows) of the bottom dock; drag its top edge to resize. |
scrollback | usize | 1000 | Maximum lines retained in the bottom dock (scrollback); oldest dropped past this. |
terminal_scrollback | usize | 2000 | Lines of scrollback each integrated terminal keeps (T631; default 2000, at most 50000 whatever is set; 0 turns it off). Read when a terminal opens. A cell is about 36 bytes, so 2000 lines of 120 columns is roughly 9 MB per terminal. |
indent_style | String | "spaces" | Indentation inserted by Tab: "spaces" (default) or "tabs". |
tab_width | usize | 4 | Number of spaces per indent when indent_style is "spaces". |
wrap_column | usize | 80 | Column that Edit → Wrap hard-wraps (fills) text at. |
theme | String | "dark" | Color theme: "dark" (default), "light", the name of a custom theme, or "auto" to follow the terminal’s light/dark background (T579). |
theme_light | String | "light" | The theme theme = "auto" picks on a light terminal (default "light"). |
theme_dark | String | "dark" | The theme theme = "auto" picks on a dark terminal, or when the background can’t be detected (default "dark"). |
locale | String | "en" | UI language as a locale code (e.g. "en", "es", "fr", "de", "cy"). Used as the default; a --locale CLI flag overrides it for one run. |
bidi | String | "auto" | Right-to-left text reordering (UAX #9) of the drawn screen: "auto" (default; on when the UI language is right-to-left, e.g. Arabic), "on", or "off" for terminals that already reorder bidirectional text (T564). |
mirror_layout | String | "auto" | Mirror the layout for right-to-left languages (docks and the editor’s scroll bar swap sides): "auto" (default; on when the UI language is right-to-left), "on" or "off" (T564). |
keymap | String | "apple" | Keyboard navigation style id: "apple" (default), "vscode", "emacs", or "vi". |
explorer_width | u16 | 24 | Width (columns) of the left dock (file explorer); drag its right edge to resize. |
messages_width | u16 | 26 | Width (columns) of the right dock (message drawer); drag its left edge to resize. |
outline_width | u16 | 28 | Width (columns) of the code-outline sidebar. |
debug_width | u16 | 36 | Width (columns) of the debugger panel (call stack / variables / watch). |
recent_files | Vec<String> | [] | Recently opened files, most-recent first (absolute paths). Capped to recent_files_max; surfaced by File → Open Recent…. |
recent_files_max | usize | 15 | How many entries to keep in recent_files. |
command_recents | Vec<String> | [] | Action ids of commands recently run from the command palette, most-recent first; surfaced at the top of the > command list. |
dictionary_path | String | "" | Extra directory to search for Hunspell dictionaries, on top of the autodetected standard locations. Empty = autodetect only. Both the <dir>/<name>.{aff,dic} and <dir>/<name>/index.{aff,dic} layouts work. |
lsp_servers | Vec<LspServer> | [] | Configured language servers, matched to files by extension. Each entry is a language id (sent to the server), the file extensions it handles, and the command (program + args) to launch. Empty by default: in a trusted workspace Vix starts well-known servers it finds on PATH (rust-analyzer, gopls, pyright, clangd, …) anyway, and an entry for an extension replaces the built-in for it, e.g. { language_id = "rust", extensions = ["rs"], command = ["rust-analyzer"] }. |
contacts_dir | String | "" | Directory of vCard (.vcf) files for the contact browser (Tools → Contacts…). Empty = use the workspace root. |
org_capture_templates | Vec<CaptureTemplate> | [{"clock_in":false,"description":"Anything","empty_lines":0,"entry_type":"entry","immediate_finish":true,"key":"a","prepend":false,"target":"cursor","template":"* TODO %^{Task}"},{"clock_in":false,"description":"Task","empty_lines":0,"entry_type":"entry","immediate_finish":false,"key":"t","prepend":false,"target":"cursor","template":"* TODO "},{"clock_in":false,"description":"Babel","empty_lines":0,"entry_type":"plain","immediate_finish":false,"key":"b","prepend":false,"target":"cursor","template":"#+begin_src %^{Language}\n%?\n#+end_src"},{"clock_in":false,"description":"Note","empty_lines":0,"entry_type":"entry","immediate_finish":true,"key":"n","prepend":false,"target":"cursor","template":"* %^{Note}\n %U"},{"clock_in":false,"description":"Contact","empty_lines":0,"entry_type":"entry","immediate_finish":true,"key":"c","prepend":false,"target":"cursor","template":"* %^{Name}\n :PROPERTIES:\n :EMAIL: %^{Email}\n :PHONE: %^{Phone}\n :ADDRESS: %^{Address}\n :BIRTHDAY: %^{Birthday}\n :NICKNAME: %^{Nickname}\n :NOTE: %^{Note}\n :END:"}] | Org-capture templates for the Org → Capture submenu: named, placeholder-driven templates filed at a cursor/id/file/headline/ datetree target. Seeded with five by default (Anything, Task, Babel, Note, Contact; see default_capture_templates); see the vix-org-capture crate and crates/vix-org-capture/spec/index.md. |
org_priority_highest | char | "0" | Highest-priority character for a headline’s [#X] priority cookie (Org → Priority). “Highest” sorts first — Vix’s default is numeric ('0' highest .. '9' lowest), unlike Emacs’s default 'A'..'C'. |
org_priority_lowest | char | "9" | Lowest-priority character; see org_priority_highest. |
org_priority_default | char | "0" | Priority given to a headline that had no cookie yet, by Org → Priority → Increase/Decrease. |
org_agenda_files | Vec<String> | [] | The Org agenda’s explicit file list (workspace-relative paths), managed by Org → Agenda → File List. Empty (the default) means every .org file in the project — the pre-list behavior. |
time_zone | String | "UTC" | Active time zone as an IANA canonical name (e.g. "UTC", "America/New_York"). Chosen via Tools → Time Zone…; used app-wide (e.g. the clock panel). |
calendar_first_weekday | String | "monday" | The day the calendar box’s weeks start on (T797): "monday" (default) through "sunday", or a three-letter abbreviation, in any case. It is independent of the UI language. Missing from older config files, it keeps the Monday start; any other value behaves as "monday". |
ai | String | "on" | The AI optional switch (T730): "on" (default) or "off". Off hides the AI menu and every AI palette entry and refuses every AI request at run time — the AI menu’s actions, the chat panel, the generated commit message and the DB workbench assistant — so no prompt ever leaves Vix. It needs no rebuild (the ai Cargo feature is the build-time switch). Any value other than "on" counts as "off", failing closed. See [Settings::ai_enabled]. |
ai_command | String | "claude -p {prompt}" | Command template the AI menu runs over editor text. The placeholder {prompt} is replaced with the action’s instruction; if the template also contains {file} it is replaced with the path of a temp file holding the input text, otherwise that file is redirected to the command’s stdin. This lets you point the AI menu at any CLI assistant — claude (default), codex, mistral, ollama run …, etc. See [Settings::ai_command_line]. |
ai_provider | String | "cli" | Which backend the AI menu, chat panel, and DB workbench assistant use. "cli" (default) shells out to ai_command, unchanged since the AI features first shipped — no API key for Vix to hold. "anthropic", "openai", or "ollama" instead call that provider’s HTTP API directly via the vix-ai-core crate, using ai_endpoint/ai_model and a keyring-backed API key (see ai_api_key_command and crates/vix-ai-core/spec/index.md). An unrecognized value falls back to "cli". |
ai_endpoint | String | "" | HTTP provider endpoint override (T124); empty uses the provider’s own default (e.g. Anthropic’s public Messages API, or http://localhost:11434/api/generate for Ollama; an override must be the full URL). Ignored when ai_provider is "cli". |
ai_model | String | "" | HTTP provider model id override (T124); empty uses the provider’s own default. Ignored when ai_provider is "cli". |
ai_api_key_command | String | "" | Command whose stdout is the HTTP provider’s API key (T124), tried before the OS keyring — the same shape as vix-db’s password_command (e.g. "pass show anthropic-api-key"). Ignored for ai_provider = "cli"; optional for "ollama" (a local server needs no key by default). |
ai_agents | Vec<String> | [] | Agent Client Protocol coding agents (T635): each entry is a command line (split on whitespace, run without a shell), e.g. "gemini --experimental-acp". AI → Start Agent starts it (or asks which, when several are listed), and only in a trusted workspace. Empty by default. See crates/vix-acp/spec/index.md. |
debug_adapters | Vec<DebugAdapter> | [] | Configured debug adapters (DAP), matched to files by extension, each with optional launch and attach argument tables. Empty by default — add the adapters you have installed. |
test_command | String | "cargo test" | Command run by Tools → Run Tests, whose output is parsed into a pass/fail tree (e.g. cargo test, pytest -v, npm test). |
project_snippets | String | "config/snippets/snippets.json" | Project snippet file, relative to the project root. Loaded alongside the global and media-type snippet files. See the vix-snippets crate spec. |
coverage_path | String | "" | Default path to a coverage report (LCOV or Cobertura XML), pre-filled in the Tools → Load Coverage File… prompt. Empty means no default; Vix never generates a coverage report itself. See the vix-coverage crate spec. |
test_width | u16 | 40 | Width (columns) of the test-results panel. |
db_connections | Vec<Connection> | [] | Saved database connections for the DB menu (the vix-db crate spec). Passwords are never stored here; they are prompted for per session. |
db_environments | std::collections::BTreeMap<String, Environment> | {} | The environment of each saved database connection, by connection name (T781): a [db_environments] table such as prod = "production". Values are local, development, testing, staging or production; a connection with no entry is local. Production connections confirm every write, even inside a transaction. Managed by the DB workbench’s connection form. |
db_mcp_shared | std::collections::BTreeMap<String, bool> | {} | Which saved database connections vix --mcp shares with MCP clients (T783), by connection name: a [db_mcp_shared] table such as app = true. A connection with no entry, or false, is not shared and does not exist for MCP clients. Shared connections are opened read-only, with credentials from password_command or the OS keyring only. Managed by the DB workbench’s connection form. |
im.nick | String | "" | Your nick. Empty (the default) uses the operating system’s user name. |
im.notify | String | "mentions" | When a new message raises a notification: "all", "mentions" (default) or "off". Any other value behaves as "mentions". |
im.history | String | "session" | Where messages are kept: "session" (default; memory only) or "disk" (JSONL per conversation under the platform data directory). |
im.history_days | u32 | 30 | With history = "disk", how many days of messages to keep. |
im.blocked | Vec<String> | [] | Nicks whose messages and mentions are hidden. |
im.accounts | Vec<ImAccount> | [] | IRC and Matrix accounts for IM → Connect…, as [[im.accounts]] tables. |
im.matrix_helper | String | "" | The vix-matrix helper program for Matrix accounts. Empty (the default) looks for vix-matrix beside the vix executable, then on PATH. |
jupyter_confirm_evaluate | String | "untrusted" | When running an Org src block in a Jupyter kernel asks first (T734f, spec/jupyter): "untrusted" (the default) asks before a block’s first run in a session unless the workspace is trusted, and always for a file outside the workspace; "always" asks before every block run; "never" never asks. A block’s own :eval query still asks and :eval never still refuses. Any other value behaves as "untrusted". Only read in a build with the jupyter capability. |
jupyter_kernels | std::collections::BTreeMap<String, String> | {} | Which Jupyter kernelspec runs each language (T734c, spec/jupyter): a [jupyter_kernels] table of language → kernelspec name, such as python = "python3". Run → Jupyter → Run uses it when no kernel for the language is running yet. Languages are matched lowercased, and an ob-jupyter style jupyter-python key means python. Empty (the default) picks the first installed kernelspec for the language. Only read in a build with the jupyter capability. |
languages | std::collections::BTreeMap<String, toml::Table> | {} | Per-language overrides (T627): a [languages.<id>] table of partial settings for each of Vix’s language ids (rust, python, markdown, …), applied over everything else for a buffer in that language by Settings::for_language. Only the keys in LANGUAGE_KEYS take effect. |
111 settings.
Crate Layers
Generated by cargo run --example list_commands -- --write (T833) from
cargo metadata; do not edit by hand. scripts/check fails when it is stale.
A crate’s layer is the longest chain of workspace dependencies below it:
layer 0 crates depend on no other workspace crate, and every crate depends
only on crates in lower layers. Dependencies are the direct normal and build
dependencies on other workspace members (dev-dependencies do not count);
dependents is how many members depend on the crate directly. The rules this
graph must keep are in the architecture overview,
enforced by tui/tests/crate_layering.rs.
| Layer | Crates |
|---|---|
| 5 | 1 |
| 4 | 2 |
| 3 | 19 |
| 2 | 9 |
| 1 | 54 |
| 0 | 64 |
Layer 5 (1 crate)
| Crate | Layer | Direct workspace dependencies | Dependents |
|---|---|---|---|
vix-tui | 5 | vix-acp, vix-action-catalog, vix-affix, vix-ai-agents, vix-ai-core, vix-ai-diff, vix-ai-panel, vix-align, vix-ascii-character-picker, vix-authority, vix-base-tool, vix-base16, vix-base64-tool, vix-bottom-dock, vix-byte-size, vix-calculator-tool, vix-calendar-panel, vix-case, vix-checksum-tool, vix-choice-list, vix-clipboard, vix-clock-panel, vix-color-converter-tool, vix-column-view, vix-conflict-tool, vix-contact-panel, vix-convert-from-csv-into-json-tool, vix-convert-from-csv-into-tsv-tool, vix-convert-from-html-into-markdown-tool, vix-convert-from-json-into-csv-tool, vix-convert-from-json-into-toml-tool, vix-convert-from-json-into-tsv-tool, vix-convert-from-json-into-yaml-tool, vix-convert-from-markdown-into-html-tool, vix-convert-from-toml-into-json-tool, vix-convert-from-tsv-into-csv-tool, vix-convert-from-tsv-into-json-tool, vix-convert-from-yaml-into-json-tool, vix-convert-tabular, vix-coverage, vix-cowork, vix-cowork-net, vix-dap, vix-db, vix-diff-view, vix-doctor, vix-edit-bytes, vix-edit-outline, vix-edit-sql, vix-edit-table, vix-edit-value, vix-editor, vix-editor-core, vix-editorconfig, vix-emmet, vix-encoding, vix-fhir, vix-file-browser-panel, vix-file-information-panel, vix-fileops, vix-find-panel, vix-format-tool, vix-git, vix-git-graph, vix-hl7, vix-html-character-picker, vix-http-client, vix-i18n, vix-im, vix-im-irc, vix-im-panel, vix-input, vix-jupyter, vix-jwt-tool, vix-keybinding-editor-panel, vix-keybindings, vix-keyboard-shortcut-panel, vix-keymap-model, vix-large-file, vix-left-dock, vix-list-state, vix-locale-model, vix-lorem, vix-lsp, vix-lsp-core, vix-macros, vix-markdown-preview, vix-matrix-protocol, vix-mcp-server, vix-media-type, vix-menu, vix-modal, vix-nerd-font-picker, vix-oci, vix-oci-panel, vix-org, vix-org-capture, vix-org-contacts, vix-org-table, vix-outline-panel, vix-palette, vix-pomodoro-tool, vix-project-env, vix-qr-tool, vix-regex-tool, vix-review, vix-right-dock, vix-roam, vix-script, vix-session, vix-settings, vix-settings-bundle, vix-snippet-tool, vix-snippets, vix-spellcheck, vix-status-bar-panel, vix-structural-replace, vix-system-information-panel, vix-tags, vix-tasks, vix-terminal, vix-test-runner, vix-text-information-panel, vix-textops, vix-theme, vix-theme-editor-panel, vix-theme-model, vix-time-zone-model, vix-todo-tree, vix-tutor, vix-undo-store, vix-undo-tree-panel, vix-unit-converter-tool, vix-url-tool, vix-uuid-tool, vix-vcard-panel, vix-vcard-parser, vix-welcome-panel, vix-workspace, vix-workspace-dashboard-panel, vix-workspace-search, vix-x11-color-picker, vix-zid-tool | 0 |
Layer 4 (2 crates)
| Crate | Layer | Direct workspace dependencies | Dependents |
|---|---|---|---|
vix-fhir | 4 | vix-http-client, vix-list-state | 1 |
vix-script | 4 | vix-git, vix-macros | 1 |
Layer 3 (19 crates)
| Crate | Layer | Direct workspace dependencies | Dependents |
|---|---|---|---|
vix-coverage | 3 | vix-authority | 1 |
vix-dap | 3 | vix-authority, vix-lsp-core, vix-settings | 1 |
vix-db | 3 | vix-clipboard, vix-fileops, vix-i18n, vix-input, vix-list-state, vix-settings, vix-theme | 1 |
vix-doctor | 3 | vix-i18n, vix-settings, vix-spellcheck | 1 |
vix-editor | 3 | vix-authority, vix-editor-core, vix-encoding, vix-fileops, vix-textops, vix-theme | 1 |
vix-editorconfig | 3 | vix-authority | 1 |
vix-file-browser-panel | 3 | vix-authority, vix-list-state, vix-palette | 1 |
vix-format-tool | 3 | vix-authority | 1 |
vix-git | 3 | vix-authority, vix-civil-date, vix-list-state | 2 |
vix-git-graph | 3 | vix-authority, vix-list-state | 1 |
vix-http-client | 3 | vix-authority | 2 |
vix-left-dock | 3 | vix-authority, vix-list-state | 1 |
vix-lsp | 3 | vix-authority, vix-lsp-core, vix-project-env, vix-settings | 1 |
vix-org-capture | 3 | vix-settings | 1 |
vix-settings-bundle | 3 | vix-settings, vix-theme-model | 1 |
vix-snippets | 3 | vix-list-state, vix-settings, vix-snippet-tool | 1 |
vix-tasks | 3 | vix-authority | 1 |
vix-undo-store | 3 | vix-editor-core, vix-fileops, vix-settings | 1 |
vix-workspace | 3 | vix-authority | 1 |
Layer 2 (9 crates)
| Crate | Layer | Direct workspace dependencies | Dependents |
|---|---|---|---|
vix-ai-agents | 2 | vix-fileops | 1 |
vix-authority | 2 | vix-fileops | 14 |
vix-column-view | 2 | vix-input, vix-org | 1 |
vix-macros | 2 | vix-fileops, vix-input | 2 |
vix-markdown-preview | 2 | vix-outline-panel | 1 |
vix-mcp-server | 2 | vix-conflict-tool, vix-lsp-core, vix-org, vix-textops | 1 |
vix-oci-panel | 2 | vix-input, vix-list-state, vix-oci | 1 |
vix-session | 2 | vix-fileops | 1 |
vix-settings | 2 | vix-fileops | 9 |
Layer 1 (54 crates)
| Crate | Layer | Direct workspace dependencies | Dependents |
|---|---|---|---|
vix-ai-panel | 1 | vix-greedy-wrap | 1 |
vix-ascii-character-picker | 1 | vix-list-state | 1 |
vix-base16 | 1 | vix-hex-rgb, vix-theme-model | 1 |
vix-calendar-panel | 1 | vix-i18n | 1 |
vix-choice-list | 1 | vix-list-state | 1 |
vix-clock-panel | 1 | vix-time-zone-model | 1 |
vix-conflict-tool | 1 | vix-list-state | 2 |
vix-contact-panel | 1 | vix-list-state | 1 |
vix-convert-from-csv-into-json-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-csv-into-tsv-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-html-into-markdown-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-json-into-csv-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-json-into-toml-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-json-into-tsv-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-json-into-yaml-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-markdown-into-html-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-toml-into-json-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-tsv-into-csv-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-tsv-into-json-tool | 1 | vix-convert-tabular | 1 |
vix-convert-from-yaml-into-json-tool | 1 | vix-convert-tabular | 1 |
vix-cowork-net | 1 | vix-cowork | 1 |
vix-edit-bytes | 1 | vix-capped-stack, vix-input, vix-list-state | 1 |
vix-edit-outline | 1 | vix-capped-stack, vix-input, vix-list-state | 1 |
vix-edit-sql | 1 | vix-capped-stack, vix-input, vix-list-state | 1 |
vix-edit-table | 1 | vix-capped-stack, vix-convert-tabular, vix-input | 1 |
vix-edit-value | 1 | vix-capped-stack, vix-input, vix-list-state | 1 |
vix-editor-core | 1 | vix-clipboard, vix-hex-rgb, vix-input | 3 |
vix-file-information-panel | 1 | vix-byte-size, vix-civil-date, vix-i18n, vix-list-state | 1 |
vix-fileops | 1 | vix-encoding | 9 |
vix-hl7 | 1 | vix-list-state | 1 |
vix-html-character-picker | 1 | vix-list-state | 1 |
vix-im-irc | 1 | vix-civil-date | 1 |
vix-im-panel | 1 | vix-im, vix-input, vix-list-state | 1 |
vix-jupyter | 1 | vix-jupyter-core | 1 |
vix-large-file | 1 | vix-input | 1 |
vix-media-type | 1 | vix-list-state | 1 |
vix-menu | 1 | vix-i18n, vix-keymap-model, vix-locale-model, vix-time-zone-model | 1 |
vix-modal | 1 | vix-textops | 1 |
vix-oci | 1 | vix-civil-date | 2 |
vix-org | 1 | vix-civil-date | 3 |
vix-outline-panel | 1 | vix-list-state | 2 |
vix-palette | 1 | vix-i18n, vix-textops | 2 |
vix-review | 1 | vix-diff-view | 1 |
vix-system-information-panel | 1 | vix-byte-size, vix-i18n, vix-list-state | 1 |
vix-terminal | 1 | vix-input, vix-project-env | 1 |
vix-text-information-panel | 1 | vix-i18n | 1 |
vix-theme | 1 | vix-theme-model | 3 |
vix-theme-editor-panel | 1 | vix-list-state, vix-theme-model | 1 |
vix-todo-tree | 1 | vix-list-state, vix-textops | 1 |
vix-undo-tree-panel | 1 | vix-list-state | 1 |
vix-vcard-panel | 1 | vix-list-state, vix-vcard-parser | 1 |
vix-welcome-panel | 1 | vix-greedy-wrap | 1 |
vix-workspace-search | 1 | vix-find-panel, vix-i18n | 1 |
vix-x11-color-picker | 1 | vix-list-state | 1 |
Layer 0 (64 crates)
| Crate | Layer | Direct workspace dependencies | Dependents |
|---|---|---|---|
vix-acp | 0 | none | 1 |
vix-action-catalog | 0 | none | 1 |
vix-affix | 0 | none | 1 |
vix-ai-core | 0 | none | 1 |
vix-ai-diff | 0 | none | 1 |
vix-align | 0 | none | 1 |
vix-base-tool | 0 | none | 1 |
vix-base64-tool | 0 | none | 1 |
vix-bottom-dock | 0 | none | 1 |
vix-byte-size | 0 | none | 3 |
vix-calculator-tool | 0 | none | 1 |
vix-capped-stack | 0 | none | 5 |
vix-case | 0 | none | 1 |
vix-checksum-tool | 0 | none | 1 |
vix-civil-date | 0 | none | 5 |
vix-clipboard | 0 | none | 3 |
vix-color-converter-tool | 0 | none | 1 |
vix-convert-tabular | 0 | none | 14 |
vix-cowork | 0 | none | 2 |
vix-diff-view | 0 | none | 2 |
vix-emmet | 0 | none | 1 |
vix-encoding | 0 | none | 3 |
vix-find-panel | 0 | none | 2 |
vix-greedy-wrap | 0 | none | 2 |
vix-hex-rgb | 0 | none | 2 |
vix-i18n | 0 | none | 10 |
vix-im | 0 | none | 2 |
vix-input | 0 | none | 14 |
vix-jupyter-core | 0 | none | 1 |
vix-jwt-tool | 0 | none | 1 |
vix-keybinding-editor-panel | 0 | none | 1 |
vix-keybindings | 0 | none | 1 |
vix-keyboard-shortcut-panel | 0 | none | 1 |
vix-keymap-model | 0 | none | 2 |
vix-list-state | 0 | none | 29 |
vix-locale-model | 0 | none | 2 |
vix-lorem | 0 | none | 1 |
vix-lsp-core | 0 | none | 4 |
vix-matrix-protocol | 0 | none | 1 |
vix-nerd-font-picker | 0 | none | 1 |
vix-org-contacts | 0 | none | 1 |
vix-org-table | 0 | none | 1 |
vix-pomodoro-tool | 0 | none | 1 |
vix-project-env | 0 | none | 3 |
vix-qr-tool | 0 | none | 1 |
vix-regex-tool | 0 | none | 1 |
vix-right-dock | 0 | none | 1 |
vix-roam | 0 | none | 1 |
vix-snippet-tool | 0 | none | 2 |
vix-spellcheck | 0 | none | 2 |
vix-status-bar-panel | 0 | none | 1 |
vix-structural-replace | 0 | none | 1 |
vix-tags | 0 | none | 1 |
vix-test-runner | 0 | none | 1 |
vix-textops | 0 | none | 6 |
vix-theme-model | 0 | none | 5 |
vix-time-zone-model | 0 | none | 3 |
vix-tutor | 0 | none | 1 |
vix-unit-converter-tool | 0 | none | 1 |
vix-url-tool | 0 | none | 1 |
vix-uuid-tool | 0 | none | 1 |
vix-vcard-parser | 0 | none | 2 |
vix-workspace-dashboard-panel | 0 | none | 1 |
vix-zid-tool | 0 | none | 1 |
Quality Metrics
Generated by cargo run --example list_commands -- --write (T833) from the
source tree; do not edit by hand. scripts/check fails when it is stale.
Every number here is read from the files as text, with comments and the
contents of string literals skipped: no build, no test run, no network. So
the page is the same on every machine for a given commit, and a change
that adds tests, translations or allowlist entries shows up in its diff.
The counts are a scan, not the compiler’s view: a test generated by a
macro other than proptest! is not counted, and lines include blank
lines and comments.
Line counts are rounded so that an ordinary edit leaves this page
unchanged: the summary’s line totals to the nearest 1,000 and the
per-crate src and tests columns to the nearest 100, halves up (a
count that would round to 0 but is not shows as <500 or <50).
Every other number (crates, tests, keys, allowlist entries) is exact.
Summary
| Metric | Value |
|---|---|
Workspace crates (tui/ and crates/) | 149 |
Desktop GUI crates (gui/) | 7 |
Lines of Rust in src/ | 345,000 |
Lines of Rust in tests/ | 64,000 |
Lines of Rust elsewhere (benches/, examples/, build.rs) | 5,000 |
Test functions (#[test], #[tokio::test]) | 7,094 |
Property tests (#[test] in proptest!) | 133 in 60 blocks |
Fuzz targets (fuzz/fuzz_targets/) | 18 |
Criterion benchmark files (benches/) | 7 |
Ignored tests (#[ignore]) | 8 (none in flaky quarantine) |
Lint suppressions in src/ (allow/expect attributes) | 172 |
Translation keys (crates/vix-i18n/locales/) | 4,166 in 12 files |
Crates per layer
A crate’s layer is the longest chain of workspace dependencies below it; each crate is listed in Crate Layers.
| Layer | Crates |
|---|---|
| 5 | 1 |
| 4 | 2 |
| 3 | 19 |
| 2 | 9 |
| 1 | 54 |
| 0 | 64 |
Translations
4,166 keys; a locale missing a key falls back to en. Locales with only a
few keys are deliberate partial catalogs.
| Locale | Keys | Missing | Complete |
|---|---|---|---|
ar | 4,166 | 0 | 100.0% |
bn | 4,166 | 0 | 100.0% |
cy | 4,166 | 0 | 100.0% |
de | 4,166 | 0 | 100.0% |
en | 4,166 | 0 | 100.0% |
es | 4,166 | 0 | 100.0% |
fr | 4,166 | 0 | 100.0% |
ga | 4,166 | 0 | 100.0% |
gd | 4,166 | 0 | 100.0% |
hi | 4,166 | 0 | 100.0% |
ja | 4,166 | 0 | 100.0% |
pl | 4,166 | 0 | 100.0% |
pt | 4,166 | 0 | 100.0% |
ru | 4,166 | 0 | 100.0% |
zh | 4,166 | 0 | 100.0% |
tlh | 21 | 4,145 | 0.5% |
sjn | 19 | 4,147 | 0.4% |
el | 16 | 4,150 | 0.3% |
fa | 16 | 4,150 | 0.3% |
id | 16 | 4,150 | 0.3% |
it | 16 | 4,150 | 0.3% |
ko | 16 | 4,150 | 0.3% |
nl | 16 | 4,150 | 0.3% |
th | 16 | 4,150 | 0.3% |
tr | 16 | 4,150 | 0.3% |
uk | 16 | 4,150 | 0.3% |
vi | 16 | 4,150 | 0.3% |
Allowlists
Each entry is an exception someone wrote down with a reason; a growing count is worth a look.
| Allowlist | Entries | Where |
|---|---|---|
| Files that may print | 4 (17 print macros) | PRINT_ALLOWED in tui/tests/code_lints.rs |
| Untranslated message-sink literals | 0 | SINK_ALLOWED in tui/tests/code_lints.rs |
| Files that may hold secret-shaped text | 0 | allow lines in scripts/secret-patterns |
| Equivalent mutants | 14 | exclude_re in .cargo/mutants.toml |
| Ignored security advisories | 3 | [advisories] ignore in deny.toml |
Per crate
src and tests are lines of Rust under src/ (in-file
#[cfg(test)] modules included) and tests/, rounded to the nearest
100; test fns counts every
file of the crate, property tests included.
| Crate | src | tests | Test fns | Property tests | Ignored |
|---|---|---|---|---|---|
vix-acp | 2,700 | 300 | 48 | 0 | 0 |
vix-action-catalog | 1,100 | 0 | 4 | 0 | 0 |
vix-affix | 100 | 0 | 3 | 0 | 0 |
vix-ai-agents | 1,700 | 0 | 21 | 0 | 0 |
vix-ai-core | 800 | 200 | 30 | 0 | 0 |
vix-ai-diff | 300 | 0 | 9 | 0 | 0 |
vix-ai-panel | 200 | 0 | 4 | 0 | 0 |
vix-align | 100 | 0 | 4 | 0 | 0 |
vix-ascii-character-picker | 300 | 0 | 5 | 0 | 0 |
vix-authority | 8,900 | 4,500 | 195 | 7 | 0 |
vix-base-tool | 200 | 0 | 6 | 0 | 0 |
vix-base16 | 200 | 0 | 3 | 0 | 0 |
vix-base64-tool | 100 | 0 | 6 | 2 | 0 |
vix-bottom-dock | 300 | 0 | 5 | 0 | 0 |
vix-byte-size | 200 | 0 | 7 | 0 | 0 |
vix-calculator-tool | 300 | 0 | 10 | 2 | 0 |
vix-calendar-panel | 600 | 0 | 12 | 0 | 0 |
vix-capped-stack | 100 | 0 | 4 | 0 | 0 |
vix-case | 200 | 0 | 5 | 0 | 0 |
vix-checksum-tool | 100 | 0 | 5 | 0 | 0 |
vix-choice-list | 200 | 0 | 4 | 0 | 0 |
vix-civil-date | 200 | 0 | 5 | 0 | 0 |
vix-clipboard | 400 | 100 | 8 | 0 | 0 |
vix-clock-panel | 300 | 0 | 5 | 0 | 0 |
vix-color-converter-tool | 600 | 0 | 8 | 0 | 0 |
vix-column-view | 1,400 | 0 | 27 | 0 | 0 |
vix-conflict-tool | 500 | 0 | 21 | 0 | 0 |
vix-contact-panel | 100 | 0 | 2 | 0 | 0 |
vix-convert-from-csv-into-json-tool | <50 | 0 | 1 | 0 | 0 |
vix-convert-from-csv-into-tsv-tool | <50 | 0 | 1 | 0 | 0 |
vix-convert-from-html-into-markdown-tool | <50 | 0 | 3 | 1 | 0 |
vix-convert-from-json-into-csv-tool | <50 | 0 | 2 | 0 | 0 |
vix-convert-from-json-into-toml-tool | 100 | 0 | 4 | 1 | 0 |
vix-convert-from-json-into-tsv-tool | <50 | 0 | 2 | 0 | 0 |
vix-convert-from-json-into-yaml-tool | 100 | 0 | 5 | 1 | 0 |
vix-convert-from-markdown-into-html-tool | 100 | 0 | 3 | 1 | 0 |
vix-convert-from-toml-into-json-tool | <50 | 0 | 3 | 1 | 0 |
vix-convert-from-tsv-into-csv-tool | <50 | 0 | 1 | 0 | 0 |
vix-convert-from-tsv-into-json-tool | <50 | 0 | 1 | 0 | 0 |
vix-convert-from-yaml-into-json-tool | 100 | 0 | 5 | 1 | 0 |
vix-convert-tabular | 500 | 0 | 15 | 3 | 0 |
vix-coverage | 500 | 0 | 11 | 0 | 0 |
vix-cowork | 5,000 | 900 | 98 | 7 | 0 |
vix-cowork-net | 1,300 | 700 | 31 | 0 | 0 |
vix-dap | 2,800 | 600 | 26 | 0 | 0 |
vix-db | 31,200 | 0 | 541 | 0 | 0 |
vix-diff-view | 600 | 0 | 13 | 0 | 0 |
vix-doctor | 400 | 0 | 6 | 0 | 0 |
vix-edit-bytes | 400 | 0 | 6 | 0 | 0 |
vix-edit-outline | 900 | 0 | 29 | 0 | 0 |
vix-edit-sql | 1,100 | 100 | 29 | 3 | 0 |
vix-edit-table | 800 | 300 | 26 | 0 | 0 |
vix-edit-value | 2,000 | 0 | 50 | 4 | 0 |
vix-editor | 3,200 | 1,600 | 91 | 4 | 0 |
vix-editor-core | 17,600 | 400 | 359 | 10 | 0 |
vix-editorconfig | 900 | 200 | 36 | 4 | 0 |
vix-emmet | 400 | 0 | 10 | 2 | 0 |
vix-encoding | 500 | 0 | 9 | 0 | 0 |
vix-fhir | 1,900 | 200 | 34 | 0 | 0 |
vix-file-browser-panel | 900 | 0 | 12 | 0 | 0 |
vix-file-information-panel | 500 | 0 | 6 | 0 | 0 |
vix-fileops | 4,200 | 0 | 80 | 0 | 0 |
vix-find-panel | 1,100 | 100 | 27 | 4 | 0 |
vix-format-tool | 500 | 0 | 13 | 0 | 0 |
vix-git | 4,200 | 1,000 | 92 | 0 | 0 |
vix-git-graph | 1,000 | 200 | 15 | 2 | 0 |
vix-greedy-wrap | 100 | 0 | 7 | 0 | 0 |
vix-hex-rgb | 100 | 0 | 2 | 0 | 0 |
vix-hl7 | 1,900 | 200 | 53 | 8 | 0 |
vix-html-character-picker | 300 | 0 | 8 | 0 | 0 |
vix-http-client | 2,900 | 100 | 65 | 2 | 0 |
vix-i18n | 400 | 0 | 7 | 0 | 0 |
vix-im | 2,700 | 100 | 62 | 7 | 0 |
vix-im-irc | 3,100 | 400 | 66 | 7 | 0 |
vix-im-panel | 600 | 0 | 6 | 0 | 0 |
vix-input | 600 | 0 | 7 | 0 | 0 |
vix-jupyter | 1,800 | 1,500 | 49 | 0 | 0 |
vix-jupyter-core | 3,100 | 900 | 89 | 5 | 0 |
vix-jwt-tool | 200 | 0 | 6 | 2 | 0 |
vix-keybinding-editor-panel | 400 | 0 | 6 | 0 | 0 |
vix-keybindings | 3,500 | 0 | 45 | 0 | 0 |
vix-keyboard-shortcut-panel | 300 | 0 | 3 | 0 | 0 |
vix-keymap-model | 100 | 0 | 1 | 0 | 0 |
vix-large-file | 2,100 | 800 | 49 | 3 | 0 |
vix-left-dock | 400 | 0 | 1 | 0 | 0 |
vix-list-state | 300 | 0 | 17 | 0 | 0 |
vix-locale-model | 300 | 0 | 6 | 0 | 0 |
vix-lorem | 100 | 0 | 3 | 0 | 0 |
vix-lsp | 6,700 | 0 | 110 | 0 | 0 |
vix-lsp-core | 5,300 | 300 | 119 | 2 | 0 |
vix-macros | 300 | 0 | 4 | 0 | 0 |
vix-markdown-preview | 500 | 0 | 11 | 0 | 0 |
vix-matrix-protocol | 1,100 | 400 | 19 | 4 | 0 |
vix-mcp-server | 2,400 | 0 | 40 | 0 | 0 |
vix-media-type | 300 | 0 | 6 | 1 | 0 |
vix-menu | 4,200 | 0 | 27 | 0 | 0 |
vix-modal | 4,100 | 0 | 106 | 1 | 0 |
vix-nerd-font-picker | 500 | 0 | 6 | 0 | 0 |
vix-oci | 2,100 | 200 | 46 | 0 | 0 |
vix-oci-panel | 1,300 | 0 | 26 | 0 | 0 |
vix-org | 6,900 | 0 | 138 | 2 | 0 |
vix-org-capture | 1,300 | 300 | 35 | 0 | 0 |
vix-org-contacts | 400 | 0 | 17 | 2 | 0 |
vix-org-table | 2,600 | 300 | 67 | 2 | 0 |
vix-outline-panel | 200 | 0 | 4 | 0 | 0 |
vix-palette | 1,400 | 100 | 23 | 5 | 0 |
vix-pomodoro-tool | 400 | 0 | 8 | 0 | 0 |
vix-project-env | 1,300 | 0 | 30 | 0 | 0 |
vix-qr-tool | 100 | 0 | 3 | 1 | 0 |
vix-regex-tool | 200 | 0 | 5 | 0 | 0 |
vix-review | 1,800 | 0 | 26 | 0 | 0 |
vix-right-dock | 200 | 0 | 2 | 0 | 0 |
vix-roam | 800 | 0 | 14 | 0 | 0 |
vix-script | 2,100 | 1,100 | 51 | 0 | 0 |
vix-session | 900 | 0 | 19 | 0 | 0 |
vix-settings | 2,500 | 0 | 26 | 0 | 0 |
vix-settings-bundle | 600 | 0 | 15 | 0 | 0 |
vix-snippet-tool | 1,300 | 0 | 17 | 0 | 0 |
vix-snippets | 1,100 | 0 | 34 | 0 | 0 |
vix-spellcheck | 800 | 0 | 21 | 0 | 1 |
vix-status-bar-panel | 200 | 0 | 6 | 0 | 0 |
vix-structural-replace | 800 | 0 | 16 | 0 | 0 |
vix-system-information-panel | 500 | 0 | 6 | 0 | 0 |
vix-tags | 500 | 0 | 14 | 1 | 0 |
vix-tasks | 6,800 | 500 | 163 | 10 | 0 |
vix-terminal | 2,000 | 0 | 34 | 0 | 0 |
vix-test-runner | 300 | 0 | 7 | 0 | 0 |
vix-text-information-panel | 300 | 0 | 6 | 0 | 0 |
vix-textops | 2,000 | 0 | 51 | 4 | 0 |
vix-theme | 600 | 0 | 14 | 0 | 0 |
vix-theme-editor-panel | 400 | 0 | 7 | 0 | 0 |
vix-theme-model | 900 | 0 | 11 | 0 | 0 |
vix-time-zone-model | 2,700 | 0 | 4 | 0 | 0 |
vix-todo-tree | 500 | 0 | 8 | 0 | 0 |
vix-tui | 116,400 | 44,900 | 2,656 | 0 | 7 |
vix-tutor | 500 | 0 | 14 | 0 | 0 |
vix-undo-store | 1,100 | 0 | 17 | 0 | 0 |
vix-undo-tree-panel | 500 | 0 | 7 | 0 | 0 |
vix-unit-converter-tool | 600 | 0 | 7 | 0 | 0 |
vix-url-tool | 100 | 0 | 6 | 2 | 0 |
vix-uuid-tool | 200 | 0 | 6 | 0 | 0 |
vix-vcard-panel | 200 | 0 | 2 | 0 | 0 |
vix-vcard-parser | 300 | 0 | 9 | 2 | 0 |
vix-welcome-panel | 400 | 0 | 6 | 0 | 0 |
vix-workspace | 300 | 0 | 4 | 0 | 0 |
vix-workspace-dashboard-panel | 100 | 0 | 1 | 0 | 0 |
vix-workspace-search | 800 | 0 | 10 | 0 | 0 |
vix-x11-color-picker | 300 | 0 | 9 | 0 | 0 |
vix-zid-tool | 100 | 0 | 4 | 0 | 0 |
Desktop GUIs
| Crate | src | tests | Test fns | Property tests | Ignored |
|---|---|---|---|---|---|
vix-bui | 3,800 | 0 | 63 | 0 | 0 |
vix-egui | 2,100 | 100 | 20 | 0 | 0 |
vix-gpui | 1,700 | 0 | 16 | 0 | 0 |
vix-gtk4 | 2,300 | 0 | 23 | 0 | 0 |
vix-iced | 2,300 | 0 | 21 | 0 | 0 |
vix-slint | 2,700 | 0 | 25 | 0 | 0 |
vix-zgui | 2,200 | 0 | 26 | 0 | 0 |
Not on this page
Metrics that need a build, a long run or a particular machine are kept where they are measured:
- Line coverage:
cargo llvm-cov(flags inbin/test-coverage, whichmake coverageruns), and in CI’s coverage job; seespec/ci. - Mutation score:
.github/workflows/mutants.ymlrunscargo mutantsweekly and uploadsmutants.out/; seespec/test. - Flakiness:
scripts/flaky-huntreruns a test under load; seespec/test. - Speed and memory: the Criterion benchmarks and the
VIX_PROFILEframe profile; see Performance.
Shared Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Bindings every keymap shares (vix_keybindings::SHARED), on top of whichever keymap-specific page applies.
| Key | Action | Action ID |
|---|---|---|
C-Space | Completion | lsp.complete |
C-Tab | Next Tab | tab.next |
C-BackTab | Previous Tab | tab.prev |
A-Left | Back | nav.back |
A-Right | Forward | nav.forward |
F1 | Keyboard Shortcuts | help.shortcuts |
F12 | Go to Definition | nav.goto_definition |
F2 | Rename Symbol | lsp.rename |
F6 | Other Pane | view.focus_other_pane |
F10 | Toggle Menu Bar | view.toggle_menu |
S-F3 | Find Previous | edit.find_prev |
F3 | Find Next | edit.find_next |
A-j | Recent Locations… | nav.recent_locations |
13 shared bindings.
Apple Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Apple controls. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-; | Spelling Suggestions | spell.suggest |
C-S-/ | Comment | edit.toggle_comment |
C-S-7 | Comment | edit.toggle_comment |
C-S-; | Spelling Suggestions | spell.suggest |
C-S-] | Jump to Matching Bracket | edit.match_bracket |
C-S-_ | Comment | edit.toggle_comment |
C-S-b | Outline | nav.outline |
C-S-e | Toggle Explorer Focus | view.toggle_explorer_focus |
C-S-f | Search in Workspace | search.workspace |
C-S-g | Find Previous | edit.find_prev |
C-S-n | New | file.new |
C-S-o | Open Recent… | file.open_recent |
C-S-p | Command Palette | tools.palette |
C-S-q | Quit | file.quit |
C-S-r | Find & Replace | edit.replace |
C-S-s | Save As… | file.save_as |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-S-w | Close All Tabs | file.close_all |
C-] | Jump to Matching Bracket | edit.match_bracket |
C-_ | Comment | edit.toggle_comment |
C-b | Toggle Explorer | view.explorer |
C-e | Toggle Explorer Focus | view.toggle_explorer_focus |
C-f | Find… | edit.find |
C-g | Find Next | edit.find_next |
C-n | New | file.new |
C-o | Open… | file.open |
C-p | Command Palette | tools.palette |
C-q | Quit | file.quit |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-t | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-w | Close | file.close |
34 bindings (plus the shared bindings above).
VSCode macOS Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. VS Code (macOS) bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-S-\ | Jump to Matching Bracket | edit.match_bracket |
C-S-e | Toggle Explorer Focus | view.toggle_explorer_focus |
C-S-f | Search in Workspace | search.workspace |
C-S-g | Find Previous | edit.find_prev |
C-S-k | Cut Line | cut_line |
C-S-l | Select All Occurrences | edit.select_all_occurrences |
C-S-m | Diagnostics… | lsp.diagnostics |
C-S-o | Go to Symbol | nav.goto_symbol |
C-S-p | Command Palette | tools.palette |
C-S-s | Save As… | file.save_as |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-S-w | Close All Tabs | file.close_all |
C-\ | Vertical | view.split_vertical |
C-] | Jump to Matching Bracket | edit.match_bracket |
C-_ | Comment | edit.toggle_comment |
| `C-`` | Show/Hide Terminal | tools.terminal |
C-b | Toggle Explorer | view.explorer |
C-f | Find… | edit.find |
C-g | Number | nav.goto_line |
C-j | Show/Hide Bottom Dock | view.bottom_dock |
C-n | New | file.new |
C-p | Open… | file.open |
C-q | Quit | file.quit |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-t | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-w | Close | file.close |
29 bindings (plus the shared bindings above).
VSCode Windows Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. VS Code (Windows) bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-S-\ | Jump to Matching Bracket | edit.match_bracket |
C-S-e | Toggle Explorer Focus | view.toggle_explorer_focus |
C-S-f | Search in Workspace | search.workspace |
C-S-g | Find Previous | edit.find_prev |
C-S-k | Cut Line | cut_line |
C-S-l | Select All Occurrences | edit.select_all_occurrences |
C-S-m | Diagnostics… | lsp.diagnostics |
C-S-o | Go to Symbol | nav.goto_symbol |
C-S-p | Command Palette | tools.palette |
C-S-s | Save As… | file.save_as |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-S-w | Close All Tabs | file.close_all |
C-\ | Vertical | view.split_vertical |
C-] | Jump to Matching Bracket | edit.match_bracket |
C-_ | Comment | edit.toggle_comment |
| `C-`` | Show/Hide Terminal | tools.terminal |
C-b | Toggle Explorer | view.explorer |
C-f | Find… | edit.find |
C-g | Number | nav.goto_line |
C-j | Show/Hide Bottom Dock | view.bottom_dock |
C-n | New | file.new |
C-p | Open… | file.open |
C-q | Quit | file.quit |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-t | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-w | Close | file.close |
29 bindings (plus the shared bindings above).
Emacs Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Emacs chords. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
A-< | Start | edit.go_first |
A-> | End | edit.go_last |
A-b | Previous | nav.word_prev |
A-f | Next | nav.word_next |
A-t | Words | edit.transpose_words |
A-v | Motion: Page Up | motion.page_up |
A-w | Copy | edit.copy |
A-x | Command Palette | tools.palette |
A-| | Pipe Through Command… | edit.pipe_selection |
C-/ | Undo | edit.undo |
C-7 | Undo | edit.undo |
C-_ | Undo | edit.undo |
C-a | Motion: Home | motion.home |
C-b | Character Left | motion.char_left |
C-d | Delete Forward | motion.delete_forward |
C-e | Motion: End | motion.end |
C-f | Character Right | motion.char_right |
C-g | Keyboard Quit | edit.keyboard_quit |
C-k | Cut Line | cut_line |
C-n | Line Down | motion.line_down |
C-p | Line Up | motion.line_up |
C-s | Find… | edit.find |
C-t | Characters | edit.transpose_chars |
C-v | Motion: Page Down | motion.page_down |
C-w | Cut | edit.cut |
C-y | Paste | edit.paste |
After C-x
| Key | Action | Action ID |
|---|---|---|
0 | Unsplit | view.unsplit |
1 | Unsplit | view.unsplit |
2 | Horizontal | view.split_horizontal |
3 | Vertical | view.split_vertical |
C-b | Switch Buffer | nav.switch_buffer |
C-c | Quit | file.quit |
C-f | Open… | file.open |
C-s | Save | file.save |
b | Switch Buffer | nav.switch_buffer |
k | Close | file.close |
o | Other Pane | view.focus_other_pane |
After C-c
| Key | Action | Action ID |
|---|---|---|
! | Insert Inactive Timestamp | org.timestamp_inactive |
' | Edit Source Block | org.edit_src |
+ | Sum Column | org.table.sum_column |
- | Insert Horizontal Line | org.table.insert_hline |
. | Insert Timestamp | org.timestamp |
/ | Sparse Tree Match… | org.sparse.match |
C-c | Refresh Context | org.ctrl_c_ctrl_c |
C-d | Deadline… | org.deadline |
C-l | Insert Link… | org.link.insert |
C-o | Follow Link | org.link.follow |
C-q | Set Tags… | org.set_tags |
C-s | Schedule Item… | org.schedule |
C-t | Cycle TODO | org.cycle_todo |
C-w | Refile Subtree… | org.refile |
^ | Sort Table… | org.table.sort |
a | Weekly/Daily Agenda | org.agenda |
l | Store Link to Here | org.link.store |
| | Create Table from Selection | org.table.create_from_region |
After C-c C-x
| Key | Action | Action ID |
|---|---|---|
< | Set Restriction Lock (This File) | org.agenda.lock |
> | Remove Restriction Lock | org.agenda.unlock |
C-c | Turn On | org.column_view |
C-i | Clock In | org.clock_in |
C-o | Clock Out | org.clock_out |
C-s | Archive Subtree to File | org.archive.subtree |
C-u | Update Dynamic Block at Point | org.columns.update_dblock |
C-w | Cut Subtree | org.subtree.cut |
C-y | Paste Subtree | org.subtree.paste |
a | Toggle ARCHIVE Tag | org.archive.tag |
f | Footnote New/Jump | org.footnote |
After C-c p c
| Key | Action | Action ID |
|---|---|---|
. | Test at Point | project.test_at_point |
X | Repeat Last Task | project.repeat_last_task |
c | Compile | project.compile |
i | Install | project.install |
o | Configure | project.configure |
p | Package | project.package |
r | Run | project.run |
t | Test | project.test |
x | Run Task… | project.run_task |
After C-c p c m
| Key | Action | Action ID |
|---|---|---|
c | Compile | project.subproject.compile |
f | Find File | project.subproject.find_file |
i | Install | project.subproject.install |
o | Configure | project.subproject.configure |
p | Package | project.subproject.package |
r | Run | project.subproject.run |
t | Test | project.subproject.test |
82 bindings (plus the shared bindings above).
Vi Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Vi modes. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
$ | Motion: End | motion.end |
% | Jump to Matching Bracket | edit.match_bracket |
/ | Find… | edit.find |
0 | Motion: Home | motion.home |
A | Append at End of Line | vim.append_end |
Down | Line Down | motion.line_down |
G | End | edit.go_last |
I | Insert at Start of Line | vim.insert_line_start |
Left | Character Left | motion.char_left |
N | Find Previous | edit.find_prev |
O | Open Line Above | vim.open_above |
Right | Character Right | motion.char_right |
Up | Line Up | motion.line_up |
^ | Motion: Home | motion.home |
a | Append After Cursor | vim.append |
b | Previous | nav.word_prev |
h | Character Left | motion.char_left |
i | Insert Before Cursor | vim.insert |
j | Line Down | motion.line_down |
k | Line Up | motion.line_up |
l | Character Right | motion.char_right |
n | Find Next | edit.find_next |
o | Open Line Below | vim.open_below |
p | Paste | edit.paste |
u | Undo | edit.undo |
w | Next | nav.word_next |
x | Delete Forward | motion.delete_forward |
After g
| Key | Action | Action ID |
|---|---|---|
g | Start | edit.go_first |
After d
| Key | Action | Action ID |
|---|---|---|
d | Cut Line | cut_line |
After y
| Key | Action | Action ID |
|---|---|---|
y | Copy Line | copy_line |
30 bindings (plus the shared bindings above).
Spacemacs Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Vi modes + Space leader. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
| Command Palette | tools.palette |
; | Comment | edit.toggle_comment |
bd | Close | file.close |
bn | Next Tab | tab.next |
bp | Previous Tab | tab.prev |
ff | Open… | file.open |
fp | Switch Project… | file.switch_project |
fr | Open Recent… | file.open_recent |
fs | Save | file.save |
gb | Blame Line | git.blame |
gg | Status… | git.status |
gs | Changes… | git.changes |
pf | Command Palette | tools.palette |
pp | Switch Project… | file.switch_project |
pt | Toggle Explorer | view.explorer |
qq | Quit | file.quit |
sp | Search in Workspace | search.workspace |
ss | Find… | edit.find |
tn | Show/Hide Line Numbers | view.line_numbers |
tw | Show/Hide Whitespace | view.whitespace |
w- | Horizontal | view.split_horizontal |
w/ | Vertical | view.split_vertical |
wd | Unsplit | view.unsplit |
ww | Other Pane | view.focus_other_pane |
24 bindings (plus the shared bindings above).
IntelliJ macOS Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. IntelliJ (macOS) bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
C-, | Settings… | vix.settings |
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-A-l | Format Document | lsp.format |
C-A-o | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-S-a | Command Palette | tools.palette |
C-S-f | Search in Workspace | search.workspace |
C-S-g | Find Previous | edit.find_prev |
C-S-n | New | file.new |
C-S-o | Open… | file.open |
C-S-r | Search and Replace in Workspace | search.workspace_replace |
C-S-s | Save As… | file.save_as |
C-S-w | Close All Tabs | file.close_all |
C-_ | Comment | edit.toggle_comment |
C-b | Go to Definition | nav.goto_definition |
C-d | Duplicate Line | edit.duplicate_line |
C-f | Find… | edit.find |
C-g | Find Next | edit.find_next |
C-l | Number | nav.goto_line |
C-n | New | file.new |
C-o | Go to Symbol | nav.goto_symbol |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-w | Close | file.close |
24 bindings (plus the shared bindings above).
IntelliJ Windows Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. IntelliJ (Windows) bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-A-l | Format Document | lsp.format |
C-A-o | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-S-a | Command Palette | tools.palette |
C-S-f | Search in Workspace | search.workspace |
C-S-g | Number | nav.goto_line |
C-S-n | Open… | file.open |
C-S-r | Search and Replace in Workspace | search.workspace_replace |
C-S-s | Save As… | file.save_as |
C-S-w | Close All Tabs | file.close_all |
C-_ | Comment | edit.toggle_comment |
C-b | Go to Definition | nav.goto_definition |
C-d | Duplicate Line | edit.duplicate_line |
C-f | Find… | edit.find |
C-g | Number | nav.goto_line |
C-n | Go to Symbol | nav.goto_symbol |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-w | Close | file.close |
C-y | Delete Line | delete_line |
21 bindings (plus the shared bindings above).
Eclipse Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Eclipse (Windows) bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
A-/ | Autocomplete Word | autocomplete |
C-/ | Comment | edit.toggle_comment |
C-3 | Command Palette | tools.palette |
C-7 | Comment | edit.toggle_comment |
C-S-b | Toggle Breakpoint | run.toggle_breakpoint |
C-S-f | Format Document | lsp.format |
C-S-k | Find Previous | edit.find_prev |
C-S-r | Open… | file.open |
C-S-s | Save As… | file.save_as |
C-S-t | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-S-w | Close All Tabs | file.close_all |
C-_ | Comment | edit.toggle_comment |
C-b | Run Tests | tools.test |
C-d | Delete Line | delete_line |
C-f | Find… | edit.find |
C-h | Search in Workspace | search.workspace |
C-k | Find Next | edit.find_next |
C-l | Number | nav.goto_line |
C-n | New | file.new |
C-o | Go to Symbol | nav.goto_symbol |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-w | Close | file.close |
C-y | Redo | edit.redo |
24 bindings (plus the shared bindings above).
Sublime Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Sublime bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-S-d | Duplicate Line | edit.duplicate_line |
C-S-f | Search in Workspace | search.workspace |
C-S-k | Cut Line | cut_line |
C-S-p | Command Palette | tools.palette |
C-S-s | Save As… | file.save_as |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-S-w | Close All Tabs | file.close_all |
C-_ | Comment | edit.toggle_comment |
| `C-`` | Show/Hide Terminal | tools.terminal |
C-b | Run Tests | tools.test |
C-d | Select All Occurrences | edit.select_all_occurrences |
C-f | Find… | edit.find |
C-g | Number | nav.goto_line |
C-h | Find & Replace | edit.replace |
C-j | Join Lines | edit.join_lines |
C-l | Select Line | edit.select_line |
C-m | Jump to Matching Bracket | edit.match_bracket |
C-n | New | file.new |
C-p | Open… | file.open |
C-r | Go to Symbol | nav.goto_symbol |
C-s | Save | file.save |
C-w | Close | file.close |
24 bindings (plus the shared bindings above).
Zed Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Zed bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
A-, | Previous Change | git.diff_prev |
A-. | Next Change | git.diff_next |
A-Down | Move Down | edit.move_line_down |
A-Up | Move Up | edit.move_line_up |
C-, | Settings… | vix.settings |
C-. | Code Action… | lsp.code_action |
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-S-d | Duplicate Line | edit.duplicate_line |
C-S-e | Toggle Explorer Focus | view.toggle_explorer_focus |
C-S-f | Search in Workspace | search.workspace |
C-S-g | Changes… | git.changes |
C-S-k | Cut Line | cut_line |
C-S-l | Select All Occurrences | edit.select_all_occurrences |
C-S-m | Diagnostics… | lsp.diagnostics |
C-S-o | Go to Symbol | nav.goto_symbol |
C-S-p | Command Palette | tools.palette |
C-S-s | Save As… | file.save_as |
C-S-t | Reopen Closed Tab | file.reopen_closed |
C-S-w | Close All Tabs | file.close_all |
C-_ | Comment | edit.toggle_comment |
| `C-`` | Show/Hide Terminal | tools.terminal |
C-b | Toggle Explorer | view.explorer |
C-e | Open… | file.open |
C-f | Find… | edit.find |
C-g | Number | nav.goto_line |
C-h | Find & Replace | edit.replace |
C-j | Show/Hide Bottom Dock | view.bottom_dock |
C-l | Select Line | edit.select_line |
C-m | Jump to Matching Bracket | edit.match_bracket |
C-n | New | file.new |
C-p | Open… | file.open |
C-q | Quit | file.quit |
C-s | Save | file.save |
C-t | Go to Symbol in Workspace | nav.goto_workspace_symbol |
C-w | Close | file.close |
After C-k
| Key | Action | Action ID |
|---|---|---|
C-0 | Fold All | editor.fold_all |
C-c | Comment | edit.toggle_comment |
C-j | Unfold All | editor.unfold_all |
C-l | Toggle Fold | editor.fold_toggle |
C-o | Open Path… | file.open_path |
C-s | Keyboard Shortcuts | help.shortcuts |
C-w | Close All Tabs | file.close_all |
C-z | Show/Hide Soft Wrap | view.soft_wrap |
v | Markdown Preview… | tools.markdown_preview |
45 bindings (plus the shared bindings above).
Fresh Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Fresh bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
A-. | Code Action… | lsp.code_action |
A-/ | Search in Workspace | search.workspace |
A-Down | Move Down | edit.move_line_down |
A-Left | Back | nav.back |
A-Right | Forward | nav.forward |
A-Up | Move Up | edit.move_line_up |
C-/ | Comment | edit.toggle_comment |
C-7 | Comment | edit.toggle_comment |
C-S-n | Find Previous | edit.find_prev |
C-] | Jump to Matching Bracket | edit.match_bracket |
C-_ | Comment | edit.toggle_comment |
C-b | Toggle Explorer | view.explorer |
C-e | Toggle Explorer Focus | view.toggle_explorer_focus |
C-f | Find… | edit.find |
C-g | Number | nav.goto_line |
C-h | Delete Word Left | delete_word_left |
C-k | Cut to Line End | cut_to_line_end |
C-l | Select Line | edit.select_line |
C-n | New | file.new |
C-o | Open Path… | file.open_path |
C-p | Open… | file.open |
C-q | Quit | file.quit |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-t | Characters | edit.transpose_chars |
C-w | Select Word | select_word |
26 bindings (plus the shared bindings above).
ttt Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. ttt bindings. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
A-, | Previous Tab | tab.prev |
A-. | Next Tab | tab.next |
A-Down | Move Down | edit.move_line_down |
A-Up | Move Up | edit.move_line_up |
C-. | Code Action… | lsp.code_action |
C-/ | Comment | edit.toggle_comment |
C-0 | Toggle Explorer Focus | view.toggle_explorer_focus |
C-7 | Comment | edit.toggle_comment |
C-_ | Comment | edit.toggle_comment |
C-b | Toggle Explorer | view.explorer |
C-f | Find… | edit.find |
C-g | Number | nav.goto_line |
C-n | New | file.new |
C-p | Command Palette | tools.palette |
C-q | Quit | file.quit |
C-r | Find & Replace | edit.replace |
C-s | Save | file.save |
C-t | Show/Hide Terminal | tools.terminal |
C-u | Completion | lsp.complete |
C-w | Close | file.close |
After C-k
| Key | Action | Action ID |
|---|---|---|
, | Settings… | vix.settings |
0 | Fold All | editor.fold_all |
9 | Unfold All | editor.unfold_all |
[ | Toggle Fold | editor.fold_toggle |
b | Show/Hide Bottom Dock | view.bottom_dock |
c | Changes… | git.changes |
e | Toggle Explorer | view.explorer |
f | Search in Workspace | search.workspace |
i | Hover | lsp.hover |
j | Join Lines | edit.join_lines |
k | Delete Line | delete_line |
l | Select All Occurrences | edit.select_all_occurrences |
m | Jump to Matching Bracket | edit.match_bracket |
o | Sort | edit.sort_lines |
p | Open… | file.open |
r | Search and Replace in Workspace | search.workspace_replace |
s | Save As… | file.save_as |
t | Show/Hide Terminal | tools.terminal |
y | Keyboard Shortcuts | help.shortcuts |
After C-l
| Key | Action | Action ID |
|---|---|---|
f | Format Document | lsp.format |
i | Go to Implementations | nav.goto_implementation |
o | Organize Imports | lsp.organize_imports |
r | Go to References | lsp.references |
t | Go to Type Definition | nav.goto_type_definition |
44 bindings (plus the shared bindings above).
Helix Keybindings
Generated by cargo run --example list_commands -- --write (T305, tasks.md) — do not edit by hand. Helix selection-first modes. Every binding also gets the shared bindings every keymap has.
Top level
| Key | Action | Action ID |
|---|---|---|
% | Select All | edit.select_all |
* | Find Selection | search.next_selection |
, | Remove All Multi-Cursors | remove_all_multi_cursors |
. | Repeat Last Change | helix.repeat_last_change |
/ | Find… | edit.find |
; | Collapse Selection | helix.collapse |
< | Outdent Selection | outdent_selection |
> | Indent Selection | indent_selection |
? | Find… | edit.find |
A | Append at End of Line | vim.append_end |
B | Select to Previous WORD | helix.select_long_word_prev |
C | Add Multi-Cursor Down | spawn_multi_cursor_down |
Down | Move Down | helix.move_down |
E | Select to WORD End | helix.select_long_word_end |
I | Insert at Start of Line | vim.insert_line_start |
J | Join Lines | edit.join_lines |
Left | Move Left | helix.move_left |
N | Find Previous | edit.find_prev |
O | Open Line Above | vim.open_above |
P | Paste Before Selection | helix.paste_before |
Right | Move Right | helix.move_right |
U | Redo | edit.redo |
Up | Move Up | helix.move_up |
W | Select to Next WORD | helix.select_long_word_next |
a | Append After Selection | helix.append |
b | Select to Previous Word | helix.select_word_prev |
c | Change Selection | helix.change |
d | Delete Selection | helix.delete |
e | Select to Word End | helix.select_word_end |
h | Move Left | helix.move_left |
i | Insert Before Selection | helix.insert |
j | Move Down | helix.move_down |
k | Move Up | helix.move_up |
l | Move Right | helix.move_right |
n | Find Next | edit.find_next |
o | Open Line Below | vim.open_below |
p | Paste After Selection | helix.paste_after |
s | Select Regex Matches in Selection | edit.select_regex_in_selection |
u | Undo | edit.undo |
v | Toggle Select Mode | helix.toggle_select |
w | Select to Next Word | helix.select_word_next |
x | Select Line | helix.select_line |
y | Yank Selection | helix.yank |
~ | Switch Case | helix.switch_case |
After g
| Key | Action | Action ID |
|---|---|---|
D | Go to Declaration | nav.goto_declaration |
d | Go to Definition | nav.goto_definition |
e | End | edit.go_last |
g | Start | edit.go_first |
h | Start | edit.line_start |
i | Go to Implementations | nav.goto_implementation |
l | End | edit.line_end |
n | Next Tab | tab.next |
p | Previous Tab | tab.prev |
r | Go to References | lsp.references |
s | Motion: Home | motion.home |
y | Go to Type Definition | nav.goto_type_definition |
After m
| Key | Action | Action ID |
|---|---|---|
m | Jump to Matching Bracket | edit.match_bracket |
After Space
| Key | Action | Action ID |
|---|---|---|
/ | Search in Workspace | search.workspace |
? | Command Palette | tools.palette |
P | Paste Before Selection | helix.paste_before |
S | Go to Symbol in Workspace | nav.goto_workspace_symbol |
a | Code Action… | lsp.code_action |
b | Switch Buffer | nav.switch_buffer |
d | Diagnostics… | lsp.diagnostics |
f | Open… | file.open |
k | Hover | lsp.hover |
p | Paste After Selection | helix.paste_after |
r | Rename Symbol | lsp.rename |
s | Go to Symbol | nav.goto_symbol |
y | Yank Selection | helix.yank |
70 bindings (plus the shared bindings above).
Development Setup Guide
This guide helps you set up your development environment for contributing to Vix.
Prerequisites
Required Tools
-
Rust, through rustup. The repository’s
rust-toolchain.tomlpins the toolchain it builds with (1.100.0 today, withclippy,rustfmtandllvm-tools), and rustup installs it the first time you runcargoin the checkout. The minimum supported Rust version for users isrust-versionin the rootCargo.toml(1.98 today).# Install Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Add to PATH source "$HOME/.cargo/env" # Verify (run inside the checkout, so the pinned toolchain answers) rustc --version cargo --version -
Git: For version control
# macOS brew install git # Ubuntu/Debian sudo apt install git # Fedora sudo dnf install git -
C/C++ compiler: required to build the Tree-sitter grammars
# macOS (with Xcode) xcode-select --install # Ubuntu/Debian sudo apt install build-essential g++ # Fedora sudo dnf install gcc-c++ make
Recommended Tools
-
IDE/Editor: any editor with a rust-analyzer client (see IDE Setup below)
-
Terminal: A modern terminal with truecolor support
- macOS: Terminal.app, iTerm2, Kitty, WezTerm
- Linux: GNOME Terminal, Konsole, Alacritty, Kitty, WezTerm
- Windows: Windows Terminal, ConEmu, Alacritty
-
Podman: For running Linux builds on macOS (Docker-compatible)
# macOS brew install podman # Ubuntu/Debian sudo apt install podman # Start Podman machine podman machine startNote: Podman provides a Docker-compatible CLI, so
dockercommands also work.
Getting Started
1. Clone the Repository
# Clone with SSH (recommended)
git clone git@github.com:vixide/vix.git
cd vix
# Or with HTTPS
git clone https://github.com/vixide/vix.git
cd vix
2. Build Vix
# Build the `vix` command (the first build downloads and compiles every dependency)
cargo build
# Build every workspace crate, not only the App shell
cargo build --workspace
# A release build (size-optimized and stripped, as shipped)
cargo build --release
The root Cargo.toml sets default-members = ["tui"], so a bare cargo build, cargo run or cargo test at the root acts on the App shell
(package vix-tui) only; pass --workspace or -p <crate> for the rest.
The desktop GUIs (gui/) and the fuzz targets (fuzz/) are separate
workspaces with their own Cargo.toml.
Several checkouts or worktrees? Give each its own target directory
(CARGO_TARGET_DIR=…): cargo locks a target directory while it builds, so
two checkouts sharing one wait on each other, and a deleted worktree can leave
stale compile-time paths behind in a shared one.
3. Run Vix
# Run from the repository root
cargo run
# Run with release optimizations
cargo run --release
# Run on a specific directory
cargo run -- path/to/directory
IDE Setup
Any editor with a rust-analyzer client
works; the repository ships no editor-specific project files (there is no
.vscode/ or .idea/). Whatever you use, set it up so that it:
- opens the repository root, so rust-analyzer loads the whole workspace
(all 148 member crates and
tui/), not one crate; - checks with clippy, because the gate runs
cargo clippy --workspace --all-targets -- -D warningswithclippy::pedanticon for every crate, and a pedantic warning is an error; - formats with rustfmt on save (the gate runs
cargo fmt --all --check); - keeps the default features. The gate checks the default feature set and
--no-default-features; turning on every feature at once pulls in optional integrations the gate never builds together; - uses its own target directory, so the language server’s background checks do not hold the cargo lock while you build or test in a terminal.
VS Code
- Install the rust-analyzer extension
- Open the repository root in VS Code
- rust-analyzer will automatically index the workspace
Recommended VS Code settings (settings.json):
{
"rust-analyzer.check.command": "clippy",
"rust-analyzer.cargo.targetDir": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
}
}
"rust-analyzer.cargo.targetDir": true makes rust-analyzer build in a
subdirectory of the target directory instead of sharing (and locking) the one
your terminal uses. For a debugger, the
CodeLLDB
extension drives the same lldb the Debugging section uses.
RustRover and IntelliJ IDEA
- Use RustRover, or IntelliJ IDEA with the Rust plugin
- Open the repository root; the IDE detects the Cargo workspace
- In the Rust settings, choose Clippy as the external linter and enable rustfmt on save
Vim, Neovim, Helix, Zed, Emacs
Point the editor’s language-server client at rust-analyzer (installed with
rustup component add rust-analyzer) and, where it offers the choice, set the
check command to clippy.
Vix (yes, you can develop Vix with Vix)
Vix’s own LSP client starts rust-analyzer for Rust files (see
Language Server Protocol), so building
Vix and opening the repository root in it gives you diagnostics,
go-to-definition and completion on its own source:
cargo run --release -- .
Running Tests
Vix has comprehensive test coverage. Run tests with:
# Run all tests
cargo test --workspace
# Run tests for a specific package
cargo test -p vix-editor-core
# Run a specific test
cargo test test_name -p vix-editor-core
# Run doc tests (of the App shell; add -p <crate> for another)
cargo test --doc
# Run one integration test file of the App shell (tui/tests/<name>.rs, a
# module of tests/main.rs, or of tests/authority.rs when it installs an authority)
cargo test -p vix-tui --test main snapshots::
# See a test's output even when it passes
cargo test -p vix-textops -- --nocapture
tui/ sets autotests = false, so each integration test file under
tui/tests/ is listed as a [[test]] in tui/Cargo.toml; add yours there.
A few integration tests drive an external tool (for example
tui/tests/e2e_tmux.rs needs tmux) and skip themselves when it is not
installed.
Running the Quality Gate
Before committing, run the full quality gate:
# Fast tier (fmt, clippy, tests of changed crates)
scripts/check --tier fast
# Push tier (full workspace build, clippy, tests)
scripts/check --tier push
# Full tier (everything including docs)
scripts/check
Or use the Makefile (make help lists every target):
# Run the gate (scripts/check)
make check
# Run the tests (it first checks over the network that GitHub Discussions is enabled)
make test
Only the default full tier of scripts/check counts before landing; the
faster tiers are for iterating. See
Spec-Driven Workflow for the whole landing loop.
Git hooks
The hooks are opt-in: make hooks sets git config core.hooksPath scripts/hooks, and git config --unset core.hooksPath removes them. Both are
POSIX sh.
- pre-commit checks what is staged, in seconds, and never changes the index
or your files. It refuses the commit when a staged
.rsfile is not formatted ascargo fmtwould format it (fix:cargo fmt, then stage the result); when a staged file holds what looks like a real credential (the rules and allowlist are inscripts/secret-patterns, shared withtui/tests/secret_scan.rs); when it adds a file over 1 MiB; and, when a file undertui/src/orcrates/*/src/is staged, whentui/tests/code_lints.rsfails (compiled alone withrustc, about a second; it reads the working tree). - pre-push refuses
mainand tags without a valid gate attestation (scripts/attest). Another branch can be pushed unattested withVIX_ALLOW_UNATTESTED=1; the hook then runsscripts/check --tier fastfirst when the pushed commit isHEAD, and refuses the push if it fails.
| Variable | Effect |
|---|---|
VIX_SKIP_PRECOMMIT_FMT=1 | Skip the format check |
VIX_SKIP_PRECOMMIT_LINTS=1 | Skip the code lints |
VIX_MAX_ADD_BYTES=<bytes> | Raise the size limit for new files (default 1048576) |
VIX_ALLOW_UNATTESTED=1 | Push a non-main branch without an attestation |
git commit --no-verify and git push --no-verify skip the hooks; the gate
and CI still run every check. scripts/test-attest tests both hooks.
Running Benchmarks
Vix’s Criterion benchmarks live in tui/benches/ (text_ops, editor_ops,
search_and_palette, startup, frame_ops, gutter_diff, render_ops):
# Run every benchmark
cargo bench
# Run one benchmark file
cargo bench --bench text_ops
# Run only the benchmarks whose name contains a filter
cargo bench --bench text_ops -- sentence_starts
Criterion keeps each run under target/criterion/ and reports the change
against the previous run. The baselines, the profiling tools and how to read
the numbers are in Performance.
Development Workflow
1. Find Something to Work On
- Check GitHub Issues for open tasks
- Look for issues labeled
good first issueorhelp wanted - Browse the spec directory for features that need implementation
2. Create a Feature Branch
# Create and checkout a new branch
git checkout -b my-feature-branch
# Or create a branch based on a specific issue
git checkout -b fix-issue-123
Branch naming convention: a type, a slash and a short kebab-case name,
with the task id when there is one: fix/t846-vi-parity,
feat/whole-word-search, docs/t836-contributor-docs,
chore/t833-code-lints.
3. Make Changes
- Follow the existing code style
- Add tests for new functionality
- Update documentation if needed
- Keep commits focused and well-described
4. Test Your Changes
# Run tests for the packages you changed
cargo test -p package-name
# Run the full test suite
cargo test --workspace
# Run the quality gate
scripts/check --tier fast
5. Commit Your Changes
# Stage changes
git add -p # Interactive staging
# Or stage all
git add -A
# Commit with a good message
git commit -m "feat(find): add whole-word search
Details of what changed and why."
Commit message guidelines:
- Use the imperative mood: “Add feature” not “Added feature”
- Start with a short summary line (50 chars or less)
- Add a blank line, then a detailed description
- Reference issue numbers or task ids (
T836) if applicable - Sign the commit (the project uses SSH-signed commits)
- If an AI assistant helped, end the message with a
Co-Authored-By:trailer naming the model; see AI Statement
6. Push and Create a Pull Request
# Push your branch
git push origin my-feature-branch
# Then create a PR on GitHub
Pull request guidelines:
- Use a clear, descriptive title
- Include a detailed description of what changed
- Reference related issues
- Add a
Closes #123comment if the PR fixes an issue - Wait for CI to pass before requesting review
7. Address Feedback
- Respond to review comments promptly
- Update commits with
git commit --amendor add new commits - Push updates with
git push - Use
git rebase -ito squash or reorder commits if needed
Project Structure
Workspace Layout
vix/
├── Cargo.toml # Workspace manifest
├── Cargo.lock # Dependency lockfile (checked in)
├── crates/ # The 148 `vix-*` member crates
│ ├── vix-*/ # Feature crates
│ └── ...
├── tui/ # App shell (vix-tui package)
│ ├── src/
│ │ ├── main.rs # CLI entry point
│ │ ├── lib.rs # Library root
│ │ ├── app.rs # App state and logic (more in app/*.rs)
│ │ └── ui.rs # Rendering (more in ui/*.rs)
│ ├── tests/ # Integration and snapshot tests
│ ├── benches/ # Criterion benchmarks
│ ├── examples/ # Headless examples and doc generators
│ └── Cargo.toml
├── gui/ # Desktop GUIs (a separate workspace)
├── fuzz/ # Fuzz targets (a separate workspace)
├── docs/ # Documentation
├── spec/ # Specifications
├── scripts/ # Development scripts
└── ...
Key Directories
| Directory | Purpose |
|---|---|
crates/vix-editor-core/ | Core editor widget and engine |
crates/vix-keymap-model/ | Keymap definitions |
crates/vix-theme/ | Theme system |
crates/vix-lsp/ | LSP client |
crates/vix-db/ | Database workbench |
crates/vix-git/ | Git integration |
tui/src/app/ | App logic by feature area |
tui/src/ui/ | UI rendering by component |
docs/ | User documentation |
spec/ | Cross-cutting specifications (each crate’s own spec is crates/<crate>/spec/index.md) |
For which crate owns which feature, see the Crate Map; for how the layers fit together, see Architecture.
Finding Code
-
Use
greporrg(ripgrep) to search:# Search for a function rg "fn my_function" --type rust # Search for a struct rg "struct MyStruct" --type rust # Search in a specific directory rg "pattern" crates/vix-editor-core/ -
Use Vix’s own search:
Ctrl+Pthen>for command paletteCtrl+Shift+Ffor workspace searchCtrl+Tfor workspace symbol search
Building for Different Platforms
Cross-Compilation
Vix supports cross-compilation to different platforms:
# Build for macOS (native on macOS)
cargo build --release --target aarch64-apple-darwin
# Build for Windows (requires mingw-w64)
cargo build --release --target x86_64-pc-windows-gnu
# Build for Linux (requires musl toolchain)
cargo build --release --target x86_64-unknown-linux-musl
Install cross-compilation tools:
# macOS (Homebrew)
brew install mingw-w64
brew install messense/macos-cross-toolchains/x86_64-unknown-linux-musl
# Ubuntu/Debian
sudo apt install gcc-mingw-w64 g++-mingw-w64
Using the Makefile
The Makefile provides convenient targets for cross-compilation:
# Build for all platforms
make build
# Build for macOS only
make build-macos
# Build for Windows only
make build-windows
# Build for Linux only
make build-linux
# Clean all build artifacts
make clean
Running in Different Environments
Running in Podman
# Build the Podman image
podman build -f docker/Dockerfile -t vix .
# Run Vix in the demo workspace
podman run --rm -it vix
# Run Vix on your own files
podman run --rm -it -v "$PWD:/work" -w /work vix .
Note: Podman is rootless by default and provides a Docker-compatible CLI.
Use podman or docker commands interchangeably.
Debugging
Where Vix’s own diagnostics go
The TUI owns the terminal, so Vix never prints while it runs: a stray
println! would scribble over the frame, and tui/tests/code_lints.rs
fails the tests on one in library code. Vix has no log file and reads no
RUST_LOG; its warnings and errors go to the Messages drawer in the right
dock, and the output of tasks, tests and language servers to the Output
dock. When reporting or chasing a problem, look there first.
vix --doctor (or Help → Run Diagnostics) checks the environment: git on
PATH, the configured language servers, the spell-check dictionary and the
terminal’s color support (see crates/vix-doctor/spec/index.md).
Panics and crash reports
A panic restores the terminal, saves a crash report
with a backtrace (always captured, so RUST_BACKTRACE is not needed) to the
crashes folder in Vix’s data folder, and prints its path. Help → Report a
Crash… opens the newest one. A debug build ([profile.dev] keeps line
tables) gives file and line numbers in the backtrace’s frames.
Reproducing without a terminal
Most bugs reproduce faster without the terminal in the way. The App shell is
also a library (crate name vix), and its examples drive it headlessly:
# Draw one 80x24 frame of the real TUI as plain text, with a file open
cargo run --example render_frame -- Cargo.toml
# Type into a buffer, run a find-and-replace and save, all through key events
cargo run --example headless_edit
A bug you can reproduce that way belongs in a test: tui/tests/snapshots.rs
renders frames the same way (with ratatui’s TestBackend) and compares them
with golden screens under tui/tests/snapshots/.
Using a debugger
Use rust-lldb or rust-gdb (shipped with the toolchain; they load Rust’s
pretty-printers, so a PathBuf or a String prints as text). [profile.dev]
keeps only line tables, which is enough for breakpoints and backtraces; to
inspect variables, build with full debug information:
# Full debug information for the workspace crates (dependencies stay without)
CARGO_PROFILE_DEV_DEBUG=full cargo build --example render_frame
# Stop in App::new and look at a variable
rust-lldb --batch -o "breakpoint set --name '<vix::app::App>::new'" -o run \
-o "frame variable root" -o kill -- target/debug/examples/render_frame Cargo.toml
The toolchain uses Rust’s v0 symbol mangling, so give lldb the full path the
way it prints one: an inherent method is <crate::module::Type>::method (a short regex
such as App::new matches nothing). breakpoint set --file app.rs --line N
works too.
To debug the interactive TUI itself, start it in one terminal
(cargo build && target/debug/vix) and attach from another, so the debugger’s
own output does not fight the TUI for the screen: rust-lldb -p <pid> (or
rust-gdb -p <pid> on Linux). On Windows, open target\debug\vix.exe in
the Visual Studio debugger.
When it is slow, not wrong
Start Vix with VIX_PROFILE=profile.txt to get per-frame timings of a real
session, then use a sampling profiler to see where the time goes; both are in
Performance.
Common debug commands
# Check Vix version
cargo run -- --version
# Check the environment (git, language servers, dictionary, colors)
cargo run -- --doctor
# List every command-palette command with its i18n key and action id
cargo run --example list_commands
The full action, setting and keybinding references in docs/reference/ are
generated by cargo run --example list_commands -p vix-tui -- --write.
Contributing
Code Style
- Follow Rust naming conventions
- Use
snake_casefor functions and variables - Use
PascalCasefor types and traits - Use
SCREAMING_SNAKE_CASEfor constants - Use
//comments for line comments - Use
///for doc comments - Use
//!for module-level doc comments
Linting
Vix uses strict linting:
# Run clippy
cargo clippy --workspace --all-targets -- -D warnings
# Run fmt
cargo fmt --check
# Fix formatting issues
cargo fmt
Note: All public items must have doc comments. The build will fail if any public item is missing documentation.
Testing
- All new code should have corresponding tests
- Unit tests go in the same file as the code or in a
testsmodule - Integration tests go in the
testsdirectory - Use
#[cfg(test)]for test-only code
Documentation
- Update documentation when adding new features
- Keep specs up to date
- Use cross-references to other documentation
Submitting Changes
- Sign your commits (optional but recommended)
- Run the full quality gate:
scripts/check - Push to your fork
- Create a pull request
- Wait for CI to pass
- Request review from maintainers
Releases
Contributors do not cut releases. A release is a signed version tag on a
commit already on main, which starts .github/workflows/release.yml
(generated by dist from dist-workspace.toml); tagging and publishing are
the maintainer’s decision. Releasing describes the whole
process, including the local alternative scripts/release-local.
Community
Getting Help
- GitHub Discussions - Ask questions
- GitHub Issues - Report bugs
- CONTRIBUTING.md - Contribution guidelines
Staying Updated
- Watch the repository for releases
- Join the community discussions
- Follow the changelog
Troubleshooting
Common Issues
Build fails with linker errors:
- Make sure you have a C++ compiler installed
- Check that your Rust version matches the
rust-versioninCargo.toml
Tests fail:
- Run the one failing test on its own (
cargo test -p <crate> <name>) to rule out interference from another test - A snapshot test that fails after a deliberate UI change needs its golden
screen updated and read line by line (see
agents/conventions.md)
Formatting errors:
- Run
cargo fmtto fix formatting - Check the output of
cargo fmt --check
Clippy warnings:
- Run
cargo clippy --workspace --all-targets -- -D warnings - Fix all warnings before committing
Git hooks not working:
- Run
make hooksto install git hooks - Or manually set
git config core.hooksPath scripts/hooks
Quick Start Checklist
- Install Rust
- Install Git
- Install C++ compiler
- Clone the repository
- Build with
cargo build - Run tests with
cargo test - Run the quality gate with
scripts/check --tier fast - Install git hooks with
make hooks - Start contributing!
Happy developing!
Vix™ and Vix IDE™ are trademarks.
AGENTS.md
Guidance for AI agents and human contributors working in the Vix repository.
This file is the entry point; see agents/ for topic guides and
index.md for the full documentation map.
Specification Driven Development
The spec/ directory is the source of truth.
- Before doing anything, read every file in the
spec/directory. - Treat all files inside
spec/as strict requirements. Where any file disagrees with the spec, the spec wins: fix the file, or change the spec on purpose and bring the other files into line in the same commit. - Do not improvise structure, style, or citation practice.
Governance
Read AI_STATEMENT.md before doing anything outward-facing
or hard to reverse (a force-push, publishing a release, publishing a package).
It says what an AI agent is and isn’t pre-authorized to do here without asking
first — the default is to confirm; standing exceptions are listed there and
nowhere else. Two exceptions stand today: cargo publish, and judging that
a specific release is ready (version/CHANGELOG.md correct, scripts/check
green, scope complete) — an agent may decide that on its own rather than
asking first. Neither extends to cutting a tagged release or creating a
GitHub/GitLab/Codeberg Release; that’s still confirmed first.
Found a security vulnerability? See SECURITY.md — report
it privately, not as a public issue.
What Vix is
Vix is a keyboard-friendly terminal text editor (a “Simple Terminal Rust IDE”),
built on ratatui. It is a Cargo workspace (edition 2024): a thin App
shell (package vix-tui in tui/, which builds the vix command; sources in tui/src/) — CLI, event loop, App state, rendering,
explorer — over 148 focused vix-* member crates under crates/, including
the custom editor widget vix-editor-core. tui/src/lib.rs re-exports the member
crates under short module names (pub use vix_git as git;), so crate::git,
crate::menu, crate::db still name them. The App shell’s two largest files
are themselves split into submodules: tui/src/app.rs delegates most of its logic
to tui/src/app/*.rs (keymap.rs, git.rs, org.rs, lsp_dap.rs, and others,
one per feature area), and tui/src/ui.rs delegates most of its drawing to
tui/src/ui/*.rs (choosers.rs, db.rs, edit_surfaces.rs, menu_bar.rs, and
others). See docs/architecture/index.md.
Source of truth
Specs are the specification and the source of truth, and development is
specification-driven. Each member crate owns its spec at
crates/<crate>/spec/index.md (multi-topic crates add spec/<topic>/index.md);
the repo-root spec/ holds only cross-cutting / app-level and build/meta specs
(index, navigation, overlay-priority, tools, test, ci,
comparisons, emacs-menus, license, trademarks, rust-msrv-n-minus-2,
rust-clippy-pedantic, dependabot, …).
When behavior and spec disagree, decide which is correct, then make them match —
update the spec when intent changes, update the code when the code drifted. Keep
specs and implementation in sync.
Specs are living documentation, so they are checked like code:
scripts/check-docs fails on a broken link or path, on a crate with no spec, on
a crate missing from the crate map, and on a README.md that has drifted from
its index.md twin. Some documentation directories carry both names — index.md
is what the doc map links, README.md is what a forge renders when you browse
to the directory — and where both exist they must stay identical. Make
README.md a symlink to index.md (ln -s index.md README.md), so they
can’t drift apart; scripts/check-docs also accepts a real byte-identical
copy, but every one currently in the repo is a symlink.
Build, test, lint
cargo build # build the vix binary + library
cargo test # integration + unit + doc tests (no terminal needed)
cargo clippy --workspace --all-targets -- -D warnings # lints; kept clean
cargo run # run the editor in the current directory
cargo run -- --locale fr # run in a specific language
cargo bench # Criterion benchmarks over the hot paths
cargo +nightly fuzz run <target> # fuzz a pure core (see fuzz/README.md)
cargo run --manifest-path gui/Cargo.toml -p vix-gpui # desktop GUI on GPUI (or -p vix-egui, vix-iced, vix-gtk4, vix-slint, vix-bui, vix-zgui; gui/spec/index.md)
scripts/check-docs # documentation integrity (links, twins, crate specs)
Edition 2024. The toolchain floor is rust-version in Cargo.toml; the policy
is current stable minus two, verified by CI — see
spec/rust-msrv-n-minus-2/index.md. Syntax
grammars are feature-gated: --features syntax-all for every grammar,
--no-default-features for none.
scripts/check (or make check) runs the whole gate locally — fmt, build,
clippy, tests, cargo doc, and the documentation checks. CI enforces the same gate on all
three forges Vix is pushed to (GitHub, GitLab, Codeberg); when the gate changes,
change every forge’s config with it. See spec/ci/index.md.
scripts/check runs in a clean room (T764): it strips kache/sccache from
PATH and RUSTC_WRAPPER and sets HOST_CC=cc HOST_CXX=c++ itself (opt out with
VIX_CLEAN_ROOM=0; never hand-strip them), prints which environment it ran in,
and wants one private CARGO_TARGET_DIR per concurrent gate/worktree, never a
shared one (see spec/local-ci “Build caching”).
scripts/check --tier fast|push|full (T760) picks how much to run while you
iterate (fast: fmt, clippy and tests of changed crates; push: the whole
workspace plus docs; full, the default, is the landing bar). Only the full
tier proves a change is ready; the others print their own distinct OK (tier …)
line, and every step reports its wall-clock time. scripts/attest (T761) runs
the full tier and records a signed git note (refs/notes/vix-gate) for the
tree; make hooks installs a pre-push hook that refuses main and tags
without one (see spec/local-ci).
Hard rules enforced by the build
The root Cargo.toml sets unsafe_code = "forbid" and missing_docs = "deny"
in [workspace.lints.rust] (and clippy::pedantic in [workspace.lints.clippy]);
every crate opts in with [lints] workspace = true, so the policy covers libs,
bins, tests, benches, examples and build scripts (T599). Therefore:
- Every public item needs a doc comment. A new
pub fn/struct/fieldwithout///fails the build. - No
unsafe. clippy::pedanticis on everywhere through[workspace.lints]– no per-file attribute is needed. A new crate must carry[lints] workspace = true.allow_attributes_without_reason,redundant_clone,clone_on_ref_ptr(writeArc::clone(&x)),dbg_macroandtodoare on too, so every#[allow(..)]needs areason = "..".unwrap_usedandexpect_usedare on too (tests exempt): preferlet Some(x) = .. else { return }and?; use#[expect(clippy::expect_used, reason = "..")]only for provably safe sites. There is no blanket#![allow(clippy::pedantic)]and no#![allow(missing_docs)]; fix findings in code. Sanctioned allows are only a handful of targeted#[allow(clippy::too_many_lines)]/too_many_argumentson specific functions that resist further extraction — there is no standing#[allow(clippy::struct_excessive_bools)]anywhere in the codebase: T149 converted every bool-cluster struct (SearchBar,WorkspaceSearch,DblockParams, bothEditors, and finallyAppandSettingsthemselves) to abitflags-basedFlagsfield instead. Prefer that over a new allow for a struct whose bools are independent, freely-combinable toggles.- Keep the tree clean:
cargo clippy --workspace --all-targets -- -D warnings.
Non-negotiable conventions
- Internationalize all user-facing text. Never hard-code a display string;
add a key to the right
crates/vix-i18n/locales/*.ymlfile and render it witht!. Data modules store i18n keys; the host translates. Seedocs/internationalization/. - One action, one implementation. Menu items, palette commands, and
shortcuts all dispatch through
App::run_actionusing string action ids (file.save,view.theme, …). Add the behavior there once. - Built-in themes are monochrome. One fg, one bg; emphasis via dim and full
intensity (no bold or italic); reversed video only for selections and the
cursor. Color belongs only to custom JSON themes. See
docs/themes/index.md. - Keep the logic terminal-independent. Editing/state logic lives in the
library and is tested without a TTY. Rendering lives only in
tui/src/ui.rs. - Input dispatch is keymap-aware. Raw keys route through the active keymap
(Apple / VSCode macOS / VSCode Windows / Emacs / Vi / Spacemacs / IntelliJ
macOS / IntelliJ Windows / Eclipse / Sublime / Zed / Fresh / ttt / Helix) in
App::on_key; keymaps translate keys into the samerun_actioncalls and editor motions rather than duplicating behavior. On macOS,Commandis folded intoControlfirst, so every keymap sees a chord it already knows. Seecrates/vix-keymap-model/spec. - One
ratatuiversion. The whole widget stack must agree onratatui0.30 /crossterm0.29. Don’t add a widget crate on a different version.
Where things live
| You want to… | Go to… |
|---|---|
| Add or reorder a modal overlay | the OVERLAYS table in tui/src/app/overlays.rs (+ ui::draw_overlay); see spec/overlay-priority/index.md |
| Return an error from a library fn | a small #[non_exhaustive] error enum, not Result<_, String> (agents/conventions.md, T610) |
| Spawn a child process | list the site in tui/tests/spawn_sites.rs (T595) and gate it behind a capability feature |
| Print to stdout/stderr | don’t, in library code: use the message drawer; a real CLI channel goes in tui/tests/code_lints.rs (T833) |
| Add/route a command | tui/src/app.rs (run_action, dispatching into tui/src/app/*.rs), crates/vix-menu/, crates/vix-palette/ |
| Change rendering | tui/src/ui.rs, usually via one of its tui/src/ui/*.rs submodules |
| Add/translate UI text | crates/vix-i18n/locales/*.yml (+ t! at the call site) |
| Add a setting | crates/vix-settings/ |
| Change the editor widget | crates/vix-editor-core/ (engine reused; widget is Vix’s) |
| Change soft-wrap / bracket rendering | crates/vix-editor-core/src/wrap.rs, .../brackets.rs |
| Change theme colors/model | crates/vix-theme/, crates/vix-theme-model/ |
| Change available UI languages | crates/vix-locale-model/, crates/vix-i18n/ |
| Change keyboard navigation styles | crates/vix-keymap-model/ + keymap dispatch in tui/src/app/keymap.rs |
| Change the calendar | crates/vix-calendar-panel/ |
| Change spell checking | crates/vix-spellcheck/ + wiring in tui/src/app.rs / tui/src/ui.rs |
| Change git status/diff/staging | crates/vix-git/ + wiring in tui/src/app/git.rs / tui/src/ui/choosers.rs |
| Change the find/replace engine | crates/vix-find-panel/ (matches/replace_all/unescape/PathFilter) |
| Change LSP support | crates/vix-lsp/ (host) + crates/vix-lsp-core/ (protocol) |
| Change branch review / rebase editor | crates/vix-review/ + tui/src/app/git_review.rs; crates/vix-git/ + tui/src/app/git_rebase.rs |
| Change the integrated terminal | crates/vix-terminal/ + tui/src/app/terminal.rs |
| Change project env (direnv/mise/venv) | crates/vix-project-env/ + tui/src/app/project_env.rs |
| Change ghost-text completion | crates/vix-lsp/ (ghost) + crates/vix-ai-core/ (fim) + tui/src/app/ghost.rs, tui/src/ui/ghost.rs |
| Change the database workbench | crates/vix-db/ (module tree + crates/vix-db/spec) |
| Change clipboard access | crates/vix-clipboard/ (opt-in platform pasteboard) |
| Change terminal input (paste, modifiers) | tui/src/main.rs (terminal modes) + App::on_paste / App::on_key |
| Change Org tables / column view | crates/vix-org-table/, crates/vix-org/src/columns.rs, crates/vix-column-view/ |
| Change file access / process spawning / remote editing | crates/vix-authority/ (the Authority trait: local, SSH, fake, remote agent) + tui/src/remote.rs, tui/src/app/remote_session.rs |
| Gate a capability at build time | tui/Cargo.toml [features] + tui/src/capability.rs (see spec/cargo-features/index.md) |
Change vix --mcp | crates/vix-mcp-server/ (protocol) + tui/src/mcp.rs |
| Change Cowork / IM | crates/vix-cowork*/, crates/vix-im*/ + tui/src/app/cowork.rs, tui/src/app/im*.rs |
| Change the Large File Viewer | crates/vix-large-file/ + tui/src/app/large_file.rs |
| Add a benchmark or fuzz target | tui/benches/, fuzz/fuzz_targets/ (see spec/test/index.md) |
See agents/share/crate-map.md for the full map.
When to add a new crate (T151)
Vix is deliberately “crates, not modules” — but that doesn’t mean every new type earns its own crate. Before splitting something out (or leaving a recent split in place), it should clear a minimum-viable bar:
- Own spec.
crates/<crate>/spec/index.md, gated byscripts/check-docs. - Own tests, in some form. That can be
#[cfg(test)]unit tests in the crate itself, or — for a crate whose only job is holding state the App shell drives via key/mouse events (a panel/dialog’s fields plus a few methods, no meaningful behavior outside that loop) — thorough coverage intui/tests/integration/*.rsexercising the realApp. The distinction is whether the crate has any logic worth testing in isolation; a bag of fields with no methods has none, no matter which layer tests it. - A consumer other than the App shell, or a clear reuse story. Either
another crate already depends on it, or it is host-agnostic by design
(no dependency on
Appor terminal I/O) even if only one host currently uses it — the same bar T152’s extractions were held to.
A crate that fails all three — no logic to test, no spec of its own
worth maintaining, and no plausible consumer beyond the one struct field
that holds it — should fold into its sole consumer instead (precedent:
vix-projectile merged into vix-tasks the same day it was built, and
T151 folding vix-query into tui/src/app.rs). A crate that’s merely small
(under ~100 lines) but has real tests and a real reuse story is fine as
is — vix-theme’s icon set and the single-format vix-convert-from-*-tool
family are size-appropriate for what they do, not micro-crates in the
guideline’s sense.
Making a change (checklist)
- Read the owning crate’s
spec/index.md(or the cross-cutting rootspec/); update it if intent is changing. - Implement in the owning crate; keep editing logic out of
tui/src/ui.rs. - Internationalize any new text (YAML key +
t!). Worldwide target: no feature may favor the US/UK; standards, locales and conventions must serve every country, region and federation equitably (spec/worldwide/index.md). - Document every new public item (
deny(missing_docs)). - Add/extend tests (
tui/tests/integration/main.rsor a module’s unit tests). - Run the whole
scripts/checkgate (the local CI-parity gate; it ends withOK: … all passed, orOK (scope changed, …)whencargo docand semver ran only on the changed crates and their dependents, which is the local default; CI runs the whole workspace with--scope all) before every commit you intend to land — not a hand-picked subset:cargo doc, the generated-reference diff andscripts/check-docscatch what clippy and the tests don’t. - Note user-visible changes in
CHANGELOG.md. - Spelling: prose/docs are checked with CSpell (
cspell.json); add project terms to the external dictionaryproject-words.txt. - Land it on its own branch, merged
--no-ff, from your own git worktree (several agents share this checkout); commits are SSH-signed and carry aCo-Authored-By:trailer. Details:agents/workflow.md.
Topic guides
The guides live in agents/ — lowercase, like every other directory
here; only this entry-point file is uppercase, because agent tooling looks for
that name (see spec/agents-directory-name-is-lowercase/index.md).
agents/conventions.md— coding style and patterns.agents/workflow.md— the spec-driven workflow in detail.agents/share/crate-map.md— every module and file.agents/share/glossary.md— shared terms.
Coding conventions
Patterns specific to this codebase. General Rust style (rustfmt defaults) applies on top.
Documentation
missing_docs = "deny"is set for every crate by[workspace.lints]. Document all public items with///; module headers use//!.- Doc comments say what and why, briefly. Implementation details that would
surprise a reader get an inline
//comment explaining the why. - One
CHANGELOG.mdentry per user-visible change, added to## [Unreleased]in the same change that makes it (T309,tasks.md) — not batched up for later. “User-visible” means anything a person running Vix could notice: a new feature, a changed default, a fixed bug, a removed capability. A change with no such effect — an internal refactor, a crate split, a test reorganization, a CI/tooling fix, a lint cleanup — does not get one; padding the changelog with those buries the entries that matter. When in doubt, ask whether a user reading the changelog would care; if the honest answer is no, leave it out.
Lints
unsafe_code = "forbid",missing_docs = "deny"andclippy::pedanticlive once in the root[workspace.lints]; each crate has[lints] workspace = true(T599), so there are no per-file lint attributes to repeat. Every#[allow(..)]needs areason = "..", andArc::clone(&x)is used instead ofx.clone()on reference-counted pointers. Keepcargo clippy --workspace --all-targets -- -D warningsclean.- No blanket allows. There is no
#![allow(clippy::pedantic)]and no#![allow(missing_docs)]; fix findings in code (saturatingtry_fromcasts, extract helpers fortoo_many_lines, context structs fortoo_many_arguments, add# Errors/# Panics, etc.).editor_core’s modules are held to the same workspaceclippy::pedanticas everywhere else — there is no blanket#[allow(clippy::all, clippy::pedantic)]anywhere in the crate. - Sanctioned exceptions are only a handful of targeted
too_many_lines/too_many_argumentsallows on specific functions that resist further extraction. There is no standing#[allow(clippy::struct_excessive_bools)]anywhere in the codebase: every bool-cluster struct (App,Settings,SearchBar,WorkspaceSearch,DblockParams, botheditor_core::Editors) has been converted to abitflags-basedFlagsfield instead — prefer that over a new allow for a struct whose bools are independent, freely-combinable toggles. - Project lints (
tui/tests/code_lints.rs, T833): noprintln!,eprintln!,print!,eprint!ordbg!in library code outside its allowlist (each entry with a count and a reason), and no untranslated literal handed toself.messages.*orself.status. Seespec/test, “Project-specific lints”.
Internationalization
- User-facing strings are i18n keys looked up with
t!, never literals. - Keys are dotted and namespaced (
menu.*,cmd.*,ui.*,status.*,msg.*,help.*,prompt.*,theme.*,palette.*). - Interpolation uses
%{name}in YAML andt!("k", name = value)in code. t!returnsCow<str>; call.to_string()when aStringis required.- Data modules (menu/palette/theme/keyboard) hold keys; the host calls
t!.
Actions
- Commands are string ids dispatched by
App::run_action(in the App shell,tui/src/app.rs). The menu (crates/vix-menu/) and palette (crates/vix-palette/, re-exported ascrate::menu/crate::palette) reference the same ids. - To add a command: add the
run_actionarm, then reference it from a menu item and/orpalette::COMMANDS, and add its i18n label key.
Pure-logic modules
- Prefer a small pure module (
text -> textor(text, cursor) -> …) with unit tests for any non-trivial transform, and keep theAppmethod a thin wrapper that reads the buffer, calls the pure fn, and writes back. Examples:align,emmet,tags,http_client::parse_request,org_table, andtextops(whole-text transforms plus the cursor-relative rewritesbump_number_at/smart_toggle_at/transpose_*_at/delete_*_at). A family of related transforms shares its unit builders rather than each re-deriving ranges — seetextops’sword_units/sentence_units/paragraph_units/section_units, used by both transpose and delete. - Buffer-mutating actions funnel through
App::transform_selection_or_buffer(selection-or-whole-buffer),App::rewrite_at_cursor(cursor-relative), orinsert_str; all are read-only-aware.
Crate layering
- A new dependency keeps the five layering rules in
docs/architecture: nothing depends onvix-tui; onlyvix-inputandvix-tuiusecrossterm; a*-core/*-modelcrate reaches no*-panel/*-picker/*-preview/*-viewcrate; no GUI depends on another;vix-mcp-serverreaches no such UI-surface crate either.tui/tests/crate_layering.rsfails on the offending edge. After changing a crate’s dependencies, regeneratedocs/reference/crate-layers.mdwithcargo run --example list_commands -- --write. - The same run rewrites
docs/reference/quality-metrics.md(lines, test, property-test and ignore counts, translation completeness, allowlist sizes), so adding tests, keys or allowlist entries changes it too; commit the regenerated page with the change.
Rendering
- All of the app’s drawing is in
tui/src/ui.rs; no editing/state logic there. The editor widget renders itself (ineditor_core); the app just hands it aRect. - Paint the whole frame in the theme background first, then panes, then overlays.
- Overlays
Cleartheir rect and set the block.style(theme::base())so they read correctly in light mode. - Use the region-aware styles (
theme::region_base(Region::…)) for the menu bar, status bar, docks, and editor so custom themes can color them.
Terminal input
- The terminal is owned by
tui/src/main.rsalone: raw mode, mouse capture, bracketed paste, and (on macOS) the kitty keyboard flags that make theCommandmodifier reportable. Every mode it turns on it turns off again, on exit and around suspend. - Events reach exactly three entry points —
App::on_key,App::on_mouse,App::on_paste. Anything that needs a fourth is a bug in the routing, not a new entry point. - Normalize at the entry point, not per binding: the macOS
Command→Controlfold happens once at the top ofon_key, so every keymap sees a chord it already knows. - A pasted chunk is one edit, not a replay of keystrokes: replaying re-triggers auto-indent and auto-pairing and leaves one undo entry per character.
Theme
- Built-ins are monochrome; get colors from
theme::fg/bg/base/title/dim/selected(mode-aware) ortheme::region_*(custom-theme-aware). - Reversed video is reserved for selections and the block cursor.
State and modals
Appholds all state. Overlays areOption<…>fields; every modal layer has one row in theOVERLAYStable intui/src/app/overlays.rs, ordered bottom to top (seespec/overlay-priority). The frame draws the open rows in table order (ui::draw_overlays); keys are offered to them in reverse order (App::route_overlay_key), so the layer drawn on top gets the keys.App::overlay_capturing_keysis derived from the same table (the paste router and ghost text ask it whether a keypress would reach the editor). To add an overlay: add its row, itsOverlayIdvariant (enum order is table order) and its arm inui::draw_overlay; a layer with no key policy does not compile.- The chooser/model modules expose
open()/up()/down()/selected_*(); the app wires keys and applies the result.
Errors and panics
- No
unsafe. Avoidunwrap/expecton fallible runtime paths; prefer reporting to the message drawer (self.messages.error(…)) or status line. expectis acceptable for genuinely-infallible invariants, with a message.- Library crates return typed errors, not
Result<_, String>(T610; no public function incrates/,gui/ortui/srcdoes any more). Define a small#[non_exhaustive]enum per fallible operation (BaseError,ConvertError,SessionError, …), implementDisplayandstd::error::Errorby hand (the tree does not usethiserror), keepDisplaytext equal to the message a caller already showed, and wrap the cause (io::Error,ParseIntError) in a variant so callers can match on it. Private helpers may keepString.
Security
- A change that runs a program, reads project configuration, talks to the
network, holds a secret, takes a path from outside or parses input Vix did
not write answers the “Checklist for a new feature” in
docs/threat-model.md. A change that adds or moves a trust boundary updates that page andSECURITY.mdwith it. - Never commit a credential.
tui/tests/secret_scan.rsfails on a real-shaped one; a test fixture that needs a full-length fake goes in itsALLOWEDlist with a reason (build fakes at run time where you can, as its own tests do).
Tests
- Prefer terminal-independent tests: build an
App, feedKeyEvents, assert on state. Render checks use a sizedTestBackend. - Avoid asserting on translated text where a process-global locale could race; assert on state or i18n keys instead.
- Tests must not touch the machine. The platform clipboard is opt-in
(
vix_clipboard::use_system, called only bymain), so a test run cannot overwrite what the developer copied; hold anything else that reaches outside the process to the same standard, and write to a temp directory keyed bystd::process::id(). - A platform-specific behavior gets a test that asserts the platform-appropriate
outcome (
if cfg!(target_os = "macos") { … } else { … }), so it still runs — and still means something — on the CI that is not that platform. - Pure parsers and text transforms get a fuzz target under
fuzz/fuzz_targets/; anything on the per-keystroke or per-frame path gets a Criterion benchmark undertui/benches/. Run one withcargo +nightly fuzz run <target>(needscargo install cargo-fuzz; add-- -max_total_time=600for a fixed-length run rather than fuzzing until Ctrl+C) — it’s a separate workspace (fuzz/Cargo.toml) socargo build/cargo check --workspaceat the repo root never touch it. Seefuzz/README.md(target list, reproducing/minimizing a crash) andspec/test/index.md. - When the layout itself is what’s under test (a dialog’s framing, a dock’s
column widths, a long line truncating), add a golden-screen test to
tui/tests/snapshots.rsinstead of a state assertion — pin the locale toenfirst, sincerust_i18n::locale()is process-global. Reviewing a changed snapshot:INSTA_UPDATE=always cargo test --test main snapshots::, then read every line ofgit diff tui/tests/snapshots/(orcargo insta reviewwithcargo-instainstalled) before committing — a snapshot diff is a signal to explain, not a formality to wave through. Seespec/test/index.md’s “Snapshot testing” section.
Spec-driven workflow
Vix is developed specification-first. Each member crate’s spec/index.md
describes that crate’s intended behavior and is the source of truth; the code
implements it. Cross-cutting / app-level specs live at the repo-root spec/.
The loop
- Read the spec. Find the owning crate’s
spec/index.md(or the relevant rootspec/topic — see the map below). If the change alters intended behavior, edit the spec first so it stays authoritative. - Implement in the smallest fitting module. Keep editing/state logic in the
library; keep rendering in
tui/src/ui.rs. - Internationalize any new user-facing text: add the key(s) to
the right
crates/vix-i18n/locales/*.ymlfile (English at minimum; other locales fall back to English) and render witht!. - Document every new public item (the build denies missing docs).
- Test: extend
tui/tests/integration/main.rs(itsmods:common.rsfor shared fixtures, plus one file per area —ai,catalog,compare,cowork,db,editing,find,git,ide_parity,im,keybindings,keymaps,large_file,lsp,mcp,menu,modal,org,palette,panels,save,scripting,themes,workspace, and others;ls tui/tests/integration/) or a module’s unit tests. Remote editing has its own top-level suites (tui/tests/authority_*.rs,remote_agent.rs,remote_ui.rs). A pure transform gets unit tests next to it; a fuzz target if it parses untrusted text; a Criterion benchmark if it runs per keystroke or per frame. - Verify: run the whole
scripts/checkgate (fmt, build, clippy at pedantic with-D warnings, tests, feature combinations, headless examples,cargo docwith warnings denied, generated reference docs and man page current, semver,scripts/check-docswith CSpell, per-binary licenses). It ends withOK (scope changed, …)by default, because locallycargo docand semver cover only the crates changed sincemainplus their dependents (a root, toolchain or lint file change widens this to the whole workspace;--scope allforces it, and CI and the attestation use it), or withOK: … all passedfor the whole workspace. It runs in a clean room (T764): nokache/sccachewrapper on PATH or inRUSTC_WRAPPER,HOST_CC=cc,HOST_CXX=c++, set byscripts/checkitself (opt out withVIX_CLEAN_ROOM=0), so do not strip them by hand. Give every gate that runs at the same time its ownCARGO_TARGET_DIR(one per worktree, never one shared; cargo’s lock serializes a shared directory), and read the==> environment:line in the log to see what it ran in. While iterating,scripts/check --tier fast(fmt, clippy and tests of the crates changed sincemain) or--tier pushis quicker, but only the defaultfulltier counts as the landing gate; the shorter tiers end inOK (tier …), never the full pass line. Run all of it right before every commit you intend to land, not a hand-picked subset:cargo doc, the reference-docs diff andcheck-docscatch things clippy and the tests never see. - Record user-visible changes in
CHANGELOG.md.
Landing a change
- One branch per change, off
main; merge withgit merge --no-ffso the feature boundary stays in history, then delete the branch. Push only when the maintainer asks (git push origin mainreaches GitHub, GitLab and Codeberg at once). - Attest before pushing (T761).
scripts/attestruns thefullgate on a clean checkout and records a signed note (refs/notes/vix-gate) bound to the tree.make hooksinstalls apre-pushhook that refuses to pushmainor a tag without a valid attestation (scripts/attest --verify); a non-main branch may useVIX_ALLOW_UNATTESTED=1(the hook then runs thefasttier),mainand tags never. Itspre-commithook checks staged files only (format, secrets, new files over 1 MiB, code lints; T833). Push the notes besidemainwithgit push origin refs/notes/vix-gate. Commit signing is never bypassed. Seespec/local-ci. - Several agents share one checkout. Work in your own git worktree
(
.claude/worktrees/<name>), and merge large branches in a separate worktree rather than switching the shared checkout’s branch under another session. Checkgit statusandgit logfresh before starting: another session may already have landed the task. - Never use a bare
git stash/git stash pop: the stash stack is shared by every worktree. Prefer a temporary WIP commit. - Commits are SSH-signed (
commit.gpgsign). The first signature in a session can wait on the key’s passphrase; rungit commitunder a timeout (for exampletimeout 90 git commit …) and stop to ask if it hangs, rather than disabling signing. - AI-assisted commits end with a
Co-Authored-By:trailer naming the model; the git author and committer stay human. SeeAI_STATEMENT.mdfor what an agent may do without asking (it may runcargo publish; it may not tag or cut a release).
Reviewing a change
Review against the same rules the change had to follow; the pull-request
template (.github/pull_request_template.md, with an identical
.forgejo/pull_request_template.md that tui/tests/code_lints.rs keeps in
step) is the author’s half of this list.
- Read the spec diff first. The owning spec should say what the code now does. A behavior change with no spec change, or a spec that describes something the code does not do, is drift: ask for the missing half rather than approving one side.
- Read the whole diff, tests included.
git diff main...<branch>(three dots: only what the branch added). A changed snapshot undertui/tests/snapshots/is read line by line; an unexplained moved line is a regression until shown otherwise. - Check what the tools cannot. clippy, the tests and
scripts/check-docscatch most mechanical slips. A reviewer looks for what they miss: a user-facing string outsidet!, or a key missing from a locale its neighbors have; a new action id without exactly onerun_actionarm and a menu leaf, palette entry orvix-action-catalogrow; an#[allow]without areason;unwrap/expecton a runtime path; unchecked arithmetic in new code (spec/rust-checked-arithmetic); a new child process or print that went into an allowlist without a convincing reason (tui/tests/spawn_sites.rs,tui/tests/code_lints.rs); a public API break in a published crate (cargo semver-checks, run by the full gate). - Check the bookkeeping. A user-visible change has a
CHANGELOG.mdline under[Unreleased]; a task is ticked intasks.mdwith its(Done: …)note; regenerated files (docs/reference/) match their generator. - Check provenance.
git log --show-signature main..<branch>shows every commit signed, and an AI-assisted commit ends with itsCo-Authored-By:trailer.scripts/attest --verify <rev>says whether that tree passed the full gate; without an attestation, runscripts/checkyourself before merging. - Prefer a question to a guess. Comment on the line, say what you expected
and why (a spec section, a rule, a failing case). Approving means you would
be willing to land it yourself; merging is
git merge --no-ff, as above.
Writing a spec
A spec says what the feature is, not how the code happens to be arranged today. Keep them in this shape:
- One page per crate at
crates/<crate>/spec/index.md; a crate with several distinct features addsspec/<topic>/index.mdsub-specs and links them. - Open with the contract: the action ids, the menu path, and the one-sentence behavior. A reader should be able to stop after the first paragraph.
- Tables for enumerable things — items, actions, keys, settings, formats. Prose for the rules that are not a list.
- Say why, where it is surprising. A spec that records the reason for a decision survives the next refactor; one that restates the code does not.
- Name the code that implements it (module, function, host method) at the end, so drift is visible from either side.
- Point at neighbors with relative links, and keep them resolvable —
scripts/check-docsfails on a broken one.
Some documentation directories carry index.md and a byte-identical
README.md — the doc map links the first, a forge renders the second when you
browse to the directory. Where both exist they must match: make README.md a
symlink (ln -s index.md README.md) and edit only index.md.
scripts/check-docs fails if they drift.
Auditing for drift
Drift is when code, spec, and docs disagree. scripts/check-docs catches the
mechanical half — broken links and paths, a crate with no spec, a crate missing
from the crate map, a README.md that no longer matches its twin. The rest is a
reading job:
- Compare each crate’s
spec/index.mdagainst the crate it describes (and the rootspec/topics against the app shell). - Compare
README.md/index.md/docs/*against current features, crate names, and key bindings — bindings rot fastest. - Check that every action id used by a menu or the palette has a
run_actionarm and an i18n label key, and that norun_actionarm is unreachable. - Check that user-facing strings go through
t!, that everyt!key exists incrates/vix-i18n/locales/, and that each call fills exactly the%{name}placeholders its string declares —tui/tests/i18n_keys.rsnow gates all three, because all three shipped broken at least once. (localeis reserved byt!: it selects the target locale, so it can never be a placeholder name.) - Check that every menu item has a
<label>.helptooltip key;show_menu_tooltipsis on by default, so a missing one is a blank hover. - Run
scripts/docs-coverageafter adding a user-facing crate: it lists crates with nodocs/page (docs/coverage.md); give the crate a page or add a reasonedEXCLUDEentry. - Watch for counts and versions in prose (crate count, keymap count, language count, toolchain floor) — they are the first thing to go stale.
Fix drift by aligning all three (code, spec, docs).
Spec map
Feature specs live at crates/<crate>/spec/index.md; cross-cutting ones stay at
the repo-root spec/. Notable ones:
| Spec | Covers |
|---|---|
spec/index | Overview, dependencies, architecture, status |
spec/navigation | Position history, go-to-definition/symbol |
spec/overlay-priority | One table orders overlay drawing and keys |
spec/tools | The Tools menu and which crate owns each item |
spec/test | Test strategy: unit, integration, fuzz, bench |
spec/ci | The gate, and the three forges that run it |
spec/rust-clippy-pedantic | clippy::pedantic on all targets |
spec/rust-msrv-n-minus-2 | The MSRV policy: current stable minus two |
spec/agents-directory-name-is-lowercase | Why the guidance lives in agents/, lowercase |
spec/dependabot | Dependabot: security updates + scheduled PRs |
spec/comparisons, spec/emacs-menus | Editor comparisons; Emacs menu parity |
spec/cargo-features | Capability features (full, net, opt-in cowork) |
spec/remote-editing, crates/vix-authority/spec | Remote editing over SSH; the authority slot |
spec/cowork, spec/instant-message | Real-time co-editing; the IM menu |
spec/mcp-server, spec/jupyter | vix --mcp; the Jupyter design (spike only) |
spec/ide-parity, spec/open-container | IDE-parity features; the OC container menu |
spec/worldwide | No feature may favor one country or region |
spec/llms-json-and-llms-txt, spec/monorepo-github-pages | AI maps; the website subproject |
crates/vix-menu/spec | Menu bar structure and every item |
crates/vix-keymap-model/spec | The fourteen keymaps and how keys dispatch |
crates/vix-palette/spec | Palette modes and behavior |
crates/vix-editor/spec | The editor host: tabs, splits, per-action specs |
crates/vix-editor-core/spec | The editor widget: buffer, wrap, brackets, history |
spec/find-and-replace, crates/vix-find-panel/spec | Find/replace, workspace search, query-replace |
crates/vix-fileops/spec, crates/vix-left-dock/spec | Explorer tree and file operations |
crates/vix-lsp/spec, crates/vix-dap/spec | Language Server Protocol; DAP debugger |
crates/vix-git/spec | Git status/diff/staging/conflicts |
spec/git-monorepos | Large-repository costs, measured (T800) |
crates/vix-db/spec | The database workbench |
crates/vix-org/spec, crates/vix-org-table/spec, crates/vix-org-capture/spec | Org editing, tables, capture |
crates/vix-theme/spec, crates/vix-i18n/spec | Themes; internationalization |
crates/vix-settings/spec, crates/vix-session/spec | Settings keys; session/workspace restore |
crates/vix-clipboard/spec | Clipboard access and its test isolation |
AI Statement
Vix is developed with substantial AI assistance — most of its code, specs, docs, and this file itself are written by AI coding assistants (primarily Claude Code), directed by the project’s human maintainer. This file says what that means in practice: what’s disclosed, who’s accountable, what bar AI-authored work has to clear, and what an AI agent is and isn’t authorized to do on its own.
Human accountability
Joel Parker Henderson (the repository owner) directs, reviews, and is accountable for everything that ships here, regardless of which hand typed it. An AI agent does not merge its own work unreviewed, tag a release, or act on the outward-facing steps below without the standing authorization (or explicit go-ahead) to do so.
How to identify AI-authored work
Nothing is hidden. Every AI-authored commit carries a trailer identifying the model and, where available, a link to the full session that produced it:
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_...
git log --grep='Co-Authored-By: Claude' finds all of them. The exact model
varies by when the work was done (Claude Opus, Sonnet, and others appear
across the project’s history); each commit records the one actually used
rather than this file trying to stay current with it.
On “a tool shouldn’t be named as an author, co-author, or signer.” Some
projects hold that line and disclose AI involvement only in the PR/commit
description, never in a trailer — reasoning that a Co-Authored-By line
puts the tool where only a person belongs. Vix disagrees, deliberately: git’s
Author/Committer identity — the field with actual authorship weight,
what a git blame or a signed commit’s signature resolves to — is always
the human maintainer, never a tool. That never changes here. The
Co-Authored-By trailer is a different, lighter thing: a standard git
convention (the same one GitHub uses for pairing) for crediting a
contributor to a change without claiming they hold that formal identity. A
tool named there is credited, not authored-as. That distinction is exactly
why Vix is comfortable using it where a stricter policy would not.
Same bar, same process
AI-authored changes go through the same spec-driven workflow as any other
change — AGENTS.md is canonical: read or update the owning
spec first, implement, internationalize, document, and test, then pass the
same scripts/check gate everything else does (pedantic
Clippy with -D warnings, the full test suite, a warnings-denied doc build,
documentation-integrity checks) before it merges. Being AI-written earns no
exemption from any of that.
Governance: standing authorizations
By default, an AI agent working on this repo confirms before a hard-to-reverse or outward-facing action — a force-push, publishing a release, publishing a package — rather than acting alone. That default holds except where the maintainer has deliberately granted a standing exception, each revocable at any time.
Release readiness (§1–§5)
A crates.io release of a workspace crate is ready when:
-
Version is correct — bumped in
Cargo.toml(workspace.package.version, and any per-crate override) in a way that matches the actual change — semver, not a rubber stamp. This is checked mechanically: runcargo semver-checks --workspace(CI’ssemverjob runs the same command) against the version last published on crates.io. A breaking public-API change requires a major bump of every affected crate; the version inCargo.tomlmust already be bumped when the check runs, since an unchanged version is treated as a patch release. Internal crates are declared once, in the root[workspace.dependencies](T601), each with aversion = "X.Y.Z"pin thatcargo publishneeds. So a bump touchesworkspace.package.versionand every such pin in that one file — plus the few members that keep an explicitpath/versionline because they setdefault-features = false(grep -rn 'version = "OLD"' Cargo.toml crates/*/Cargo.tomlfinds all of them). Check withcargo publish --dry-run -p <a leaf crate>. -
CHANGELOG.mdis updated — the user-visible changes since the last release are recorded under the right heading, not left in[Unreleased]. -
The gate is green —
scripts/checkclean locally, and CI confirmed actually green (not assumed from a local pass) on the forge(s) the release depends on. -
Publish order is respected — for the crate(s) being published, every
pathdependency already has a matching version live on crates.io first; nothing publishes ahead of what it depends on. -
Publish —
cargo publish, for each crate in that order.
An agent working in this repository may work through §§1–4 above, decide
the release meets them, and carry out §5 itself — the maintainer no longer
has to tick every box personally before cargo publish runs. That’s the
full extent of it: deciding that a release clears §§1–4, and then running
§5. It does not, by itself, authorize cutting a version-tag release or
creating a GitHub/GitLab/Codeberg Release — those trigger dist’s
cross-platform builds and installers, push to the Homebrew tap, and publish
public release pages, a materially bigger blast radius than a crates.io
publish. That stays confirmed first, unless separately granted.
Everything else outward-facing — force-pushing, deleting a branch on a forge, cutting a tagged release, editing repository settings — is not pre-authorized and still gets confirmed first, change by change.
Both standing exceptions (cargo publish, and judging §§1–4 for yourself)
were granted 2026-09-02.
Licensing
Vix is offered under your choice of Apache-2.0, BSD-3-Clause, MIT,
GPL-2.0-only, GPL-3.0-only, OGL-UK-3.0, or CC-BY-SA-4.0 (see LICENSE.md and
deny.toml). Anthropic does not claim ownership over Claude’s
outputs. Whether AI-assisted contributions carry copyright, and under what
terms, is an unsettled question that varies by jurisdiction — if that matters
for how you use this project, check the law that applies to you rather than
treating anything here as legal advice.
Questions
Open an issue, or reach the maintainer directly at joel@joelparkerhenderson.com.
Security Policy
This is the security policy for Vix: what it covers, how to report a
vulnerability, what happens after you do, and the threat model a report is
judged against. Its requirements are specified in
spec/security/index.md.
Scope
In scope:
- The
vixcommand (tui/) and everyvix-*crate in this repository, including the versions published to crates.io. - The desktop GUIs in
gui/. - The release artifacts this repository builds: the GitHub Release archives,
the shell and PowerShell installers, the Homebrew formula and casks (with
the macOS app bundles they install), the npm package, and the
.deb,.rpmand Arch packages. - This repository’s CI and release workflows (
.github/workflows/,.gitlab-ci.yml,.forgejo/), where a flaw could tamper with what is built or published. - The site at https://vixide.github.io (
vixide.github.io/).
Out of scope:
- Vulnerabilities in a dependency. Report them to that project. Once an
advisory is published,
cargo denyflags it here (see Hardening) and the dependency is updated or the advisory is ignored with a dated reason indeny.toml. - The external programs Vix runs on your behalf: language servers,
debug adapters, formatters, Jupyter kernels, AI agents and CLI clients,
database clients,
git,ssh,dockerand the like. Vix is in scope for how it runs them (argument quoting, which binary, under what trust gate), not for what they do once running. - Anything that needs a trusted workspace. Trusting a workspace means letting it run code (see Threat model). A workspace you trusted running code is the feature, not a bypass.
- Anything that needs the attacker to already control your user account,
your configuration directory (
~/.config/vix/), or the machine. - The two accepted risks below, unless a report shows a way past the constraints described there.
Supported versions
| Version | Supported |
|---|---|
| Latest 3.x release | Yes |
| Anything older | No |
Only the latest published release gets fixes. There are no long-term-support
branches and no backports. Check a report against the latest release (or
main) before sending it; a fix lands in the next release.
Reporting a vulnerability
Do not open a public issue, discussion or pull request. Report privately, either way:
- On GitHub: open a private report from the Security tab. Only the maintainer sees it, and the fix and the advisory are worked on in the same private thread.
- By email to the maintainer at joel@joelparkerhenderson.com. Email works from any of the three forges (GitHub, GitLab, Codeberg), and needs no GitHub account.
Include:
- What you found and why it is a vulnerability: the impact, not only the behavior.
- Steps, a minimal reproduction, or a proof of concept.
- The version (
vix --version) or commit you tested, and your OS. - Whether, and how, you would like to be credited.
What happens next
Vix has one maintainer and no funded security team. These are targets, not contractual guarantees, and a confirmed vulnerability takes priority over other work.
| Step | Target |
|---|---|
| Acknowledge the report | Within 7 days |
| Confirm or decline it, with a severity | Within 14 days |
| Release a fix for a critical or high severity issue | Within 30 days of confirming it |
| Release a fix for a medium or low severity issue | In a release within 90 days |
- Triage. The maintainer reproduces the report and rates it with a CVSS v3.1 base score: critical (9.0–10.0), high (7.0–8.9), medium (4.0–6.9) or low (0.1–3.9). A declined report gets the reason, usually a pointer to Scope or the Threat model.
- Fix. The fix is developed privately and goes through the same
scripts/checkgate and CI as every other change. You are offered the chance to check it before release. - Release. A patch release ships the fix to every channel listed under Scope.
- Disclose. A GitHub security advisory is published for the release,
with a CVE requested through GitHub when the issue warrants one. A
vulnerability in a crate published to crates.io is also reported to the
RustSec advisory database, so
cargo auditandcargo denywarn downstream users.CHANGELOG.mdrecords it under Security.
The maintainer’s side of these steps, with the commands (the private fork, the release, the advisory, yanking a crate version), is written down in the incident-response playbook.
Coordinated disclosure
Please keep a report private until a fix is released, or until 90 days after you reported it, whichever comes first. If a fix needs longer, the maintainer will say so before the 90 days end and agree a new date with you. If the issue is being actively exploited, the fix and the advisory go out as soon as they are ready.
You are credited by name (or handle) in the advisory and CHANGELOG.md
unless you would rather stay anonymous.
Safe harbor
Research done in good faith under this policy is welcome. Vix will not pursue or support legal action against you for it. Good faith means you:
- test only against your own installation, files and accounts;
- do not access, change or destroy other people’s data;
- do not degrade a service for other people (the site, the forges, crates.io, the package registries);
- report what you find privately, and give the maintainer the time described under Coordinated disclosure.
Threat model
Vix is a local editor. It runs as you, with your permissions, and it can already read and write every file you can. Its security job is to keep content you did not write from acting as you without your say-so. A report is judged against these boundaries.
Trusted
- You, at the keyboard, and every action you take explicitly.
- Your own configuration in
~/.config/vix/: settings, keymaps, themes, global scripts, and the commands it names (ai_command,test_command,lsp_servers, formatters,password_command,ai_api_key_command). - The programs those settings name. Vix runs them; it does not sandbox them.
Untrusted until you trust the workspace
A folder you open is untrusted until you answer y to “Trust this workspace and run them?” (keys pressed in the first 250 ms are ignored, so a held key cannot answer for you). The answer is remembered per workspace root. Until then Vix does not:
- load project scripts (
<project>/.vix/scripts/*.rhai), or a plugin whose SHA-256 no longer matches the one you trusted; - read
<project>/.vix/settings.toml, which can set commands; - run project environment detectors (direnv, mise,
.vix/env.toml); - use a project’s own Prettier from
node_modules/.bin, or its Jupyter kernelspecs; - start ACP agents or native Codex and Claude Code conversations;
- start the well-known language servers it finds on your
PATH(it asks, naming the server, the first time you open a file one would serve).
A remote workspace (SSH, container, Kubernetes, WSL) starts untrusted too.
It is remembered per host and path, and until you trust it, its language
servers, debug adapters and tasks stay off. Its .vix/settings.toml is
never read, trusted or not. See
spec/remote-editing.
Untrusted always
- The contents of any file you open. Opening and viewing a file must not run code, whatever the file says. Reads refuse FIFOs, sockets and devices, oversized files and binary files rather than hang or exhaust memory.
- Anything a network peer sends: AI provider responses, language server and agent messages, IRC and Matrix traffic, Cowork guests, HTTP responses, database results, and a remote agent’s frames.
- An imported settings bundle. Command fields that differ from your own settings are reset, not imported. Theme names must be a bare file name.
What Vix runs, and when
- Tasks (
.vix/project.toml, discovered tasks) run only when you choose one, through a prompt that shows the resolved command. - Language servers start when you first open a matching file, from the
lsp_serversin your settings (or a trusted workspace’s). The well-known servers Vix starts on its own when they are on yourPATH(rust-analyzer, gopls, pyright, clangd, …) wait for workspace trust, since they can run the project’s build scripts and macros: the trust prompt names the server first. - Debug adapters start only on Run → Start Debugging.
- Org source blocks sent to a Jupyter kernel ask first, once per block, in an untrusted workspace or for a file outside the workspace.
- ACP agents get no permission by default: every request they make defaults to deny, and every file they write becomes a diff you accept or reject.
- User scripts (Rhai) have no file, network or process access at all.
They can only read and edit the active buffer and register commands and
keys. See
crates/vix-script/spec.
Network
Vix sends nothing anywhere on its own. It has no telemetry, does not check for updates, and does not connect to anything until you use a feature that does:
- Crash reports stay on your machine. Vix writes one when it crashes, scrubbed of your home folder, user name and quoted text, and only opens a prefilled GitHub issue if you choose Help → Report a Crash… and then submit it yourself. See crash reports.
- AI providers use HTTPS by default. A local model endpoint defaults to
plain HTTP on
localhost. The endpoint is yours to set. vix --mcpspeaks MCP over stdio only, with no listening socket. It is read-only, keeps paths inside the workspace root (symlinks resolved), refuses files with secret-looking names, and caps reads at 2 MiB.- Cowork sessions are always encrypted (Noise
NKpsk0), invites are single-use, and the host approves each guest. - SSH leaves host-key checking to
sshand yourknown_hosts, and never puts a password on a command line. The remote agent must be the same Vix version and has its uploads checked by SHA-256. - IRC uses TLS by default and warns before a plaintext connection. PostgreSQL and MySQL connections use rustls.
Secrets
- AI keys and database passwords come from a command you configure, then the OS keyring, then (for databases) a prompt. A database password is saved only to the keyring, and only if you ask.
- Database errors are redacted. IRC and Matrix passwords print as
<redacted>and are zeroed after use. db_history.tomlkeeps the text of the queries you ran (never bind-parameter values) and is made owner-only on Unix. Do not put literal secrets in query text you would not want kept there.
Accepted risks
These are known and accepted, not oversights:
- The HTTP client (
vix-http-client, the.http-buffer tool) has no loopback or private-IP guard against SSRF. It is a local developer tool for sending requests to whatever host you type, includinglocalhostand private addresses during API development. Blocking those would break its main use. It does allow only thehttpandhttpsschemes. Do not point it at untrusted, attacker-influenced URLs and expect it to protect you. vix-db’s streaming query session could, in principle, attribute a result to the wrong in-flight request if a UI-level guard were ever bypassed. Today the UI serializes query dispatch, so this cannot happen in practice. A blanket guard at the session layer would break the legitimate internal catalog and commit calls that run during a user query’s stream, so it has not been added. It stays a tracked, accepted risk until a real per-call-site fix lands.
A report about either gets a reply pointing here, not a fix, unless it shows a way to real impact despite these constraints. In that case, please do report it.
Hardening
- No unsafe code.
unsafe_code = "forbid"applies to every crate through the workspace lints. - Supply chain. Every push and pull request, and a weekly schedule, runs
cargo deny checkagainstdeny.toml: RustSec advisories, a license allow-list, a ban on wildcard version requirements, a warning (not a ban) when two major versions of one dependency are present, and allowed registry sources. Seespec/ci. - Fuzzing.
fuzz/fuzz_targets/fuzzes the parsers and text transforms that take input Vix did not write, asserting invariants rather than only the absence of a panic. Every target runs for two minutes each week in CI (.github/workflows/fuzz.yml), and for as long as you like locally (cargo +nightly fuzz run <target>). - Mutation testing. A weekly
cargo mutantsrun checks that the small pure crates’ tests catch every behavior change. - Secrets.
tui/tests/secret_scan.rsfails the tests when a tracked file holds a credential-shaped string, andscripts/secret-scan-historychecks every commit in history with the same rules; the opt-in git hooks (make hooks) run them on what you commit and push. - Quarterly audit. Once a quarter the maintainer works through the quarterly audit checklist: advisories and licenses, dependency review, the history secret scan, the threat model and its file-system audit table, and the claims in this section.
- Release integrity. Each release publishes a SHA-256 checksum for every
artifact (and a combined
sha256.sum) and a CycloneDX SBOM for each program it releases (vix-tui.cdx.xmland one per desktop GUI). Those checksums come from the release page itself, so they show a download is intact, not who made it. Only a release made withscripts/release-local(so far 2.0.0) also carries aSHA256SUMSsigned with the maintainer’s SSH key; the tag-built releases (2.0.1 and later) are neither signed nor attested, and the MSI and Linux packages carry no signature of their own. Verifying a download gives, per distribution route, the file, its verification material, what that is trusted through, the command and the expected result;scripts/verify-releasechecks a downloaded release offline.
Checklist for contributors
The threat model takes each trust boundary in turn (assets, entry points, mitigations with the code that enforces them, open risks) and ends with a short checklist for a new feature, which the pull request template links. The longer Security Checklist covers what to think about when a change adds input handling, process spawning, network access or stored secrets. A change that adds or moves a trust boundary updates the Threat model above in the same change.
Threat Model
This page is the threat model behind SECURITY.md, worked
out per trust boundary and tied to the code that enforces it. SECURITY.md
says what a vulnerability report is judged against; this page says, for each
place where content Vix did not write meets something that can act as you,
what is at stake, how it gets in, what already stops it (with the file that
does it), and what is still open. It is a contributor’s document: read it
before adding a feature that crosses one of these lines, and update it in the
same change that adds or moves a boundary
(spec/security).
The starting point
Vix is a local editor running as you. It can already read and write every
file you can, start any program you can, and reach any host you can. Its job
is narrower than a sandbox’s: content you did not write must not act as you
without your say-so. “Content you did not write” is a cloned repository, a
file you open, a network peer’s messages and a child process’s output. “Your
say-so” is an explicit action: a menu item, a key, a y at a prompt.
The adversaries this model considers:
- A hostile repository you clone and open: its files, its
.vix/directory, itsnode_modules/, its build scripts. - A hostile file you open from anywhere (a download, an attachment).
- A hostile network peer: an AI provider or a man in the middle, an IRC or Matrix server or user, a Cowork guest, an HTTP server, a database server, a remote host.
- A hostile or confused child process: a language server, debug adapter, ACP agent, Jupyter kernel or MCP client.
- A leak by accident: a secret written to a log, a crash report, a persisted file with loose permissions, or a commit.
Out of scope, as in SECURITY.md: an attacker who already controls your
account, your ~/.config/vix/ or the machine; what an external program does
once you have chosen to run it; and a workspace you chose to trust running
code.
Trust boundaries
Workspace trust (untrusted workspaces)
- Assets. Your account: anything a project can make Vix run runs as you.
- Entry points.
<project>/.vix/scripts/*.rhai,.vix/settings.toml(can set commands),.vix/env.tomland direnv/mise detection,node_modules/.bin/prettier, project Jupyter kernelspecs, ACP agents, the well-known language servers found onPATH(they run the project’s build scripts and macros). - Mitigations. One persisted decision per workspace root
(
tui/src/app/trust.rs, stored asscripts_trustedincrates/vix-session/src/lib.rs;Session::set_workspacecarries it across a session save). The prompt needs an explicityand ignores keys forSCRIPT_TRUST_KEY_GUARD(250 ms,tui/src/app.rs), so a typed-ahead Enter cannot answer it. Project settings are read only when trusted (tui/src/app/project_settings.rs), as are project scripts (tui/src/app/scripts.rs) and the project’s Prettier (tui/src/app/prettier.rs). Well-known language servers ask first, naming the server (maybe_prompt_lsp_trustintui/src/app/trust.rs,crates/vix-lsp/src/defaults.rs). A trusted plugin whose SHA-256 changes is not loaded (crates/vix-script/src/plugins.rs). Tasks run only when chosen, through a prompt that shows the resolved command. - Open risks. Trust is all-or-nothing per root: trusting a workspace for
its scripts also trusts its settings and language servers. A trusted
workspace that later pulls a hostile commit stays trusted (only plugins
are re-checked by hash;
.vix/settings.tomland scripts are not).
The authority slot and the remote agent over SSH
- Assets. Files and commands on the remote host; the local machine, if the remote side could make the local Vix act.
- Entry points.
vix-authority’s SSH, container, Kubernetes and WSL authorities; the remote agent (vix --agent) and its frames; the agent upload. - Mitigations. Authentication and host keys are
ssh’s own (keys, agent,known_hosts); Vix never puts a password on a command line and runs background commands withBatchMode=yes(crates/vix-authority/src/ssh/authority.rs). The agent must report exactly this build’s protocol and Vix version (crates/vix-authority/src/agent/mod.rs,crates/vix-authority/src/agent/server.rs); every frame is capped atMAX_FRAME(64 MiB,crates/vix-authority/src/agent/wire.rs). An uploaded agent binary is checked by SHA-256 on the remote side, and the upload is refused when the host has no checksum tool (crates/vix-authority/src/ssh/agent_boot.rs). A remote workspace starts untrusted, remembered per host and path; its.vix/settings.tomlis never read, trusted or not (tui/src/app/project_settings.rs). Child processes for the remote pickers and search are argv-only, no shell (tui/src/app/remote_pick.rs,tui/src/app/remote_search.rs). - Open risks. A compromised remote host controls everything Vix shows from it (file contents, listings, search results) and can feed hostile content into the local editor; that content is then “a file you open” and must stay inert. The SHA-256 check guards against a corrupted upload, not against a remote root who replaces the agent after it starts.
Language servers and DAP adapters
- Assets. Your account (the server runs as you); the buffer text sent to it; the files a server’s edits touch.
- Entry points.
lsp_serversin your settings or a trusted workspace’s, the well-known servers, debug adapters, and every message they send back (workspace/applyEdit, document links, file operations, diagnostics). - Mitigations. Language servers start only from your settings, a trusted
workspace’s, or after the per-server trust prompt (above). A crashing server
is restarted at most
MAX_RESTART_ATTEMPTS(3) times (crates/vix-lsp/src/lib.rs). Directory scans for file operations stop atSCAN_MAX_ENTRIESandSCAN_MAX_DEPTH(crates/vix-lsp-core/src/file_ops.rs). A document link to a URL opens withopen/xdg-openby argv, no shell (tui/src/app/doc_links.rs). Debug adapters start only on Run → Start Debugging or Run → Attach (crates/vix-dap/src/lib.rs,tui/src/app/lsp_dap.rs). Every spawn site is listed intui/tests/spawn_sites.rs. - Open risks. None from framing since T848: frames over
MAX_FRAME_BYTES(64 MiB, about 45 times the largest measured rust-analyzer reply) or headers over 8 KiB are refused before the body is buffered, and the connection is dropped with a translated error (crates/vix-lsp-core/src/frame.rs).
Rhai scripts
- Assets. The buffer and the editor state; your account, if a script could escape.
- Entry points. Global scripts in
~/.config/vix/(trusted), project scripts and plugins (behind workspace trust). - Mitigations. The engine has no file, network or process access: the
module resolver is a
DummyModuleResolver, soimportfails (the T134 fix), andset_max_operationsandset_max_expr_depthsbound runaway scripts (crates/vix-script/src/engine.rs;crates/vix-script/tests/sandbox.rs). - Open risks. A trusted script can still edit the active buffer however it likes and bind keys, so it can, for example, rewrite a file you then save. That is the feature; the prompt shows which script is trusted.
MCP server mode (vix --mcp)
- Assets. Workspace files, especially secrets in them; databases shared through MCP.
- Entry points. JSON-RPC from the MCP client over stdio (no listening
socket,
tui/src/mcp.rs). - Mitigations. Read-only tools; every path is resolved lexically, then
canonicalized and checked inside the root, so a symlink cannot leave it;
secret-looking files (
.env, keys,.netrc,.git/,.ssh/) are refused byis_secret; reads stop atMAX_FILE_BYTES(2 MiB) (crates/vix-mcp-server/src/workspace.rs). A database is reachable only when you mark its saved connection shared, and then only through one read-only statement in a read-only transaction with a 30-second timeout and a row cap, with credentials found without prompting (crates/vix-db/src/mcp_share.rs). - Open risks.
is_secretis a name list: a secret kept in a file with an ordinary name (a production settings file, say) is readable by any MCP client you connect.
Native Codex and Claude Code conversations
The opt-in ai-agents feature starts the installed provider in a trusted local
workspace. An isolated conversation runs in a verified linked Git checkout
and keeps the original workspace as its trust boundary. Linked worktrees
share repository history and refs. Provider permissions still govern access
outside the working folder. Vix uses stdio and the provider’s login. Native tools run under the
provider’s own permission rules and can edit files on disk. Vix never loosens
those rules: it sends no sandbox, approval policy or permission mode, so the
user’s Codex config and Claude Code settings decide what runs unasked. Each
approval Vix receives belongs to the current turn. The user sees the request
(sanitized, with Codex file changes and their diffs) and can allow it once or
decline it; requests arriving together are queued, never answered without a
key press. Questions Vix cannot answer are declined. Stopping a turn sends the
provider’s interrupt, closes its input and, after 500 ms, kills it; on Unix the
kill takes its whole process group, so the commands it started stop too. The
provider’s stderr is kept only as an 8 KiB tail for error messages. The
private conversation file contains prompts and visible replies, in an
owner-only directory, with any queued follow-ups. A separate lock keeps
another Vix from editing it concurrently. A handoff is the one path from one
agent’s output into another agent’s prompt: it is started and confirmed by
the user, sends exactly the reviewed text (each message quoted, invisible
characters removed) and nothing else, no resume ID, files or approvals.
Treat a reply in it as untrusted: it may repeat instructions the source agent
read in a file.
Security rules ·
Conversation contract
ACP agents (the Agent panel)
- Assets. Workspace files, secrets, your account (agents can ask to run commands).
- Entry points.
fs/read_text_file,fs/write_text_file, permission and terminal requests from the agent process. - Mitigations. Paths must be absolute, inside the root, with no
.., and are checked again with symlinks resolved (crates/vix-acp/src/policy.rs). Reads refuse the same secret files as MCP (acp_path_is_secretintui/src/app/acp.rs). Every permission defaults to deny, the helpers only ever pick a one-shot allow, and every write becomes a diff you accept or reject. ACP agents start only in a trusted workspace. - Open risks. As with MCP, the secret list is by file name. An agent’s own tools (outside ACP) are the agent’s business, not Vix’s. A path is checked when the agent asks and saved when you save, so an agent that can also write the workspace itself could swap the file for a link in between (see the file-system audit below).
AI providers and their API keys
- Assets. API keys; the buffer text, selection or schema you send.
- Entry points.
ai_api_key_command, the OS keyring, provider responses,ai_command(a shell template you configure). - Mitigations. Keys come from your
ai_api_key_command, then the OS keyring, never a plaintext settings value (crates/vix-ai-core/src/secret.rs, used fromtui/src/app/ai.rs). Default endpoints are HTTPS (crates/vix-ai-core/src/lib.rs); the local model endpoint defaults to plain HTTP onlocalhost. Vix quotes the prompt it substitutes intoai_commandand drops quotes written right around{prompt}or{file}, so chat text cannot break out into the shell. Nothing is sent until you invoke an AI action, and the AI text transforms (Annotate, Improve) arrive as a hunk-by-hunk review (crates/vix-ai-diff/src/lib.rs), not a silent overwrite. An imported settings bundle never importsai_commandor other command-bearing fields (crates/vix-settings-bundle/src/lib.rs). - Open risks. Whatever you send goes to the provider you configured; Vix does not strip secrets from a selection you send. Responses are untrusted text and must stay inert (they are shown or offered as diffs, never run).
Database credentials
- Assets. Database passwords; the data; the query history.
- Entry points.
password_command, the keyring, the password prompt, connection strings, SSH tunnels, server error messages. - Mitigations. A password comes from
password_command, then the keyring, then a prompt, and is saved only to the keyring and only if you ask (crates/vix-db/src/secret.rs,crates/vix-db/src/lifecycle.rs). Errors pass throughredact_url_secretbefore they reach the UI (crates/vix-db/src/session.rs).db_history.tomlkeeps query text, never bind values, and is owner-only on Unix. PostgreSQL and MySQL use rustls. The tests never touch the real keyring (vix_db::secret::use_system_keyringis opt-in). - Open risks. Literal secrets typed into query text land in the history
file. The bundled SQLite was affected by RUSTSEC-2026-0459 until
sqlx0.9.1 accepted the fixedlibsqlite3-sys(3.1.0).
Cowork networking
- Assets. The buffers you share; your account, through a guest’s edits.
- Entry points. A TCP listener the host opens; invites; guest frames.
- Mitigations. Every session is encrypted and authenticated with
Noise_NKpsk0_25519_ChaChaPoly_BLAKE2s(crates/vix-cowork-net/src/handshake.rs); invites are single-use and short-lived (crates/vix-cowork-net/src/invite.rs); the host approves each guest by name and nothing is sent to an unapproved one (crates/vix-cowork-net/src/server.rs). The suggested bind address is127.0.0.1:0(tui/src/app/cowork.rs). - Open risks. An approved guest can edit shared buffers, which you may then save; binding a public address is your choice and exposes the handshake to the network.
IM networking (IRC and Matrix)
- Assets. Account passwords; the conversation; the editor, if a message could act.
- Entry points. IRC servers and users (CTCP, mentions, formatting), the Matrix helper process and its server.
- Mitigations. IRC uses TLS (rustls,
webpki-roots) unless the account saystls = false, and then Vix warns (crates/vix-im-irc/src/net.rs,tui/src/app/im_net.rs). Passwords print as<redacted>inDebug(crates/vix-im-irc/src/client.rs,crates/vix-matrix-protocol/src/protocol.rs). The Matrix password comes fromVIX_IM_PASSWORD_<NAME>at connect time, or a keyring session (tui/src/app/im_matrix.rs). Messages are text: a sharedpath:linereference opens only when you choose it. - Open risks. The
vix-matrixhelper is found beside thevixexecutable or onPATH(crates/vix-matrix-protocol/src/net.rs), so a hostilePATHentry could stand in for it; that needs control of your environment, which is out of scope.
Jupyter kernels
- Assets. Your account (a kernel runs code); the connection key.
- Entry points. Kernelspecs (yours and a project’s), Org source blocks, the kernel’s ZeroMQ sockets.
- Mitigations. Each kernel gets a fresh
0700runtime directory and a0600connection file with a random key, created new (crates/vix-jupyter/src/runtime_dir.rs); sockets bind only to loopback (crates/vix-jupyter-core/src/connection.rs); akernel.jsonoverMAX_KERNEL_JSON_BYTES(64 KiB) is refused (crates/vix-jupyter-core/src/kernelspec.rs). Project kernelspecs wait for workspace trust, and an Org block asks before it runs in an untrusted workspace or for a file outside it (tui/src/app/jupyter.rs). - Open risks. Another local process running as you can read the connection file; that is the same account, so out of scope.
Crash reports
- Assets. Your home path, user name, and anything quoted in a panic message.
- Entry points. The panic hook; Help → Report a Crash….
- Mitigations. The report holds version, OS, panic message, location and
backtrace, with the home directory, the user name and quoted text scrubbed,
and never buffer text or the environment (
tui/src/crash.rs). Nothing is sent: the menu item opens a prefilled issue you review and submit yourself (tui/src/app/crash_report.rs). - Open risks. A backtrace frame can name a workspace path; the scrub removes the home prefix, not the rest of the path.
The HTTP client
- Assets. Secrets referenced by a
.httpfile; services on your network. - Entry points.
.httpbuffers and their environment files, the responses. - Mitigations. Only
httpandhttpsURLs are sent (crates/vix-http-client/src/lib.rs). A request is sent only when you send it. Azure tokens come fromazby argv (crates/vix-http-client/src/aad.rs). - Open risks. No loopback or private-address guard (an accepted risk in
SECURITY.md). Closed by T848: requests default to a 10 s connect and 60 s inactivity timeout, overridable with# @timeoutand# @connection-timeout; and{{$processEnv}},{{$dotenv}}and{{$aadToken}}are never read before you approve a masked preview (method, URL, variable names) — an untrusted workspace asks before every such send, a trusted one once per file and origin per session (crates/vix-http-client/src/rest.rs,tui/src/app/http.rs).
The repository itself
- Assets. Credentials that could be committed by mistake.
- Mitigations.
tui/tests/secret_scan.rsfailscargo testwhen a tracked file holds a private key header, an AWS access key id, a GitHub, Slack, Anthropic or OpenAI-style token of real length; deliberate fakes need an allowlist entry with a reason.cargo denychecks advisories and licenses (deny.toml); fuzzing and mutation testing are described inSECURITY.md.scripts/secret-scan-historyruns the same rules over every line a commit ever added (all refs by default, or a revision range), so a secret that was committed and later deleted is still found; the opt-in pre-push hook runs it over the commits a push adds, which also catches a commit made with--no-verify. - Open risks. Only the listed token shapes are recognized, and the hooks
are opt-in (
make hooks): a push from a clone without them, or with--no-verify, is checked only bytui/tests/secret_scan.rson the tree. A full-history run on 2026-11-27 found nothing (2,672 commits).
File-system audit (T832)
Every place where Vix decides something about a path and then acts on it,
checked for .., symlinks, case-insensitive file systems (macOS, Windows,
case-folding Linux directories) and the gap between the check and the use.
“Same account” means the only party that could win the race already runs as
you, which is out of scope (above).
| Area | The check | The use | Bypass? | Result |
|---|---|---|---|---|
Workspace trust (tui/src/app/trust.rs, session_key in tui/src/app/session.rs) | The decision is keyed by the root’s canonical path (symlinks resolved; on macOS and Windows canonicalize returns the on-disk case, so ~/Proj and ~/proj are one key) | .vix/scripts, .vix/settings.toml, language servers, read under the root | A symlink to the root, or a case variant, is the same key, so it is the same decision; re-pointing a link at a new clone gives a new key, which asks again | Not exploitable. Replacing a trusted directory’s contents in place keeps the trust (already an open risk above). |
Saving through a link (write_atomic, crates/vix-fileops/src/lib.rs) | canonicalize the target, then write a temp file beside the resolved target and rename it over | The resolved file | Another user who owns /tmp/notes swaps it for /tmp/notes -> ~/.bashrc after you open it; your save resolves the link (readlink, which Linux’s fs.protected_symlinks does not cover) and replaces ~/.bashrc | Fixed. Both writers refuse to follow a link in a sticky, world-writable directory unless you or the directory’s owner own it (the kernel’s rule), PermissionDenied; test a_symlink_another_user_owns_in_a_sticky_shared_directory_is_not_followed. Closed (T857) for the SSH save without the agent too: its shell script applies the same rule to each link it resolves and every ancestor, exiting with permission denied; test a_save_does_not_follow_another_users_link_in_a_sticky_shared_directory in crates/vix-authority/tests/ssh.rs (a fake remote id plays the other user). |
| Saving a dangling link (same) | canonicalize fails, so the path is used as given | The temp file is renamed over the link | None: the link is replaced and its target is never created | Not exploitable; pinned by write_atomic_replaces_a_dangling_symlink_rather_than_creating_its_target. The in-place fallback (directory not writable) follows the link, but then the directory also stops anyone else planting one. |
Save conflict check (write_atomic_if_unchanged, crates/vix-authority/src/lib.rs, crates/vix-authority/src/ssh/authority.rs) | Length and modification time compared with what the buffer saw | The atomic write | A change inside the same second with the same length is missed; the local check runs only for a remote workspace | Not a security check: it guards against lost edits, not an attacker (who would have to be on the same account or remote host). |
Explorer copy (copy_recursive, crates/vix-fileops/src/lib.rs; paste in tui/src/app.rs) | Source type from symlink_metadata; the conflict prompt asked exists | fs::copy / create_dir_all on the destination | A tree ships notes.txt -> ~/.bashrc (or a dangling id.pub -> ~/.ssh/authorized_keys); pasting a file of that name “overwrote” the link’s target, and a dangling link did not even prompt | Fixed. A destination symlink, at any level, is removed and replaced; a dangling link is a conflict. Tests copy_recursive_replaces_a_destination_symlink_instead_of_writing_through_it, a_dangling_symlink_at_the_paste_destination_asks_first. Swapping a source file for a link between the stat and the copy needs a concurrent writer in the source tree (same account). |
Remote copy without the agent (crates/vix-authority/src/ssh/authority.rs) | None on the destination | cp -P / mkdir -p + cp -RP | As above, on the remote host | Fixed for a top-level destination link (removed first; test a_copy_replaces_a_destination_symlink_instead_of_writing_through_it in crates/vix-authority/tests/ssh.rs). Closed (T857) for a link inside an existing destination tree: before cp -R, the script removes every link in the destination (find -type l, not following links) that the source tree has an entry for; test a_copy_into_an_existing_tree_replaces_the_links_inside_it. The agent path uses copy_recursive and replaces those too. |
Explorer move, delete, trash (move_path, remove_path, trash_path, freedesktop_trash.rs; tui/src/app/dir_edit.rs) | symlink_metadata (a link is a link) | rename, remove_file, remove_dir_all, a rename into the trash | A directory replaced by a link to outside between the stat and the removal: std::fs::remove_dir_all removes a top-level link as a link and walks the tree without following links (the CVE-2022-21658 fix), and rename never follows its operands | Not exploitable. |
Remote path mapping (crates/vix-authority) | None: a remote workspace’s root is where it opens, not a jail | The remote account’s own file system | A remote path can name anything the remote account can; that is the feature. Remote results never become local paths (backups and undo are keyed by ssh:// names, hashed) | Not a boundary. Only FakeAuthority (crates/vix-authority/src/fake.rs, tests) confines paths to a backing directory, and it refuses .. and escaping links (crates/vix-authority/tests/api_misc.rs). |
Rhai scripts and plugins (crates/vix-script/src/engine.rs, plugins.rs) | The engine has no file access; a plugin’s tree is hashed (links by target text) and links must resolve inside it | Scripts are read after the hash check | The hash and the load are two reads, but the plugin directory is in your config directory | Not exploitable (same account). |
MCP file tools (resolve in crates/vix-mcp-server/src/workspace.rs) | Lexical join, then canonicalize, then a prefix check against the canonical root and is_secret on the canonical relative path | fs::read of the canonical path | A link out of the root, .., and notes.txt -> .env are all caught. is_secret compared .git/.ssh case-sensitively, so in a case-folding directory where canonicalize keeps the requested case, .GIT/config passed | Fixed (defense in depth: on macOS canonicalize returns the on-disk case, so it was not reachable there): directory names compare in ASCII lower case; tests secret_files_are_recognized, a_case_variant_of_a_secret_directory_is_refused. The resolve-then-read gap needs a concurrent writer in the workspace; the MCP tools are read-only, so the client cannot make one through Vix. |
ACP agent paths (contain_on_disk in crates/vix-acp/src/policy.rs; acp_read/acp_write in tui/src/app/acp.rs) | Absolute, no .., lexically under the root, then the canonical path (or its nearest existing ancestor) under the canonical root | A read of the path; a write becomes a pending diff, saved later by you | A dangling link root/planted -> /outside/new cannot be canonicalized, so it was judged by its parent (inside) and accepted | Fixed: a dangling link on the way is refused; test symlink_out_of_root_is_refused. Closed (T857): the check runs when the agent asks and the save when you save, so an agent with its own write access to the workspace could swap the file for a link in between; now the App remembers each file an agent proposed, and the writer (write_active_to_disk_with in tui/src/app.rs, through acp_save_refused in tui/src/app/acp.rs) runs contain_on_disk again on the final path right before the write and refuses one that leads out; test a_link_swapped_in_after_the_agent_asked_is_refused_at_save_time. Left: the few system calls between that check and the write. |
Hot-exit backups and undo histories (crates/vix-undo-store/src/hot_exit.rs, crates/vix-undo-store/src/lib.rs) | File names are a SHA-256 of the identity, or a validated id; a tampered backup is rejected | write_atomic_private (new files 0600) under the data and config directories | Planting a link there needs your account | Not exploitable. A restored backup goes into a buffer, not to disk. |
Crash reports (tui/src/crash.rs) and interrupted-save copies (recovery_dir) | None | write_atomic_private (was fs::write) of crash-<stamp>.txt under the data directory; *.vixrecover files created 0600 and create_new in a 0700 directory, published only after they read back intact (T865) | Same account | Not exploitable. Closed (T857): crash reports were written with the default mode (0644 under the usual umask); they are now written with write_atomic_private, so a new report is 0600; test a_saved_report_is_private_to_its_owner in tui/src/crash.rs. |
Checklist for a new feature
Answer these in the pull request (the template links here). A “yes” to any of
the first four means the change crosses a boundary above, so it updates this
page and SECURITY.md in the same change.
- Does it run anything? A new child process is argv-only (no shell
unless the user wrote the command), listed in
tui/tests/spawn_sites.rs, behind a Cargo feature, and, if the program or its arguments come from the project, behind workspace trust. - Does it read project content that can configure behavior? Anything
under
.vix/, a project config file or a project-local binary waits for workspace trust, and is never read for a remote workspace unless the spec says why. - Does it talk to the network? It connects only when the user acts, uses TLS by default (warning before plaintext), allows only the schemes it needs, sets a timeout, and treats every byte received as untrusted (bounded sizes, no execution, no path taken from it unchecked).
- Does it hold a secret? The secret comes from a command or the OS
keyring, never a plaintext setting; it is redacted from
Debug, errors and messages; anything persisted that may hold it is0600; it is never in a crash report. - Does it take a path from outside? It is checked inside its root
after resolving symlinks (
crates/vix-acp/src/policy.rsandcrates/vix-mcp-server/src/workspace.rsare the patterns), refuses secret-looking names, and does not check-then-use across a gap another process could exploit. - Does it parse input Vix did not write? Sizes and depths are capped,
it returns an error rather than panicking, and a new parser gets a fuzz
target (
fuzz/fuzz_targets/). - No secret in the change.
tui/tests/secret_scan.rspasses; a test fixture that needs a full-length fake is allowlisted there with a reason.
The longer Security Checklist covers the same ground in more general terms.
Quarterly audit checklist
Once a quarter (January, April, July, October), the maintainer works through
this list on a clean, up-to-date checkout of main. CI already runs most of
these continuously; the audit is the point where someone reads the results
and the open items instead of only seeing a green run. Everything here is
local and read-only: anything outward-facing that comes out of it (an
advisory, a release, a repository setting) goes through
incident response or the release process, and is the
maintainer’s to do.
- Advisories and licenses.
cargo deny checkin the root, inmatrix/(its owndeny.toml) and with--manifest-path gui/Cargo.toml;cargo auditas a second opinion where it is installed. Everyignoreindeny.tomlstill has a dated reason that holds; remove the ones whose advisory no longer applies. - Dependency review. The Dependabot PRs and alerts since the last
audit are merged or closed with a reason (
spec/dependabot); eachignorein.github/dependabot.ymlstill needs to be there; new direct dependencies since the last audit (git diff <last-audit>..main -- '**/Cargo.toml') are maintained, licensed perdeny.tomland worth what they pull in;cargo tree -dduplicates have not grown without a reason. - Secrets in history.
scripts/secret-scan-historyexits 0 over all refs; a finding is revoked first and handled as an incident, never by rewriting history unasked.cargo test -p vix-tui --test main secret_scan::passes and theallowlines inscripts/secret-patternsstill have reasons that hold. - Threat model. Each trust boundary above still matches the code: features added since the last audit that run something, read project configuration, talk to the network, hold a secret or take a path from outside are listed under their boundary (the new-feature checklist in their pull requests says which); each open risk is still open, or is marked closed with its task.
- File-system audit. Each row of the file-system audit table still names the code that does the check and the test that pins it; a new place that checks a path and then acts on it gets a row.
- Hardening claims. Each statement in
SECURITY.md’s Hardening section is still true (the weekly fuzz and mutation runs are green, or their failures have tasks; release checksums and SBOMs were on the last release); the supported-versions table names the current major. - Log it. Add a dated line below with what was found and the tasks opened for it.
Audit log
| Date | Result |
|---|---|
| 2026-11-27 | Checklist written (T832). scripts/secret-scan-history over all 2,672 commits of every ref: nothing found. The rest of the list starts with the first quarterly audit. |
Incident Response
This is what happens from the moment a vulnerability report arrives until
users have a fixed release and know about it. SECURITY.md
is the promise to reporters (channels, response targets, disclosure); this page
is how the maintainer keeps it. It sits next to the
threat model, which is what a report is judged against.
Steps marked Maintainer only are outward-facing or hard to undo: deciding
about a report, publishing an advisory, tagging, creating a release, yanking.
Under AI_STATEMENT.md an AI agent may help write and
test a fix, but does not take those steps.
Who decides
The maintainer (the repository owner, the contact in SECURITY.md) decides
whether a report is accepted, its severity, the disclosure date, when the fix
is released, and whether anything is yanked. Vix has one maintainer, so there
is no separate security team or rotation; the response targets in
SECURITY.md are written for that.
1. A report arrives
Reports come in two ways (SECURITY.md, “Reporting a vulnerability”):
- A GitHub private vulnerability report, from the Security tab of
vixide/vix. It opens as a draft security advisory that only the maintainer and the reporter see. Private reporting has been on since 2026-11-17 (gh api repos/vixide/vix/private-vulnerability-reportingshows it). - An email to the maintainer. GitLab and Codeberg have no private report feature, so email is the channel from those forges. Maintainer only: open a draft advisory for it yourself (Security → Advisories → New draft security advisory) so the fix has the same private place to live, and add the reporter to it if they have a GitHub account.
If a report arrives in public (an issue, pull request or discussion on any forge), do not discuss the details there. Ask the reporter to send it privately, and hide or delete the public copy. If the details are already public, treat it as actively exploited: fix and disclose as soon as ready.
Acknowledge the report within 7 days.
2. Triage
Maintainer only. Within 14 days:
- Reproduce it on the latest release and on
main. Only the latest release is supported. - Judge it against Scope, the Threat model and its accepted risks. A declined report gets the reason, usually a pointer to one of them.
- Rate an accepted report with a CVSS v3.1 base score (critical, high,
medium or low, as in
SECURITY.md). That sets the target: 30 days for critical or high, 90 days for medium or low. - Fill in the draft advisory: the affected crates (ecosystem Rust,
package names as on crates.io, such as
vix-tuiand thevix-*crate with the bug), the affected versions (<the version that will fix it), the severity, and a weakness (CWE) if one fits. - Agree the disclosure date with the reporter: the fixed release, or 90 days after the report, whichever comes first.
3. Fix it privately
Until the fixed release is out, nothing about the fix goes anywhere public:
no public branch, pull request, issue or commit message, and no line in
tasks.md or CHANGELOG.md on main.
- From the draft advisory, Start a temporary private fork. Clone it and branch there, exactly as for any other change (workflow): the owning spec first, a test that fails before the fix, then the fix.
- In the same branch, write what the release needs: a Security entry
under
[Unreleased]inCHANGELOG.md(what was wrong, who it affected, what to do, credit), and the matching changes toSECURITY.mdand the threat model if a trust boundary moved. - Run the whole gate locally (
scripts/check, orscripts/attest). Do not count on CI: the fix is not on any public branch, so the forges’ CI never sees it before the merge. - Open the pull request inside the private fork, and offer the reporter the
chance to check the fix there (
SECURITY.md, “Fix”).
A vulnerability in a dependency is out of scope for a report here, but if
Vix ships an affected version, update it the same way (cargo update -p <crate> --precise <fixed version>) and say so in the Security entry.
4. Cut the fixed release
Maintainer only. A patch release, made as in Releasing; none of its steps change for a security fix. Keep the time between merging and tagging short: the fix is public the moment it is merged.
-
In the private branch, bump the version and cut the changelog: the workspace version and its internal pins (
AI_STATEMENT.md§1, checked withcargo semver-checks --workspace), and[Unreleased]becomes a## [X.Y.Z]section with its Security entry. -
Merge the private fork’s pull request from the advisory page. That merges it into
mainon GitHub. Then bring the other two forges up to date (originpushes to GitHub, GitLab and Codeberg at once):git switch main git pull --ff-only git push origin main -
Wait for CI to be green on
main. Tag only a commit that is already onmain(Releasing, step 3). Push a signed tag:git tag -s X.Y.Z -m X.Y.Z git push origin X.Y.Z gh run watchThe tag starts each forge’s release:
diston GitHub (archives, installers, the CycloneDX SBOMs, the Homebrew tap, npm, the Linux packages), thereleasestage on GitLab and the release workflow on Codeberg.scripts/release-localis the local alternative, described on the same page. -
Publish the crates to crates.io, in dependency order, with
cargo publish -p <crate>for each (AI_STATEMENT.md§4–§5). The crates hold the fixed source, so their publication is part of the disclosure: it happens now, not before the merge.
5. Tell users
Maintainer only.
- GitHub Security Advisory. On the draft advisory, request a CVE if the issue warrants one, credit the reporter (unless they declined), set the patched version, and Publish advisory. GitHub adds it to its advisory database once it has reviewed it, so Dependabot alerts the people who depend on the crate.
- RustSec. For a published crate, open a pull request to
rustsec/advisory-dbadding the advisory undercrates/<crate>/(the database assigns its RUSTSEC id), socargo auditandcargo denywarn downstream users. CHANGELOG.md. The Security entry is already in the release section.distuses that section as the GitHub Release’s notes; link the advisory from the GitLab and Codeberg release pages too, since neither forge has an advisory database of its own.- The reporter hears that it is out, with the links.
6. Yank a crate version
Maintainer only. Yanking stops new projects from resolving to a version.
It deletes nothing: a project whose Cargo.lock already names the version
keeps building. Yank only when
using the version is itself harmful (a fix that cannot simply be upgraded to
is not a reason), and only after the fixed version is on crates.io, so a plain
cargo install vix-tui still resolves:
cargo yank --version X.Y.Z vix-tui
cargo yank --version X.Y.Z <crate> # each affected vix-* crate
cargo yank --version X.Y.Z --undo vix-tui
The other channels have no yank. A GitHub, GitLab or Codeberg Release can be
edited to say which version replaces it, and its assets deleted if they are
themselves dangerous; the npm package can be deprecated with
npm deprecate @vixide/vix@X.Y.Z "<message>"; the Homebrew formulas move to
the fixed version with the next release.
7. Afterwards
- Record the work in
tasks.mdand close anything it left open. - If the bug was a kind the new-feature checklist or the Security Checklist would have caught, add the item that would have.
- Delete the temporary private fork once the advisory is published.
Security Checklist for New Features
This checklist helps maintainers and contributors ensure that new features and changes to Vix maintain the project’s high security standards.
Before Implementation
- Review SECURITY.md - Understand Vix’s security policy and reporting process
- Check for sensitive data - Identify if the feature will handle:
- User credentials or secrets
- File system access
- Network requests
- Process execution
- Environment variables
- User input that could be malicious
- Assess risk level - Low, Medium, or High based on potential impact
- Design with least privilege - Ensure the feature has only the permissions it needs
During Implementation
Code Safety
- No
unsafecode - Vix forbidsunsafeRust in all crates - Use safe APIs - Prefer standard library and well-audited crates
- Input validation - All external inputs are validated:
- Command-line arguments
- File contents
- User input from UI
- Network data
- Environment variables
- Bounds checking - No unchecked array/file/buffer access
- Error handling - All errors are handled gracefully without panic
- Memory safety - No memory leaks, use-after-free, or buffer overflows
Data Handling
- Sensitive data protection - Secrets are:
- Never logged
- Never stored in plaintext
- Masked in UI
- Cleared from memory when done
- File access - Files are:
- Opened with appropriate permissions
- Validated before access
- Never written to unintended locations
- Properly closed after use
- Network access - Network requests are:
- Made only to user-specified endpoints
- Validated for scheme (HTTP/HTTPS only where appropriate)
- Timeout-protected
- Rate-limited where applicable
Execution Safety
- Process execution - Commands are:
- Never executed with user input without validation
- Run with appropriate working directory
- Run with appropriate environment
- Timeout-protected
- Shell injection prevention - No user input in shell commands without proper escaping
- Script sandboxing - Rhai scripts:
- Have no file access by default
- Have no network access by default
- Have no process execution by default
- Are explicitly opted-in for additional capabilities
Dependency Security
- Use trusted dependencies - Only well-maintained, audited crates
- Check for vulnerabilities - Run
cargo deny checkandcargo audit - Minimize dependencies - Only include what’s necessary
- Pin versions - Use exact versions, not wildcards
- Review licenses - Ensure compatibility with Vix’s multi-license approach
After Implementation
Code Review
- Security-focused review - At least one reviewer with security expertise
- Threat modeling - Consider potential attack vectors:
- What if user input is malicious?
- What if files are tampered with?
- What if network responses are malicious?
- What if dependencies are compromised?
- Penetration testing - Manual testing for:
- Injection attacks
- Path traversal
- Denial of service
- Privilege escalation
- Information disclosure
Testing
- Security-specific tests - Add tests for:
- Input validation
- Error cases
- Edge cases
- Boundary conditions
- Fuzz testing - Add fuzz targets for new parsers or complex input handling
- Integration testing - Test with various configurations and inputs
Documentation
- Document security implications - In:
- Feature specification (
spec/.../index.md) - User documentation (
docs/.../index.md) - Code comments
- Feature specification (
- Document security assumptions - What the feature assumes about its environment
- Document security limitations - What the feature does NOT protect against
Before Release
Security Audit
- Run automated checks:
-
cargo clippy --workspace --all-targets -- -D warnings -
cargo fmt --check -
cargo test --workspace -
cargo deny check -
scripts/check(full tier)
-
- Manual review - Check for:
- Hardcoded secrets or credentials
- Insecure defaults
- Missing input validation
- Missing error handling
- Information leaks in error messages
Vulnerability Assessment
- Check for known vulnerabilities - Use
cargo audit - Check supply chain - Review dependency tree for suspicious packages
- Check for regressions - Ensure existing security features still work
Post-Release
Monitoring
- Monitor for issues - Watch for security-related bug reports
- Respond promptly - To any security concerns or vulnerability reports
- Disclose responsibly - Follow SECURITY.md for vulnerability disclosure
Maintenance
- Update dependencies - Keep dependencies up to date with security patches
- Review security posture - Regularly reassess feature security
- Deprecate if needed - Remove features with unfixable security issues
Security Design Principles
1. Defense in Depth
Apply multiple layers of security controls. Don’t rely on a single mechanism.
2. Least Privilege
Grant the minimum permissions necessary for a feature to function.
3. Fail Secure
When errors occur, fail in a secure state rather than exposing sensitive data or allowing unintended access.
4. Secure by Default
Security should be enabled by default, not an opt-in feature.
5. Input Validation
All external inputs must be validated before use. Never trust user input.
6. Output Encoding
When displaying data, encode it appropriately to prevent injection attacks.
7. Minimize Attack Surface
Reduce the number of entry points and features that could be exploited.
8. Keep Security Simple
Complex security mechanisms are more likely to have vulnerabilities.
Common Security Pitfalls
❌ To Avoid
- Hardcoded secrets - Never commit credentials, API keys, or passwords
- Unvalidated input - Always validate before processing
- Unsanitized output - Always encode before displaying
- Race conditions - Use proper synchronization
- TOCTOU (Time of Check to Time of Use) - Validate at the time of use, not before
- Insecure deserialization - Use safe deserialization methods
- Command injection - Never include user input in shell commands
- Path traversal - Validate and sanitize file paths
- Buffer overflows - Use safe Rust types and bounds checking
- Integer overflows - Use checked arithmetic for security-critical operations
✅ To Do
- Use Rust’s type system - Leverage Rust’s safety features
- Use well-audited crates - Prefer mature, widely-used dependencies
- Validate all inputs - Assume all external data is malicious
- Handle all errors - Don’t panic, handle gracefully
- Use secure defaults - Make safe choices the default
- Document security decisions - Explain why certain approaches were chosen
Security Resources
- Vix Security Policy - Reporting vulnerabilities
- Rust Security Guidelines - Rust language security
- OWASP Top 10 - Web application security
- CWE Top 25 - Common Weakness Enumeration
- SANS Secure Coding - Secure coding principles
Quick Reference: Security Review Checklist
Before merging any PR that touches security-sensitive code:
- No
unsafecode added - All inputs validated
- All errors handled
- No hardcoded secrets
- No shell injection vulnerabilities
- No path traversal vulnerabilities
- Dependencies are trusted and up-to-date
- Feature follows least privilege principle
- Feature fails securely
- Security implications documented
Vix™ and Vix IDE™ are trademarks.
Changelog
All notable changes to Vix are documented here. The format is based on Keep a Changelog, and this workspace aims to follow Semantic Versioning.
[Unreleased]
-
Release:
publish-npm.ymlcan be run by hand for an existing release (workflow_dispatchwith the tag, behind the release-evidence gate), like the Linux packages and Homebrew workflows; 3.1.0’s npm package was published this way, withNPM_TOKEN. It also publishes the package by a./path: npm 11 readnpm/vix-tui-npm-package.tar.gzas a GitHubuser/reposhorthand and refused to fetch it. -
Contributors: two tag-only CI failures are fixed. The minimal release’s static Linux build (
release-minimal.yml) installed the musl target forstablerather than the toolchainrust-toolchain.tomlpins, so 2.1.0 and 3.1.0 shipped novix-minimal-*archives. And twovix-authorityagent tests on Windows expected\separators where the agent sends/by design.
[3.1.0] - 2026-11-30
-
Contributors: CI is green again on Linux and Windows. The freedesktop trash code indexed a hex table, which
vix-fileopsdenies (clippy::indexing_slicing) and which only a Linux build compiles; the Matrix helper usedmap(..).unwrap_or_default()where clippy now wantsmap_or_default. -
Security policy:
deny.tomlignores RUSTSEC-2026-0620 (curve25519-dalekbefore 5.1.0 can compute wrong results in its AVX-512 backend), reached through Cowork’s Noise transport (snow0.10, which requirescurve25519-dalek4) and the Matrix helper; Vix builds on stable Rust without that backend, so it is not affected. The Matrix helper also ignoreschronobeing unmaintained (viamatrix-sdk→oauth2). The SQLite advisory (RUSTSEC-2026-0459) and threeimnotices (vialoro) no longer apply after thesqlx0.9.1 andloro1.19 updates, and their ignores are removed from the rootdeny.toml. -
Contributors:
scripts/checkno longer lets its self-test scripts write into its check report. Their stub and nested gates inheritedVIX_CHECK_REPORTand appended their own lines, including fast-tierclippyandtestlines marked skipped, soscripts/attestnever produced a release-qualifying record.spec/local-ci. -
cargo install vix(T883): the crates.io cratevix, until now a 1.7.2 stub that only said Vix had moved tovix-tui, is the real editor again. It installs thevixcommand by default, and one feature per desktop GUI adds that program:cargo install vix --features eguiaddsvix-egui,cargo install vix --no-default-features --features icedinstalls onlyvix-iced(featuresgpui,egui,iced,gtk4,slint,bui,zgui). Its crates.io page has its own README: what Vix is, a table of the features with each program’s toolkit, license (vix-slintandvix-buiare GPL-3.0-only) and build needs, and every install route.cargo install vix-tuistill works and builds the same command (Cargo refuses the second of the two without--force). The crate lives in the GUI workspace (gui/vix) and is published last, aftervix-tuiand every GUI, from the release after 3.0.0. To make that possible, thevixcommand’s body is now the library functionvix::entry::run(tui/src/entry.rs) and each GUI’s isvix_<toolkit>::runin a newsrc/lib.rs; everymain.rsonly calls it, so behavior is unchanged.scripts/check-binary-licenseschecks the crate’s features, binaries and license and that the root workspace holds no GUI package. Spec. -
Linux packages for
vix-buiandvix-zgui(T882): every release now has their.deb,.rpmand Arch packages for x86_64 and aarch64 (sudo apt install ./vix-bui_*_amd64.deband so on), beside the other GUIs’. They have no release archives, so the Linux-packages workflow builds them first on the release’s glibc 2.35 runners with the newscripts/desktop-apps archives, the build the AppImage job uses, and packages that build unchanged.vix-bui(GPL-3.0-only) needs the C++ runtime and recommends libX11 and fontconfig; it runs on X11 or XWayland.vix-zguineeds fontconfig and recommends the Wayland or X11 and Vulkan libraries. A failed build of one leaves only that package out and fails the run after the upload. Newscripts/gui-build-depsis the one list of GUI build libraries for the GUI, AppImage and package workflows. Linux packages spec. -
Linux packages (T881): the
.deb,.rpmand Arch packages’ app launcher entries name each desktop app by its package,vix-eguiand so on, instead ofVix (egui), matching the Homebrew casks; they also sayGenericName=Text Editor. Linux packages spec. -
apt and dnf repositories for the Linux packages, built but not yet published (T669). New
scripts/build-package-reposwrites a static, signed APT repository (dists/stablewithPackages,Release,InReleaseandRelease.gpg, written from each.deb’s own control file) and an RPM repository (createrepo_cfromPATHor a pinnedfedora:41image via podman or docker, withrepomd.xml.asc), the public key asvix-archive-keyring.gpgandvix.asc, and ready-madevix.sources(deb822,Signed-By) andvix.repofiles; it keeps the five newest versions of each package. It signs with the key inVIX_PACKAGES_GPG_KEYin a throwawayGNUPGHOME, and with that key setscripts/build-linux-packagesnow signs every.rpm(nfpmrpm.signature). A newpackage-reposjob inlinux-packages.ymlpublishes the tree to the repository named byVIX_PACKAGES_REPOonce the maintainer adds the key,VIX_PACKAGES_TOKENand that repository; until then it prints a notice. New check steptest-build-package-repos. User setup: Linux package repositories. Linux packages spec. -
Monorepos: when a whole-repository
git statustakes longer than 200 ms andcore.fsmonitoris unset, the Messages dock says so once per repository and namesgit config core.fsmonitor trueandgit config core.untrackedCache true(on the 100,000-file fixture ofspec/git-monoreposthey take status from 359 ms to 38 ms) (T800h). Vix only reads the setting and never changes your git configuration; an explicitcore.fsmonitor falseis respected.vix-gitspec. -
Monorepos: language servers hear about edits to subproject manifests (T800g). The once-a-second watched-files poll already sent
workspace/didChangeWatchedFilesfor the workspace root’sCargo.toml,Cargo.lock,package.json,tsconfig.json,pyproject.toml,go.mod,go.sumanddeno.json; it now also stats them in the open files’ subprojects (found by walking up, as T800c does) and in every directory the file index holds one in, at most 256, where a server’s registered watcher (such as**/Cargo.toml) covers them. Editingservices/p20/Cargo.tomlin a terminal now reaches rust-analyzer even in a tree too large for the recursive watcher scan. Language server spec. -
Git → Code Owners says who owns the active file, and Tools → File Information shows a Code owners row (T800i). Vix reads the repository’s
CODEOWNERS(the first of.github/, the top level,docs/and.gitlab/), matches the file with gitignore-style patterns where the last match wins, and gives each GitLab[Section]its own owners; the status line names the file and the rule’s line. It works with a workspace opened below the repository’s top level and on a remote workspace. New invix-git:CodeOwners,OwnerRule,OwnerSection,OwnerMatch,codeowners_locationandrepo_toplevel, with acodeownersfuzz target; newcode_owners_rowinvix-file-information-panel. Git spec -
Inline blame no longer slows down moving through a file (T800e). With Git → Toggle Inline Blame on, every move to another line ran
git blamebefore Vix took the next key: about 115 ms per key withjheld on the 1,000-commit fixture ofspec/git-monorepos, longer than the key repeat. The blame now runs in the background once the cursor has rested on a line for 150 ms, so a held key returns in under 0.1 ms and only the line it stops on is blamed; an answer for a line the cursor has left is not shown, and answers are cached per file,HEADrevision, buffer revision and line, so going back to a line shows its note at once. NewApp::inline_blame_busyandApp::wait_for_inline_blame;monorepo_probe --blame FILEtimes a heldj. Git spec. -
Homebrew on Linux (T880):
brew install vix-egui(andvix-gpui,vix-iced,vix-slint,vix-bui,vix-zgui) now also works on Linux, x86_64 and aarch64: the cask installs~/Applications/vix-egui.AppImageand its desktop entry, so the app launcher, app chooser and Open With list the app asvix-egui(for text and common source files; Open With opens the chosen file). Each release carries<name>-x86_64.AppImageand<name>-aarch64.AppImagewith a.sha256each, made from the release’s glibc builds (built in the job forvix-buiandvix-zgui) with pinned, checksum-verified appimagetool, AppImage runtime and linuxdeploy.vix-gtk4has no AppImage (bundling GTK 4 is not reliable) and its cask stays macOS only. One cask per app, withon_macosandon_linuxparts, from the same template; the macOS casks now saydepends_on macos: :big_sur(Homebrew deprecated the">= :big_sur"form).scripts/macos-appandscripts/test-macos-appare nowscripts/desktop-appsandscripts/test-desktop-apps(check steptest-desktop-apps),packaging/macos/apps.jsonispackaging/apps.json; newpackaging/linux/. Not yet run on a real release. Casks spec. -
Homebrew (T879):
brew install vix(afterbrew tap vixide/tap, orbrew install vixide/tap/vix) installs thevixcommand; the formula wasvix-tui, and the tap’sformula_renames.jsonmaps that name tovix, sobrew upgrademoves an existing install over. Each of the seven desktop apps is now also a macOS app bundle, shown asvix-egui,vix-gpui,vix-iced,vix-slint,vix-gtk4,vix-buiorvix-zguiin Finder, Launchpad, Spotlight and Open With (for text and source files), and a Homebrew cask of that name:brew install vix-eguiputsvix-egui.appin/Applicationsandvix-eguion thePATH.vix-gtk4(which pulls in Homebrew’s GTK 4),vix-buiandvix-zguiare Apple silicon only. The apps are ad-hoc signed, not notarized: macOS asks before the first start, and the cask says how to allow it. The GUIs no longer have Homebrew formulas, which would shadow their casks; a formula install needsbrew uninstallbefore the cask. Open With starts the app but does not open the chosen file yet. New.github/workflows/publish-homebrew.ymlreplaces dist’s Homebrew job; newscripts/macos-app,scripts/test-macos-app,packaging/macos/andpackaging/homebrew/cask.rb.in; new specspec/brew. -
Contributors: a hung Docker daemon no longer stalls
scripts/check(T876).scripts/test-check-linux, meant to need no container engine, still asked the realdockerfor its memory and CPUs in its dry-run cases and waited 45 minutes on a hung Docker Desktop; it now uses a stand-in and finishes in about 2 seconds. -
In a native agent conversation, Ctrl+L opens the waiting follow-up prompts and pauses their delivery (T877). Alt+↑/Alt+↓ (or Ctrl+↑/Ctrl+↓, which macOS keeps for Mission Control) move the selected prompt, Delete removes it and Enter recalls it whole into an empty composer; Ctrl+P resumes. The new order is saved at once and kept across a restart. Agent guide
-
Native agent handoffs show and send only what you can see (T874): each message of the excerpt is quoted with
>, so a reply cannot pose as your own message, and invisible Unicode characters (tag characters, zero-width spaces, direction marks) are left out of both the preview and the sent prompt.spec/ai-agentsis now an overview with pages on providers, storage, worktrees, follow-ups, handoffs and security. -
Contributors:
scripts/check’s parallel documentation build (target.par-doc/) is now ignored by git (T878); in a worktree it showed as about 116,000 untracked files and slowed the gate’s last step by 20 minutes. -
docs/reference/quality-metrics.mdrounds its line counts (T873): the summary’s lines of Rust to the nearest 1,000 and the per-crate src and tests columns to the nearest 100 (<50for a few lines), so an ordinary edit no longer makes the generated page stale and a rebased branch no longer fails the gate’s generated-reference step. Test, crate, translation-key and allowlist counts stay exact. Test spec. -
Tests: the 29 standalone integration test files in
tui/tests/are now modules of two binaries instead of 29 (T875, redoing the maintainer’schore/fold-tui-testson currentmain):tui/tests/main.rs(one link step and one process), andtui/tests/authority.rsfor the tests that install a fake authority in the process-wide slot, where each takes one shared lock. Run one file withcargo test -p vix-tui --test main <module>::(the Jupyter tests:cargo test -p vix-tui --features jupyter --test authority jupyter::). The same 2,554 tests run, once each; the snapshot files are now namedmain__snapshots__*.snap. The sandbox tests that re-execute their own binary now name themselves with the module path and fail when the child ran no test, which a plain fold would have let pass silently. -
Monorepos: search, grep, Git status, the Git panel and the log can be limited to the active file’s subproject (T800d). Git → In Subproject has Status, Changes…, Log and Grep…, which add
-- <dir>(on the 100,000-file fixture ofspec/git-monoreposstatus 359 ms → 23 ms,git grep1.86 s → 59 ms), and Project → Subproject → Search in Subproject… opens Search in Workspace with its path filter set to the subproject. For a workspace opened below the repository’s top level, Git → In Workspace Folder offers Status and Changes… limited to it (-- .). In the Git panel,fcycles its filter: whole repository, workspace folder, subproject; Git → Changes… still opens on the whole repository. Each has a palette entry. New invix-git:PathScope,merge_scoped_status,status_inandworkspace_prefix; themonorepo_probeexample times the scoped panel and search. -
Saving in a large git repository no longer waits for
git status(T800a). A save, a rename and a finished command used to read the whole repository’s status on the UI thread before Vix took the next key: 436 ms per save on the 100,000-file fixture ofspec/git-monorepos. They now ask for a background refresh, and a save returns in about 10 ms; requests in one frame (Save All, a rename that writes several files) share one run, the branch and Git panel rows follow when it lands, and a gutter against the saved file or the index updates at once. Opening the Git panel, git actions and switching workspace still read git state straight away. NewApp::request_git_refreshandApp::wait_for_git_refresh; themonorepo_probeexample now times a save. -
Fixed: Vix’s own
git statuscould make yourgit addorgit commitfail with Unable to create ‘.git/index.lock’ (T800b). Every read-only git run (status,diff,log,blame,show,rev-parse,ls-filesand a few more) now setsGIT_OPTIONAL_LOCKS=0, so it never takes the index lock; the writing ones are unchanged. Withcore.untrackedCacheon, the cache is then saved only by your own git commands. New invix-git:READ_ONLY_SUBCOMMANDS,git_subcommandandis_read_only. -
Fixed: Project → Subproject found no subproject for a file whose manifest the file index did not hold yet (T800c). The index lists the first 5,000 files at once and the rest in the background, up to 150,000, so in a large monorepo a file in
services/p20reported no subproject right after it opened, a nested one could resolve to its parent, and past the cap it never resolved. The nearest subproject now comes from the active file’s own directories, walking up to the workspace root and asking the workspace’s authority which project-type markers exist (one batch, a single round trip on a remote machine); Find File lists the subproject’s own files while the index is still being built. A manifest a sparse checkout leaves out is not found. Newvix_tasks::subproject::marker_paths_aboveandnearest_subproject_from_markers, andApp::palette_file_scope; themonorepo_probeexample prints the subproject Find File chose. Tasks spec. -
Research: what a large git monorepo costs Vix (T800).
spec/git-monoreposmeasures a generated 100,000-file, 40-subproject repository: every save waits on a whole-repositorygit statuson the UI thread (404 ms with git’s defaults, about 50 ms withcore.fsmonitor), that status takes git’s optionalindex.lockand made 8 % of concurrentgit addruns fail, Project → Subproject can miss the active file’s subproject until the background file index is complete, and scoping search,git grepand status to one subproject is 16–34× faster. A sparse checkout’s out-of-cone files do not look deleted. The findings are tasks T800a–T800i; a newmonorepo_probeexample times the real code paths on any checkout. -
Project → CMake (T799): CMake projects (
CMakeLists.txt) get their own submenu. Choose the configure preset fromCMakePresets.json/CMakeUserPresets.json(withinheritsand${sourceDir}macros) or none, the build type, the build target (allor any target) and the launch target (an executable), each from a picker; the choices are kept in the[cmake]table of.vix/project.toml, per preset, with each launch target’sargs,cwdandenv, and shown in the status bar. Configure asks the CMake File API for the target list (codemodel-v2,cache-v2) and exportscompile_commands.json, and the built-inclangdis pointed at the build directory. Build, Clean, Install, Test (ctest), Run Test… (a picker over the CTest tests), Test at Point (GoogleTest, Catch2, doctest and Boost.Test cases), Run (build, then start the program with its arguments, directory and environment) and Debug (build, then start it under the C/C++ debug adapter) all run through the task runner, with compiler errors in Next Error and the Problems panel, and the Project lifecycle commands andC-c p c …chords run the CMake commands in a CMake project. NestedCMakeLists.txtdirectories are no longer listed as subprojects. Newvix_tasks::cmakemodule andvix_dap::Dap::start_launch_with. Tasks spec. -
The calendar’s first weekday is configurable (T797). Set
calendar_first_weekdayinconfig.tomlto any day from"monday"to"sunday"(or"mon".."sun"), independently of the UI language; a config without it keeps the Monday start, and Vix → Reload Settings applies a change at once. The weekday header, where each date is drawn and what a click inserts all come from the same grid, so a click and Enter on a day insert the same date. Newvix-calendar-panelitems:month_grid_from,weekday_order,weekday_header,parse_first_weekday,Calendar::grid_fromandCalendar::select. -
Snippets resolve the TextMate/VS Code variables (T802), in snippet files and in language-server snippet completions alike:
$TM_FILENAME,${TM_SELECTED_TEXT:default},$CURRENT_YEARand the rest of the date and time set,$CLIPBOARD,$WORKSPACE_NAME,$RELATIVE_FILEPATH,$UUID,$RANDOM,$LINE_COMMENTand the block-comment tokens, among 34 standard names, with the conditional forms${NAME:+text},${NAME:-text}and${NAME:?a:b}and transforms such as${TM_FILENAME/(.*)\..+$/${1:/pascalcase}/}(/upcase,/downcase,/capitalize,/pascalcase,/camelcase, theg,i,mandsoptions). An unknown variable is inserted as a placeholder named after it, as in VS Code. In a remote workspace the path variables are the remote paths. Snippets spec. Compatibility: a$NAMEmeant literally in a snippet file now resolves; write\$NAME("\\$NAME"in JSON) instead. The one such snippet shipped with Vix, theapplication/json“JSON Schema” example’s"$schema", is now escaped. New invix-snippet-tool:parse_with_variables, theVariablestrait,NoVariables,VARIABLESandis_known_variable. -
The desktop app
vix-eguiis the production candidate among the seven GUIs (T871, audit PQ-10), qualified on macOS on Apple silicon; its other targets stay candidates until checked in a real window. It now saves the same local, scrubbed crash report as the terminal app (it saved none before), names itself in the report (frontend: vix-egui; the terminal app’s reports sayfrontend: vix) and says on its next start that a report is waiting. Nothing is sent. New tests start the real binary with a synthetic crash in a throwaway home folder, and edit, save and reopen a file through the window’s own input path; a new non-advisory CI job repeats that in a real macOS window. Fixed with it: a scriptedspacein the GUI render smoke test typed nothing. See the GUI spec. -
Fixed: the links in the security policy pointed to the wrong place in the documentation site, where
SECURITY.mdis included as a page (T872). They are now absolute, andscripts/check-docsfails on a link in an included file that only works from one of the two places. -
Typing in Search in Workspace no longer waits for the search (T869, audit PQ-08). Each keystroke used to scan every file before Vix read the next key: about 140 ms per key in a 10,000-file project the first time, more on a slow disk. The scan now runs in the background: a keystroke returns in under a millisecond, hits appear as they are found (the status line says Searching… meanwhile, and the previous hits stay listed until new ones arrive), a newer query or Esc cancels a search still running, and the results, their order and the path filters are unchanged. Unsaved buffers are searched as they were at the keystroke; Enter and Alt+E wait for the search in flight so they act on the query as typed. New
App::wait_for_workspace_search,poll_workspace_search,workspace_search_busy,workspace_search_timing(SearchTiming) andworkspace_search_panel; newworkspace_search/keystroke,first_resultandcompletebenchmarks and aworkspace_search_latencyexample; numbers indocs/performance, § Workspace search latency. -
Security: a verification guide for administrators, one route at a time (T870). Verifying a download says, for the release archives, the signed local release, the installers, the MSI, the Linux packages, the minimal build, Homebrew, npm, crates.io and the SBOMs, what produced the file, what to check it against, what that is trusted through, the command and the expected result, and which channels are not published. New
scripts/verify-release DIRchecks a downloaded release offline: theSHA256SUMSsignature before its lines, then every checksum file, rejecting a changed, missing or uncovered file;--require-signatureand--record(version, target, digest). Fixed:SECURITY.mdsaid release artifacts were unsigned; it now says which are (thescripts/release-localmanifest, 2.0.0) and which are not (tag-built releases, the MSI, the Linux packages). -
Fixed: choosing a row in the document-symbol, workspace-symbol, references or diagnostics list (a related-information row too) now lands on the right column after wide or emoji characters, whichever position encoding the language server uses. The rows kept the server’s raw column plus one, which is right only for ASCII; each row now remembers the server’s position and encoding and converts it against the target buffer when it opens, as a direct go-to-definition does, so an unsaved buffer and a file the jump opens for the first time both work. For
xin界💡x, a UTF-8, UTF-16 or UTF-32 server’s 7, 3 or 2 all reach column 3 (T795). -
Fixed: the save decisions read in English in 12 of the 27 languages (Italian, Korean, Turkish, Dutch, Vietnamese, Indonesian, Thai, Persian, Ukrainian, Greek, Klingon, Sindarin). Save As onto an existing file, a save whose file changed on disk, and a save refused because the file’s encoding cannot hold a character are now translated in every language, together with what their answers lead to (the dialog title, the cancelled and kept status lines, the compare view) and the File menu’s Save, Save As and Save with Encoding items they name. The overwrite question now says which keys answer it,
(y: overwrite, n: cancel), in every language.tui/tests/i18n_keys.rschecks each of these keys in every chooser language, its placeholders and key hints, and that a non-Latin path and an unmappable character render whole (T796). Fixed: closing the diff that d opened from a recovery prompt (an interrupted save or a hot-exit backup) brings the prompt back at once instead of on the next idle tick (T868). -
Codex and Claude Code conversations now accept queued follow-ups. Enter queues a prompt while the agent works. Ctrl+P pauses or resumes delivery and Ctrl+U recalls the next waiting prompt. Queues survive restarts. User guide
-
Native Codex and Claude Code conversations can run in dedicated Git worktrees. The first prompt creates a branch from the current commit. Returning to the conversation reuses that checkout, including its uncommitted edits, in the terminal and all desktop GUIs. User guide The rows appear only in a folder your current commit holds. A worktree conversation whose first prompt failed (Git refused, or the provider was not installed) can be reopened and retried instead of being stuck, and Vix refuses worktree conversations while a variable redirects Git elsewhere, such as
GIT_DIRorGIT_OBJECT_DIRECTORY(T867). -
Native agent conversations can hand off context between Codex and Claude Code. In the receiving conversation, press Ctrl+R to select a saved conversation and review the exact prompt before sending. User guide
-
Fixed: workspace Replace All could overwrite changes made after its preview, and missed matches the search panel did not show (T864). Confirming Replace in Files, Structural Replace in Workspace or the editable search results now writes a file only while it still holds the text the preview was computed from: a file edited after the preview (on disk, or a dirty buffer edited again) is left alone and offered again in a refreshed preview, a deleted one is not recreated, and the summary counts what was really replaced. Replace in Files now covers every matching file the path filter allows, not only the files among the panel’s first 5,000 hits: two files of 5,001 matching lines each preview and replace all 10,002. While the workspace file list is still being built or was cut short, the preview says so and only
!applies it, to the listed files. -
Fixed: a save that cannot reach the disk no longer risks the file (T865). When writing or syncing the new data to the temporary file fails (a full disk, an I/O error), the save fails with the file untouched and the buffer still dirty; it used to retry by truncating the file and writing in place. A save that must go in place (a hard-linked or another user’s file, an unwritable directory) now first writes, reads back and checks a complete recovery copy, and fails with the file unchanged when it cannot keep one; it used to go ahead without a copy. A failed in-place write puts the original back. Interrupted-save copies use a new framed record (
VIXRECOVER 2) that keeps any file name (a newline, non-UTF-8 bytes, any Windows name) and any contents exactly, and is published only after it validated, so a cut-off record is never offered. Older records are still read, but one whose file name is ambiguous is never written back to a guessed path. At startup each interrupted save is offered in the recovery prompt: r restores the copy (or, when its file cannot be established, opens it in a new unsaved buffer to save where you choose), d shows the diff, x discards it, n decides later.vix-fileopsaddsRecoveryRecord,RecoveryFormat,Recovery::readandRecovery::restore_to, and a test-onlyfault-injectionfeature. -
Release: signed gate evidence now names the checks that ran (T866).
scripts/checkrecords each check as run, skipped or delegated with its tool version, andscripts/attestsigns that list (record format v2); a gate run withoutcargo-hack,cargo-semver-checksor CSpell still passes and attests for everyday pushes but says it is not release-qualifying. Newscripts/attest --verify --releaseand the always-requiredscripts/ci release-verifyaccept only a record for the candidate’s own tree with every release check run;scripts/release-localand every release route on GitHub (release.ymlvia dist’slocal-artifacts-jobs, the minimal archives, the container image, manual Linux packages, packaging), Codeberg and GitLab now refuse a tag without it. -
Fixed: four status messages (a failed test run, a FHIR request already in progress, an HL7 reply that does not match the message sent, an HL7 commit-only acknowledgement) read in English in every translated language; they are now translated in all 14, and
tui/tests/i18n_keys.rsfails when any key lacks a translation in one of the 14 core locales (the old coverage floors sat far below the catalog’s size). The#[ignore]-needs-a-reason lint now also readsexamples/andbenches/(T863). -
Security: secret scanning of git history and lower-volume Dependabot (T832, fourth slice). New opt-in
scripts/secret-scan-historychecks every line any commit added (all refs, or a revision range) against the rules inscripts/secret-patterns, so a secret committed and later deleted is still found; it prints the commit, file, line and rule, never the secret, and exits non-zero on a finding. The opt-in pre-push hook (make hooks) runs it over the commits a push adds and refuses the push on a finding. A run over the whole history found nothing. Dependabot now groups each week’s minor and patch updates into one PR per ecosystem, with each major update in its own PR, and also watches thegui/andmatrix/lockfiles. A quarterly audit checklist (advisories and licenses, dependency review, the history scan, the threat model and file-system audit, the hardening claims) is linked fromSECURITY.md. -
Contributors: a quality-metrics dashboard (T833, last slice). The generated Quality Metrics reference gives, for the workspace and each crate, lines of Rust in
src/andtests/, test functions, property tests,#[ignore]d tests and flaky quarantine, plus fuzz targets, benchmark files, lint suppressions, the crate count per layer, each locale’s translation completeness and the size of every allowlist (PRINT_ALLOWED,SINK_ALLOWED, secret-scan allows, equivalent mutants, ignored advisories). It is read from the source tree as text, with no build or network, by the samecargo run --example list_commands -- --writerun, andscripts/checkfails when it is stale; coverage, mutation score and flakiness stay withcargo tarpaulin,mutants.ymlandscripts/flaky-hunt. -
Tests: property tests for buffer operations and three more parsers (T831, fifth slice).
vix-editor-corechecks inserts, removes, slices and every character/byte/line/(row, col)conversion against a plainStringmodel, that an insert undone by a remove (and the reverse) changes nothing, that the shared-editing edit log replays to the same text, thatCode::changed_sincenever misses a changed character, and that non-overlapping multi-caret edits give the same text in any order. The.editorconfigreader is checked against a naive model, modelines for bounds and Vim/Emacs round trips, the palette’spath:line[:col]parser (Windows drive paths included) and the task problem matchers’ locations in every built-in format for round trips. No bugs found. -
Fixed: the Windows installer definitions (
tui/wix/main.wxs,gui/*/wix/main.wxs) still named the old help link after the homepage moved to https://vixide.github.io/, which would have failed the next release’sdist plan; CI’s drift check now covers everydist generatemode, not only the workflow. -
Security: every release now carries the CycloneDX SBOM of each desktop GUI (
vix-gpui.cdx.xml,vix-egui.cdx.xml,vix-iced.cdx.xml,vix-slint.cdx.xml) next tovix-tui.cdx.xml.distplanned them, but its SBOM step only runs in the root workspace, so they were never written; a new.github/workflows/sbom.ymljob writes them with the same pinnedcargo-cyclonedx. New incident-response playbook, linked fromSECURITY.md: what the maintainer does from a vulnerability report to a fixed release (a draft GitHub advisory and its private fork, the patch release, the advisory, RustSec and changelog notices,cargo yank), each outward-facing step marked maintainer-only (T832, third slice). -
Contributors: the MCP server no longer depends on the command palette (T861). The offline symbol scan (
Symbol,symbols,symbol_in_line) now lives invix-textopsasvix_textops::symbol;vix_palettekeepsSymbol,symbolsandsymbol_in_lineas thin wrappers over it, so its API is unchanged. Layering rule 5 now also keepsvix-mcp-serverfrom reachingvix-palette. -
Contributors: the MCP server no longer depends on the Markdown preview or the outline panel (T860). Its
outlinetool parses Markdown headings itself, so each title is the heading’s plain text (a linked heading no longer ends in(url), a quoted one no longer starts with│, and a two-line setext heading is one title) and every heading has its source line. A fifth layering rule intui/tests/crate_layering.rskeepsvix-mcp-serverfrom reaching any panel, picker, preview or view crate. The other edge the layering report flagged,vix-workspace-search -> vix-find-panel, is kept and its reason is written in the workspace search spec. -
AI → Agent Conversations… starts and resumes native Codex and Claude Code conversations in a shared Vix panel across the terminal and desktop front ends. Enable the optional
ai-agentsCargo feature. User guide · spec · demo (recorded with the realclaudeandcodex;scripts/vhs_lite.pygained VHS’sWaitandscripts/cast_to_gif.pyrenders a cast withoutagg). -
Native agent conversations, reviewed: Vix no longer sets a Codex sandbox or approval policy or a Claude Code permission mode, so your own provider settings apply. Permission requests that arrive together are queued instead of the second being declined, a withdrawn one disappears, and each is shown as readable lines (the command, its directory and reason, or the file, the text replaced and its replacement; Codex file changes with their diffs). Codex questions Vix cannot answer are declined properly. Esc during a turn asks for a second Esc, which interrupts the provider, keeps your draft, and stops it and the commands it started within half a second; closing the panel or quitting does the same. A missing provider says so, and a provider that fails or exits shows the end of its error output. Decline with n or N. The chooser skips damaged conversations, lists without reading whole transcripts, and says when a conversation is open in another Vix window. Fixed in
vix-acp: a very long line from an agent, split over many reads, was searched again from its start on every read; agent stderr is now kept as an 8 KiB tail instead of discarded, and the newAgentProcess::spawn_isolatedwrites on a thread and kills the agent’s whole process group. -
Hot exit no longer pauses typing in a large file (T859). Once a minute, backing up a changed buffer over 4 MiB copied its whole text on the UI thread: about 120 ms and 67 MiB at 64 MiB. The text is now snapshotted in well under a millisecond and written by a worker thread straight from the buffer, with no copy, to the same atomic, owner-only file; a newer backup cancels an older one still being written, deleting a backup on save waits for any write in flight, and quit waits until every backup is on disk. Fixed: in a source file under the 8 MiB syntax limit, typing faster than the background reparse finished grew memory by about 0.13 MiB per key without bound (48 MiB over 400 keys at 7 MiB of Rust), and the next syntax tree could still hold text from before the edits: a cancelled Tree-sitter parse was being resumed with the newer text instead of started over. New
vix_fileops::write_atomic_private_withandvix_undo_store::hot_exit::BackupStore::write_chunks; numbers indocs/performance, § Hot exit and Tree-sitter after T858. -
Very large source files no longer hold gigabytes for syntax highlighting (T830, fifth slice). Measured at 1 to 64 MiB of Rust, opening and typing never waited on Tree-sitter (the parse already ran in the background, and each edit updated the tree incrementally), but its tree took about 42 bytes of memory per byte of text: a 64 MiB file held 2.7 GiB and took ten seconds to color. A file over 8 MiB now opens as plain text, and the status line says syntax highlighting is off for files over 8 MiB; the same 64 MiB file adds 73 MiB. Files up to 8 MiB are unchanged. New
vix_editor_core::code::SYNTAX_MAX_BYTESandsyntax_off_for_sizeonCodeandEditor; numbers indocs/performance, § Tree-sitter on very large files. -
Faster typing in very large files (T858). With the cursor anywhere below the top of a large file, the frame after each keystroke copied the whole buffer and scanned every line for declarations to fill the sticky-scroll header: about 7 ms per MiB (0.4 s at 64 MiB), and the copies stayed resident, so five keystrokes at 64 MiB grew Vix by about 320 MiB. The sticky-scroll header and the breadcrumb now read up from their line to the nearest declaration and remember what they saw across edits, and the horizontal scrollbar’s widest-line width is updated from the changed lines instead of a rescan after each pause in typing. A keystroke and its frame now take about 0.2 ms at 64 MiB, as at 8 MiB, with no growth in memory (
docs/performance, § A keystroke in a very large file). Newvix_editor_core::code::Code::changed_sinceandvix_palette::symbol_in_line. -
Contributors: a crate layering report and rules (T833, third slice). The generated Crate Layers reference lists every workspace crate with its layer (the longest chain of workspace dependencies below it), its direct workspace dependencies and how many crates depend on it;
cargo run --example list_commands -- --writewrites it fromcargo metadatawith no extra tool, andscripts/checkfails when it is stale.tui/tests/crate_layering.rsenforces four rules the graph already keeps (nothing depends onvix-tui; onlyvix-inputandvix-tuiusecrossterm; no*-core/*-modelcrate reaches a panel, picker, preview or view crate; no desktop GUI depends on another), naming the offending edge when one breaks; they are written down in the architecture overview’s “Layering rules”. -
Fixed: a project search opened while the background file index was still building searched only the first 5,000 files and was never refreshed; it now runs again when the full index lands.
-
Faster workspace search in large projects (T830). Find in Workspace, Search in Workspace (to dock), the TODO finder and Todo Tree and the fallback go-to-definition read files on every core instead of one at a time, skip files with no matching line before looking at each line, and no longer resolve every file’s real path just to see whether an open tab shows it. Typing a query further skips the files the previous keystroke found nothing in while their size and modification time are unchanged. In a 100,000-file checkout a full search went from 3.7 s to 0.9 s and a keystroke that extends the query from 3.1 s to 0.2 s, with the same results in the same order (
docs/performance, § Workspace search in a large checkout). Remote workspaces still search withrgorgrepon the remote host. -
CI and the local gate no longer retry a failing test:
.config/nextest.tomlsetsretries = 0in both profiles (it retried once locally and twice in CI, which passed the run and only logged the test as FLAKY). A timing race now fails the run; confirm it withscripts/flaky-hunt, then fix or quarantine it. -
Tests: flaky-test hunting and quarantine (T831, fourth slice).
scripts/flaky-huntruns a test target, or the tests a filter picks, N times in a row, optionally with busy loops on every CPU or a second build running beside it, and lists each test that failed with the runs it failed in, so a suspected timing race is confirmed or ruled out in minutes. A known-flaky test that cannot be fixed at once is quarantined with#[ignore = "flaky: T<n>, <reason>"]naming an open task;tui/tests/code_lints.rsnow fails on any#[ignore]without a reason and on a quarantine whose task is closed. Vix’s own scripts never retry a failing test; nextest’s existing retries are unchanged for now. -
Docs: architecture decision records in
docs/adrfor five decisions that shape the codebase: writing Vix in Rust, building onratatuiandcrossterm, forbiddingunsafe, the workspace of focused crates (including the two earlier layouts it replaced), and default-on capability Cargo features. Each gives its date and the commits and files it rests on, and says plainly where the history does not record why (T828, third slice). -
Long sessions hold less memory (T830). Every cache that could grow was measured by opening and closing 1,000 files (inventory in
docs/performance, § Caches over a long session); the ones that grew are now bounded. What Vix keeps per file beside its tabs (the last-seen disk time, the change gutter’s HEAD copy, the language-server sync state) is dropped within a second of the file’s last tab closing; before, 1,000 files left 1,000 HEAD copies and disk times behind. Fixed along the way: Close All, a preview tab replaced by the next preview and a deleted file’s buffer never told the language server the file closed, so it and Vix kept the whole text of each one (667 of the exercise’s 1,000); they now senddidClose. Position History keeps the newest 100 jumps, as Vim’s jumplist does (it kept every one), and each editor keeps syntax highlights for at most 256 screen ranges, least recently used first (scrolling a 2,000-line file kept 2,000). Newvix_editor_core::editor::HIGHLIGHT_CACHE_ENTRIES. -
Memory-usage tracking (T830): the
VIX_PROFILEframe profile now reports Vix’s resident memory at the start, its peak and at the end, sampled once a second, and Tools → System Information shows Vix resident memory, both read throughsysinfo, which Vix already used. Newvix_system_information_panel::resident_memory. -
Contributors: the opt-in git hooks (
make hooks) do more and no longer touch what you did not stage (T833, second slice). Thepre-commithook checks the staged content in seconds and changes nothing: it refuses unformatted staged Rust files (it used to runcargo fmton the whole tree andgit add -u, staging changes you had left out, and ranprettieron Markdown), staged files holding what looks like a real secret, new files over 1 MiB (VIX_MAX_ADD_BYTESraises it), and, when library code is staged, a failingtui/tests/code_lints.rs, compiled alone withrustcin about a second. The secret rules and allowlist moved fromtui/tests/secret_scan.rsintoscripts/secret-patterns, read by both the test and the hook, so they cannot drift. Thepre-pushhook now runsscripts/check --tier fastbefore an unattested branch push (VIX_ALLOW_UNATTESTED=1) and refuses it when that fails.scripts/test-attesttests both hooks in throwaway repositories. -
Security: the four open risks the T832 file-system audit recorded are closed (T857). Crash reports are written owner-only (
0600) like Vix’s other private files. Over SSH without the remote agent, copying a folder into an existing one replaces the symlinks inside it instead of writing through them, and a save refuses to follow another user’s symlink in a shared sticky directory such as/tmp, as local saves do. A file an ACP agent proposed is checked again when you save it: if it has since become a link out of the workspace, Vix does not save it and says why in Messages. -
Security: a file-system audit of every place Vix checks a path and then acts on it (workspace trust, saves, the explorer’s copy/move/delete/trash, remote authorities, Rhai plugins, the MCP server, ACP agents, backups and crash reports), recorded as a table in
docs/threat-model.md, fixed four ways around a check (T832, second slice). Pasting a file over a symlink of the same name in the explorer replaces the link instead of overwriting the file it points at, at any depth of a copied folder and over SSH for the top-level name; a dangling symlink there now asks first instead of silently creating its target. A save refuses to follow a symlink another user owns in a shared sticky directory such as/tmp(Linux’sfs.protected_symlinksrule), so such a link swapped in after you open the file cannot redirect the save into one of your own files. An ACP agent can no longer name a dangling symlink inside the workspace that points outside it. The MCP server and ACP agents refuse.GIT/…and.SSH/…like.git/…and.ssh/…, for case-insensitive file systems. -
Fixed: valid JSON with a name longer than 1024 characters now opens in the JSON/YAML edit surface (Edit → Mode → JSON…/YAML…). The YAML parser that reads JSON refuses an implicit key that long; when it refuses the text and
serde_jsonaccepts it, the tree is read withserde_json, keeping key order, string keys and the T854 escapes on save (T855). -
Tests: the weekly mutation-testing workflow (
.github/workflows/mutants.yml) now also covers the core cratesvix-editor-core,vix-fileops,vix-git,vix-lspandvix-db. All their mutants together (about 5,900) would take days, so each week it mutates only the code changed in the last seven days (cargo mutants --in-diff), split per crate into shards of at most about 200 mutants with a per-crate test timeout, so each job stays under the runner limit; a manual run can start from another ref or take every mutant. It reports the missed mutants in the job summary and uploadsmutants.out/, and does not fail yet (T831, third slice). -
Docs: the Org page is now a full reference (structure, tasks, agenda scope, capture templates, tables and
#+TBLFM:formulas, column view, links and source blocks, export, contacts, the Emacs chords), and the AI Chat Panel and Agents page covers the off switch, thecli,anthropic,openaiandollamaproviders, API keys in the OS keyring, what is sent and when, diff review and ACP agents (T828). -
Org → Capture → Contact… now also asks for a nickname and a note, so a captured contact has every field the org-contacts spec names (the template had drifted from it).
-
Fixed: five problems found while writing the Org and AI references (T856). Org table Copy Field from Above (
S-RET) increments a number as it copies it down (3→4), as Emacs’sorg-table-copy-downdoes by default; it used to copy it unchanged. The action reference (docs/reference/actions.md) and the every-keymap-binding test now include the agent (ai.agent_*), compare (diff.*), Insert, Draw, Surround, IM thread and Org emphasis/block actions: a new test intui/tests/action_catalog.rsfinds every dispatcher-shaped function intui/srcand fails until it is scanned or excluded with a reason. Tutorial 14 lists theollamaprovider, the settings reference names all five built-in capture templates, and the Contacts page (docs/contacts) is written. -
Fixed: the JSON/YAML edit surface (Edit → Mode → JSON…/YAML…) no longer saves JSON that does not reopen when a key or string holds U+0085, U+2028, U+2029, DEL, a C1 control or U+FFFE/U+FFFF: they are written as
\uescapes, because the YAML parser that reads JSON back takes the first three as line breaks and refuses the rest. Valid JSON files holding them raw now open too (T854). Value tags (key: !custom x) are kept and written back on save instead of dropped, shown before the value in the row, and kept when the value is edited; a YAML mapping whose only key is tagged (!k x: 0), which the YAML writer cannot write, is refused with its own message, as is a tag holding,,[or](written%5Dand so on), which it writes so the file does not reopen. NewSaveError::LoneTaggedKeyandSaveError::UnwritableTag(T853). -
Highlight Word marks the occurrences on screen (T852). It used to mark the first 500 in the buffer, so in a large file a common word could be marked only far above where you were looking; now it marks the visible rows first, then outward from them (still at most 500), and follows the view when you scroll. It looks at most 3,000 lines past the view each way, so a word found once costs the same in any file size: two cursor moves in an 8 MiB file went from 2.26 ms to 68 µs (
editor/word_highlightbench). -
Fixed: the JSON/YAML edit surface (Edit → Mode → JSON…/YAML…) no longer loses or corrupts keys that display the same. YAML keys such as
1and"1",trueand'true',!!str 1and1, or two complex keys both shown as?used to collapse into one on save (and editing one could change the other); each key now keeps the form it was read in (its type and tag) and is written back unchanged. Saving as JSON, where every key is a string, refuses with a translated message, and saves nothing, when two keys would be written as the same name (it used to write the name twice, so the file no longer reopened) or a list or mapping is used as a key. A JSON name written plainly and as a\uescape is one name (RFC 8259); a document naming it twice is refused on open. Newvix_edit_value::Tree::save_textandSaveError(T850). -
Faster Highlight Word, Go → Matching Tag and Go → Word / Sentence in large files (T851): they read the rope from the cursor instead of copying the whole buffer, with the same results as before. With Highlight Word on, a cursor move in an 8 MiB file cost about 20 ms (two whole copies and a char scan) and now about 1 ms at most (a byte search over the rope’s chunks;
editor/word_highlightbench); Go → Matching Tag there and back went from 83 ms to 3 µs, and Go → Word Next + Previous from 26 ms to 1.4 µs (editor/matching_tag,editor/go_words). Newvix_textops::whole_word_matchesandvix_tags::matching_tag_in. -
Docs: a new Hunk Staging and Merge Conflicts page (
docs/git-hunks-and-conflicts) covers moving between hunks, Stage/Unstage/Revert Hunk and each refusal message, what Vix reads as a conflict block (diff3 style is not understood), Keep Ours/Theirs/Both, the Conflicts list and finishing a merge; the Debugger page is rewritten as a reference for every breakpoint kind (line, function, instruction, data, exception), stepping, inline values, the Debug panel keys, watches and remote workspaces. Every behavior is checked against the code and tests, which each section cites. The Vim guide no longer says Vix has no embedded script runtime: it has sandboxed Rhai scripting andvix --plugin(T828, first slice). -
Faster Vi sentence motions and startup (T830).
(and)read from the cursor to the sentence they land on instead of copying and decoding the whole buffer:)+(in an 8 MiB file of prose went from 34.7 ms to 4.8 µs, the same as in a 4 KiB one (editor/vi_sentencesbench), andvix_textops::sentence_startsscans bytes without a decoded copy (about 1.7–2.3x faster); newvix_textops::sentence_start_fromandsentence_start_beforefind one start near an offset from char iterators, giving the same starts as before. With[im] history = "disk", startup no longer reads the Notes history file; it is read on the first IM use. DB workbench, OC containers, Jupyter and Cowork were measured and already cost nothing at startup (each isNoneor an empty value until first used), so they are unchanged. -
Faster Go → Sentence → Next / Previous (T830): they read the rope from the cursor to the sentence they land on instead of copying the whole buffer, the same starts as before; Next + Previous in an 8 MiB file of prose went from 14.2 ms to 2.0 µs (
editor/go_sentencesbench). -
Onboarding: Help → What’s New… shows the release notes for the running version (the
[Unreleased]section through this version’s, bundled fromCHANGELOG.mdat build time) in the welcome overlay, and Vix opens it once on the first start after the version changes, remembering the last version shown aslast_seen_versioninsession.toml; a first launch shows only the welcome screen.vix --tutor, the interactive tutorial and the first-launch welcome screen already existed and are unchanged (T826). -
Docs: migration and comparison pages (T827). New side-by-side pages compare Vix with VS Code, Neovim and Helix; new guides cover Atom (discontinued, so written for users moving off it) and Notepad++, neither of which has a Vix keymap, so each points to the closest one; the Sublime Text, IntelliJ and Eclipse guides are rewritten. Every claim about Vix cites the test or file that checks it (the old Sublime guide said Vix has no plugin system, and that
Ctrl+Popens a palette with@/:modes, which isCtrl+Shift+P). Key tables are copied from the generateddocs/reference/keybindings-*.mdpages, and a new test intui/tests/keymaps_reference.rsfails when a copied row stops matching.docs/SUMMARY.mdnow also lists the Fresh and ttt guides. -
Fixed: Eclipse
Ctrl+D, IntelliJ (Windows)Ctrl+Yand tttCtrl+K know delete the line; they were bound to an action id nothing ran. A new test checks that every built-in keymap binding runs an actionApp::run_actiondispatches, and the action reference now lists the line, case and multi-cursor actions its source scan had missed. The empty Debug panel now names the real menu path (Run → Start), and Toggle Breakpoint with no saved file says so instead of showing the Git blame message. -
Tests: four new fuzz targets, run weekly by the fuzzing workflow for the same two minutes as the others, each with a few committed seed inputs under
fuzz/corpus/<target>/seed-*:sql_split(the SQL edit surface’s splitter, save and formatter),edit_value(the JSON/YAML edit surface’s parser and writer),settings_toml(the TOML settings loader and layer merge, from a string) andsubstitute(the Ex:sparser, planner and applier). The.httpparser and the JSON/YAML/TOML converters already had targets. Fixed, found bysql_split: saving from Edit → Mode → SQL… a statement that ends inside an unclosed string or/*comment no longer adds a;inside it on every save. Found byedit_valueand recorded as a known limitation in its spec, not fixed: YAML keys that render alike (1and"1", or two tagged or complex keys) collide on save (T831, second slice). -
Fixed: saving from the SQL edit surface (Edit → Mode → SQL…) no longer merges a statement that ends in a
--comment with the next one; its;now goes on the next line instead of into the comment. Found by new property tests for undo/redo andHistory::squash_since(vix-editor-core), the literal:sparser and planner (vix-find-panel), Vi motions onstrand rope over generated Unicode text (vix-modal) and the SQL statement splitter and formatter (vix-edit-sql) (T831, first slice). -
Security docs and tests: a threat model (
docs/threat-model.md) takes each trust boundary in turn (workspace trust, the remote agent, language servers and debug adapters, Rhai scripts, MCP server mode, ACP agents, AI providers, database credentials, Cowork, IM, Jupyter kernels, crash reports, the HTTP client) with its assets, entry points, the code that already protects it and the risks still open, and ends with a checklist for a new feature that the pull request templates now link. A newtui/tests/secret_scan.rsfailscargo testwhen a tracked file holds what looks like a real private key, AWS access key id, or GitHub, Slack, Anthropic or OpenAI-style token, with no external scanner and no network; it reads about 2,200 files in under half a second (T832, first slice). -
Security: the three open risks of the T832 threat model are closed (T848). HTTP client: a request that uses
{{$processEnv …}},{{$dotenv …}}or{{$aadToken}}(directly or through a variable) is first shown masked (method, URL and which secret variables it fills, values hidden) and is sent only aftery; nothing secret is read before that. An untrusted workspace asks every time; a trusted one asks once per.httpfile and origin per session. Requests now time out: 10 s to connect and 60 s of server silence by default, overridable per request with# @timeout Nand# @connection-timeout N(seconds, orms/s/m), and the FHIR client gets the same defaults. LSP and DAP: a message header declaring more than 64 MiB (vix_lsp_core::frame::MAX_FRAME_BYTES, about forty times the largest rust-analyzer reply measured on this repository) or a header longer than 8 KiB is refused before the body is buffered; the language server or debug adapter is stopped (not respawned) with a translated error in Messages. -
Fixed: five small bugs (T847). The line Vix prints after a crash is translated; changing
large_file_mborread_only_pathsapplies at once instead of after a restart; Project → Subproject finds the active file’s subproject when the workspace root is a symlinked path (macOS temporary folders); the Vi command line keeps trailing blanks, so:s/a/breplaces withbas in Vim, while leading blanks and colons are ignored and:wstill saves; and Vir<CR>splits the line,{count}r<CR>replacing the characters with one line break, as in Vim. -
Docs for contributors: the development setup guide (
docs/development.md) is in the book under Contributing and now matches the repository: the pinned toolchain and real MSRV, IDE setup that matches the gate (clippy, rustfmt, default features, a separate rust-analyzer target directory), and a debugging guide (where diagnostics go, crash reports, headless reproduction with therender_frame/headless_editexamples,rust-lldbwith full debug information); its inventedRUST_LOGlogging andlist_keybindingsexample are gone. The architecture page opens with a crate-layer diagram taken fromcargo metadata, its invalid Mermaid diagrams and nonexistent crate names are fixed, the performance guide explains how to profile with symbols ([profile.bench], macOSsample), and the workflow guide gains code-review guidelines. A newtui/tests/docs_crate_graph.rschecks the diagram’s arrows, layers and counts, the crate names on the architecture page and in the crate map, and every “147vix-*crates” count againstcargo metadata; it fixed the crate map’s stale “124” (T836). -
Fixed: the Vi keymap’s parity bugs from the T844 table now do what Vim does, each checked against
vim -u NONE.Ctrl-Rredoes instead of typing anr(no Ctrl- or Alt-held letter types itself in Vi or Spacemacs Normal mode);u,Ctrl-Rand the newg-/g+(back and forward in time through the undo tree) put the cursor on the start of the change;D,C,X,s,r{char}andJare bound, with counts and.; leaving Insert mode steps the cursor back onto the last typed character;Vkeeps the cursor where it is;}/{stop on the empty line between paragraphs;a"takes the white space after the closing quote; and/pattern<CR>returns to the buffer in Normal mode on the first match after the cursor (T846). -
Fixed: a failed file-explorer paste reported “Paste failed: …” in English in every language; it is now translated. Contributors: a new
tui/tests/code_lints.rsfailscargo teston aprintln!/eprintln!/print!/eprint!/dbg!in library code outside a counted allowlist and on an untranslated literal handed to the message drawer or status line, and pull requests on GitHub and Codeberg open with the repository’s own checklist (.github/pull_request_template.md,.forgejo/pull_request_template.md) (T833). -
Fixed: the status-bar branch, the changed-file state and the change gutter show again right after startup. They had stayed empty until the first save or git action since the startup git refresh was dropped to save time; the refresh now runs on a worker thread while the first frame draws, so the UI thread pays about 20–60 µs for it instead of the 27–87 ms the three
gitruns take (fixture repo, this checkout;startup/start_git_refresh,startup/git_refresh_landedbenches), and the branch appears as soon as git answers. Opening the Git panel, a save or any git action still reads git at once (T830). -
Large files: opening a file over 500 MiB always asks first, with a warning that loading it may use several times that much memory, even when
large_file_mbis0; a file over 1 GiB, more than a buffer can hold, now opens read-only in the Large File Viewer straight away (with a message saying so) instead of asking (T830). -
Docs and tests: a Vim-parity table (
tui/tests/integration/vim_parity.rs) types about a hundred key sequences into the Vi keymap on every test run and checks text, cursor, mode and register; its stock-Vim rows are also checked against an unconfigured Vim built from a pinned tag in a newvim-parityCI job, and each place Vix differs is a row that says so.docs/vix-for-vim-usersis rewritten around it: stock Vim, optional Vix and external-tool behavior are kept apart, its parity table is generated from the test, and a runnable migration exercise (tui/examples/vim-exercise: run the test at point,:cnto the failure,ciwthe argument,n., an undo-tree detour, stage the fix) is walked bytui/tests/integration/vim_exercise.rswith the realcargoandgit(T844). -
Quick Open finds every file in a large checkout. It still lists the first 5,000 files at once, then finishes the index in the background (through the workspace’s authority, so SSH and container workspaces too) and updates the list as you type; the bottom line says “Indexing files…” while it runs. The index now stops at 150,000 files instead of 5,000, and the picker says when it was cut short. Matching got faster to pay for it: a keystroke over 100,000 files went from 62 ms to 9.7 ms (worst case, every file matching, loaded machine;
palette/quick_openbench). Adding or removing a workspace folder cancels an index still being built (T845). -
Fixed: Vi/Spacemacs (modal engine) operator ranges, words, graphemes and columns match Vim.
$xand9xdelete the line’s last character,xtakes a letter together with its combining accent, andxon an empty line leaves the register alone;w/b/e/dwtreat an identifier, a punctuation run and white space as separate words (dwonpkg::rundeletespkg),dwon a line’s last word keeps the line break,wpast the last word rests on the last character, andj/kkeep the column across a short line (4ljj), counting wide characters as two cells. Helix’s word selections are unchanged (T838). -
Benchmarks:
cargo bench --bench startup -- open/opens a generated 20,000-file checkout again and again, locally and through the in-process fake remote authority, and prints the time to the first editable frame and to the first Quick Open result (median, p90, min, max, samples) with the tool versions, workspace size, capabilities and load average;VIX_BENCH_LSP=1adds the first semantic definition and first diagnostic fromrust-analyzer. The numbers, and where each interval starts and ends, are in the performance guide, linked from the VS Code and IntelliJ guides’ startup claims (T823). -
Fixed: Vi/Spacemacs (modal engine)
.and undo treat a change as one unit. A change that goes on into Insert mode (ciw,cw,cc,i,a,o, …) is recorded with the text typed there (Unicode, backspaces, line breaks) throughEsc, so.repeats it, recomputing the word or motion where the cursor is, instead of replaying an olderdw; oneuundoes the whole change. An edit.cannot repeat (an Insert session with a cursor key, a Visuald/c) now clears.rather than leave an older change behind, andcwkeeps the space after the word as in Vim (T837). -
Faster: Vi motions and operators no longer copy the whole buffer.
h,l,w,b,e,0,^,$,f/t,j/k,G,{/}andd/c/ywith them read the editor’s rope and only the lines they cover, so a key costs the same in an 8 MiB file as in a small one: key-to-frame forl/h/w/bin an 8 MiB file went from 12.1 ms to 0.34 ms (median,VIX_PROFILE), andl+hfrom 17.6 ms to 1.5 µs (editor/vibenches). Results are unchanged (T843). -
Fixed: Vi Visual operators and counted put. In Visual and Visual Line mode
d,x,candynow act on the selection (Vim’s inclusive range, forward or backward, a character-wise or line-wise register to match) instead of leaving the buffer unchanged,"{a-z}works inside Visual mode, and a count beforep/P("a3p) puts that many copies, undone in one step. A line-wise change (cc,Vc) now keeps an empty line to type into (T840). A put whose copies would exceed 64 MiB is refused with a warning instead of being attempted. -
Vi command line:
:cn/:cp(:cnext,:cprevious,:cNext) step through the last task run’s problems like Go → Next/Previous Error,:cope[n]lists them in a Task Problems view, and:s/:%ssubstitute literal text on the cursor’s line or the whole buffer with thegandcflags as one undo step. Vim pattern syntax the literal:sdoes not support (.,*,[,\(, other ranges, other flags, …) is refused with a message before the buffer is touched (T841). -
Fixed: expand and shrink selection work without the
lspfeature. The menu and palette now use theedit.expand_selectionandedit.shrink_selectionids, which the LSP capability gate does not catch, so the offline Tree-sitter fallback runs; thelsp.*ids stay as aliases for saved keybindings (T842). -
Every crate now builds with its default features off, tests included: the
vix-jupyter,vix-git-graphandvix-ocitests that drive a process declarerequired-features = ["process"], avix-ociunit test, avix-tuiJupyter image test and the git half oftui/tests/authority_search.rsare gated on their features, and the gate checks both (cargo check --workspace --all-targets --no-default-features, andcargo hack check --each-feature --all-targetsinstead of--no-dev-deps). -
Manifests:
vix-authority(invix-dap,vix-git,vix-git-graph),vix-project-env(invix-lsp),vix-reviewandvix-matrix-protocol(invix-tui) are optional and enabled by the feature that uses them, so a build without that feature no longer compiles them. The tenvix-*crates members declared by path now come from[workspace.dependencies]withdefault-features = false, the unusedmarkdownandwalkdirentries are gone, andhomepageis the website (https://vixide.github.io/) instead of a copy ofrepository.
[3.0.0] - 2026-11-24
Changed
- License: the Creative Commons option is now CC-BY-SA-4.0 (Attribution-ShareAlike 4.0 International), replacing CC-BY-NC-SA-4.0 (which added NonCommercial). Every one of the seven options now permits commercial use. The SPDX expression is
Apache-2.0 OR BSD-3-Clause OR MIT OR GPL-2.0-only OR GPL-3.0-only OR OGL-UK-3.0 OR CC-BY-SA-4.0inCargo.toml, the crates.io package,CITATION.cff,llms.json,LICENSE,LICENSE.mdand the docs, and the full text moved fromLICENSES/cc-by-nc-sa-4.0/toLICENSES/cc-by-sa-4.0/(the official text, as SPDX publishes it). Releases already published keep the license options they were published with. - Dependencies updated, including the five major bumps from Dependabot’s PR #30:
jiff0.2 to 1.0 (Zonedis nowZonedDateTime,to_zonedisto_zoned_datetime),htmd0.5 to 0.6,nix0.31 to 0.32,qrcode0.14 to 0.15 andtree-sitter-c-sharp0.23 to 0.24, and 20 more patch and minor updates. Thegui,matrixandfuzzlockfiles follow. A release newer than the cargo minimum publish age (scc3.9.3,htmd0.6.1) is left for the next update. - Tests no longer touch the developer’s real
~/.config/vix: every user-directory lookup (settings, session, DB history and saved queries, and the undo, history, backup, snippet, script and crash directories derived from them) goes throughvix_fileops::user_dirs, and test builds swap it for a per-process temporary directory through the dev-onlyisolated-user-dirsfeature. Normal builds are unchanged. - The local gate (
scripts/check) now runs against throwaway XDG config, data and state directories, so a gate run can no longer rewrite the developer’s real~/.config/vixsettings, session or history (VIX_HERMETIC_HOME=0opts out). - Fixed: Org priority on a bare
* TODOor* DONEheadline no longer produces* TODO[#A]without a space, and a column summary of no numeric children no longer renders-0. - Fixed: in a Git conflict, “next conflict” now moves past the conflict the cursor is in instead of finding it again, and the welcome overlay’s
Endkey now scrolls to the end. - The local gate (
scripts/check) runs its independent slow steps concurrently on separate target directories, keeps semver baselines in a persistent cache, scopescargo docand semver to the changed crates and their dependents by default (--scope allfor the whole workspace; CI and the attestation always run the whole workspace) andVIX_PRIVATE_TARGET=1, test builds carry less debug information, and the gate runs tests withcargo nextestby default off macOS (VIX_NEXTEST=1opts in on macOS). The checks themselves are unchanged. Seespec/local-ci. - Breaking: the workspace is now version 3.0.0. Checked arithmetic (
spec/rust-checked-arithmetic) rejects an invalid input instead of replacing it, which changes some public signatures. The Pomodoro timer’swork_minutesfield is now private (read it withwork_minutes()), andTimer::adjust_minutesreturns aResult: a length outside 1 to 180 minutes is refused withTimerError::OutOfRangeinstead of being clamped. The calendar panel’smove_days,move_months,move_years,next_monthandprev_monthreturnResult<(), MoveError>; a span the date library refuses isMoveError::InvalidSpan, and a move past the calendar’s limits stops there. Further signature changes of this kind will be listed here. - Breaking: a value that is out of range is now an error, not a nearby value. The HTML-entity, X11-color and theme-slot pickers’
selected_entity,selected_reference,selected_color,selected_hex,selected_nameandselected_slotreturnOption, and the theme editor’sapply_colorreturns aResult, when the publicselectedfield is past the end.vix-clock-panel’sdatetime_at_offset,active_zone_datetimeandRow::valuereturn aResult(ClockError) for an offset jiff rejects, instead of showing UTC.vix-unit-converter-tool’sConverter::cyclereturns aResult.vix-ai-diff’sReview::from_textsreturnsResult<Option<Review>, ReviewError>.vix-locale-model’svisual_orderreturns aResult(BidiError).vix-fileops’sunique_copy_namereturns anOption.vix-format-tooladdsPrettierError::BadTimeoutfor a timeout too long to become a deadline. - A
git blameentry with a malformed author time or timezone is now reported as unreadable instead of dated 1970 or shown at the wrong offset. - A snippet tabstop whose number is too large for 32 bits (
$99999999999) is now kept as literal text instead of becoming a stop capped at 4294967295. - In the terminal,
Ctrlplus a digit or a non-ASCII character now sends that character instead of an arbitrary control byte (Ctrl-1used to sendq). - Breaking: the agent refuses a file
watchwhose interval is outside 100 to 60000 ms. It used to move the interval into that range; the request now fails with an invalid-input error. - Breaking:
vix-im’sThread::newreturnsOption<Thread>, andvix-editor-core’sEditor::set_cursor_linereturnsbool. A thread range outside the file (line 0, past the last line, or an end before the start) is no longer moved into the file:Thread::newisNoneand the App says so (newstatus.im_thread_rangemessage).set_cursor_lineon a line the buffer lacks now returnsfalseand leaves the cursor, where it used to jump to the last line. - Breaking:
vix-civil-date’scivil_from_daysreturnsOption<(i64, i64, i64)>anddays_from_civilreturnsOption<i64>. A month outside 1 to 12, a day outside 1 to 31, or a value too large for the arithmetic isNoneinstead of a meaningless number or an overflow. - Breaking:
vix-action-catalog’sdispatch_scan::every_dispatchable_action_idreturnsResult<BTreeSet<String>, String>. It used to panic when a dispatcher file could not be read or its function had drifted from the source. - Breaking:
vix-edit-value’sTree::to_textreturnsResult<String, serde_norway::Error>. A tree that cannot be written as YAML gave an empty text that the editor saved over the file; the editor now shows an error and saves nothing. - Breaking:
vix-acp’sclient::slice_linesreturnsResult<String, String>. Alineof0is an error (“line 0 is not a line: lines start at 1”) instead of being read as line 1, and an agent’sfs/read_text_filerequest withline0 now gets that error. - Breaking:
vix-org’sclock_outreturnsNonewhen the end timestamp is unreadable or before the start. It used to close the clock with a duration of0:00. A numeric time or age value that is not finite or does not fit 64 bits is also no longer a duration. - Breaking: a script that calls
set_cursor_offset(n)with annoutside the buffer now gets an error. It used to move the cursor to the nearest end. The error readsset_cursor_offset: <n> is not an offset in 0..=<len>and the cursor stays where it was; offsets from0to the buffer’s length are unchanged. - Breaking:
vix-diff-view’smap_linereturnsOption<usize>. An inconsistent hunk table isNone(the compare view leaves the other pane where it is), andcopy_hunkcopies nothing for a stale hunk instead of clamping its range. - Breaking: the Nerd Font picker’s
selected_glyphandselected_namereturnOption, like the other pickers: aselectedpast the last glyph isNone. - Breaking:
vix-theme-model’sto_jsonreturns aResult. A theme that cannot be serialized is an error, not an empty file saved as the theme. - Breaking:
vix-undo-store’srevert_rangereturns aResult. A range start at the top ofusize, or a diff range outside the lines it diffed, isHistoryError::Rangeinstead of an empty block of text.
Fixed
- Vi
:q!closes only the current tab. It used to end the whole session, like Vim’s:qa!. It now abandons the current tab’s edits and closes just that tab;:qaquits (asking about unsaved tabs) and:qa!force-quits. - Healthcare tools keep decimals exactly as received. A synthetic
valueQuantity.valueof2.00was shown as2.0in FHIR responses and Bundle entries; numbers now display as sent. - FHIR updates need a matching
id. An update whose body has noid(or a non-string one) is rejected before sending, as R4 requires. A second FHIR request while one is running is refused instead of hiding the first reply. - HL7 Send checks the acknowledgment belongs to the message. The reply’s
MSA-2must equal the sentMSH-10; a mismatch is reported, and a commit-onlyCAsays application processing is unconfirmed. The last segment now ends with\rbefore the MLLP trailer. - A failed run-configuration step stops what depends on it. When one of several steps run together exited non-zero, the following stage still ran and the whole plan reported success, because the shell
waitdiscarded the status. Each step’s status is now kept, the failed step is named on stderr, and the dependent stage does not start. - The test panel keeps same-named tests from different targets apart. Two Cargo targets that each had
tests::round_trip(one failing, one passing) showed a single passing row. Results are now keyed by target and name, and a repeated name is shown with its target in brackets. pytest lines ending in a progress marker (PASSED [100%]) are now recognized too. - A test run that exits non-zero is reported as failed. A compile error or aborted run with no parsed failure used to finish with an informational “0 failed” summary; it now reports “Test run failed (exit N)” as an error.
- Branch-review comments no longer leak between similar ranges.
main..feature/apiandmain..feature_apishared one comment file, so one range’s comments loaded into the other. Each range now has its own file (named with a hash of the exact range), and a saved file whose stored range differs is not loaded. Older review files still load when their stored range matches. - The VS Code migration guide and navigation spec match the editor. The guide no longer says
Ctrl+Dincremental select is missing (it adds the next occurrence; a test now checks two presses) and describes Cowork instead of calling pair editing absent; the navigation spec saysF12uses the language server when one handles the file and falls back to text matches. - DB workbench: schema compare on SQLite no longer reads
mainunder whatever schema name was typed and labels itmain. SQLite compares onlymain(its migrations name no schema), so any other name now says so (msg.db_compare_sqlite_main_only, in all 15 locales) instead of silently comparing the wrong schema. - Editor: flags split at a chunk boundary. A flag (two regional indicators) whose halves fell either side of a rope chunk boundary was segmented as two graphemes, so the cursor could land between them. Graphemes that run off the end of a chunk are now decided on a window that starts at the cluster, and the pre-context handed back to the segmenter ends exactly where it asks.
- Move to Trash reports a missing path as
NotFoundon macOS and the fallback too (they saidOther), as Linux and the fake authority already did. - Org tables: Sort (
C-c ^) sorts the rows between the nearest horizontal rules, as in Org, and no row crosses a rule. A header above a rule was being sorted in with the body. - DB workbench: Show DDL on a SQLite view now shows its
CREATE VIEWstatement instead of “no DDL”; the lookup was limited to tables. - Org exporters (Markdown, HTML, LaTeX) no longer corrupt text with emphasis markers they should not read: URLs and link targets keep their slashes, the closing tag of a bold run is no longer paired with a later
/,=verbatim=and~code~text is left literal, and, as in Org, a marker only counts at a word edge, soand/or,snake_case_nameand2*3*4stay plain text. - Org: shifting a date (
S-Up/S-Downon a timestamp) no longer swallows the word after it: only a real weekday abbreviation (Mon..Sun) is rewritten, so2026-08-05 on the 5thkeeps itson. - Modal Visual Line:
Vthenjnow selects the buffer’s final line when it has no trailing newline, and a selection of several lines that reaches that line ends at the end of the buffer instead of falling short. - Org: Sort Children no longer moves the buffer’s final newline into the middle of the text: a document that ended in a newline still does, with no stray blank line before the last sorted subtree.
- AI replace and diff review now keep the line breaks that ended the replaced text. A whole-buffer reply no longer drops the file’s final newline, and a selection of whole lines no longer glues the next line onto the replacement.
- Soft wrap now draws word-occurrence marks and LSP diagnostic underlines, which only the no-wrap view drew. (Inlay hints still appear only without soft wrap; see the editor-core spec.)
- The base converter no longer overflows on
i128::MIN. Input with a second sign inside the digits, such as--170141183460469231731687303715884105728, parsed to the smallesti128and then negated it, which panicked in debug builds and wrapped in release builds. It is now reported as out of range. - List navigation can no longer overflow. Moving a highlighted row up or down, by a row or a page, or scrolling it into view now uses checked arithmetic with a declared fallback for every case (stop at the top or last row, wrap, an empty list), as
spec/rust-checked-arithmeticrequires. A selection or page size at the edge ofusizeno longer panics in debug builds or wraps in release builds. This is the first crate converted; the lints are denied for it from now on. - Org Capture with no templates configured no longer crashes on Up/Down. Cycling the chooser past either end divided by the number of templates, which is zero when the list is empty. The thirteen choosers that wrap (Capture, Refile, tasks, clipboard history, macros, encodings, recent files and locations, branches, workspaces, scripts, commands, completion cycling) now share one zero-safe
wrap_up/wrap_down. - Local History’s “restore selection” restores just the selection. When several lines in a row had all changed, restoring one of them from an earlier save brought back the whole changed block. Lines that changed one for one now come back one for one; only a block that grew or shrank is still restored whole.
- The desktop apps open a folder given on the command line too.
vix-egui ~/src/app(or any of the GUIs) now works on that folder, asvix ~/src/appdoes, instead of the current directory. vix some-folderopens that folder. A folder on the command line used to fail with “Open failed” and leave you in the current directory. It now opens as the workspace, as in other editors:vix .orvix ~/src/app.- Org column view’s
TIMESTAMPskips planning lines.TIMESTAMPandTIMESTAMP_IAshowed an entry’sSCHEDULED:,DEADLINE:orCLOSED:date; like Org, they now show the first timestamp without a keyword. - Org column-view blocks read
:exclude-tags ("tag"). Org’s own list form was read as one odd tag, so nothing was excluded, and an updated block wrote it back as"("tag")". The list form now works (several tags too) and is what Vix writes; the older"tag1 tag2"form still reads. - Result lists say what they are. LSP → Diagnostics, Document Symbols, Workspace Symbols, Find References and the TODO finder all opened under the title “Go to Definition”. Each now has its own title.
- Language-server results show short paths. When the workspace was opened through a symbolic link (on macOS, anything under
/varor/tmp), diagnostics, references and symbol lists showed each file’s full absolute path, which pushed the message or symbol out of view. They now show the path relative to the workspace, as other lists do.
[2.1.0] - 2026-11-20
Added
- A frame profiler for real sessions. Run
VIX_PROFILE=profile.txt vix …, use Vix, and quit: Vix writes how long each input took to reach the screen (median, 95th and 99th percentile, maximum), how many took longer than one frame (16 ms), when the slowest happened, and how the time split between handling input, drawing and background work. Nothing is timed unless the variable is set. See Performance. - Language servers work without configuration. If the usual server for a language is on your
PATH(rust-analyzer, gopls, pyright or pylsp, typescript-language-server, clangd, zls, lua-language-server, bash-language-server, taplo, yaml-language-server), Vix starts it for that language’s files once you trust the workspace. Because a server like rust-analyzer runs the project’s build scripts, the first file it would serve brings up the trust prompt, naming the server; a no is remembered. Your ownlsp_serversentries replace the built-in for their extensions. The trust prompt is now always on top, even over the first-run welcome. See Language servers. - Crash reports, kept on your machine. If Vix crashes it saves a report (its version, the system, the panic and a backtrace, with your home folder, user name and any quoted text taken out, and never your files’ contents) and says so on the next start. Help → Report a Crash… shows the newest report and, if you say yes, opens a prefilled GitHub issue for you to review and submit. Nothing is sent automatically. See Crash reports.
- Modelines. Vix reads Vim modelines (
vim: set et sw=4 tw=79:) in the first and last lines of a file, and Emacs file variables (a-*- … -*-line and aLocal Variables:block). They set the buffer’s indentation, soft wrap, the column Wrap Text fills to, and whether a save ends the file with a newline, and they win over the file’s.editorconfig. Only those layout settings are read, so a file cannot make Vix run anything. The newmodeline_linessetting (default 5; 0 turns it off) is how many lines at each end are searched. See Modelines. - Five more tutorials, and an index for the series. Tasks, Tests and the Terminal, Remote Editing, Scripting with Rhai (every example script run through the real engine), AI and Agents (with what each feature sends where) and Large Files and Logs. The tutorials page groups all fifteen into a learning path.
- “Why Vix?” and a migration guide. Why Vix? compares Vix with VS Code, Neovim, JetBrains IDEs and Sublime Text, feature by feature with footnotes, says when each of them is the better choice, and cites the measured startup and memory numbers. Migrating from another editor maps each editor to its Vix keymap, translates the common settings from VS Code, Neovim, Vim, Emacs and Helix into
config.toml, and covers language servers, debug adapters, snippets (VS Code snippet files mostly work as they are), themes, tasks, scripts, and what does not carry over. - Fuzzing in CI. A weekly GitHub workflow (
.github/workflows/fuzz.yml, also runnable on demand) runs every fuzz target for two minutes on nightly. A failure is a real bug, since each target asserts invariants: the job fails and uploads the crashing input. Seespec/ci. - A formal security policy.
SECURITY.mdnow sets out its scope, the supported versions, how to report a vulnerability (GitHub private vulnerability reporting, now enabled, or email), response targets with CVSS severity, coordinated disclosure (90 days by default, GitHub and RustSec advisories), safe harbor for good-faith research, and a threat model: what Vix trusts, what waits for workspace trust, and what it never trusts. It also says what is not done yet: release artifacts are checksummed with an SBOM but not signed. Seespec/security. - Open Remote lists Kubernetes containers and WSL distributions. When
kubectlis installed, File → Open Remote… offers Kubernetes container…, which lists the containers of the running pods in the current namespace. Whenwsl.exeis installed, it offers WSL distribution…, which lists the installed distributions. Picking one fills in the prompt, so the name doesn’t have to be typed. See Remote editing (T718c). - Community home: Discussions and issue forms. New issues on GitHub start from a bug report form (what happened, steps, expected,
vix --version, OS and terminal, optional keymap andvix --doctoroutput) or a feature request form (the problem first), and the new-issue page links Q&A for questions, Ideas for undecided features andSECURITY.mdfor security problems. The README and the site link to Discussions. Seespec/community(T747). - Zed keymap: Alt keys.
Alt+Up/Alt+Downmove the line andAlt+./Alt+,go to the next and previous Git change, as in Zed. - Fresh and ttt keymaps: Alt keys.
Alt+Up/Alt+Downmove the line in both; ttt’sAlt+./Alt+,switch tabs; Fresh’sAlt+Left/Alt+Rightgo back and forward,Alt+.opens code actions andAlt+/searches the project.Alt+letter keeps opening menus. - Helix keymap: every selection at once. With several selections (after
Cors), the motions (w/b/e,W/B/E,f/t/F/T,x,h/j/k/l) move every one, andd,c(then typing at every cursor),r,~,>/<,p/P,i/aand.act on every one, as in Helix;;collapses them all. Each change is one undo step.ycopies every selection into the one register, joined by newlines in buffer order, and a paste into the same number of selections puts one line back at each. Seedocs/keymaps. - ttt keymap: fold chords.
Ctrl+K [toggles a fold,Ctrl+K 0folds all andCtrl+K 9unfolds all, as in ttt. - The status bar shows what you’re typing. In the Vi, Spacemacs and Helix keymaps, the mode indicator now shows a count and operator in progress (
-- NORMAL -- 2d3), as Vim does. In the Sublime, Zed, Fresh and ttt keymaps, a pending chord shows asC-k-and the which-key popup lists its second keys. - Zed keymap:
Ctrl+Kchords.Ctrl+K Ctrl+Ltoggles a fold,Ctrl+K Ctrl+0/Ctrl+Jfold and unfold all,Ctrl+K Ctrl+Ccomments,Ctrl+K Ctrl+Sshows the keyboard shortcuts,Ctrl+K Ctrl+Wcloses all,Ctrl+K Ctrl+Ztoggles soft wrap,Ctrl+K Ctrl+Oopens a path andCtrl+K Vopens the Markdown preview, as in Zed. - Cut to Line End and Select Word. Two new editor actions,
cut_to_line_end(cut from the cursor to the end of the line, or the line break when the cursor is already there) andselect_word(select the word at the cursor), both in the command palette and inkeybindings.toml. The Fresh keymap now binds them toCtrl+KandCtrl+W, andCtrl+Hto delete the word before the cursor, as in Fresh. - Helix keymap: counts and
.repeat. A number before a command repeats it, as in Helix:3wselects the third word (v3weverything through it),2xtwo lines,5jmoves down five,3fxfinds the thirdx,2ppastes twice,u/U/>/<take a count, and10gggoes to line 10..repeats the last change on the current selection:d,cori/awith the text you typed,r,~,>/<, andp/P;3.repeats it three times. Seedocs/keymaps. - Fresh and ttt keymaps. View → Keymap → Fresh binds Fresh’s default keys (
Ctrl+PQuick Open,Ctrl+E/Ctrl+Bfile explorer,Ctrl+]matching bracket, …), and View → Keymap → ttt binds ttt’s, including its two-keyCtrl+K …andCtrl+L …chords (Ctrl+K Pfiles,Ctrl+K Ssave as,Ctrl+L Fformat). Any table-driven keymap can now have such chord prefixes. Vix now has thirteen keymaps; seedocs/keymaps. - Zed keymap. View → Keymap → Zed binds Zed’s default shortcuts, with
Ctrlstanding in forCmd:Ctrl+Pfile finder,Ctrl+Shift+Pcommand palette,Ctrl+Shift+Ooutline,Ctrl+Tproject symbols,Ctrl+.code actions,Ctrl+Shift+GGit panel,Ctrl+B/Ctrl+Jdocks,Ctrl+Dselect next occurrence, and more. The full list is indocs/reference/keybindings-zed.md. - A Helix keymap. View → Keymap → Helix brings Helix’s selection-first modal editing: in Normal mode a motion selects (
w/b/e,W/B/E,f/t/F/T,xfor lines,%for everything) and an action acts on the selection (d,c,y,p/P,r,~,>/<,u/U).vtoggles Select mode, where motions extend;;collapses,,keeps the primary selection,Cadds a cursor below andsselects regex matches.ggoto (gg,ge,gh,gl,gd,gr, …),mm, aSpaceleader (Space ffile picker,Space ssymbols,Space /global search,Space k/r/ahover, rename, code action,Space ?palette) and the:command line (:w,:q,:wq,:o,:write, …) work as in Helix, with which-key hints for every prefix. Not yet: named registers, view and window modes, and the block cursor. Seedocs/keymapsanddocs/reference/keybindings-helix.md. - Docs: Vix for Zed users. A new
docs/for-zed-usersguide covers what carries over from Zed, what differs and where Zed still wins. It is linked from the README, the docs index and the site’s “Read the guide for where you’re coming from” list, which now calls the Sublime Text guide “Vix for Sublime users”. - Every desktop GUI on crates.io.
cargo install --locked vix-egui(orvix-gpui,vix-iced,vix-gtk4,vix-slint,vix-bui,vix-zgui) builds that front end from source; 2.0.2 of each is published againstvix-tui2.0.2. The README gains a “TUI & GUI capabilities” section comparing all eight front ends, shown on each crate’s crates.io page too. - IM: Matrix accounts (opt-in). With the new
matrixCargo feature, an[[im.accounts]]entry withprotocol = "matrix", ahomeserverand auserconnects throughvix-matrix, a separate helper program onmatrix-sdkwith end-to-end encryption (vodozemac) and an encrypted SQLite store, sovixitself gains no Matrix dependencies. Joined rooms and direct rooms become conversations; send,/me, Join Room and Leave Room work as for IRC. Senders are shown by user id, and messages from devices that aren’t cross-signed are marked unverified. The first sign-in readsVIX_IM_PASSWORD_<NAME>, which goes to the helper once over its stdin; the session is then kept in the system keyring. Not yet: device verification, key backup, new direct conversations, media and single sign-on, and the helper is not in the release packages yet (T793). Bothvix-matrixandvix-matrix-protocolare on crates.io (cargo install vix-matrix). vix-zgui: a seventh desktop GUI, on zgui.cargo run --manifest-path gui/Cargo.toml --release -p vix-zguiopens the whole VixAppin a native window drawn by zgui 0.1.0 (Apache-2.0; reactive, CSS-styled, wgpu-rendered). The cell grid is one zgui custom element painted on zgui’s own quad and glyph pipelines, with text shaped by the window’s font system (real bold and italic faces, Nerd Font and system fallback, no ligatures). Keys, IME commits, the mouse, the wheel and trackpad, the close box (unsaved-changes prompt included) and, on macOS, the native menu bar with File → Open with System Dialog… all work through the App’s usual entry points. Experimental and built from source:cargo install --locked vix-zguiorbrew install vixide/tap/vix-zgui(a formula that compiles the crates.io crate), with no prebuilt binaries. Not yet visually checked and without a screenshot smoke test, because zgui 0.1 publishes no off-screen rendering. Same five-way license asvix-egui. Seegui/vix-zgui/specanddocs/vix-zgui(T791).- ACP: agent terminal output, live. A command an agent runs (after your yes) now shows its output in the Agent Plan tab and the docked plan pane, updating as it arrives, with its exit status; escape and control sequences are stripped first, and the output stays within the terminal’s byte limit (T635).
- DB workbench: cancel keeps the session.
Ctrl+Con PostgreSQL and MySQL now asks the server to stop the statement, so temporary tables, session settings and an open transaction survive; SQLite, and a cancel the server refuses, still reconnect, and the status line says when a transaction was lost (T774). - DB workbench: errors point at the problem. A PostgreSQL error moves the editor cursor to the character it names (T775). Server notices are still dropped: sqlx does not expose them, and the spec says what it would take.
- DB workbench: plans as a tree. On PostgreSQL,
F6/F7show the plan as a tree with each step’s share of the time, the slowest steps in red and row estimates off by 10× or more in yellow (T776). - DB workbench: stage new rows and deletions. On an editable table preview,
aadds a row,ddeletes or restores one andudiscards a row’s changes;Wcommits everything in one transaction and rolls it all back unless each statement affects exactly one row. Enum, boolean andCHECK (… IN …)columns offer their values with↑/↓, generated columns are read only, and=exprvalues are computed by the server (T777). - DB workbench: search rows on the server.
Fon a table preview builds aWHEREfrom a column, an operator and a value and runs it on the server, so it finds rows the 200-row preview never loaded; the results stay editable (T778). - DB workbench: connection environments. A saved connection can be tagged local, development, testing, staging or production, shown as a badge in the list, the editor title and confirmations. On production every write shows its SQL and asks, even inside a transaction, and
DROPandTRUNCATEalways ask on any connection. Pasting apostgres://,mysql://orsqlite:URL or a libpqkey=valuestring into the connection form fills it in; a password in it is never saved (T781). - DB workbench: Copy for AI.
Acopies the current result, or a table’s structure with sample rows, as Markdown for pasting into an AI chat, capped at 50 rows. It is a deliberate copy by you; the built-in assistant still sees only the schema (T782). - MCP: share saved database connections, read-only. Turn on Share with MCP for a saved connection in the DB workbench and
vix --mcpoffers it to AI agents through four new tools:db_connections(name, engine, environment and database; never the host, user or password),db_tables,db_describeanddb_query. A query must be oneSELECT,WITH,EXPLAIN(notANALYZE),SHOWorVALUESstatement; it runs in a read-only transaction with a 30-second timeout that is rolled back, and returns at most 100 rows. Passwords come only from the password command or the OS keyring, never a prompt; every call is logged tomcp-db.lognext to the session file. Unshared connections stay invisible (T783). - DB workbench: export whole tables. In the schema tree,
mmarks tables andeexports them, or the table under the cursor: CSV, JSON or NDJSON per table, or one SQL file ofINSERTs in foreign-key order with sequences reset. Rows stream from one consistent read-only snapshot on a second connection, so a large table never sits in memory and an open transaction is not touched (T784). - DB workbench: schema compare.
Ctrl+D(or DB → Schema Compare…) compares a schema with another saved connection, PostgreSQL or SQLite, and writes a migration ordered so it runs. Destructive changes start unchecked, risky ones are flagged, and the script can be copied, saved, opened or run on the target in one transaction (T785). - DB workbench: run a
.sqlfile.Ctrl+Pin the workbench, or DB → Run Buffer in Workbench, loads a file or the current buffer and runs it statement by statement. A script with psql meta-commands such as\copyis refused before anything runs (T786). - DB workbench: relations and aliases.
Ron a table lists its outgoing and incoming foreign keys and the views that depend on it, and completion aftero.now resolves table aliases such asFROM orders o(T779, T780).
Changed
- Coverage is measured with cargo-llvm-cov. The advisory CI coverage job runs
bin/test-coverage(cargo llvm-cov, reports intarget/llvm-cov/) and uploads Cobertura, LCOV, JSON summary and HTML reports.make coverageruns the same locally. See Coverage. - The empty starting tab gives way to the first file you open, instead of sitting beside it as “untitled”. A tab you have typed in is kept, and so is any untitled tab once more than one is open.
- More room for the editor, and prose wraps. The file explorer and message drawer default to 24 and 26 columns (from 30 and 32), and Markdown and Org files soft-wrap by default (
prose_soft_wrap, on), so paragraphs stay readable beside the docks. Code is unchanged. An existingconfig.tomlkeeps its own widths. - Minimum Rust is now 1.98 (current stable 1.100 minus two) for the terminal app,
gui/andmatrix/;packaging/crates-io-vixkeeps its own floor. The repository’s toolchain is pinned to 1.100.0 inrust-toolchain.toml, and the CI jobs that build on the floor setRUSTUP_TOOLCHAINso the pin does not replace it.[profile.dev]keeps line tables only and no debug information for dependencies, andmake test-minimum-supported-rust-versionchecks and tests on 1.98 and 1.99. - Move to trash on Linux and the BSDs is now Vix’s own freedesktop.org Trash implementation, and
chronois gone from the build. Vix already usedjifffor dates; the onlychronoleft came from thetrashcrate’s Linux backend, which needs it to write the spec’sDeletionDate. Vix now writes the trash itself there: the home trash, or the trash at the top of the file’s own mount, with each entry’s.trashinfoclaimed before the move. macOS and Windows still use thetrashcrate, with its default features off. The desktop GUIs’chronocomes from gpui and Slint and is unchanged. Seecrates/vix-fileops/spec. - Dark and Light meet WCAG AA contrast. The two default themes now pass: every text color is at least 4.5:1 against its background and the cursor at least 3:1, and a test checks it. Light’s syntax colors (copied from Dark, numbers were 1.2:1 on its gray) are now blue keywords, dark red strings, dark green comments and purple numbers, with a darker blue cursor; Dark’s comments are a lighter green (4.4:1 → 5.3:1). Other themes, bundled or your own, are not checked and keep their colors: Vix applies any theme you choose. See
docs/themes. - Local CI tools evaluated.
actruns Vix’s GitHub workflows locally only for jobs without Rust on an Apple silicon Mac: it needs an image fix under Podman, andrustcsegfaults under qemu. Nix already passes in CI (verify-nix), and Dagger and Woodpecker would add a second definition of every job. None replacesscripts/check-linux. Seespec/local-ci“Tool evaluation” (T768). - Makefile targets.
make helplists every target, each documented in its own##block.make releaseis nowmake build, andmake github-pagesis nowmake publish-github-pages(the script is nowbin/publish-github-pages). New:make check-envprints the tools, versions and paths in use,make lint(andmake lint-markdown) proofreads the Markdown through the newscripts/lint-markdown.sh, andmake testalso runs the newbin/test-github-discussions, which checks that GitHub Discussions is on (skipped without a signed-ingh).make checkis still the fullscripts/checkgate. - Guides for users of other editors moved from
docs/for-*-users/todocs/vix-for-*-users/(for exampledocs/vix-for-vim-users). The old docs addresses redirect to the new ones. - “Sublime Text” is now “Sublime” in the View → Keymap menu, the docs and the site.
- Comparisons lead with Vim and Emacs. The feature comparison moved to
docs/compare/(the old/vix/comparison/address redirects) and now compares Vix with stock Vim and Emacs first, then Helix, Zed, Fresh and ttt, with new rows for the menu bar, Jujutsu, the database workbench, the HTTP client, themes and interface languages; Micro is no longer compared. Not-built-in cells show-instead of✗, here, in the README and on the site, and the docs no longer say Vix lacks SSH remote editing (experimental since 2.0). - Site home page. A new welcome and value propositions, an Install section with
brew installandcargo installfor all eight front ends, and a comparison table with Vim, Emacs, Neovim, Helix, VS Code, Zed, Fresh and ttt. The at-a-glance number tiles and the small headings above each section are gone. - Delete key: one forward delete. The Delete key and
vix-editor’sdelete_forwardnow use the core editor’s forward delete, so it works at every caret in one undo step, and undo puts the cursor (or selection) back where it was instead of after the deleted character. - Dependencies. Rust patch updates in both workspaces (including BUI 0.4.1 for
vix-bui) and the site’s Lily Design System packages (svelte-headless0.8.0). BUI 0.4.1 is GPL-3.0-or-later instead of GPL-2.0-or-later;vix-buistays GPL-3.0-only, andscripts/check-binary-licensesnow classifies the new id. TypeScript stays on 6 becausesvelte-checkdoes not support 7 yet. Later:vt1000.16 → 0.18 (terminal sizes are now non-zero types; a 0 size is still clamped to 1),toml1.2 and fresh lockfiles;evalexprstays at 11 (license). - Keyring 4. Saved database passwords and AI provider API keys on macOS and Windows now go through keyring 4’s
keyring-corewith the nativeapple-native-keyring-store(login Keychain) andwindows-native-keyring-store(Credential Manager), replacingkeyring3. The App picks the store once at startup (vix::use_system_keyring); entries keep the same service and account names, so secrets saved by earlier versions are still found. Linux still usessecret-tool, and a build withoutsqlandailinks no keyring crate (T790).
Fixed
- Switch Project shows which project is which. The chooser listed full paths in a narrow box, so they were cut off before the project’s folder name. Each row now starts with the folder name, then its location with your home folder as
~, in a wider box. - Typing in a large file no longer rescans it on every keystroke. Each edit made the next frame measure the whole buffer’s widest line, for the horizontal scrollbar: a keystroke and its frame took 4.9 ms in a 500,000-line file, rising with size. A buffer of 4 MB or more now reuses the width while you type and remeasures when you pause; the same keystroke takes 1.7 ms.
- “File is too large to open as text” no longer says “over 50 MB” whatever the
large_file_mbsetting was. - A missing rust-analyzer says how to install it. When
rust-analyzeron yourPATHis only rustup’s proxy and the toolchain lacks the component, Vix used to restart it again and again and then report that it had crashed. It now stops at once and says to runrustup component add rust-analyzer; View → LSP Status… shows the same. - The desktop apps find your tools when started from the Dock. A Vix GUI opened from the macOS Dock or Finder, or a Linux desktop launcher, got the system’s minimal
PATH, so it found no rust-analyzer, gopls, formatters or Homebrew andmisetools, and the built-in language servers never started. It now takes your login shell’sPATHonce at startup, as it would have in a terminal. - Fold arrows show with soft wrap on. With soft wrap turned on, the ▸/▾ fold markers were missing from the gutter (only a folded line’s
...showed). They now appear on a foldable line’s first row, as they do without wrap. - Key hints are no longer cut off. The Git Changes panel’s hint stopped at “c commit” (its refresh and close keys never showed), and the narrow list choosers (branches, stashes, worktrees, plugins and more) cut theirs too. Hints now wrap onto another row, breaking only between keys.
- Workspace search jumps to the match itself. Choosing a result in the Search in Workspace panel put the cursor in the wrong column when the line had accented letters, CJK characters or emoji before the match (it counted bytes, not characters), and clicking a result in the bottom dock only reached the right line. Both now land on the match’s first character.
- Status messages stay readable in a narrow terminal. The status bar’s right side kept its full width, so the file path took what was left and messages like “Saved” were cut off. Now the encoding, project environment and chat indicators make room first, and the path shortens to its file name (or goes) before the message is cut.
- The command palette lists every menu command. It searched a hand-picked list, so commands with only a menu item, such as Tools › Terminal › Show/Hide Terminal, were missing and Enter on an empty result did nothing. Every menu command is now in the palette, named by its menu path (
>terminalfinds all the terminal commands). - Folding with soft wrap. With soft wrap on, folded lines still showed and the fold had no
...marker: the wrapped renderer ignored folds. It now hides them like the unwrapped view. - Up and Down no longer move into a fold. The caret could land on a hidden line inside a folded section, out of sight; it now steps over the fold.
- Org highlighting now shows on screen. The renderer drew syntax colors only for buffers with a Tree-sitter grammar, so the Org highlighter added the same day never ran. A render test now checks a bold headline and an underlined link.
- The mouse wheel scrolls three lines a notch instead of one, as in other editors.
- File → Open starts in your project even when the open file is outside it, and Enter on a name that matches nothing opens it as a new file instead of doing nothing.
- File → Open is an ordinary open dialog. It listed every file under the workspace, recursively, so in a large checkout (a Rust project’s
target/) it filled its 10,000-entry limit before reaching your files, and there was no visible way to type a path. It now opens in the current file’s folder and lists one folder at a time. Type to filter it, or type a path:docs/,../,~/or/moves there as you type, and Enter onnotes/today.orgopens that file (a new one if it does not exist). Backspace on an empty filter goes up a folder, and Ctrl+P jumps to the command palette’s file finder for the whole project. The hint line says all this. - Org headlines fold with Tab. Folding needed fold ranges from a language server, which Org files never have, so Tab and Cycle Visibility did nothing on a headline. Tab now folds a headline’s section, Shift+Tab folds or unfolds them all, and the menu’s fold commands work too.
- Org files are highlighted. With no Tree-sitter grammar for Org,
.orgfiles showed as plain text. Headlines, TODO/DONE keywords and#+lines are now styled, and links show their description underlined with the brackets and target dimmed. - Scrolling with the mouse wheel keeps up. Vix drew a whole frame after every input event, and a flick of the wheel (or moving the mouse) sends dozens, so scrolling lagged behind. It now handles every waiting event before drawing once.
- Docs that had drifted from the code. The configuration page listed 3 of the 14 keymaps and put custom themes in a
tui/themes/directory that does not exist (they live inthemes/); the keybindings page said there was no in-app editor (Vix → Keybindings… is one). - Test at Point ran no tests for a Rust test inside a module. It ran
cargo test -- --exact NAME, but--exactneeds the full path, so a test inmod testsmatched nothing. It now builds the path from the file’s place insrc/and the enclosingmodblocks (tests::counts_repeated_words). - Panics in current Rust were not clickable problems. Newer Rust prints the thread id (
thread 'x' (2583) panicked at …), which the rustc problem matcher did not recognize. - The demo workspace’s Rust app would not build inside a Vix checkout (“current package believes it’s in a workspace”): it now declares its own workspace.
- The AI command docs showed
"{prompt}"in quotes. Vix quotes the placeholders itself, and quoting them again lets the shell expand$(…)in the text. Every example now leaves them unquoted, with a warning. - Docs that had drifted: the terminal menu path in remote editing, Tools → Tasks… (it lists only
tasks.toml; Project → Run Task… merges discovered tasks), Tools → Run Tests, what happens when a terminal’s shell exits, the Large File Viewer’s over-1 GiB prompt, the Prompt Agent… label, the Ollama endpoint default,remote_agentcovering containers, and the trust prompt for project scripts. - vix-zgui builds on Linux and Windows. The GUI workflow’s Linux jobs failed Clippy on an import used only on macOS, and Windows built with two versions of the
windowscrate insidewgpu-hal(already fixed by the GUI lock refresh).vix-fileopsno longer warns about an unused variable on Windows (T791). - Release planning with
vix-zgui. Makingvix-zguipublishable (T791) also madedisttry to ship it, sodist planfailed on its missing WiX GUIDs.vix-zgui,vix-gtk4andvix-buinow opt out ofdistexplicitly; the release still shipsvix-tui,vix-gpui,vix-egui,vix-icedandvix-slint. - Git panel: Discard and the smart-commit question answer again. In the Git → Changes panel,
dasked to discard a file’s changes butynever discarded them, and with nothing stagedcasked whether to stage everything butnor Esc could not decline: the question was drawn under the panel, so the panel took the keys. The question is now drawn over the panel and answers first (T792). scripts/check-linuxruns for real. The first real runs (Podman on Apple Silicon) found that it never got as far as the gate: it now loads the image it builds (--loadfor buildx) and never pulls one (--pull=never), copies the tree into a directory it owns so tar and git accept it, limits cargo to one job per 3 GiB of the engine’s memory so the linker is not OOM-killed (VIX_LINUX_JOBSoverrides it), uses the host’srustcversion instead of the MSRV so clippy matches the local gate, and installszip. Thepushtier now passes in the container.scripts/build-linux-packagesalso works on Python older than 3.11.4, such as Debian 12’s 3.11.2, which rejectsextractall(filter=)(T765).- CI: release downloads retry. The pinned cargo-deny, lychee and dist downloads from GitHub Releases now retry a failed download, and the dist drift check downloads its installer before running it, so a GitHub 504 no longer fails the job with a misleading “dist: command not found”.
- Packaging: render retries a failed download.
scripts/packaging rendernow retries a.sha256download that fails with a server error or a network error (the first run against a real release, 2.0.2, failed on one HTTP 504), and the winget, Scoop and AUR templates now carry 2.0.2 and its real sums (T742). - Windows: paths that could leave their folder. A REST client
< filebody, a project-environment detector’sdetectentry, and a Cowork guest’s path could name a file outside their folder on Windows:\x(a root with no drive) andC:x(a drive with no root) are not “absolute” there, yet joining them replaced the folder, and a Cowork path’s laterC:component did the same. They are refused now. - Windows: language servers and MCP get real file URIs. Paths reached LSP and MCP clients as
file://%5C%5C%3F%5CC%3A…(the\\?\formcanonicalizereturns, with escaped backslashes); they arefile:///C:/…now, and URIs from a server turn back into the same paths as open tabs, so file-operation edits, watched-file events, document links andresources/readwork on Windows. - DB workbench: SQLite paths with
?,#or%. A saved SQLite connection whose file path held one of these opened the wrong file or failed; the path is now percent-encoded the same way as the read-only schema connection’s. - Nix: the flake builds again.
nix buildstopped at the final link because it could not find the SQLite library; the flake now provides SQLite to the build. - ACP: agent text can no longer reach your terminal raw. Reply text, tool-call titles, plan entries and permission prompts from an agent were shown without removing escape sequences, so an agent could have sent terminal control codes (to change the window title, move the cursor or clear the screen). They are now cleaned like agent terminal output.
- Editor: the
deleteaction deletes forward correctly. With a selection it deletes the whole selection instead of one character of it; inside indentation it deletes one space or tab instead of the whole indent; at the end of the buffer it does nothing instead of deleting the character behind the cursor; and with several carets it deletes at every caret. - DB workbench: every common column type reads. Table previews, queries, table exports and the MCP
db_querytool no longer fail on a PostgreSQLtimestamp,date,interval,numeric,json,uuid, array,inetor enum column, a MySQLDATETIME,DECIMAL,TINYINTorJSONcolumn, or a SQLite column declaredBOOLEAN,DATEorDATETIME. Values show as the server writes them: timestamps as ISO 8601, numbers exactly, JSON as JSON. Binary data that is not text shows as\xhex, and PostgreSQL plan trees are read as JSON again (T787). - Editor: Delete, Go to Line and trim on save.
Deletewith text selected now deletes the selection instead of one character of it, and inside indentation it deletes one space instead of the whole indent. Go to Line with a column past the end of the line goes to the end of that line instead of a later one. Trim trailing whitespace on save now also trims lines that end in CRLF (T608). - Install docs. The interim note about 2.0.0’s missing files is gone and the Homebrew and npm commands are back, because 2.0.2 ships every channel: installers, Homebrew, npm, Linux packages and the desktop GUIs.
- npm publishing uses trusted publishing. Releases publish
@vixide/vixthrough npm’s OIDC trusted publishing, with provenance, instead of a long-lived token that expires; the token stays as a fallback until the first release publishes this way. - The old
vixcrate points tovix-tui. A lastvix1.7.2 on crates.io has no editor; its README and itsvixcommand say to runcargo uninstall vixandcargo install vix-tui(T644). - Demo scripts run again. The VHS tapes in
docs/demos/changed to ademo-workspacepath that no longer exists (it moved undertui/), and they ran Vix with your own settings and session, so text left unsaved by an earlier run came back in the next demo. Each tape now starts Vix with a fresh, empty home directory and closes the first-run Welcome screen. A new tape,im-share.tape, shares a selection in IM Notes and opens itspath:linereference (T757). - Docs and site describe 2.0.2 as released. The documentation, the website and
llms.txtno longer call 2.0 unreleased; they say the container image is built but not public yet and thatcargo binstallis untested. The DB workbench docs now list every key, including the query log, the AI helpers, CSV import and cancel.
Security
- Coding agents can no longer read your secrets through Vix. An ACP agent (Claude Code, Gemini CLI and others in the Agent panel) could ask Vix to read
.env, private keys,.netrc, or files under.git/and.ssh/, which Vix’s own MCP server already refused. ACP reads now refuse the same files, also when reached through a symlink. - A quoted
{prompt}inai_commandis safe. Vix quotes the prompt it substitutes, but a template that also quoted it (claude -p "{prompt}", as the configuration guide’s own example did) put Vix’s quoting inside the template’s double quotes, where the shell would still run a$(…)from the chat text. Quotes written right around{prompt}or{file}are now dropped first, and the example is fixed. - RUSTSEC-2026-0459 (bundled SQLite before 3.54.0) is ignored for now. It lets a crafted SQLite database opened together with a crafted
-walfile expose stale memory. Vix bundles the affected SQLite through the DB workbench’s driver (sqlx0.9.0 →libsqlite3-sys0.37.0), and nosqlxrelease accepts the fixedlibsqlite3-sys0.39.0 yet, sodeny.tomlignores the advisory with a dated note until one does. Until then, don’t open SQLite files you don’t trust in the workbench. The stale ignore forpaste(RUSTSEC-2024-0436), which is no longer a dependency, is removed.
[2.0.2] - 2026-11-07
Fixed
- Static musl release build. dist’s
x86_64-unknown-linux-muslbuild ignored the static-link flags in.cargo/config.toml, so 2.0.1’s musl archive is a dynamically linked binary that needs/lib/ld-musl-x86_64.so.1, and the Linux packages job stopped at its static check. The release build now passes the flags in a way dist can’t override.
[2.0.1] - 2026-11-07
Added
vix-bui: a sixth desktop GUI, on BUI (Blender’s UI as a library).cargo run --manifest-path gui/Cargo.toml --release -p vix-buiopens the whole VixAppin a native window drawn by BUI (blenderui0.4.0): its window, input and canvas painter around the unchangedui::draw. Box-drawing and block characters are drawn as rectangles and every character sits on its own cell. The window draws in a real monospace font (Menlo, Consolas or DejaVu Sans Mono, orVIX_GUI_FONT), with real bold and italic faces and per-character fallback for Nerd Font icons and CJK, and in BUI’s embedded Inter if no font is found. On macOS it also has the native menu bar, with File → Open with System Dialog…. Experimental and source-only: no text shaping, color emoji or IME, and BUI cannot veto the close box (use File → Quit).GPL-3.0-only(BUI is GPL-2.0-or-later;scripts/check-binary-licensesnow classifies that license id). Seegui/vix-bui/specanddocs/vix-bui.
Fixed
- Install docs for 2.0.0. The README and Getting Started now say what 2.0.0 actually has: three archives and
cargo install vix-tui. The Homebrew tap has never been populated and@vixide/vixhas never been on npm, despite earlier docs. 2.0.1 is meant to bring those, the installer scripts, Linux packages and GUI downloads. - Windows on ARM release build. The
windows-11-armrunner has no WiX, so the MSI failed atcandleand stopped every dist run from reaching the release. The build now installs WiX 3.14, pinned by hash. vix-builint off macOS.open_filesis used only by the macOS file dialog and tests, so Clippy failed the advisory GUI job on Linux and Windows. Build-only.- Minimal release attach. The job now waits three hours for the GitHub Release, because the full release can take longer than the old 90 minutes.
- SQLite schema on Windows. Reading a SQLite file’s schema failed with “unable to open database file”, because the URL turned
C:into a host name. - macOS on ARM release build. GitHub no longer serves the
macos-14runner dist asks for, so the job was cancelled before its first step andhostnever ran. It now builds onmacos-latest. vix-ocifake engine tests. Parallel tests could fail withText file busywhen one test forked while another still had its script open for writing. Test-only.vix-slintlint. A test tripped Clippy 1.99’s newassert_is_empty, which failed the advisory GUI job on every platform. Test-only.vix-acppath test on Windows. The test used a Unix-style root, which is not absolute on Windows. Test-only.- npm publishing. dist’s
npmpublish job is on, so a release publishes@vixide/vix(needs theNPM_TOKENsecret); before this, dist built the npm tarball and nothing published it. release.ymldrift is caught before a tag. A newdist-workflowCI job runsdist generate --mode ci --checkwith the pinneddist, so a hand-edited workflow fails on the push instead of on the release.- dist release workflow.
release.ymlis generated bydistand fails itsplanjob if hand-edited; a dependency pass had bumped itsactions/checkoutpin, so the first2.0.0tag run failed. The file is back to dist’s own output (do not edit it by hand; regenerate it withdist generate). scripts/release-localandCARGO_TARGET_DIR. The script looked for the built binaries undertarget/and stopped with “build produced no …” whenCARGO_TARGET_DIRwas set; it now looks under$CARGO_TARGET_DIRfirst.- ssh tests on Linux. The ssh control directory in
vix-authorityandvix-tuitests had the same path as the scratch directory whereTMPDIRis/tmp, so the 0755 scratch directory failed the control directory’s privacy check and Linux CI failed. The control directory now has actl-prefix.
[2.0.0] - 2026-11-06
This is the 2.0 release: it makes breaking changes to the library API (the vix command and settings files are unaffected) so later additions can be non-breaking.
Highlights
Vix 2.0 is a feature release for people who edit code in a terminal. The vix command and your settings files keep working; the breaking changes are to the library API of the vix-* crates (see Breaking below). The full story is What’s new in Vix 2.0.
- Remote editing over SSH, Docker, Podman and dev containers, with Kubernetes and WSL experimental (
vix ssh://user@host/path, File → Open Remote…). - Cowork: real-time shared editing, encrypted peer to peer (opt-in build,
--features cowork). - IM menu: a code-aware chat with a local Notes conversation, IRC,
path:linereferences and threads anchored to lines. - IDE features: Local History, Search Everywhere, Refactor menu, Peek Definition, CodeLens, run configurations, and LSP and debugger depth.
- Large File Viewer for multi-gigabyte files, and much lighter everyday editing (a 100 MB log takes 126 MiB instead of 1.1 GiB; an idle Vix uses no CPU).
- Local CI and release path: gate tiers, signed gate attestation, a clean-room build and
scripts/release-local. - Packaging: a static musl build confirmed on real x86_64 Alpine, plus Alpine
.apkand RHEL/Rocky.rpmpackages (not yet install-tested). - Minimum Rust for building from source is 1.97.
Experimental in 2.0
- Remote editing over Kubernetes and WSL. Remote editing in containers and dev containers (Docker, Podman) is tested against real engines. Kubernetes (
k8s://) passed the conformance suite against one localkindcluster only: no managed or authenticated cluster, no multi-container pod, no non-root user. WSL (wsl://) has only been tested against a fake engine and has never run on a real Windows host, so its argument quoting, exit status for a missing distribution and environment handling are unconfirmed (T718b). Treat both as experimental; thenerdctl://form and the pod and distribution pickers (T718c) are not included. - Alpine
.apkand RHEL/Rocky.rpmpackages. They are built from the static musl binary, but the realnfpmoutput and the install tests have not run yet (T670a), and the.apkis unsigned.
Changed
- Dependency refresh.
cargo updatefor the root andgui/lockfiles (toml 1.2, trash 5.3, ureq 3.5.1, and others), the site’s npm dependencies within their ranges, and oneactions/checkout/download-artifactpin across all workflows. The minimum Rust version stays 1.97 (stable 1.99 minus two).
Fixed
- Flaky
confirm_evaluate_always_asks_every_run. The test counted the code the fake kernel had received only after sending the confirmingy, which dispatches the run; if the kernel thread logged the run first, the count already included it and the wait for “the confirmed run” timed out. It now counts before answering. Test-only; no product change. Reproduced deterministically by delaying the count; not reproduced by 60 loops under CPU load. - Duplicate code-lens title. When the server’s
workspace/codeLens/refresharrived while acodeLens/resolvewas in flight, the refreshed list asked for the same lens again and both replies were added, drawing a title such as2 references | 2 references. A resolve reply with no matching unresolved lens is now ignored. This was the cause of a one-in-many flake incode_lenses_are_requested_resolved_refreshed_and_run_in_a_live_app. Spec:vix-lsp. - musl release build (T670). The
x86_64-unknown-linux-muslbuild is now configured to link statically and without PIE (.cargo/config.toml), and CI checks the result with the newscripts/check-static-binary. The previous build was dynamically linked against/lib/ld-musl-x86_64.so.1, so it did not start on glibc systems and crashed on Alpine. Verified on real Alpine by the manual workflow below; the release archive itself is still to be confirmed (T670a).
Added
- Kubernetes against a real cluster (T718a).
conformance::runpasses throughkubectl execagainst a realkindcluster (opt-inVIX_TEST_K8S=namespace/pod/container, testa_real_kubernetes_container_conforms), with no bug found in the shell authority.ExecTransport::lostnow also recognizes the messageskubectlprinted when recorded: a refused API connection (The connection to the server ... was refused), a missing container (container X is not valid for pod P) and an unknown context; the missing pod and namespace and unreachable-host texts were already matched, and are now covered by unit tests carrying the real text. A session cut off in flight (pod deleted, node stopped) only ends withcommand terminated with exit code 137/143, so it is reported lost by the next operation, not at once. New GitHub-only workflow.github/workflows/k8s.yml(kind viahelm/kind-action, path-filtered tocrates/vix-authority/**, plus manual); it has not run on a runner. Verified on one local kind cluster only; WSL (T718b) and pickers (T718c) remain. Spec:crates/vix-authority/spec/container,spec/remote-editing. - Alpine
.apkand RHEL/Rocky 8 and 9.rpm(T670).scripts/build-linux-packagesnow packages the static muslvix-tuias an Alpine.apkand as the x86_64.rpm(no glibc requirement, so RHEL/Rocky 8 and 9 work);.deb, Arch and the GUIs stay glibc.linux-packages.ymlinstall-tests them onalpine:3and Rocky 8/9. Newscripts/test-build-linux-packages(stub nfpm) is inscripts/check. Tested with a stub nfpm only; first real release run still to confirm (T670a). - Alpine confirmation job for the musl build (T670). New manual-only workflow
.github/workflows/musl-alpine-check.ymlbuildsvix-tuiforx86_64-unknown-linux-muslon an x86_64 runner as the release does, thenscripts/check-alpineshowsfile/ldd, checks the binary is static and runs it in analpinecontainer with--versionand--doctor; nothing is uploaded.scripts/test-check-alpine(Docker-free, in thepushtier) tests the script. The job passed on real x86_64 Alpine (binary statically linked,vix --doctorran). Spec:spec/rust-cargo-config-toml-musl. - Clean-room gate environment (T764).
scripts/checknow runs without any compiler-cache wrapper by default: newscripts/clean-room.sh(sourced) dropskache/sccachedirectories from PATH, emptiesRUSTC_WRAPPER, pointsRUSTDOCat plainrustdoc(configbuild.rustdocotherwise still runs the shim), removes wrapper test runners, and setsHOST_CC=cc HOST_CXX=c++; it prints one==> environment:line and reportsCARGO_TARGET_DIR(it never changes it).VIX_CLEAN_ROOM=0opts out. Decision: retire wrapper caching for the gate, reject a shared target directory andsccache; one private target directory per concurrent gate.scripts/test-clean-room(in thepushtier) proves the wrapper is stripped. The root cause insidekache2.0.0-rc.3 was not reproduced or fixed. Spec:spec/local-ci,spec/ci. - Localized landing page (T748). The site’s home page text is translated into the editor’s 15 languages (ar bn cy de en es fr ga gd hi ja pl pt ru zh) and follows the header language picker, including its first-visit detection from the browser; a string missing from a language falls back to English. Catalogs are one JSON file per language under
vixide.github.io/src/lib/i18n/locales, English being the source, checked byscripts/check-i18n.js(part ofpnpm run check). Translated: hero, install note, at-a-glance labels, audiences, FAQ, open-source section and closing call to action; other sections and pages remain English, and no native speaker has reviewed the translations. Site spec:vixide.github.io/index.md. - Local Linux and Windows coverage (T765). New
scripts/check-linux [--tier fast|push|full] [--shell]runs the gate (defaultpush) in a Linux container from a Mac, using thedockerCLI from Docker Desktop, Colima or OrbStack (it installs nothing and says how to install or start one). The image is built from a generated Dockerfile on the officialrust:<MSRV>-bookworm; the repository is mounted read-only and copied into a named volume,target/and the cargo registry live in named volumes for fast reruns, it runs as your user (not root) with no capabilities, and it never mounts~/.sshor any credentials.VIX_CI_DRY_RUN=1prints the commands.scripts/test-check-linux(in thepushtier) tests the arguments and the generated command without Docker. A new docs page,docs/local-ci, gives a Windows VM recipe, flagged as untested on real Windows hardware. Hosted Windows and macOS stay on tags and the weekly schedule. Not exercised against a running container engine when written. Spec:spec/local-ci,spec/ci. - Local release path (T766).
scripts/release-local VERSIONbuilds the three Makefile targets, writes a.sha256per asset and aSHA256SUMS, and SSH-signs it (SHA256SUMS.sig, namespacevix-release);--verify-dir DIRverifies a downloaded release. It refuses without a clean tree onmain, a valid full-tier attestation, a matching workspace version and changelog section, and the build tools. The default and--dry-runprint the exactgh/teacommands and upload nothing; uploading needs--publish, a typed confirmation and a tag that already exists on both forges; the script never creates or pushes a tag (only the separate--tagmakes a local signed one).release.ymlstays the manual fallback.scripts/test-release-localis in thepushtier. Never run for real yet. Spec:spec/local-ci; how-to:docs/release. - Review two-pane: split panes (T665). A review in a split editor is drawn two-pane in every pane that shows it, not only the focused one, each from its own tab’s cursor and scroll; a pane narrower than 60 columns falls back to the inline diff on its own. Also fixed: the first click in a newly focused split pane was mapped against the previously focused pane’s rectangle. Library/host:
App::review_panes_fornow takes a tab index and returnsPaneView. - Review two-pane: wrapping (T665). With soft wrap on (View → Soft Wrap) the two-pane review wraps long lines within their own pane and pads the shorter side, so the panes stay row-aligned; the cursor, scrolling, clicks and the wheel all count the wrapped screen lines. With soft wrap off long lines are cut as before. Library:
vix_review::{wrap_text, GUTTER, PaneRow::height, SideBySide::{row_height, row_at, last_first}};SideBySide::view_startnow takes a row-height function. - Review two-pane: word highlights (T665). Where the two-pane review pairs a removed line with an added one, the words that changed are drawn reversed on both sides, using the same word-level diff as Compare (
vix-diff-view). The inline view is unchanged. Library:vix_review::Cell::marks. - Review: stage and discard single lines (T665). Git → Stage Review Lines (
git.review_stage_lines) and Git → Discard Review Lines… (git.review_discard_lines) act on the added and removed lines in the visual selection (or under the cursor) of one review hunk, by building a reduced patch the waygit add -pedits a hunk (unselected removals become context, unselected additions are dropped, counts recomputed; mirrored for discard) and handing it togit apply --cached/--reverse. Discard asks first; a patch git rejects shows git’s reason and changes nothing. A selection of lines from two hunks is refused, and so is splitting a missing-final-newline line from its partner. Library:vix_review::{LineSelection, LineMode, SelectError},Review::{select_rows, lines_patch}. Spec:crates/vix-review/spec. - Review two-pane: mouse (T665). In the two-pane review a left click puts the cursor on the clicked line (left half the old line, right half the new one) and the wheel scrolls the rows, carrying the cursor along when it would leave the view. Library:
vix_review::{Half, Cell::inline, SideBySide::{halves, view_start, top_for_row, inline_at}}. Spec:crates/vix-review/spec. - Review: discard everything, and a two-pane view (T665). Git → Discard All Review Hunks… (
git.review_discard_all) undoes every text hunk of the open review in the working tree after a confirmation that names how many hunks in how many files; it is all or nothing (onegit apply --reverse), so a hunk that no longer fits leaves the tree untouched and git’s reason is shown. Git → Review Two-Pane View (git.review_toggle_view, orvin the review) shows the old text on the left and the new on the right, aligned per hunk, scrolling with the review and falling back to the inline diff below 60 columns. New settingreview_view("inline"or"side_by_side") picks the opening view. Library:vix_review::{SideBySide, PaneRow, PaneKind, Cell, MIN_SIDE_BY_SIDE_WIDTH},Review::side_by_side,Review::patch_counts. Spec:crates/vix-review/spec. - One CI entrypoint (T767). New
scripts/ci <job>(scripts/ci listnames them) is the single definition of what each CI job runs:fmt,clippy,build,test,examples,doc,reference-docs,man-page,licenses,check,feature-combos,docs-check,docs-links,docs-links-external,docsandverify. The GitHub, Codeberg and GitLab files now call it and keep only forge glue (triggers and path filters from T762 are unchanged), so the three can no longer drift.verifyfetchesrefs/notes/vix-gateand runsscripts/attest --verifyagainst the pushed tip, with the allowed signers taken from a repository secret or variable (VIX_ALLOWED_SIGNERS_DATA), never from the pushed tree; it is advisory untilVIX_VERIFY_REQUIRED=1.scripts/test-ci(part of thepushtier and above) tests the job table, that every forge file names real jobs, andverifyagainst a throwaway repository. The workflow files cannot be run locally, so the first run on each forge is the first test of that glue. Spec:spec/ci,spec/local-ci. - Instruction breakpoints (T617). Run → Instruction Breakpoint… (
run.instruction_breakpoint) toggles a breakpoint on the instruction at a memory reference, sent assetInstructionBreakpointsto adapters that reportsupportsInstructionBreakpoints; kept for later sessions of the run, not saved. Library:vix_dap::InstructionBreakpoint,Dap::instruction_breakpoints,Dap::set_instruction_breakpoints,Capabilities::supports_instruction_breakpoints. Spec:crates/vix-dap/spec. - Data breakpoints (T617). Run → Data Breakpoint on Variable (
run.data_breakpoint) andbin the Debug panel senddataBreakpointInfofor the highlighted variable and set or clear a data breakpoint withsetDataBreakpoints(writes, when the adapter offers that), for adapters that reportsupportsDataBreakpoints. They last for one session. Library:vix_dap::DataBreakpoint,Dap::data_breakpoint_info,Dap::set_data_breakpoints,DapEvent::DataBreakpointInfo,Capabilities::supports_data_breakpoints. Spec:crates/vix-dap/spec. - Breakpoints persist across runs (T617). Line breakpoints (with condition, hit count and log message) and function breakpoints are saved per workspace in
session.toml(breakpoints,function_breakpoints) on exit and restored at startup, even when files are named on the command line; the next debug session sends them to the adapter. Spec:crates/vix-dap/spec. - Detector environment variables (T667). A
[[detector]]inenv.tomlmay carry anenvtable of extra variables for its own command only (plain strings, no expansion; names are identifiers,LD_*/DYLD_*are refused,PATHis allowed; one bad entry invalidates the file). The names are shown after Reload Environment. Same workspace-trust gate. Library:vix_project_env::Runnertakes the extra environment as a fifth argument,Detector::env,ProjectEnv::command_env,env_name_allowed. Spec:crates/vix-project-env/spec. - Signed gate attestation and pre-push hook (T761).
scripts/attestrunsscripts/check --tier fulland, only on a pass, records a note underrefs/notes/vix-gatebound to the tree hash ofHEAD(tier, gate version, toolchain, OS, timing, timestamp), signed with the maintainer’s SSH key viassh-keygen -Y sign.scripts/attest --verify [rev]is a read-only check (signature against the allowed signers, tree,fulltier, gate version) for the hook and for a forge job.make hooksinstallsscripts/hooks/pre-push, which refuses to pushmainor a tag without a valid attestation;VIX_ALLOW_UNATTESTED=1is an explicit escape for non-main branches only. Commit signing is untouched and nothing is pushed automatically.scripts/test-attest(part of thepushtier and above) tests it all against a throwaway repository and key. Spec:spec/local-ci. - Gate tiers (T760).
scripts/check --tier fast|push|full(defaultfull, unchanged):fastruns fmt, clippy and tests of the crates changed sincemain;pushadds the whole workspace, build,cargo doc, generated docs and man page, andscripts/check-docs;fulladds feature combinations, headless examples, chaos smoke, semver, packaging and license checks. Every step prints its wall-clock time and a summary table closes the run;fastandpushend in distinctOK (tier …)lines so they are never mistaken for a full pass. Spec:spec/local-ci. - ACP leftovers (T635). AI → Resume Agent now works after Vix restarts: the last agent command and its session id are saved per workspace in
session.toml(acp_agent,acp_session), and the command must still be inai_agents. AI → Toggle Agent Plan Pane (ai.agent_plan_dock) docks the agent’s live plan and tool calls beside the editor. The agent may ask to run a command through the ACPterminal/*methods: eachterminal/createopens a prompt naming the full command line and runs only ony, in a directory inside the workspace, as argv with no shell, with output capped (default 1 MiB) and at most 8 terminals open. Spec:crates/vix-acp/spec. - Local-first CI and CD proposal. New
spec/local-ciassesses moving the gate’s authority to the local machine (tiers, a signed attestation, slimmer hosted CI, a self-hosted runner spike, a local release path);plan.mdandtasks.mdgain Run T (T760-T768). - 2.0 launch kit (T745). A
/whats-new/page on the website, user-facing release notes indocs/whats-new-2-0, and announcement drafts indocs/launch/(never posted). All are labelled as not released until 2.0 ships. - Install-channel tooling and CI wiring (T742). New
scripts/packaging(check, part ofscripts/check, keeps the winget, Scoop and AUR templates, thecargo binstallmetadata and the Nix flake consistent;render <version>rewrites the templates from a release’s.sha256files, adding Windows ARM when the asset exists) and.github/workflows/packaging.yml, which renders and verifies the templates after a release (nix build,winget validate,makepkg) and has publish jobs for winget-pkgs, a Scoop bucket and the AUR that do nothing unlessPACKAGING_PUBLISHistrueand a placeholder secret exists. Spec:spec/packaging. Nothing is published and the workflow has not run; the channels stay listed as “not yet published” until each is verified on a real machine. - Review follow-ups (T665). In a branch review, Git → Stage Review Hunk stages the hunk under the cursor and Discard Review Hunk… undoes it in the working tree after a confirmation (both via
git apply; git’s reason is shown when the hunk no longer fits).rin Git → Stash List… opens the highlighted stash in a review. - Review leftovers (T665). Git → Stage All Review Hunks (
git.review_stage_all) stages every text hunk of the open review in onegit apply --cached, so a stash review stages the whole stash. The review is re-diffed after any stage or discard (comments are kept). Git’s\ No newline at end of filemarker is now kept, shown in the buffer and sent back in the patch, so stage and discard work on hunks that touch a final line without a newline. Library:Review::{full_patch, replace_diff}andDiffLine::no_newline. The two-pane view is still not built. - Environment detector leftovers (T667). The status bar now shows a user-defined detector’s own
nameinstead ofcustom; a user-levelenv.tomlbeside the settings file (for example~/.config/vix/env.toml) holds detectors for every workspace (project detectors win, and the same trust gate applies); and a detector may settimeout_secs(1 to 60, default 5). Library:vix_project_env::Runnertakes the timeout,resolve/resolve_with/needs_trusttake the user file,ProjectEnvgainsnameandlabel()and is#[non_exhaustive](build it withProjectEnv::new),Detectorgainstimeout_secs. Spec:crates/vix-project-env/spec. - User-defined environment detectors (T667). A project can add its own environment sources in
.vix/env.toml([[detector]]withname,detectfiles and acommandthat prints the same JSON asdirenv export json); the status bar showscustom. Detectors run project-controlled code, so they are gated by the workspace-trust decision exactly likedirenv/mise. The trust prompt is now also raised for a workspace that has only an.envrc, a mise config or a.vix/env.tomldetector (newScriptTrustPrompt::env; newSource::Custom). Spec:crates/vix-project-env/spec. - Debugger leftovers (T617). Run → Function Breakpoint… (
run.function_breakpoint) toggles a function breakpoint by name, sent assetFunctionBreakpointsto adapters that support it; and the Debug panel now keeps expanded variables expanded across steps. Data breakpoints, instruction breakpoints and breakpoint persistence follow in their own entries. - ACP follow-ups (T635). AI → Start Agent now asks which agent when
ai_agentslists several (a number; empty is the first). An agent’sfs/write_text_filemay create a new file (parent directory must exist): the content arrives as a pending diff in an in-memory tab and reaches the disk only after you accept and save. AI → Agent Plan (ai.agent_plan) opens the plan and tool calls in a live read-only tab. AI → Resume Agent (ai.agent_resume) restarts the last agent and loads its previous session oversession/loadwhen the agent supports it, falling back to a fresh session otherwise. Trust gating is unchanged. Spec:crates/vix-acp/spec. - On-type formatting (T624). With the new
format_on_type = truesetting (default off; View → Format on Type, actionview.format_on_type), typing a character that the language server lists indocumentOnTypeFormattingProvider(for example;,}or Enter) sendstextDocument/onTypeFormattingand applies the returned edits, dropping them if you typed on before the reply. New:Lsp::request_on_type_formatting,Lsp::is_on_type_trigger,vix_lsp_core::message::on_type_formatting_params. Seecrates/vix-lsp/spec/index.md§ On-type formatting. - File operations and recursive watching (T623 leftovers;
crates/vix-lsp/spec). Explorer moves (cut and paste) and directory-editor renames, creates and deletes, and explorer deletes, now ask language servers forworkspace/willRenameFiles,willCreateFilesorwillDeleteFilesedits (only for the paths a server’s filters match, files and folders alike, held at most 3 seconds, applied before the file system changes), then senddidRenameFiles,didCreateFilesordidDeleteFiles; an explorer copy sendsdidCreateFiles. Servers that register**/*.xfile watchers now also hear (didChangeWatchedFiles) about created, changed and deleted files anywhere in the workspace, found by a bounded scan (at most 10 000 directory entries, 16 levels, every 3 seconds; no new dependency). Library:vix_lsp_core::file_ops::{FileOp, FileOpItem, FileOpCaps, scan_watched, diff_snapshots},Lsp::{will_file_operations, did_file_operations};LspEvent::WillRenameFilesis renamedLspEvent::WillFileOperations. - Color rewriting (T621 leftover). Tools → Language Server → Edit Color… (
lsp.edit_color) asks the language server how it can write the color under the cursor (textDocument/colorPresentation, sent with the server’s own unrounded channel values), lists the formats, and applies the picked one’stextEditandadditionalTextEdits. Library:vix_lsp_core::document_extras::{ColorPresentation, parse_color_presentations, color_presentation_params},Lsp::request_color_presentation,LspEvent::ColorPresentations;DocColorgainsrgbaand becomes#[non_exhaustive]. - Document colors and links (T621;
crates/vix-lsp/spec). A language server that offerscolorProviderhas its colors drawn as■swatches in the color itself (end-of-line virtual text, so the swatch sits after the line, not beside the color), switched by thedocument_colorssetting; one that offersdocumentLinkProviderhas its links opened by Tools → Language Server → Open Link (lsp.open_link, the link under the cursor or the only one on its line) or Ctrl/Cmd+click.file:targets open in the editor (#L12jumps to the line);http(s):andmailto:go to the system opener; other schemes are refused. Library:vix_lsp_core::document_extras,Lsp::refresh_document_extras,LspEvent::{DocumentColors, DocumentLinks}andVirtualTextLayer::ColorSwatches.- File-rename and watched-file notifications (T623). Renaming a file with File → Rename now first asks language servers that want it (workspace/willRenameFiles) for edits such as import updates, applies them, then renames the file (it waits at most 3 seconds, and a server error never blocks the rename) and sendsworkspace/didRenameFiles. Servers that register file watchers (client/registerCapabilityforworkspace/didChangeWatchedFiles, as rust-analyzer and typescript-language-server do) are told about outside edits: open files that changed on disk plus the workspace-rootCargo.toml,Cargo.lock,package.json,tsconfig.json,pyproject.toml,go.mod,go.sumanddeno.json, through the existing once-a-second change poll. New:vix_lsp_core::file_ops,Lsp::{will_rename_files, did_rename_files, did_change_watched_files, watches_files},LspEvent::WillRenameFiles. Not done: explorer and directory renames, file create/delete notifications, recursive watching. - Agent Client Protocol client (T635, first slice). New
vix-acpcrate speaks ACP (the protocol Zed defined for coding agents such as Gemini CLI) over the agent’s stdio, and AI → Start Agent / Prompt Agent… / Stop Agent (ai.agent_start,ai.agent_prompt,ai.agent_stop) drive the first command in the newai_agentssetting. The agent is started only in a trusted workspace and never through a shell. Its replies, tool calls and plan appear in the AI chat panel. A permission request opens a prompt that denies unless you answery; an edit the agent writes opens as a pending accept/reject diff and nothing reaches the disk until you save; file reads come from open (even unsaved) buffers; paths outside the workspace are refused. Not done yet: choosing between several agents, creating new files, a dedicated plan/tool-call pane, session resume. The framing is newline-delimited JSON, not LSP’sContent-Length, sovix-lsp-coreis not reused. - Inline ghost-text completion (T618). A suggestion drawn dimmed after the cursor, from a language server (
textDocument/inlineCompletion, so copilot-language-server works) or from an AI fill-in-the-middle prompt, chosen by the newinline_completion = "off" | "lsp" | "ai"setting (default"off"). It is requested after an idle pause once you have typed, only when nothing but blanks follows the cursor, and dropped when the buffer or cursor changes or a server reply is for an older document. Tab accepts it, Ctrl+Right accepts one word, Esc dismisses; the actionsinline_completion.trigger,.accept,.accept_wordand.dismissdo the same from the palette. The"ai"source sends the text around the cursor to your configured AI provider, so it is opt-in and obeysai = "off". New:vix_lsp_core::inline_completion,vix_lsp::ghost,vix_ai_core::fim,LspEvent::InlineCompletionandLsp::request_inline_completion. Only the first line is drawn (with…when more follow), and soft-wrapped views draw none. - Project environment activation (T667): new
vix-project-envcrate. Vix detects a project’s.venv/venv(pyvenv.cfg), direnv (.envrc) or mise (mise.toml,.mise.toml,.tool-versions) and applies its variables to language servers, tasks/commands and the integrated terminal, with the source shown in the status bar.direnv export jsonandmise env --jsonrun project-controlled code, so they run only in a workspace you trusted (the existing T132 trust decision); an untrusted workspace falls back to the file-only.venvsource and says so. New actionproject.reload_env(Project → Reload Environment). Already-running servers keep their old environment until restarted. Custom detectors are not implemented. - Safe saving (T663). Saving a file with several hard links, or one owned by another user, now writes in place instead of renaming a temp file over it, so the links and the owner survive. Every in-place save first copies the original to the recovery directory (
~/.local/state/vix/recovery) and removes the copy once the write is flushed; a copy left behind by an interrupted save is reported at the next start. (The Restore / Diff / Discard prompt is not built yet.)
Breaking
- Typed Slint window errors (T610, seventh slice):
vix-slint’swindow::compileandwindow::createreturn the#[non_exhaustive]WindowError(Compile,MissingComponent,Create,Property) instead ofString.Displaytext is unchanged. - Typed MCP server errors (T610, sixth slice):
vix_mcp_server::workspace::{resolve, read_text}return the#[non_exhaustive]WorkspaceError,tools::callreturnsToolError, andHost::sqlite_schemareports aHostError(a boxed error) instead ofString.Displaytext is unchanged. - Typed database session errors (T610, fifth slice):
vix_db::session::Session::{connect, send, restart, run}andvix_db::catalog::read_sqlite_schemareturn the#[non_exhaustive]SessionError(Spawn,Connect,Setup,NotConnected,Query) instead ofString.Displaytext is unchanged. - Typed REST body-file errors (T610, fourth slice):
vix_http_client::rest::load_body_filereturns the#[non_exhaustive]BodyFileError(Outside,Read) instead ofString.Displaytext is unchanged. - Typed tool errors (T610, third slice): the small tool crates return
#[non_exhaustive]error enums instead ofString—vix_base_tool::BaseError,vix_base64_tool::Base64Error,vix_url_tool::UrlError,vix_calculator_tool::CalcError(also carried byOutcome::Err),vix_format_tool::FormatError,vix_jwt_tool::JwtError,vix_edit_value::ParseError(Tree::from_text) andvix_script::CatalogError(Catalog::insert_toml).Displaytext is unchanged. - Typed convert errors (T610, second slice after T673):
vix_convert_tabular::json_to_rowsand theconvertfunction of everyvix-convert-from-*-toolcrate return the new#[non_exhaustive]vix_convert_tabular::ConvertErrorinstead ofString(Parse,NotArrayOfObjects,ElementNotObject,Render). ItsDisplaytext is unchanged. OtherResult<_, String>library functions are still to convert. - Multiple carets (T622):
vix_editor_core::multicursor::CaretMoveis#[non_exhaustive]and gainsWordLeft,WordRight,LineStart,LineEnd,TextStart,Home,BufferStartandBufferEnd. Carets now keep their add order — the primary is always the newest caret — soadd_caret_at,add_caret_above,add_caret_belowandcolumn_selectmake the new caret primary instead of keeping the old one, and edits no longer make the lowest caret primary. EditorBehaviorSettings::auto_save(T628) is avix_settings::AutoSave(Off,Interval,FocusLost) instead of abool. Config files are unaffected:auto_save = true/falsestill load.#[non_exhaustive]on the public types that keep growing:PromptKind,App,Focus,Capability,Tab,vix_editor::Editor,LspEvent,Settingsand its section structs, and the theme structs (CustomTheme,RegionColors,EditorColors,SyntaxColors). Outside their crate they can no longer be built with a struct literal (start fromDefault::default()and assign fields) or matched exhaustively (add a_arm). Adding a field or variant to them is no longer a breaking change.PromptKind::PipeSelectionandPromptKind::InsertCommandOutputreplace the private flag the Pipe Through Command prompts used.- Removed: the deprecated empty module
vix_editor_core::editor_crossterm(useeditor_input), the deprecatedvix_editor_core::Editor::set_clipboard(usecopy_to_clipboard), andLspEvent::Edits/LspEvent::LinkedRanges, which nothing has emitted since T652 (useLsp::take_edit_replies). vix_fileops::read_text_guardedreturns a#[non_exhaustive]TextFile { text, lossy }instead of(String, bool).App’s public surface (T674): 95 of its 114 public fields are nowpub(crate). The 19 that stay public are the ones the GUIs, examples and benchmarks use (root,editor,settings,menu,palette,prompt,dialog,picker,focus,flags,layout,status,messages,bottom_dock,db,lsp,hover,edit_table,welcome). The integration tests now compile inside the library.- Typed errors (T673) in place of
Result<_, String>:vix_git::GitError(NotInstalled,Io,Failed { code, stderr },InvalidArgument) for the staging, commit, branch and stash functions;vix_http_client::HttpError(UnsupportedScheme,InvalidRequest,Transport) forsend; andvix_ai_core::AiError(Transport,NotJson,Api,NoContent) forcompleteand each provider’sparse_response. Each implementsDisplaywith the old message text. In Vix, a git action run without git installed now shows how to install it instead of an OS error. - Typed tunnel errors (T610):
vix_db::tunnel::openandssh_argsreturnTunnelError(InvalidField,NoPort,NotInstalled,Spawn,Timeout) instead ofString. A missingsshbinary now shows a translated “ssh is not installed” message. - CodeLens events (T726):
vix_lsp::LspEventgainsCodeLensUpdate,CodeLensResolvedandCodeLensRefresh;Lspgainsrefresh_code_lens,resolve_code_lens,resolves_code_lensandexecutes_command;vix-lsp-coregainsparse_code_lens_list,parse_code_lens,code_lens_line,parse_code_lens_providerandparse_execute_commands.vix-settingshas a new flattenedlanguage_featuresgroup (code_lens). The TUI’sCodeLensMenuchooser is gone: the lens list uses the sharedvix-choice-listoverlay. - LSP completion types (T612):
vix_lsp_core::CompletionItemis#[non_exhaustive](build one withCompletionItem::new(label, insert_text)) and gainsrange,additional_edits,filter_text,sort_text,kindandcommit_chars;message::parse_completionandLspEvent::Completioncarry a newCompletionList { items, is_incomplete }instead of aVec<CompletionItem>, andLspEvent::Completionis now sent even for an empty reply. - Snippet completion items (T613):
vix_lsp_core::CompletionItemgainsinsert_text_format(andis_snippet()), andvix_snippet_tool::parsefollows the full LSP/VS Code snippet grammar — nested placeholders,${1|a,b|}choices,\}/\\escapes, a repeated tabstop number visited once — with a newparse_with(body, Dialect)/parse_lspthat also resolves$NAMEvariables. A snippet body’s\and}must now be escaped to be literal. vix_script::DiscoveredScriptis#[non_exhaustive]and gainslocales_dir(T735); build one withDiscoveredScript::new(stem, path).vix_terminal::Terminal::openandopen_commandtake a fifth/sixth argument,scrollback(lines kept, clamped toMAX_SCROLLBACK; pass0for the old behavior), andvix-terminalnow usesvt1000.16 (T631). In Vix, Tools → Terminal run again andCtrl+]now hide the terminal, which keeps running; Tools → Terminal → Close Terminal (terminal.close) stops it.vix_git::blame_linetakes a fourth argument,contents: Option<&str>: the buffer’s unsaved text to blame instead of the file on disk (T657). PassNonefor the old behavior.vix_git::discardis new.vix_tasks::Taskandvix_tasks::task::NamedTaskgain amatcher: Option<String>field (T632), the task’s problem matcher; struct literals must set it (Nonemeans the built-in matchers).- Debugger API (T617):
vix_dap::Dap::starttakesHashMap<String, Vec<SourceBreakpoint>>instead of line numbers, plus aStartMode(Launch/Attach);Dap::set_breakpointstakes&[SourceBreakpoint].DapEventis#[non_exhaustive],DapEvent::Variablesis now{ reference, variables }, and it gainsCapabilities,Threads,ScopesandVariableSet.Frame,Variable(which gainsvariables_reference) andvix_settings::DebugAdapter(which gainsattach) are#[non_exhaustive]; build them withFrame::new,Variable::newandDebugAdapter::new.App’sFocusgainsDebug, andPromptKindgains the Edit Breakpoint and set-variable prompts. - LSP hierarchy and pull diagnostics (T619, T620):
vix_lsp::LspEvent::CallHierarchyPreparedcarries aHierarchyItem { server, item }(the item tagged with the language id of the server that prepared it) instead of a bareserde_json::Value, andLsp::request_incoming_callstakes that&HierarchyIteminstead of(path, item); incoming calls now arrive as the newLspEvent::Hierarchy { direction, locations }instead ofLspEvent::References.vix_lsp_core::message::first_call_hierarchy_itemis renamedfirst_hierarchy_item.vix_workspace_search::WorkspaceSearchgains atitle: Option<String>field.
Added
-
Edit a directory as text (T636;
crates/vix-fileops/spec): File → Edit Directory… (explorer.edit_directory, also in the palette) opens a directory as an editable buffer, one/<id> <name>line per entry, in the style of Emacs’s wdired and Neovim’s Oil. Change a name to rename it (swapping two names works), add a line to create a file (or a directory, ending in/), and delete a line to delete the entry. Saving shows what will change and applies it only aftery/Enter; deletes followexplorer_delete(the OS trash by default), nothing is overwritten, and open buffers follow renamed files. Library:vix_fileops::dir_edit(render,diff,schedule). -
Debugger depth (T617;
crates/vix-dap/spec,docs/debugger): Run → Edit Breakpoint… (run.edit_breakpoint) sets the cursor line’s breakpoint condition, hit count and log message (a logpoint prints instead of stopping). Run → Exception Breakpoints… (run.exception_filters) is a checklist of the exception filters the adapter offers ininitialize, with its defaults ticked, sent assetExceptionBreakpoints. Run → Attach (run.attach) sendsattachwith a newdebug_adapters.attachtable instead oflaunch(values that read as JSON numbers, booleans, objects or arrays are sent typed). The Debug panel lists the program’s threads (threads), and Run → Focus Debug Panel (run.focus_panel) gives it the keyboard: Enter selects a thread or a frame (the editor follows the frame), expands a structured variable to any depth with lazyvariablesrequests, Left collapses, andesets a value withsetVariablewhen the adapter supports it. Watches and Evaluate run in the selected frame, and while stopped the stopped line shows the values of the variables it mentions, on a new end-of-line virtual-text layer. Watches are now re-evaluated once per stop instead of on every event-loop tick while stopped. Library:vix_dap::{SourceBreakpoint, Capabilities, ExceptionFilter, StartMode, Thread, Scope, auto_expand_scope},Dap::{capabilities, exception_filters, set_exception_filters, select_thread, select_frame, thread_id, frame_id, variables, set_variable}, thevix_dap::viewtree model (DebugView,Row,RowKind,Section,Activation), andVirtualTextLayer::DebugValues. -
Interactive rebase and cherry-pick (T633;
crates/vix-git/spec,docs/git-panel): Git → Rebase → Interactive Rebase… asks for a base and lists the commits after it, oldest first, in an overlay wherep/r/e/s/f/dpick, reword (a prompt for the new message), edit, squash, fix up or drop each one andAlt+↑/Alt+↓reorder them;Enterrunsgit rebase -iwith that list, and a leading squash or fixup is refused first. No editor opens: git gets the list throughGIT_SEQUENCE_EDITOR, and a reworded message through an environment variable, both set on that one git process only. Continue Rebase and Abort Rebase finish or abandon a rebase stopped at aneditor a conflict. Cherry-Pick… asks for a branch and lists its commits the current branch lacks;ccherry-picks one. Library:vix_git::{RebaseAction, TodoCommit, TodoItem, TodoProblem, RebasePlan, RebaseTodo, RebaseState, parse_todo, serialize_todo, check_todo, plan, rebase_commits, rebase_interactive, rebase_continue, rebase_abort, rebase_in_progress, cherry_pick_candidates, cherry_pick};LogScopegainsPickand is now#[non_exhaustive]. -
Per-document pull diagnostics (T619;
crates/vix-lsp/spec): a language server that offersdiagnosticProvideris asked for each document’s diagnostics (textDocument/diagnostic) once it is ready, after each open, and 250 ms after the last change, so pull-only servers such as Roslyn now underline problems too. Each pull sends the last report’sresultIdaspreviousResultId; anunchangedreply keeps the diagnostics, reports forrelatedDocumentsare merged too, and a server’sworkspace/diagnostic/refreshrequest re-pulls every open document (the client now declaresrefreshSupport). Library:vix_lsp_core::message::{document_diagnostic_params, parse_diagnostic_provider, parse_document_diagnostic_report, DiagnosticReport}. -
Outgoing calls and type hierarchy (T620;
crates/vix-lsp/spec): Tools → Language Server gains Call Hierarchy (Callees), Type Hierarchy (Supertypes) and Type Hierarchy (Subtypes) (lsp.call_hierarchy_outgoing,lsp.type_hierarchy_supertypes,lsp.type_hierarchy_subtypes) beside Call Hierarchy (Callers). Results open in the result list titled by direction, andAlt+Dthere flips callers ⇄ callees or supertypes ⇄ subtypes without preparing again. Each prepared item remembers the server that produced it and its follow-up requests go to that server only, which lifts T123b’s first-server-only limit for call hierarchy when two servers handle one file. Library:vix_lsp::{HierarchyItem, HierarchyDirection},LspEvent::{TypeHierarchyPrepared, Hierarchy},Lsp::{request_prepare_type_hierarchy, request_hierarchy, request_outgoing_calls, request_supertypes, request_subtypes}andvix_lsp_core::message::{parse_outgoing_calls, parse_type_hierarchy_items, hierarchy_item_params}. -
Tree-sitter textobjects and function/class motions (T616;
crates/vix-editor-core/spec/textobjects): Edit → Select gains Function, Class and Parameter (Inside / Around), and Go → Function / Class jump to the next or previous one, wrapping at the file’s ends; all ten are in the palette. They work offline from bundledtextobjects.scmqueries for Rust, Python, JavaScript, TypeScript, Go, Java, C#, C, C++, shell, HTML, CSS, TOML, JSON, YAML and Markdown. Repeating a selection grows to the enclosing object, and Shrink Selection now works without a language server, stepping back through offline expansions and textobject selections. In the Vi and Spacemacs modal engine:if/af,ic/ac,ia/aaafter an operator or in Visual mode (which also gainsi/afor the existing objects, e.g.viw), and]f/[f(]m/[m),]c/[c,]a/[amotions, all with counts. Lookups read only a small window of the existing parse tree, so they stay fast in large buffers and never parse synchronously. Library:vix_editor_core::textobject(TextObjectKind,TextObjectDir,TextObject,Code::{enclosing_textobjects, textobject_range, next_textobject, has_textobjects}). -
Multi-cursor depth (T622;
crates/vix-editor-core/spec): word, line start/end, smart Home/End and buffer start/end motions move every caret (keys, Ctrl+←/→ and the named motions, with or without Shift). New Edit → Select → Split Selection into Lines (edit.split_selection_into_lines, Helix/KakouneAlt-s) and Select Regex Matches in Selection (edit.select_regex_in_selection, Kakoune/Helixs). The catalog actions now do what their names say:skip_multi_cursor/skip_multi_cursor_backmove the newest match on to the next/previous occurrence,remove_multi_cursorremoves only the caret added last, andspawn_multi_cursor_selectsplits the selection into lines. Copy with several carets copies every selection one per line, and a paste with one line per caret puts one line at each. Undoing a multi-caret edit is one step and returns to a single caret. Completion and snippet expansion are explicitly single-caret. Library:Editor::{caret_count, caret_selection_texts, multi_paste, multi_cut, skip_occurrence, remove_last_caret, split_selection_into_lines, select_matches_in_selection}andPromptKind::SelectRegexInSelection. -
Problem matchers and next-error over task output (T632;
crates/vix-tasks/spec,docs/tasks): the output of a task, a Project menu command, Tools → Test or Run Command is read for compiler errors, lint findings and failing tests (rustc/cargo, gcc/clang, tsc, eslint, Python tracebacks and pytest, Go), including multi-line forms such as rustc’s header-then--->block. Go → Next Error / Previous Error (go.next_error,go.prev_error) open each problem in turn, wrapping around; the Problems list (Tools → Language Server → Diagnostics…) shows them after the language servers’ diagnostics; the open file shows them inline on a new end-of-line layer under theinline_diagnosticssetting; and a click on a rustc arrow or Python frame line in the bottom dock jumps to it. Atasks.tomltask can choose a matcher, turn matching off, or give its own regular expression withmatcher = "…". Paths resolve against the folder the command ran in, and a file is opened only when you go to it. Library: newvix_tasks::matcher(MatcherSpec,Builtin,Scanner,Problem,ProblemList,scan,locate,resolve_path) andVirtualTextLayer::TaskProblems. -
Terminal-to-editor bridge (T666;
crates/vix-terminal/spec): Ctrl+click apath:line[:col]in terminal output (or scrollback) to open it, resolved against the shell’s working directory, which Vix follows through OSC 7; rustc, Python, gcc, tsc, eslint and Go locations use the task dock’s problem-matcher parser (T632). New Tools → Terminal items: Send Selection to Terminal (terminal.send_selection, the selection or current line, opening a terminal if none), Restart Terminal (terminal.restart, in place, keeping the transcript) and Toggle Terminal Key Capture (terminal.toggle_capture, alsoCtrl+\; with capture off Ctrl/Alt chords reach the editor and the title sayseditor keys). A shell that exits no longer closes its tab: it is markedexited, Enter restarts it and any other key closes it. Library:vix_terminal::{Osc7Scanner, paste_bytes, word_in}andTerminal::{cwd, restart, send_text, row_text, word_at, capture, set_capture, take_exit_notice},Tabs::iter_mut. -
Terminal scrollback and multiple terminals (T631;
crates/vix-terminal/spec): Tools → Terminal is a submenu — Show/Hide Terminal, New Terminal, Next/Previous Terminal, Copy Terminal Text and Close Terminal (tools.terminal,terminal.new,terminal.next,terminal.prev,terminal.copy,terminal.close). Several shells open as numbered tabs in the terminal overlay;Ctrl+PgUp/Ctrl+PgDnswitch, and hidden terminals keep running. Each keeps a bounded scrollback (newterminal_scrollbacksetting, default 2000 lines, at most 50 000):Shift+PgUp/Shift+PgDnpage it,Shift+Home/Shift+Endjump to its top or back to the live screen, the mouse wheel scrolls it, and typing returns to the live screen. A left drag selects text and copies it on release; programs that ask for the mouse (htop,tmux,vimwithmouse=a) get clicks, drags and the wheel in the encoding they asked for (SGR, UTF-8 or legacy; Shift selects in Vix instead). In a remote workspace every tab is its own remote shell (T716). A Cowork share (T697) stays on the tab that was active when the host confirmed it, marked in the tab strip; switching tabs never changes what guests see, and the host’s scrolling is not shared. Library:vix_terminal::{Tabs, Selection, encode_mouse, scroll_parser, clamp_scrollback, DEFAULT_SCROLLBACK, MAX_SCROLLBACK}andTerminal::{scroll_by, scroll_to_bottom, scroll_offset, live_screen, selection, set_selection, copy_text, wants_mouse, send_mouse}. -
Terminal protocol polish (T628): each frame is drawn inside a synchronized update (DEC mode 2026), so a large redraw never shows half-painted. Vix asks for focus reports: returning to the terminal reloads files changed on disk at once, and the new
auto_save = "focus_lost"mode saves every dirty buffer when the terminal loses focus (auto_saveis now"off","interval"or"focus_lost"; an oldtrue/falsestill loads). Colors now fall back on terminals without truecolor: the depth is decided fromCOLORTERM,TERMandTERM_PROGRAM(Terminal.app gets 256 colors, the Linux console 16), with no startup terminal query, every frame is downsampled to it, andvix --doctorreports it. URLs in the markdown preview and in notifications are OSC 8 hyperlinks. Library:vix_theme::color_depth(ColorDepth,TermEnv,detect,downsample,downsample_buffer),vix_settings::AutoSave,vix::term_caps, andApp::{terminal_caps, on_focus_gained, on_focus_lost}. -
Picker preview pane, query history and Resume Last Picker (T630;
crates/vix-palette/spec): on a screen at least 100 columns wide, the file finder,@/@@symbols and Find In Workspace show the highlighted result’s file beside the list, a numbered window around its line with that line highlighted. The preview reads at most 256 KiB of a file (an open buffer previews its unsaved text from the rope), skips binary files, and is skipped under a remote authority. Up/Down on an empty palette input recall accepted queries. Tools → Resume Last Picker (palette.resume) reopens the palette or workspace search that closed last with its mode, query and selection. Library:vix_palette::{Preview, preview_from_bytes, preview_from_lines, QueryHistory, PaletteMemory, Mode::prefix}and theMIN_PREVIEW_WIDTH/PREVIEW_BYTES/PREVIEW_RADIUS/HISTORY_CAPconstants. -
Git stash list and worktrees (T634;
crates/vix-git/spec,docs/git-panel): Git → Stash List… lists every stash to show its diff in a read-only tab (Enter), apply (a), pop (p) or drop (d, after a confirmation). The new Git → Worktree submenu adds a worktree on a new branch (Add…), lists them and switches the workspace to one through the project-switch path, so each worktree restores its own session (List…), and removes one after a confirmation (Remove…). In a remote workspace they run on the remote host. Library:vix_git::{StashEntry, parse_stash_list, stash_ref, stash_list, stash_apply, stash_pop_at, stash_drop, stash_show, Worktree, Checkout, parse_worktree_list, worktree_list, worktree_add, worktree_remove}. -
Undo tree (T638;
docs/undo-tree): Edit → Undo Tree… (edit.undo_tree, also in the command palette) draws the active buffer’s undo tree as an ASCII graph, one row per state with its number and time, each branch in its own column. Moving the selection shows that state in the buffer live;Enterkeeps it,Escputs back the starting text, cursor, selection and modified flag. It refuses a Cowork shared buffer, where local undo is off. While it is open, auto-save, hot-exit backups and reload-on-change wait, and quitting restores the starting state first. Library: new cratevix-undo-tree-panel(TreeNode,Row,layout,Panel);vix_editor_core::history::HistoryisCloneand gainsnodes()(a new#[non_exhaustive]UndoNodewithseq,parent,children,timestamp),current(),path_to()andselect_redo_branch();Code::select_redo_branchandEditor::goto_undo_stateare new. Undo states now record their time; undo files written before this load with no times. -
Incremental LSP sync and ranged semantic tokens (T615;
crates/vix-lsp/spec): a language server that asks for incremental sync (textDocumentSync.change2) now gets one rangeddidChangeper edit instead of the whole buffer, in its negotiated position encoding; other servers still get the full text. Semantic tokens are requested for the lines around the view withsemanticTokens/rangewhen the server offers it (again when the view scrolls away), else as afull/deltaagainst the last result, and are debounced (150 ms) while typing; a reply for an older version of the document is dropped. Library: newvix_lsp_core::sync(SyncKind,ContentChange,diff,apply,position_at,offset_at) andmessage::{did_change_incremental_params, semantic_tokens_range_params, semantic_tokens_delta_params, parse_semantic_tokens_support, parse_semantic_tokens_reply, apply_semantic_tokens_edits, decode_semantic_tokens};Lsp::request_semantic_tokenstakes the visible range (Option<Range>), andLsp::semantic_tokens_rangedis new. -
Hot exit (T629): unsaved buffers, untitled ones included, are backed up to
<config>/backup/while Vix is idle and on quit, so a crash or a closed terminal no longer loses typed text. Opening a file that has a backup asks whether to recover it (r), show the difference from the file (d), discard it (x) or decide later; untitled buffers are offered back when the workspace next starts. Nothing is applied without asking, a clean save deletes the backup, and only buffers that changed since their last backup are written (large ones at most once a minute). Remote-workspace buffers are backed up locally, keyed by their remote name. Turn it off withhot_exit = false. -
Jupyter: Org babel evaluation, images and trust settings (T734e–T734h;
docs/jupyter,spec/jupyter), in a build with the opt-injupyterfeature.C-c C-c(or Run → Jupyter → Run) in an Org source block runs it in its language’s kernel and writes a#+RESULTS:block under it in Org’s format, as one undo step, honoring:results value/outputandreplace/append/silent,:fileand:eval no/never/query; Clear Results in the block removes it. Kernel images (image/png,image/jpeg) open in an image tab, or for an Org block are saved to:file(or<org-file>-images/<hash>.png) and linked; an image over 16 MB, 16,384 pixels on a side or 16 megapixels, or not the type it claims, is refused before decoding, and a:fileoutside the Org file’s folder is refused. Newjupyter_confirm_evaluatesetting ("untrusted"by default,"always","never"); the Org-block confirmation now offersa, “always in this workspace”, remembered in the session file (newWorkspaceSession::jupyter_trusted); a block in a file outside the workspace always asks; a kernelspec inside the workspace (such as its.venv) is used only once the workspace is trusted. Newvix_jupyter_core::{babel, image},org::results_append_edit,kernelspec::gate_project_dirsandvix_jupyter::PrivateDir.jupyteradds 0.88 MiB (+3.5%) to a stripped releasevix; it stays out offullfor now (the recommendation is recorded inspec/jupyter). -
Jupyter kernels in the editor, opt-in (T734c, T734d;
docs/jupyter,spec/jupyter): in a build with thejupyterfeature (cargo install vix-tui --features jupyter; not indefaultorfull), the new Run → Jupyter submenu and>jupyterpalette entries start a Jupyter kernel from an installed kernelspec (a picker shows each one’s name, language and exact command) and run code in it: Run (Ctrl+Shift+Enter) sends the selection, else the Org source block at the cursor, else the# %%cell (the language’s comment followed by%%), else the current line; Run and Advance then moves past it. Output streams into the bottom dock as plain text without ANSI colors, errors with their tracebacks, and the last result’s first line shows at the end of the line that ran (Clear Results removes it); images are covered by the entry above. Interrupt, Restart and Shut Down Kernel, and a status-bar segment with the kernel’s state and execution count. One kernel per language per workspace; the new[jupyter_kernels]setting names the kernelspec for a language. Kernels start only on an explicit action, never for a remote workspace, and the first run of each Org block asks first in an untrusted workspace. NewCapability::Jupyter,vix_jupyter_core::cellandConfirmKind::JupyterRunBlock. Org#+RESULTS:, images and the trust settings are in the entry above (T734e–T734g). -
Measured startup and memory vs other editors (T744;
docs/performance): newscripts/bench-editors(Python standard library, installs nothing) opens a 10,000-line Rust file and a 100 MB log in Vix and every other terminal editor it finds (Vim, Neovim, Helix, Emacs, micro, nano, mg, Kakoune), each with its configuration disabled and a throwawayHOME, in a pseudo-terminal that answers terminal queries, and reports time to first screen, memory of the whole process tree and idle CPU as median and min–max. Measured on an Apple M4 Max: Vix shows the 10k-line file in 41 ms using 34 MiB (behind nano, Vim and Neovim; level with micro; ahead of Emacs and Helix), and the 100 MB file in 99 ms but holding 1.1 GiB, the most of the eight editors. All results are published, including where Vix is behind; the README FAQ quotes them. -
Jupyter kernel protocol and transport, not yet in the editor (T734a, T734b;
spec/jupyter): two new library crates for the coming Jupyter kernel REPL.vix-jupyter-coreis pure: the Jupyter wire protocol (v5.3) with HMAC-SHA256 signing, size caps and constant-time signature checks before any JSON is parsed, typed messages, the connection file,kernel.jsonparsing and Jupyter’s kernelspec search path, the output and MIME model, ANSI stripping for tracebacks, and the Org#+RESULTS:formatter.vix-jupyterfinds installed kernelspecs and, behind itsprocessfeature, launches a kernel with a fresh random key kept only in a0600connection file in a private0700directory (Unix sockets on Unix,127.0.0.1TCP on Windows) and talks to it from a worker thread through the pure-Rustzeromqcrate:KernelHandle::{launch, connect, execute, interrupt, restart, shutdown, events}andKernelEvent. Every received message’s signature is checked, and failures are dropped. Tested against an in-process fake kernel and, opt-in (VIX_JUPYTER_PYTHON), a real ipykernel; ajupyter_wirefuzz target covers the codec. New build featurejupyter, not indefaultorfull; no menu or action uses it yet (T734c). New dependencies:zeromqandhmac. -
Large File Viewer (T733;
crates/vix-large-file/spec): File → Open in Large File Viewer… (file.open_large, also in the palette) views a multi-gigabyte file read-only without loading it. It reads only the lines on screen with positioned reads (no memory map, nounsafe), builds a sparse line index (every 1,024th line) on a background thread, and goes to a line, a percentage or a byte offset, searches forward and backward through the file in the background with progress and Esc to cancel, copies selected lines (up to 16 MiB), and shows the byte offset, position, line number, and indexing progress. Invalid UTF-8, CRLF endings and very long lines (horizontal scroll) display safely. The T571 size-limit confirmation now offers v to view the file instead of loading it, and a file over the 1 GiB buffer ceiling, which used to be refused, now offers the viewer. Local files only. On an Apple M4 Max, a 4 GiB log shows its first screen in 0.2 ms, jumps to its end in 0.1 ms, is fully indexed in 0.5 s and searched end to end in 0.3 s, at under 5 MB peak memory (warm cache; seedocs/performance, reproduced byscripts/bench-large-file). New cratevix-large-file. Editing a large file is out of scope. -
Install-channel templates, not yet published (T742, T743;
packaging/): a Nix flake (flake.nix, fornix run github:vixide/vix),cargo binstallmetadata intui/Cargo.tomlmatching dist’s real release asset names, a container image (docker/Dockerfile: a multi-stage build that runsvixas a non-root user on the demo workspace, plus acontainer.ymlworkflow that pushesghcr.io/vixide/vixon a release tag only), winget manifests, a Scoop manifest, an AURvix-tui-binPKGBUILD and the mise commands. None of these channels is published yet; the getting-started page lists them under “Not yet published / unverified”, andpackaging/index.mdgives the steps to verify and submit each one. -
AI optional (T730): the new
aisetting ("on"by default) turns AI off withai = "off", no rebuild needed. The AI menu and every AI command-palette entry are hidden, and every AI request is refused with a translated “AI is off” warning: the AI menu’s actions reached by a key binding or script, the chat panel, the Git panel’s generated commit message and the DB workbench assistant. The shared spawn path refuses as well, so neither theai_commandCLI nor an HTTP provider is ever started. Any value other than"on"counts as off. Library:Settings::ai/ai_enabled,vix_menu::{menus_without_ai, is_ai_action},Menu::ai_hidden/Menu::defs,App::action_listed;vix::ui::{menu_title_x, menu_title_width, menu_dropdown_rect, menu_dropdown_rect_for}now take the menu list (app.menu.defs()) as their first argument. -
MCP server mode (T731;
spec/mcp-server):vix --mcp [DIR]serves the Model Context Protocol (2025-06-18) over stdio so an AI agent can read a workspace as Vix sees it, without opening the editor. Six read-only tools —list_open_buffers(from the saved session),read_buffer,document_symbolsandoutline(Vix’s offline symbol scan, Markdown headings, Org headlines),diagnostics(merge-conflict blocks; no language server in this mode) anddb_schema(SQLite files in the workspace, opened read-only) — plus the open buffers asfile://resources. Paths are confined to the workspace root after resolving symbolic links, secret files (.env, keys,.git/, …) are refused, and the mode writes nothing (it does not even loadconfig.toml). New cratevix-mcp-server;vix_session::Session::load_existingandvix_db::catalog::read_sqlite_schema. Seedocs/mcp-server/index.md. -
LSP status and progress (T732): language-server
$/progresstasks (indexing, building) now show in the status bar until the server reports them ended, tracked per server and token. View → LSP Status… (lsp.status) lists every configured server live — name, state (not started / starting / running / failed), command, root, extensions, open files, in-flight progress, advertised capabilities and last error — andrrestarts the highlighted one. Newvix_lsp::{ServerStatus, ServerState, ServerError},Lsp::statuses,Lsp::progress_line,Lsp::restart_language, andvix_lsp_core::message::{parse_progress_update, parse_capability_names}. -
Worldwide spec (
spec/worldwide): Vix targets the whole world, not just the US or UK; standards, protocols, conventions and locales must give equitable capabilities to every country, region and federation. -
IDE-parity features (T720–T727;
spec/ide-parity): Local History (a snapshot on every save, labels, diff, restore a file or a range;local_history_keepsetting; invix-undo-store), Search Everywhere (one palette box over files, commands and symbols), a Refactor… menu and Organize Imports over LSPcodeAction, Code Cleanup, named run configurations in.vix/run.toml(before-launch steps, compounds; invix-tasks), Peek Definition, CodeLens (T726: lenses drawn as dimmed virtual rows above their lines invix-editor-core, with soft wrap and folds; refreshed on open, 500 ms after edits, on save and onworkspace/codeLens/refresh; unresolved lenses resolved when they scroll into view; Run Code Lens on Line (lsp.code_lens_run) runs the cursor line’s lens or offers a choice, sending advertised commands asworkspace/executeCommandand mapping rust-analyzer’srunSingle/showReferencesto Vix’s command runner and references list; local Run test lenses fromvix-taskstest-at-point where the server has none;code_lenssetting and View → Editor → Code Lens), and postfix completion (expr.if+ Tab; invix-snippets). Each is on a menu and in the command palette. New cratevix-choice-listis the shared pick-one overlay. -
Todo Tree (T682): Tools → Todo Tree groups the project’s
TODO/FIXME/HACK/XXX/BUG/NOTEcomments under foldable headers, by tag or by file (g), and jumps to the one you pick. The pure model is the newvix-todo-treecrate; the flat TODO Finder shares its scan. -
Format with your own Prettier (T683): list languages in the new
prettier_languagessetting (typescript,css,markdown, …) and Format Document and format-on-save runprettier --stdin-filepathfor them, honoring.prettierrc*and.prettierignore. It uses the project’snode_modules/.bin/prettier(trusted workspaces only) or one onPATH, times out after 10 seconds, and shows a translated hint when Prettier is missing. Vix never bundles Node. Seedocs/prettier/index.md. -
FHIR client (T684): Tools → FHIR Request sends a FHIR read, search, create, update, delete, history or capabilities request (
Accept: application/fhir+json) to the server named in.vix/fhir.json, with no auth, a bearer token, or a SMART-on-FHIR backend-services client-credentials token, all taken fromFHIR_*environment variables rather than the file. Responses open as pretty-printed JSON; anOperationOutcomeis shown as readable issue lines first. Tools → FHIR Bundle browses a Bundle one row per entry (Enter opens the resource,nfollows thenextlink). New cratevix-fhir;vix_editor::Editor::new_tab_with_content_as. Nothing is logged or written to disk. -
REST Client (T680): a
.httpbuffer can hold many requests separated by###, and Send HTTP Request sends the one at the cursor. Adds@name = valuefile variables,{{$guid}}/{{$timestamp}}/{{$datetime}}/{{$randomInt}}/{{$processEnv}}/{{$dotenv}}, named-response chaining ({{login.response.body.$.token}}),?/&query continuation,< filebodies (confined to the file’s folder), Basic-auth shorthand, and Tools → Copy HTTP Request as curl.vix_http_clientgainsrestandsend_response/Response. -
REST Client environments (T680):
.vix/http-env.json(a$sharedsection plus named environments; Tools → HTTP Environment… picks the active one, remembered per workspace). Variables resolve environment, then the file’s@name, then$shared; put secrets in with{{$processEnv NAME}}and keep the file out of git. Also{{$localDatetime}},{{$aadToken}}(from the Azure CLI, never cached or logged) and XML chaining with{{name.response.body.//xpath}}. New dependencyroxmltree. -
Advisory coverage CI job (T607): GitHub CI runs
cargo llvm-cov --workspace --coberturaand uploadscobertura.xml, which the coverage gutter can load (seedocs/coverage). -
Legacy text encodings (T661): Vix now opens UTF-16, UTF-8 with a BOM, windows-125x, ISO-8859-2/15, KOI8-R, GBK/gb18030, Big5, Shift_JIS, EUC-JP and EUC-KR files as editable text, shows the encoding in the status bar, and saves each file back in the encoding and BOM it was read in. A guessed encoding is only used when it round-trips the file byte for byte; otherwise the file still opens read-only, as before. File → Reopen with Encoding… and Save with Encoding… override the guess or convert a file. A character the file’s encoding can’t hold fails the save with a message naming it, instead of writing a substitute. Replace across files keeps each file’s encoding too. New crate
vix-encoding. -
Dependencies open read-only (T662): files under
read_only_paths(by default the Cargo registry,~/.rustup,/nix/store, Homebrew’s Cellar,node_modulesandsite-packages) open locked with a 🔒, so Go to Definition can’t lead to an accidental edit; View → Editor → Read-Only unlocks one. Files underephemeral_paths(default**/.git/**, e.g.COMMIT_EDITMSG) are left out of the saved session. -
HL7 v2 view and MLLP send (T685): new
vix-hl7crate and Tools → HL7 View / HL7 Send…. The view lists the buffer’s HL7 v2 (pipe-and-hat) message as numbered segments and fields (PID-5.1) using the delimitersMSHdeclares, decodes escape sequences, filters as you type and jumps to the field. Send asks for an explicithost:port, sends over plaintext MLLP on a background thread with timeouts, and opens the acknowledgement in a read-only tab. The parser is lenient and never panics; nothing is logged or saved, and sending needs thehttpcapability. Seedocs/hl7/index.md. -
IM menu (T752, T754, T755): code-aware chat between Git and Org. A dock panel (IM → Chat Panel) lists conversations, shows each message as one line (
time author: text) and has an input line with slash commands (/me,/join,/part,/msg,/nick,/topic,/status,/clear; an unknown command is an error, never sent). A local Notes conversation works in every build with no network. Connect… joins IRC (IRCv3 over TLS) through[[im.accounts]]inconfig.toml, with the SASL password read only fromVIX_IM_PASSWORD_<NAME>. Enter on apath:linereference opens it, only inside the workspace. Share Selection shows exactly what will be sent and to whom first; Share Location sendspath:line:col. The status bar showsIM n unreadand@for a mention; Status ▸ Busy and Notifications ▸ (im.notify, default mentions) decide when a status-line note appears; IM never opens or focuses anything by itself.history = "disk"keeps JSONL per conversation under the platform data directory, pruned tohistory_days; Clear History deletes it after a confirm. Received text is sanitized (controls, escape sequences, bidi overrides). New[im]settings and a newimcapability feature (innetandfull). Line threads came with T753 (next entry). Seedocs/im/index.md. -
Threads on lines (T753): IM → Comment on Line… starts a thread on the cursor’s line (or the selected lines), or replies to the one there; the line shows
◆in the gutter (◇once resolved). IM → Threads… lists every thread in the workspace with the selected one’s messages (Enter opens it,rresolves or reopens); Next Thread, Previous Thread and Resolve or Reopen Thread are new IM items with palette entries. A thread follows its text as you edit (exact text, then its surrounding lines, else “outdated”) and its new line is stored when the file is saved. Threads live one JSON file each in.vix/im/threads/, so they can be shared through Git; nothing pops up when one arrives. They need no network and work in every build. The editor’s gutter-sign column now picks one sign per line in a fixed order — debugger line, breakpoint, thread, diff/coverage bar — and soft wrap now shows breakpoints and the stopped line too (newvix_editor_core::editor::CommentMarkandEditor::set_comment_marks). -
OC menu (T700-T708): manage containers, images, volumes, networks and Podman pods on Docker, Podman or nerdctl through the engine CLI. A panel lists each kind with per-row actions (start, stop, restart, pause, logs to the dock, shell, inspect JSON, run, tag, pull, push, remove, prune), plus Compose Up/Down/Logs and Build Image. Every removing, running or network command shows its exact command first; commands are argument lists, never a shell;
oc_mode = "read-only"limits OC to viewing. New settingsoc_engineandoc_mode, a newoccapability feature, and the newvix-ociandvix-oci-panelcrates. Registry login, Dev Containers and an App-level fake-engine test are not done. Seedocs/oc/index.md. -
Git graph (T681): Git → Log → Graph… (
git.graph) opens an interactive commit graph with branch lanes drawn from the parent links, branch and tag decorations, a branch/tag filter (Tab), search (just type), and per-commit actions:Enteropens the commit as a read-onlygit showtab,Ctrl+Ochecks it out,Ctrl+Bcreates a branch at it,Ctrl+Pcherry-picks it (checkout and cherry-pick ask first; a failed pick is undone) andCtrl+Ycopies its hash. History loads 200 commits at a time. The lane algorithm is the new purevix-git-graphcrate, property-tested over random commit DAGs. Seedocs/git-graph/index.md. -
Cowork: edit together in real time (T690-T696,
spec/cowork, opt-incoworkbuild feature): Tools → Cowork hosts a session (a single-use, 10-minute invite; the host approves each guest by name and admits it view-only unless it says otherwise), joins one, shares buffers one by one, and shows everyone’s cursors and selections in their own contrast-checked color, with their names in the status bar. Edits from any side merge without conflicts (a Loro CRDT, chosen in a measured spike; decision record inspec/cowork). Only the host writes to disk: a guest’s Save asks the host. Undo and Redo in a shared buffer undo only your own typing. Follow… pins your view to another participant until you press a key. Share File Tree lets guests browse the project (.gitignorehonored) and open files themselves, never.envfiles,.git/,.vix/, keys or credentials, and never a path or symlink that leaves the project. Everything travels Noise-encrypted and authenticated with no unencrypted mode and no server in between. New cratesvix-cowork(the pure core: document, peers, permissions, paths, wire messages, presence, sessions) andvix-cowork-net(the encrypted transport). The wire format reserves room for session chat (T756). Not in the default orfullbuild; build with--features cowork. Not yet: reconnecting after a dropped connection, content search across the shared tree. Seedocs/cowork/index.md. -
Cowork: share your terminal, read-only by default (T697,
spec/cowork): Tools → Cowork → Share Terminal shows the host’s integrated terminal to everyone in the session, after a confirmation that warns that everything it shows, including any password, token or key printed in it, will be visible. Guests open it with Shared Terminal (Ctrl+]hides it) and can only watch. Allow Terminal Input (confirmed again) lets guests with theterminallevel type in it; each new share starts read-only again. The shell never leaves the host: guests receive its rendered screen (then only what changed), carried as five newChannel::Terminalmessages in the same encrypted Cowork connection. The confirmation dialog now wraps a long message instead of cutting it off, and a terminal opened before the first frame starts at 24 x 80. Not yet: more than one shared terminal, scrollback, or input for one guest only. -
Cowork session chat, roster and session notes (T756, T759;
spec/cowork,spec/instant-message;coworkbuild): every Cowork session now has a chat with nothing to set up. A Session conversation appears in the IM panel when a session starts and is dropped when it ends (never written to disk history, never opened on its own: a new line raises the unread count). Lines travel inside the session’s encrypted connection as a newChannel::Chat(Chat,ChatMuted, tags 48–49; 50–63 stay reserved and are skipped by older and newer peers alike), carry text,/meactions, shared locations and snippets, and are signed by the host with the sender’s verified identity (ana #2). While the session conversation is selected the panel lists every participant and the shared file their cursor is in;/follow Nfollows one. Tools → Cowork → Session Notes opens one Markdown buffer shared by the session through the same CRDT sync as a shared file (never saved to disk). The host can Mute in Chat… or Remove Guest… by number. Library:vix_cowork::{ChatLine, ChatKind, Channel::Chat, GuestEvent::{Chat, Muted, PeerJoined, PeerLeft}, Handled::chat, session::check_chat, SharedPath::session_notes},HostSession::{chat, set_muted, is_muted, kick},GuestSession::{chat, is_muted},wire::{MAX_CHAT_BYTES, MAX_NAME_BYTES},vix_im::Command::Follow,PromptKind::{CoworkMute, CoworkRemove};HostSession::newnow holds the empty notes document andshared()leaves it out. Not yet: private messages between two participants, chat history beyond the session, anchored threads over Cowork. -
Project and per-language settings (T627): a workspace’s
.vix/settings.tomlis merged over yourconfig.toml(tables key by key), and a[languages.<id>]table in either file setstab_width,indent_style,soft_wrap,format_on_save,trim_trailing_whitespaceand other per-buffer settings for one language. Later layers win: built-in, user, project, language. The project file applies only once the workspace is trusted, at the same prompt as.vix/scripts/(which now also asks for a settings file, in every build), and is never read for a remote workspace. Unknown keys are reported; in-app changes are saved toconfig.tomlwithout copying the project’s values into it; saving.vix/settings.tomlapplies it live.vix-settingsgainsSettings::languages,Settings::for_language,merge_layer,unmerge,unknown_keys,language_key_problemsandproject_settings_path;ScriptTrustPromptis#[non_exhaustive]with a newsettingsfield. -
Live settings reload (T626): saving
config.toml(opened with Vix → Settings…) applies it at once, with no restart: the theme, keymap, language and time zone switch and the menus are rebuilt. A file that doesn’t parse keeps the current settings and reports the error instead of falling back to defaults. Vix → Reload Settings (vix.reload_settings) re-reads the file on demand. -
Copy over SSH and tmux with OSC 52 (T625): a new
clipboard_providersetting —"auto"(default),"system"or"osc52". Withauto, copying over SSH (SSH_TTY/SSH_CONNECTIONset), or when the system clipboard fails, writes the terminal’s OSC 52 escape so the clipboard of the machine you are sitting at gets the text; under tmux it is wrapped in DCS passthrough (tmux needsallow-passthrough on). Paste under OSC 52 reads Vix’s own last copy.vix-clipboardgainsProvider,Environment,select_backend,encode_osc52andconfigure. -
Completion that keeps up with typing (T612): the LSP completion popup now narrows as you type (fuzzy-matched on each item’s
filterText, ordered bysortText) instead of closing on the next key, and Backspace widens it again; a server’s incomplete list is re-requested as you type. Accepting an item replaces the server’stextEditrange and applies itsadditionalTextEdits, so auto-import works, as one undo step; an item’s commit characters accept it. Completion now opens on its own after you type a word character or one of the server’s trigger characters (like.), after a 100 ms pause; turn that off with the newlsp_auto_complete = falsesetting to keepCtrl+Spaceonly. Seecrates/vix-lsp/spec/index.md§ Completion. -
Snippet completions (T613): Vix now tells language servers it accepts snippets, so accepting a completion like a function call inserts its parameters as fields — the first is selected, Tab moves to the next and then to the end, Esc stops. The import and range handling from T612 still apply. Snippet files and the Snippets picker gain nested placeholders (
${1:outer ${2:inner}}) and choices (${1|one,two|}). -
Inline diagnostics (T614): a language server’s diagnostic now shows as dimmed, severity-colored text at the end of its line, truncated at the window edge. The new
inline_diagnosticssetting picks the lines:"cursor-line"(default),"all"or"off". When the cursor reaches a line with a diagnostic, the status bar shows it (Error: …), and Go → Next/Previous Issue always shows the message it lands on. For library users,vix_editor_core::virtual_textadds end-of-line virtual text that several producers can share. -
Translations in Rhai plugins (T735;
docs/scripting): a plugin can shiplocales/<code>.tomlstring tables, and its scripts read them with the newtr(key)/tr(key, #{ name: value })functions (%{name}placeholders) andlocale(), so a plugin’s command labels and messages appear in the user’s language. Lookup follows Vix’s own chain: the current locale, then without its region, then English, then the key itself. Changing the language reloads scripts. Thelocales/folder is data only (a.rhaifile there never runs), it is covered by the plugin’s trust digest, and a broken file is reported and skipped. No new capability:trreads only the plugin’s own strings. Newvix_script::Catalog,Runtime::set_locale/locale/load_with_catalog,DiscoveredScript::locales_dirandplugins::LOCALES_DIR. -
Rhai plugin installer (T637):
vix --plugin install <git-url>[@rev],list,update [name]andremove <name>install git repositories of.rhaiscripts into<config dir>/scripts/<name>/, pinned by commit in<config dir>/plugins.lock. A new plugin is disabled until you enable it in Vix → Plugins…; an update that changes its code, or a local edit, disables it again; removing or disabling forgets the trust; and a plugin with a symlink pointing outside its directory is refused. Plugin scripts run in the same sandbox as any other script. -
Review a branch or commit range (T665, partly): Git → Review Range… (
git.review) opensa..b, a commit or a stash as one read-only multi-file diff, with Next/Previous Review Hunk. Comment on Review Line… saves a line comment in.vix/review/<range>.json, and Export Review Comments writes Markdown to paste into a pull request or an agent prompt. Newvix-reviewcrate andvix_git::review_diff. Stage/discard from the review buffer is not done yet. -
Choose what the change gutter compares against (T664): the new
git_gutter_basesetting (head,index,diskorbranch:<name>) and Git → Change Gutter Base… choose the base.indexstops marking staged hunks (T657),diskmarks exactly the unsaved edits, and a branch marks the whole difference from it. New publicvix_git::GutterBaseandvix_git::rev_blob. -
Filler rows in side-by-side Compare Files (T671): the shorter side of each change now gets blank hatched rows, so both panes stay row-aligned below a change. Fillers are not text: the cursor skips them, a click on one lands on the next real line, and scrolling counts them.
vix_editor_core::Editorgainsset_filler_rows,clear_filler_rows,filler_rows,filler_beforeanddisplay_row;vix_diff_view::compare::fillerscomputes them. They are drawn in unwrapped views only. -
Windows on ARM release (T658):
vixnow ships anaarch64-pc-windows-msvc.zipand.msi, built natively on GitHub’s Windows ARM runner. The desktop GUIs stay x86_64-only on Windows. -
Shebang language detection (T658): a file with no extension, like
deploystarting#!/usr/bin/env bash, now gets its syntax highlighting and comment prefix from the#!line (shell, Python, JavaScript, TypeScript). -
View → Fold / Unfold (T658):
editor.foldfolds the innermost range around the cursor, andeditor.unfoldopens it, without toggling (also in the command palette). Repeat Fold to fold outward a level at a time. -
Open and discard changes from the Git panel (T657): in Git → Changes…,
Enteropens the selected file’s diff against HEAD andddiscards its unstaged changes after a confirm (staged changes stay; untracked files are refused, never deleted). New Git → Diff with HEAD / Diff with Staged actions (git.diff_head,git.diff_index) diff the active file, unsaved edits included. -
Phosphor White Monochrome theme: warm P4 white (
[230, 230, 215]) on black, all one color like the other single-color themes. -
Editable side-by-side Compare Files (T660): Tools → Compare → Compare With File… and
vix --diff OLD NEW(so alsogit difftool) now open both files as real, editable tabs side by side. The panes scroll together, the gutter marks each side’s changes, Next/Previous Difference step through them, and Copy Change to Left/Right copy the change at the cursor across as one undo step (like vimdiffdo/dp). Saving a side saves that file. Show as Unified Diff keeps the read-only unified view, which an untitled buffer still gets. The shorter side of a change gets filler rows (T671). Seedocs/diff-view/index.md. -
Pipe the selection through a shell command (T659): Edit → Lines → Pipe Through Command… replaces the selection (or the whole buffer) with a command’s output, as one undo step, and Insert Command Output… inserts the output at the cursor. Both are in the command palette, and the Emacs keymap binds
M-|. A command that fails or runs past 10 seconds leaves the buffer unchanged and shows its stderr in the bottom dock. Builds without thetasksfeature leave both out. Seecrates/vix-editor/spec/pipe-selection/index.md. -
Linux packages (T668): every release now carries native
.deb,.rpmand Arch.pkg.tar.zstpackages ofvix-tuiand the four released desktop GUIs, for x86_64 and aarch64. Install withsudo apt install ./vix-tui_*_amd64.deb,sudo dnf install ./vix-tui-*.x86_64.rpmorsudo pacman -U ./vix-tui-*.pkg.tar.zst. They need glibc 2.35+ (Ubuntu 22.04+, Debian 12+, Fedora 36+). Each package is install-tested on Debian, Ubuntu, Fedora and Arch before upload. Seespec/linux-packages/index.md. (Landed on 1.8.0’s release day: the 1.8.0 GitHub Release’s assets already include these packages.) -
File → Save All (T654): saves every modified file tab (also in the command palette), reports how many were saved, and stops at the first failure. The
save_allaction used to save only the active tab. -
Website social cards and theme gallery (T740, T741): every page of the website now carries Open Graph and Twitter card tags (title, description, URL and image) with a new 1200×630 PNG social card built around a real screenshot of Vix, and the features page has a theme gallery: one real screenshot per bundled theme (all 21) in a carousel with previous/next buttons and a button per theme. The screenshots (
docs/demos/themes/*.png) and the card (docs/demos/social-card.png) come from the newscripts/render-theme-gallery.py, which runs the realvixrelease binary in a pseudo-terminal on a copy of the demo workspace, feeds its output to a terminal emulator (pyte) and paints the emulated screen to PNG; it needs no headless browser. -
vix-lsp:Lsp::take_edit_replies()(T652) returns formatting and linked-editing replies asEditReply, tied to the document they were requested for and version-checked;LspEvent::EditsandLspEvent::LinkedRangesare no longer emitted.vix-editorgainsEditor::reload_clean_from_disk_checked, which reports refused files.
Fixed
- Large files: ~9× less memory and no idle CPU (T749;
docs/performance): a 100 MB log now holds 126 MiB instead of 1.1 GiB (Vim 117 MiB, Neovim 130 MiB), and with no input Vix uses no CPU instead of ~7.5% of a core. Every frame used to copy the whole buffer to size the horizontal scrollbar; the longest line is now cached until the next edit and measured in place. Opening streams plain UTF-8 straight into the buffer instead of holding a second file-sized copy, and no longer copies the text for persistent undo (unless a saved history exists) or for test code lenses in files with no test syntax. Whole-buffer copies allocate once instead of growing by doubling. - No terminal queries at startup (T749): the image-support probe (kitty graphics query,
ESC [ c,ESC [ 16t,ESC [ 5 n) now runs the first time an image is opened, so a terminal that never answers it no longer delays the first screen by ~250 ms. Images given on the command line (vix photo.png) now open too; before, the probe ran after them and they were refused. - Reference VS Code keymaps (
keymaps/): the threekeymaps/visual-studio-code-for-{linux,macos,windows}/keybindings.jsonfiles were saved GitHub HTML pages, not keybindings. They now hold VS Code 1.144.0’s real default keybindings, downloaded from the raw files ofcodebling/vs-code-default-keybindings, with the source, commit and date recorded inkeymaps/index.md. These files are reference material only (Vix’s VS Code keymap is the hand-written table invix-keybindings), so the editor’s behavior is unchanged. A new test,tui/tests/keymaps_reference.rs, parses everykeymaps/**/*.jsonas JSONC and fails if one is not a keybindings array. - Go → Next/Previous Issue lands on the diagnostic (T614): it used to put the cursor one line above it, so Next Issue could get stuck.
- Blame with unsaved edits (T657): Blame Line and inline blame now blame the buffer as shown (
git blame --contents -), so after inserting or deleting lines they no longer report another line’s commit. - The single-color themes are all one color: they no longer highlight code in another theme’s blue, orange and green, draw a blue cursor, or show gutter marks, spell-check underlines, diagnostics or the terminal pane in other colors. Each now draws the whole screen in its own color on black, with a reverse-video cursor. See “Single-color themes” in
crates/vix-theme/spec/index.md. - Keybinding reference tables (T659): a key containing
|(the Emacs OrgC-c |binding) no longer breaks its row indocs/reference/keybindings-emacs.md. - Git from a repository subdirectory (T650): when Vix is started in a subdirectory of a repository, the diff gutter, hunk list, Stage/Unstage Hunk, the Git panel’s Stage Selected, file history and Open File at Revision now use the right file. They could read a same-named file at the repository root, and Stage Hunk could overwrite that file’s index entry. JJ actions are offered from a subdirectory of a jj repository too.
- Git paths are literal (T651): staging a path such as
app/[id]/page.tsxno longer also stagesapp/i/page.tsx. - LSP formatting edits go to the right file (T652): formatting and format-on-save edits apply to the file they were requested for, not whichever tab is active when the server replies. Edits computed against text that has since changed are dropped with a status message instead of corrupting the file. Linked-editing ranges get the same check.
- Editable search results and Replace in Files (T653): a line that changed after the search is skipped and reported instead of being overwritten. Writes keep CRLF line endings, the final-newline state, indentation and text past the 120-character preview, go through the atomic writer, refuse files open in read-only tabs, and change a file open with unsaved edits in its buffer only, instead of silently saving those edits.
- Save As asks before overwriting (T654) an existing file, and refuses a target that is a dangling symlink.
- Reloading after a branch switch or external change (T656) applies the same guards as opening a file: a path replaced by a FIFO or device, a file past the size limit, or a binary file is not read; the buffer keeps its text and a warning says why. Non-UTF-8 files reload read-only.
- The
vix-dbtests no longer touch the OS keyring (T639). The keyring is now opt-in (vix_db::secret::use_system_keyring), whichvixand the desktop GUIs turn on at startup, so a slow macOS Keychain lookup can’t time out a test, and a test can’t read a real saved password.
Security
- A session save no longer forgets the script-trust answer (found in T714): saving a workspace’s session on exit replaced its whole entry, resetting
scripts_trusted(T132) to “not asked”.Session::set_workspacenow carries both trust decisions forward. - The workspace script-trust prompt needs an explicit
y(T655): it no longer accepts Enter, and ignores keys pressed within 250 ms of opening, so an Enter typed ahead of the startup or reload prompt can’t approve a cloned repository’s.vix/scripts. - Dependabot alerts cleared. The website moves from a SvelteKit 3 prerelease to stable 3.1.0 (and adapter-static 4.0.0), fixing two SvelteKit advisories (enhanced-form open redirect; cache-control XSS in prerendered pages).
vix-eguiandvix-icedturn off muda’s defaultgtk3feature: muda is macOS-only here, but the feature still put GTK 3 and the unsound glib 0.18 (GHSA-wrw7-89jp-8q8g) intogui/Cargo.lock.
Changed
- Slimmer hosted CI (T762). A push or pull request now runs one Linux job (fmt, clippy, build, test, rustdoc, generated references) plus the docs checks, and a docs-only change skips the Rust job. The macOS/Windows test matrix, feature combinations, semver, offline tests, coverage, MSRV, binary size and the GUI matrix moved to a weekly schedule, version tags and
workflow_dispatch(mutants and the chaos monkey already ran there); nothing was removed. Newer pushes cancel superseded runs. Codeberg’s docs checks moved to a new.forgejo/workflows/docs.yml;.gitlab-ci.ymlgained a note that its pipeline is paused by CI-minute quota. Spec:spec/ci. - ACP
initializeadvertises the terminal capability (T635). The client now sendsclientCapabilities.terminal = true; every command an agent asks to run still needs the user’s yes. - Code annotations, group 4. Module docs, private-item rustdoc, WHY comments and runnable examples for 25 crates (calendar, choice-list, civil-date, contact-panel, the two convert tools, cowork, doctor, editorconfig, file-browser-panel, fileops, format-tool, commit graph, html-character-picker, markdown-preview, nerd-font-picker, palette, review, script, tasks, text-information-panel, theme-model, time-zone-model, uuid-tool, workspace-dashboard-panel). Documentation only; no behavior change.
vix-theme-model::to_jsonno longer claims a# Panicssection (it returns an empty string on the impossible failure). - Rustdoc and comment pass over the App shell’s drawing and entry points.
tui/src/ui.rsandui/, the binary and its CLI modules, and the desktop front ends undergui/gain rustdoc on previously undocumented items and a few why-comments; a stale comment on the SQL editor’s renderer was corrected. Documentation only, no behavior change. - Dependency refresh. Both lockfiles (
Cargo.lock,gui/Cargo.lock) updated to the latest releases compatible with Rust 1.97 (crc32fast,encoding_rs,log,pulldown-cmark,sysinfo,unicode-properties, plusunicode-scriptin the GUI workspace), andvix-eguimoves tofontique0.12.evalexpr(AGPL from 12.0),vt1000.18 andkeyring4 (both need call-site migrations) stay where they are. - One overlay table orders drawing and keys (T611, step 1;
spec/overlay-priority): every modal layer has one row inOVERLAYS(tui/src/app/overlays.rs); the frame draws the open rows in table order and a key goes to them in reverse, so the layer drawn on top always takes the key. Where the old key chain disagreed with what was drawn (only with two layers open, for example the calendar or clock under a panel, or a confirmation over the workspace search), the key now follows the picture. - The list choosers are one
Chooserenum (T611, step 2, first slice;spec/overlay-priority): fifteenApp::*_chooserOptionfields (branch, stash, worktree, task, script, plugin, location, capture, refile, recent, encoding, macro, clipboard, workspace, HTTP environment) became oneApp::chooser: Option<Chooser>, so two of them can no longer be open at once; opening one replaces the other. Drawing, keys and mouse behave as before. - The info panels are one
InfoPanelenum (T611, step 2, second slice;spec/overlay-priority): sevenApp::*Optionfields (system info, LSP status, file info, text info, media type, Nerd Font palette, ASCII table) became oneApp::info: Option<InfoPanel>, so two of them can no longer be open at once; opening one replaces the other. Drawing, keys and mouse behave as before. - The edit surfaces are one
EditSurfaceenum (T611, step 2, last slice). The table, outline, JSON/YAML, byte and SQL editors and the Org Column View are now oneApp::edit: Option<EditSurface>, so two of them can no longer be open together; opening one replaces another. Each keeps its row in the overlay table, so drawing and key routing are unchanged. Spec:spec/overlay-priority. Internal API only; theAppfieldsedit_table,edit_outline,edit_value,edit_bytes,edit_sqlandcolumn_vieware replaced byApp::edit. - Open Remote, the remote status and a connection-lost state (T713;
docs/remote-editing): File → Open Remote… lists recent remote names and takes a newssh://…or/ssh:…one, then connects on a background thread (the status bar shows connecting) and makes the folder the workspace. It connects withssh’sBatchMode, so it never prompts under the UI: a new host key or a locked key fails with a message saying to runssh hostonce (orssh-add), or to start Vix withvix ssh://…, which connects before the UI and can prompt. The status bar shows the remote host. When an operation reports the connection gone, a persistent connection lost segment and a warning appear, buffers are kept, saves (and the once-a-second change poll) stop instead of failing one by one, and File → Reconnect Remote brings it back. In a remote workspace every save checks the file is still the version the buffer last read or wrote (length and modification time, captured on open, reload and save) and otherwise asks: overwrite, compare (a diff of the file on disk against the buffer), or cancel. Local files keep today’s behavior (no check). Library:App::{adopt_remote, open_remote, poll_remote, remote_host, remote_connection_lost, remote_busy, remote_untrusted, with_ssh_options},vix_editor::editor::{DiskStamp, Flags::CHECK_CONFLICTS},Tab::disk_stamp,Editor::save_active_overwriting,PromptKind::OpenRemote,ConfirmKind::{SaveConflict, TrustRemote},vix_session::{Session::recent_remotes, push_recent_remote, set_remote_trusted, WorkspaceSession::remote_trusted};vix::remote::connect_clireturns theSshTarget. - Remote workspace trust (T714): a remote workspace is untrusted until you say otherwise. Vix asks once per host and path (
ytrusts,nkeeps restricted mode; keys typed ahead of the prompt are ignored) and remembers the answer in the local session file; File → Trust Remote Workspace… asks again. Until trusted, its tasks, project commands, run configurations, test lenses, the debugger, language servers, project scripts and a project-local Prettier don’t run, and the status bar says restricted. Host keys aressh’s business: Vix never passesStrictHostKeyCheckingor a password, and a test checks that no secret from the settings reachesssh’s argv. - Remote editing over SSH, experimental (T712;
docs/remote-editing,crates/vix-authority/spec/ssh):vix ssh://[user@]host[:port]/path(or TRAMP’s/ssh:host:/path) works on a folder on another machine with nothing installed there. Vix connects once before the editor starts, sosshcan prompt as usual, then shares that connection (ControlMaster, with sockets in a private 0700 directory) for every file operation and process; yourssh_configapplies. Remotely it needs only POSIXshand coreutils (GNU, BusyBox, BSD or macOSstat), under any login shell,fishandcshincluded. Saves are atomic (temp file andmvin the same directory, mode kept, written through links). No dialog, status indicator or connection-lost state yet (T713). Library:vix_authority::ssh::{SshAuthority, SshOptions, SshTarget, TargetError, quote}(sshfeature for the authority),Authority::write_atomic_if_unchangedwithWriteConflictandsame_version(an mtime+size check before overwriting; in the conformance suite), andvix_fileops::{decode_text, encode_like}. - A real-
sshdtest for remote editing (T719):scripts/test-ssh-localstarts a throwaway, non-rootsshdon127.0.0.1with generated keys and its own client configuration (host-key checking on,~/.sshuntouched) and runs the SSH authority’s conformance suite over it; the new GitHub-only.github/workflows/ssh.ymlruns it whencrates/vix-authoritychanges or on demand. See “Testing against a real host” indocs/remote-editing. - Remote search and git (T715;
docs/remote-editing): over SSH, Find in Workspace, Search in Workspace (to dock), the TODO finder and Todo Tree, and go-to-definition without a language server run onerg --jsonon the remote machine (orgrep -rnFfor a plain-text query whenrgisn’t there) through the authority, instead of reading every file one round trip at a time. Each reported line is re-checked with Vix’s own regex and only indexed files count, so the results, order and counts match a local search; unsaved buffers are still searched as edited. A regular expression withoutrgfalls back to reading each file.vix-gitnow finds the repository top level with--show-cdup(joined to the workspace path) instead of git’s absolute--show-toplevel, so it stays a path of the machine the workspace is on, and the SSH authority changes directory withcd -P, as a localchdirdoes. Library:Authority::is_local(trueonly forLocalAuthority),vix_workspace_search::tool::{ToolQuery, Tool, ToolLine, parse_rg_json, parse_grep}. - Remote language servers, debugger, tasks and terminal (T716;
docs/remote-editing): in an SSH workspace, once trusted, language servers and debug adapters run on the remote machine over thesshchannel with the remote paths as theirfile://URIs, root and workspace folders, and every reply (definition, references, rename and other workspace edits, call hierarchy, diagnostics, code actions, debugger stops) opens or writes the remote file. Each server or adapter is looked up on the remotePATHfirst, so one that isn’t installed there fails to start (and shows as failed in LSP Status) instead of crash-looping; it starts in the workspace folder;initializesendsprocessId: null(this machine’s process id means nothing there); and diagnostics are no longer canonicalized through a round trip on every frame. Tools → Terminal opensssh -tover the same shared connection into your remote login shell in the workspace folder (in the remote home folder while the workspace is untrusted); a local workspace’s terminal is unchanged. Tasks, project commands, run configurations and Run Command… use the shell of the machine they run on, so a Windows client runsshon its POSIX remote. Library:Authority::shell_is_posix,Authority::terminal,vix_authority::can_run,Dap::set_workdir;vix_terminal::Terminal::open_commandtakes anyOsStrprogram and arguments. - Container workspaces and dev containers (T718;
docs/remote-editing,crates/vix-authority/spec/container): open a folder inside a running Docker or Podman container, a Kubernetes pod’s container or a WSL distribution the way you open one over SSH:vix docker://web/srv,podman://user@ctr/path,k8s://namespace/pod/container/path,wsl://distro/path, on the command line or in File → Open Remote…. Every file operation, search, git, task, language server and the terminal run inside through the engine’sexec; saves are atomic and conflict-checked, a stopped container shows as a lost connection, the workspace is untrusted until trusted, and the remote agent (remote_agent) works inside too. Docker and Podman receive environment variables by name, never on the command line. OC → Open Workspace in Container… (won a running container) and OC → Reopen in Dev Container (asks first, then runsdevcontainer upwith thedevcontainerCLI and opens the container it reports, trusted). Kubernetes and WSL are so far tested against a stand-in only. Library:SshAuthorityis nowShellAuthority<SshTransport>(same API), withvix_authority::ssh::{ShellAuthority, Transport, SshTransport},ssh::quote::sh_argv,vix_authority::container::{ContainerTarget, ExecKind, ContainerAuthority, ExecTransport, ExecOptions},vix_authority::remote::{RemoteTarget, ConnectOptions, Connection},TargetError::BadName,vix_oci::devcontainer,vix_oci_panel::Request::OpenWorkspace;App::adopt_remotetakes anyInto<RemoteTarget>, newApp::{with_exec_options, with_devcontainer_cli}, andvix::remote::connect_clireturns aRemoteTarget. - Remote agent (T717;
docs/remote-editing,crates/vix-authority/spec/agent):vix --remote-agentserves a length-prefixed binary protocol on stdin/stdout (versioned handshake requiring the exact same Vix version, request ids, batches, file watches, a 64 MiB cap on every frame and hostile-input-safe decoding), answering file operations with the local authority on its machine and starting no process. Over SSH, Vix now uses avixof the same version already on the remote machine (itsPATH, or~/.cache/vix/agent/<version>/vix) for every file operation instead of one shell command each, and falls back to the shell commands for anything it can’t do. The newremote_agentsetting:"installed"(default; never writes to the remote machine),"upload"(also copies thisvixthere when the remote OS and architecture match; the copy’s SHA-256 is checked on the remote side before it is made executable, and it is run once to confirm its version, or nothing is installed) or"off". The once-a-second check for files changed on disk is now one round trip for all open files, with or without the agent. Library:vix_authority::agent::{wire, serve, serve_stdio, AgentAuthority, Watch, VERSION},Authority::metadata_batch,vix_authority::ssh::{AgentMode, AgentStatus, same_platform},SshOptions::{agent, agent_binary, with_agent, with_agent_binary},SshAuthority::{start_agent, agent_status, agent_running, upload_agent, watch, options};vix::remote::connect_clitakes theremote_agentsetting and also returns a note for the Messages drawer. - Background commands’ no-prompt environment travels with the command (T712):
GIT_TERMINAL_PROMPT,GCM_INTERACTIVEandGIT_SSH_COMMANDare now part of the process description, so a remote authority sets them on the remote side; the AIcliprovider always runs on this machine;vix-gitresolvesgiton the remotePATHunder a remote authority. - IM code references and review threads use the workspace authority (T710 follow-up): opening a message’s code reference and the anchored threads in
.vix/im/threads/read and write through the authority, so they follow a remote workspace. Thread files are now written atomically. - Workspace file access and process spawning go through one authority (T710, T711;
crates/vix-authority), the groundwork for remote editing. New cratevix-authority: theAuthoritytrait,LocalAuthority(installed by default, doing exactly what Vix did before), a temp-dir-backedFakeAuthorityand a sharedconformancesuite. Opening, saving, the explorer, File → Open, the file finder, tasks, Org and Org-roam, workspace files,.httpenvironment and body files, and every git, jj, shell, language-server, debug-adapter and Prettier process now use it; configuration, themes, session, undo history, IM, credentials and temp files deliberately stay on the local machine (the spec lists each one and why). No behavior change. - Single-color themes renamed:
Phosphor Green→Phosphor Green Monochrome,Phosphor Amber→Phosphor Amber Monochrome,Safelight Red→Safelight Red Monochrome. A saved setting that names an old theme still finds it. - Docs are spell-checked in
scripts/check-docs(CSpell; required in GitHub and Codeberg CI), and the existing spelling findings are fixed. - README and website rewritten for new visitors, and the website now uses the current Lily design system (PickerBar 0.5 with docs search, theme, language, text size and share pickers; 57 themes from
@lilydesignsystem/themes). - Dependencies updated (2026-10-30). The MSRV moves to Rust 1.97 (stable is 1.99;
rust-version, the GitHubmsrvjob, GitLab’srust:1.97image and the Codeberg toolchain move together). Manifest bumps:getrandom0.2 → 0.4 (getrandom::fill),sysinfo0.39 → 0.40 (System Information now leaves out facts the platform can’t report instead of failing),etcetera0.10 → 0.11, and the compatiblearboard3.7,rhai1.27,rust-embed8.13,tokio1.54.1,tree-sitter-md0.5.4;cargo updaterefreshes the root,gui/andfuzz/lockfiles (among themureq3.5,uuid1.29,icu_*2.4,pest2.9.5,cc1.10,wasm-bindgen0.2.130). Not taken:keyring4 (a rewrite around separate credential-store crates),vt1000.18 (NonZeroU16sizes andStringscreen dumps through the Cowork terminal mirror),fontique0.12 (egui, parley and Slint are all on 0.11) andevalexpr12+ (AGPL). Dependabot no longer ignoresgetrandomorureq. GitHub Actions:actions/checkoutv7 (not inrelease.yml: dist generates that file, and it rejects a hand-edited copy),actions/upload-artifactv7, Docker’s setup, login and build-and-push actions (v4, v4, v7); dist 0.33.1. Website: Svelte 5.57.3, Vite 8.3.5, svelte-check 4.7.7,@sveltejs/vite-plugin-svelte7.3.1,@lilydesignsystem/svelte-picker-bar0.5.1, pnpm 11.28.9, and its deploy workflow’s Pages/pnpm/Node actions; TypeScript stays on 6 (SvelteKit 3.1’s tsconfig check rejects 7). - Documentation only: module docs, private-item docs, why-comments and runnable examples for 23 crates (acp, ai-panel, ascii-character-picker, base-tool, checksum-tool, convert-from-json-into-csv-tool, dap, edit-sql, hex-rgb, http-client, left-dock, list-state, macros, oci-panel, org-table, qr-tool, system-information-panel, theme, theme-editor-panel, undo-store, unit-converter-tool, url-tool, workspace-search); no behavior change.
- Code documentation pass (group 5). Added rustdoc and explanatory comments to the private items, fields and trait impls of
vix-lsp,vix-lsp-core,vix-im-irc,vix-hl7,vix-jupyter,vix-jupyter-core,vix-i18n,vix-jwt-tool,vix-session,vix-textops,vix-edit-outline,vix-edit-table,vix-clock-panelandvix-convert-tabular, and fixed one broken intra-doc link. Documentation only; no behavior change. vix-dbdocumentation pass. Module docs, rustdoc (with runnable examples for the pure functions) and inline comments acrosscrates/vix-db/src; documentation only, no behavior change.- Code documentation for the App shell. Rustdoc and inline comments were added across
tui/src/app.rsandtui/src/app/(chooser, panel and Cowork handlers, search and query-replace, explorer and mouse routing). Documentation only; no behavior change. - Code documentation pass (group 0). Module, item and inline documentation (plus runnable examples) for
vix-editor-core,vix-im,vix-mcp-server,vix-oci,vix-project-env,vix-roam,vix-encoding,vix-inputand 14 smaller crates; no behavior change. Fixed several stale docs (for examplevix_roam::slugify,vix-column-view’sOutcome::Close). - Code documentation pass, group 2. Module docs, rustdoc, example tests and why-comments across
vix-authority,vix-git,vix-keybindings,vix-large-file,vix-modal,vix-cowork-net,vix-diff-view,vix-edit-value,vix-structural-replaceand 15 small tool/panel crates. Comments only; no change in what the code does. Fixed two stale docs (vix_authority::install,vix_diff_view::build). - Code annotations, batch 3 (docs only). Module, item and inline documentation across 25 crates (
vix-menu,vix-editor,vix-settings,vix-org,vix-terminal,vix-fhir, and others); no behavior change.
[1.8.0] - 2026-10-25
Added
- Desktop GUIs, experimental (T641, T642, T646):
gui/builds two front ends that run the whole of Vix — every panel, overlay and dock — in a native window on macOS, Windows and Linux, so the toolkits can be compared:vix-gpui(GPUI Kit) andvix-egui(egui/eframe, with IME input), each a complete implementation with no common GUI library. Both have a native menu bar (egui: macOS) with a system open-file dialog, and closing the window runs Vix’s own quit flow. Run withcargo run --manifest-path gui/Cargo.toml --release -p vix-gpuior-p vix-egui. Seegui/spec/index.md. - More desktop GUIs (T647):
vix-iced(iced),vix-gtk4(GTK 4: Pango text, a native GIO menu bar and file chooser on every platform) andvix-slint(Slint, used under the GPLv3, sovix-slintis GPL-3.0-only), each a complete, self-contained front end like the first two. Run withcargo run --manifest-path gui/Cargo.toml --release -p vix-iced(orvix-gtk4,vix-slint); seegui/spec/index.mdfor how they compare. - Desktop GUI distributions (T645, T647): releases now ship
vix-gpui,vix-egui,vix-icedandvix-slintalongside the terminal app —brew install vixide/tap/vix-gpui(orvix-egui,vix-iced,vix-slint), shell and PowerShell installers, archives for macOS and Linux (x86_64 and aarch64), and a Windows.zipand.msi.
Changed
- Binary licenses follow each framework and its dependencies (T648): Vix’s source stays under all five licenses, but each distributed binary now declares and ships (
LICENSEin its package) only those its linked code allows.vix,vix-gpui,vix-egui,vix-icedandvix-gtk4areApache-2.0 OR BSD-3-Clause OR MIT OR GPL-3.0-only: GPUI is Apache-2.0 only, and every binary links Apache-2.0-only crates, which the FSF holds incompatible with GPL-2.0-only.vix-slintisGPL-3.0-only(Slint).scripts/check-binary-licensesrecomputes this on every CI run. The rootLICENSEnow points at the license texts’ real directory,docs/licenses/. - The terminal UI is now the
vix-tuipackage intui/(T643), a sibling of the desktop GUIs ingui/; the repository root is a virtual Cargo workspace. The command is stillvixand the npm package is stillvix; the Homebrew formula becomesvix-tui(brew install vixide/tap/vix-tui, T645), but the crate published to crates.io is nowvix-tui(thevixcrate stays at 1.7.1), and release archives and installer scripts are namedvix-tui-*— the install one-liners become…/latest/download/vix-tui-installer.sh(and.ps1) from the next release on. - Backend-neutral input (T640): key and mouse handling throughout Vix now uses the new
vix-inputcrate’s event types instead of crossterm’s; only the terminal event loop converts crossterm events. No behavior change in the terminal. - No unchecked
unwrap/expectin shipped code (T603): draw functions now bail out withlet … elseinstead of unwrapping anOptionthey just checked, andclippy::unwrap_used/expect_usedare enforced workspace-wide (tests exempt viaclippy.toml; the remaining provably-safe sites carry#[expect(.., reason)]). - One lint policy (T599):
unsafe_code,missing_docsandclippy::pedanticnow live in[workspace.lints], and every crate and target (tests, benches, examples, build scripts) inherits them;allowattributes now need areason. Editor::set_clipboardis deprecated (T649) invix-editor-core: useEditor::copy_to_clipboard, which cannot fail and returns nothing.set_clipboardkeeps its 1.x signature and will be removed at 2.0.- Smaller crate: the published
vixpackage no longer includes the project website (vixide.github.io/), CI definitions or agent settings; none are read by the build or tests.
[1.7.1] - 2026-10-21
Changed
- HTTP client library (security):
ureq2 → 3 for the HTTP client and the AI providers. ureq 2 pinnedwebpki-roots0.26, whose bundled roots trust the distrusted emSign intermediates (RUSTSEC-2026-0381); ureq 3 uses the fixed 1.x. Response header names in the HTTP client’s output are now lower-case, and JSON bodies are sent compact. - TLS certificates:
rustls-webpki0.103.16 andwebpki-roots1.0.10 (RUSTSEC-2026-0382/0381). - tree-sitter 0.27: updated the syntax-highlighting query code for the
QueryMatch::captures()accessor.
[1.7.0] - 2026-10-20
Added
-
Chaos monkey
--rtl 1(T564): runs the random-input driver in Arabic with bidi reordering and the mirrored layout forced on; the nightly chaos workflow runs it as a second pass. -
Spawn-site guard (security):
tui/tests/spawn_sites.rsfails the build when a source file outside a documented allowlist can start a child process, so the minimal build’s “starts no other program” property cannot regress unnoticed. -
Right-to-left text order (T564): after each frame is drawn, stretches of Arabic (and other RTL) text are reordered into visual order per UAX #9, with numbers and Latin runs kept left-to-right and borders and column gaps held in place. New
bidisetting:auto(default; on for a right-to-left UI language),on,off(for terminals that reorder text themselves). Newmirror_layoutsetting (same values) swaps the docks and the editor’s scroll bar to the opposite sides, including dock-resize dragging, and mirrors the menu bar (first menu rightmost, dropdowns and submenus open leftwards, dock toggles at the left), and right-aligns the explorer, menu dropdown, messages and bottom-dock text (indentation grows from the right), swaps the status bar’s halves, right-aligns the tab strip and the dialogs (the Find box and Calculator move their click rectangles with the drawing). -
Large files ask, binary files open in the byte editor (T571): a file over
large_file_mb(default 50,0never asks) now asks “open it anyway?” instead of failing, up to a 1 GiB ceiling; a binary file asks to open in the byte editor, which saves the bytes straight back to the file (no lossy text round trip). The same FIFO, size and binary guard now covers Insert File, Revert, Compare with File,--diffand the TODO finder. -
A terminal pinentry no longer corrupts the screen on commit (T570): with
commit.gpgsign=trueand a curses/ttypinentry-program, Git → Commit and Amend show a translated hint instead of running a command that would draw over Vix. -
A gutter-diff benchmark (T574):
tui/benches/gutter_diff.rscovers unchanged, lightly edited and heavily rewritten buffers up to 40,000 lines, plus the line cap. -
Scroll bar markers (T578): the editor’s scroll bar track shows colored
┃marks where git changes, diagnostics and search matches are (diagnostics win a shared row, then git changes, then search), with the●thumb drawn on top. Turn them off withshow_scrollbar_markers = false. -
A chaos monkey for the real
App(T575):tui/examples/chaos_monkey.rsfeeds seeded random key, mouse, paste and resize streams into the app on aTestBackend, each iteration under a watchdog, and checks that the cursor and selections stay inside the text. A panic or hang prints the seed, the Vix frames and the last events, and--seed N --iterations 1replays it. It runs in a sandbox (emptyPATH, throwawayHOME), nightly via.github/workflows/chaos.yml, with a tiny smoke inscripts/check. -
theme = "auto"follows the terminal’s light/dark background (T579): at startup Vix asks the terminal for its background (OSC 11, 200 ms limit), thenCOLORFGBG, then assumes dark, and applies the newtheme_light/theme_darksetting (defaultslight/dark). Asked once per launch, and only whenthemeis"auto". -
The System/File/Text Information panels (Tools menu) are now localized (self-audit, T563): all three panel crates called
t!()zero times — every row label (Operating System,Total RAM,Characters,Size,Last modified, …) was a hardcoded English string regardless of the active locale. Newlocales/info.ymltranslates all 45 labels across all 15 locales. -
Three more small i18n gaps closed (self-audit, T566/T567/T568): the calendar panel’s month/year heading (
Tools → Calendar…) now translates the month name instead of always showing English (locales/calendar.yml); byte sizes (16.0 KiB) now use a,decimal separator for the locales that conventionally write it that way (de/es/fr/pl/pt/ru); and Find/Replace’s toggle hint (“Alt C case / Alt R regex”) is translated, matching the sibling DB-workbench hint next to it. -
DB workbench and AI-provider “remember this” credentials now persist on Windows too (found by a codebase self-audit, T548): the OS-keyring backend was already implemented for macOS/Linux, but the
keyringcrate’s Windows Credential Manager support was never turned on — a Windows user opting into “remember password”/a saved API key silently got prompted every time regardless. Fixed by enabling the feature; the same code path macOS already used handles Windows too. -
8 demo GIFs (improvement plan T406) under
docs/demos/, embedded (the overview tour) in the README’s## Demossection: an overview tour, the command palette, multi-cursor editing, git hunk staging, the DB workbench, Org-roam, the interactive table editor, and syntax highlighting — each a real recorded terminal session againsttui/examples/demo-workspace/. Regenerate withscripts/render-demos.sh(real VHS, needs a headless-capable browser) or the newscripts/render-demos-lite.sh(no browser at all — a real pty, a hand-written asciicast recorder, andaggfor the GIF encode; see its own header andtasks.md’s T406 entry for why it exists and what it found along the way). -
git.stage_hunk/git.unstage_hunk/org.link.follow/roam.backlinks/roam.graph/view.theme_editin the Command Palette (found while scripting the demo GIFs above, T406): all six had a menu item but no Command Palette entry and (all but the last) no keybinding in any keymap —org.link.followin particular carried only an Emacs-keymapC-c C-ochord, unreachable under every other keymap including the default.>Stage Hunk,>Follow Link, etc. now work. -
Multi-root LSP workspaces (improvement plan T123f):
initializenow sends every open workspace folder (workspaceFolders), not just onerootUri— a server sees the whole workspace, not only its first folder. Adding a folder to the workspace after startup now notifies any already-running server that asked to hear about it (workspace/didChangeWorkspaceFolders). Closes the last open item from the T123 LSP audit. Seecrates/vix-lsp/spec/index.md. -
Multiple LSP servers per file (improvement plan T123b): a file can now be handled by more than one configured server at once — e.g. a type-checker plus a separate linter both watching
.rs. Document sync and most per-document requests (hover, go to definition, references, completion, code actions, formatting, rename, and more) fan out to every matching server; diagnostics from different servers for the same file now coexist instead of one clobbering the other. A handful of requests that continue one specific server’s earlier response (completion-item resolve, executing a code action’s command, call-hierarchy) still target only the first matching server — a documented limitation, not a regression, when more than one server handles the same file and that specific feature is in use. Seecrates/vix-lsp/spec/index.md. -
LSP semantic tokens (improvement plan T123a): a server’s
textDocument/semanticTokens/fullresponse now feeds the syntax highlighting layer alongside (and on top of, where they overlap) Tree-sitter highlighting — including for grammars with no bundled Tree-sitter query at all, where semantic tokens are now the only source of highlighting. Mapped onto the 4 syntax color slots every theme already defines (comment/keyword/number/string); a token type with no mapping is silently skipped rather than shown unstyled or erroring. Requested once a server’sinitializeresponse advertisessemanticTokensProvider, and re-requested whenever the active buffer’s content changes. -
LSP pull diagnostics and
$/progress(improvement plan T123d): opening the Problems panel now also pulls a freshworkspace/diagnosticreport from every running server, so it reflects a server’s whole-project analysis instead of only files that happened to be opened; a server’s$/progressupdate (e.g. an initial index build) now shows as a status message instead of nothing. -
LSP server crash recovery (improvement plan T123c): a crashed language server for a file that was already open used to just go silently dead until you closed and reopened it. It now respawns automatically (up to 3 consecutive attempts since it last stayed up for 30 seconds — a real crash loop gets 3 tries, then a message instead of respawning forever) and replays
didOpenfor every file that was open on it, with each file’s current content. -
LSP
prepareRenameandrelatedInformation(improvement plan T123e): renaming now confirms with the server first — a position it says can’t be renamed shows a status message instead of opening a prompt that would only fail, and a server-supplied placeholder seeds the prompt when one is given (falls back to the previous word-under- cursor guess for servers with noprepareRenamesupport). A diagnostic’s secondary locations (relatedInformation, e.g. “previous definition here”) now show as their own navigable rows in the Problems panel, right after the diagnostic they belong to, instead of being silently dropped. -
Three new AI features (improvement plan T125), all explicit-invoke only: Edit Selection with Instruction… (AI menu) prompts for free-text and applies it to the selection, always as a reviewable diff regardless of
ai_diff_review; Generate Doc Comment (AI menu) writes a doc comment for the symbol under the cursor and inserts it just above; Generate Commit Message (Git panel,g) runs the staged diff through the AI and pre-fills the commit prompt with the reply — it only fills the message box, it never commits on its own. All work on either AI path (the CLI default or T124’s HTTP providers). -
Direct HTTP AI providers (improvement plan T124): a new
vix-ai-corecrate adds Anthropic, OpenAI-compatible, and Ollama clients as an opt-in alternative to the CLI shell-out every AI feature (the chat panel, the AI menu’s Summarize/Explain/Define/Annotate/Improve, and the DB workbench’s assistant) has always used — setai_providerto"anthropic"/"openai"/"ollama"(new settings, alongsideai_endpoint/ai_model/ai_api_key_command);"cli"(unchanged) stays the default, so nobody’s existing setup changes. The API key resolves through the same command-then-keyring waterfall the DB workbench already uses for database passwords. Seecrates/vix-ai-core/spec/index.md. -
TUI snapshot test harness (
tui/tests/snapshots.rs, improvement plan T004): boots the realAppagainst a ratatuiTestBackend, drives it with scripted key events, and compares the rendered frame to a golden text file withinsta::assert_snapshot!. New “Snapshot” test layer documented inspec/test/index.md(writing + reviewing snapshots) andagents/conventions.md. -
9 more TUI snapshot scenarios (improvement plan T005): welcome screen, an opened Rust file, File menu open, find bar with matches, the git changes panel, the table editor, the F1 keyboard-shortcut overlay, zen mode, and a non-default theme — 12 golden screens total.
-
Benchmark baselines (improvement plan T006): widened
tui/benches/to the plan’s spec’d scenarios — opening/highlighting a ~100 MB and ~5 MB file, a 10k-operation random insert/delete burst, and workspace search over a 10k-file tree — and published the numbers in a newdocs/performance/index.md. New[profile.bench]socargo benchno longer silently inherits the size-optimized, slow-to-link release profile. -
4 more fuzz targets (improvement plan T007):
query_replace(vix-find-panelsearch/replace),tabular_convert(the shared CSV/TSV/JSON core),structured_convert(JSON⇄YAML/TOML),macro_tokens(vix-macrostoken decoding) — 10 targets total. Each ran a full 10 minutes clean, up to 75M executions; no bugs found in Vix’s own code. -
CI binary-size tracking (improvement plan T008): GitHub gets a
binary-sizejob that measures the stripped release binary on every push, cachesmain’s size for comparison, and posts a sticky PR comment with the size and delta; GitLab logs the same measurement to the job output. -
AI_STATEMENT.md: how AI-authored work on this project is disclosed (commit trailers, session links), what bar it has to clear (the same spec-driven workflow and gate as anything else), and what an AI agent is — and isn’t — pre-authorized to do without asking first:cargo publish, and (added the same day) judging on its own that a specific release is ready to do that for — neither extends to cutting a version-tag release or creating a GitHub/GitLab/Codeberg Release. Linked fromREADME.md,AGENTS.md,docs/index.md, andspec/ci/index.md. -
Scripting design spec (improvement plan T101,
crates/vix-script/spec/index.md): Rhai as the engine, script discovery (~/.config/vix/scripts/*.rhaiand project.vix/scripts/), the API v1 surface (register command, bind key, buffer/selection get/set, prompt, message), error handling, and sandboxing. Design-only — thevix-scriptcrate itself is a documented no-op behind a new default-onscriptingfeature; the engine and host wiring land in T102+. -
Modal-editing design spec (improvement plan T111,
crates/vix-modal/spec/index.md): audits the current Vi/Spacemacsvim_normal_keybinding table (onlygg/dd/yycompose; no counts, registers, Visual mode, dot-repeat, or text objects) and designs the v1 replacement — aModeenum, pure motion functions,d/c/ycomposing with any motion/text object/Visual selection, counts, unnamed + named a–z registers, keystroke-replay dot-repeat, and delimiter-based text objects — with an explicit cut line (no ex commands, no macro-via-q, no Visual Block, no WORD motions). Design-only — thevix-modalcrate itself is a documented no-op, added as a plain workspace dependency; the mode engine, motions, operators, and text objects land in T112–T115. -
vix-scriptengine core (improvement plan T102): the Rhai engine wrapper,.rhaiscript discovery, and the full API v1 surface (register_command,bind_key, buffer/selection/cursor get/set,prompt,message/error) — implemented, unit-tested against a mock host, and host-agnostic (noApp, no terminal). Resource limits (10M operations, expression/statement depth 64, 1M-char strings, 100k-element arrays/maps) catch a runaway script deterministically. -
vix-scripthost wiring (improvement plan T103): scripts underSettings::scripts_dir()and<workspace root>/.vix/scripts/now load at startup and on a newscript.reloadaction; registered commands are namespacedscript:<script-stem>:<id>into the command palette (verbatim labels) and listed by a new Tools → Scripts → Run… chooser overlay (script.run); running one applies its effects to the active buffer through the sameset_content/paste_textpaths a real edit or paste uses (one undo step, blocked on a read-only buffer); a script’sprompt()opens a real single-line prompt and answering it re-invokes the handler;message/errorreach the message drawer, and a load or runtime error is reported there too, never a crash. -
Keybinding registry design spec (improvement plan T104,
crates/vix-keybindings/spec/index.md): T104 set out to wirevix- script’s already-recordedbind_keyrequests into “the existing keymap-model override layer” — an audit found no such layer exists, so this designs it instead: aBinding{key_token, action_id}schema shared by every built-in binding (across all 10 keymap ids) and every override (a new persistedkeybindings.toml, plus scripts), one newon_keychoke point, and conflict handling (two overrides on the same key are both rejected; an override shadowing a built-in is allowed but reported once). Design-only — thevix-keybindingscrate itself is a documented no-op; the registry and every keymap’s conversion land in T104a–T104j, one keymap per task. -
Keybinding registry: Emacs converted (improvement plan T104a):
emacs_keyand its five chord-continuation handlers now dispatch through the newvix-keybindingsregistry instead of hardcodedmatches and five ad hocEMACS_CTRL_*consts. Fixed a real, pre-existing bug found while converting: the oldEMACS_CTRL_Xconst (used only for the which-key popup and F1 help, never actual dispatch) had drifted from the realC-xchord handler — it named a"buffers"action that didn’t exist, and was missing bindings the real handler accepted. The Emacs keymap’s top-level Ctrl and Meta bindings now also appear in the F1 help overlay for the first time (previously only the chord tables did). Zero other intended behavior change. -
Keybinding registry: Vi and Spacemacs converted (improvement plan T104b):
vim_normal_key(shared by both keymaps) now dispatches throughvix-keybindingsinstead of its own hardcodedmatch; 6 newvim.*action ids (vim.insert/append/append_end/insert_line_start/open_below/open_above) give the Insert-mode- entry keys (i/a/A/I/o/O) real names. Spacemacs’s ownSPC-leader is converted too, via a newlookup_sequencequery for leader-style multi-character sequences (its matching algorithm — exact/ prefix/neither over whole typed sequences — doesn’t fit the chord-depth shape Emacs’sC-x/C-cfamilies used). Zero intended behavior change. -
Keybinding registry: VS Code converted (improvement plan T104c):
vscode_ctrl_keynow dispatches throughvix-keybindingstoo — one shared table for bothvscode-macosandvscode-windows. VS Code’s bindings also appear in the F1 help overlay for the first time (a newvscode_key_displayrenders stacked modifiers, e.g.Ctrl Shift P). Zero intended behavior change, including for the one real subtlety found converting it:Ctrl+Shift+<letter>is disambiguated from plainCtrl+<letter>via the Shift modifier bit (not letter case, since a terminal can report the former as a lowercase letter with the bit set) — a newvscode_ctrl_tokenencodes that explicitly rather than relying on the shared token encoder’s usual “Shift implicit in an uppercase char” assumption. -
Keybinding registry:
IntelliJconverted (improvement plan T104d):intellij_keynow dispatches throughvix-keybindingstoo — but, unlike VS Code,intellij-macosandintellij-windowsare two genuinely different tables (the “go to” family alone uses different keys per platform).IntelliJ’s bindings also appear in the F1 help overlay for the first time (the VS Code display helper is now shared, renamedmodifier_token_display). A real, pre-existing bug found and fixed along the way: an integration test used the wrong IntelliJ keymap ids and had silently been testing the Apple keymap’s fallback instead. Zero other intended behavior change — including a genuine quirk in the original dispatch preserved on purpose:Ctrl+Shift+N(macOS) andCtrl+Shift+G(Windows) were never actually distinct from their plain counterparts, and still aren’t. -
Keybinding registry: Eclipse converted (improvement plan T104e):
eclipse_keynow dispatches throughvix-keybindingstoo — one flat table, no schema change needed. Eclipse’s bindings also appear in the F1 help overlay for the first time (folded into the sharedmodifier_token_displaymatch arm). The one real subtlety: Eclipse’s original dispatch has a binding that isn’t aCtrlchord at all (Alt+/, word completion), examined only whenCtrlis not held — soCtrl+Alt+/falls through to plainCtrl+/’s action (toggle comment), preserved exactly rather than “fixed.” Zero intended behavior change. -
Keybinding registry: Sublime Text converted (improvement plan T104f):
sublime_keynow dispatches throughvix-keybindingstoo — one flat table, no schema change needed, and no new subtlety beyond the by-now-familiar Shift-modifier-bit token encoding VS Code/IntelliJ/Eclipse already needed. Sublime’s bindings also appear in the F1 help overlay for the first time. Zero intended behavior change. -
Keybinding registry: Apple converted, all 10 keymap ids now exhaustive (improvement plan T104g):
apple_ctrl_keynow dispatches throughvix-keybindingstoo, mixing Shift-guarded and Shift-agnostic letters in one table for the first time (the Shift-agnostic ones get an explicit duplicate row, same techniqueIntelliJ’s conversion used).global_shared_key— called identically by every keymap, not itself keyed on one — is now backed by a new keymap-agnosticSHAREDbinding list for its unconditional bindings (Ctrl+Space,Ctrl+Tab/BackTab,Alt+Left/Right/j, the F-keys); the menu-mnemonic lookup and 6 focus-gated bindings (extend/shrink selection, move/column-select lines, next/prev search selection) stay host-side, sinceApp::focusis runtime state a static table can’t express. The F1 help overlay now also shows Apple’s bindings and, for the first time, the shared bindings every keymap gets regardless of which one is active. Zero intended behavior change. -
Persisted key binding overrides: file format and round trip (improvement plan T104h): a new
Settings::keybindings_path()(<config dir>/keybindings.toml, mirroringmacros_path()) andvix-keybindings::user_bindings(UserBinding,load,upsert) — themacros.tomlpattern copied verbatim,upsertkeyed onkey_token. Not wired into anything yet — no dispatch, no conflict checking, noAppchanges at all — just the format and the round trip; that wiring is T104i/T104j. -
Key binding overrides now actually apply (improvement plan T104i):
keybindings.tomlentries are resolved against the active keymap’s built-ins and each other at startup (and via a new Tools → Reload Keybindings /keybindings.reloadaction), then take priority over every keymap’s own dispatch through a single newon_keychoke point. Two overrides claiming the same key are both rejected with an error message naming the token and every source; an override that also happens to claim a key a built-in binding already owns still wins, but is reported once so the built-in’s silence isn’t a surprise. Scriptbind_keyrequests don’t feed into this yet (T104j). -
Script key bindings now actually fire — the
vix-keybindingsepic is complete (improvement plan T104j): a loaded script’sbind_keyrequests are resolved into the very same choke pointkeybindings.tomloverrides use, so a script can genuinely rebind a key, and two overrides claiming the same key are rejected together regardless of whether they came from a script,keybindings.toml, or both.script.reloadnow also refreshes key overrides, alongside the existingkeybindings.reload. This is the scripting engine’s original “wire key bindings into the real keymap” promise fromvix-script’s own spec, finally kept. -
6 sample scripts + a scripting guide (improvement plan T105):
tui/examples/scripts/*.rhai— wrap-selection-in-markdown-link, insert-file-header, title-case-line, dedupe-selection, timestamp-signature, open-scratch-with-template — each verified against the realvix-scriptruntime, plusdocs/scripting/index.mddocumenting the full API. A newnow() -> Stringscript function (today’s date) — v1 had no clock at all, and the timestamp sample needed one.docs/keybindings/index.mdalso gained an “Overrides” section documentingkeybindings.toml, previously undocumented outside the specs. -
Keybinding editor (improvement plan T204): Vix → Keybindings… opens a searchable, sortable table of the active keymap’s effective bindings, tagged
[user]/[script: name]when overridden. Enter opens a prompt to type the replacement key as text and rebind; Delete resets a user override back to its default. Newvix-keybinding-editor-panelcrate;vix_keybindings::user_bindings::remove(the reset primitive, alongside the existingload/upsert). -
SECURITY.md(improvement plan T131): how to report a vulnerability privately, supported-version policy, and what’s deliberately out of scope (the HTTP client’s intentional no-SSRF-guard design, and a knownvix-dbstreaming-session edge case) — previously only in internal notes, now public. Linked fromREADME.md/index.mdandAGENTS.md. -
Script trust prompt (improvement plan T132): a workspace’s
.vix/scripts/scripts no longer run automatically the first time it’s opened — a one-time prompt asks to trust and run them, remembered per workspace. Global scripts (Settings::scripts_dir()) are unaffected. A declined workspace isn’t locked out:Tools → Scripts → Reloadalways re-asks. -
A real action catalog for F1 help and the palette (improvement plan T147): 157 action ids titled nowhere at all (no menu item, no
palette::COMMANDSentry — bare editor primitives likecursor_down, Org/roam/project/tools actions, …) previously showed their raw id in F1 help and were entirely unreachable from the command palette’s>Commands mode — now titled and searchable via a newvix-action-catalogcrate, translated into every core locale.vix-keyboard-shortcut-panel::ROWSshrank from 17 hand-curated rows (several of which could show the wrong binding — several keymaps don’t actually bindCtrl Pto the command palette, for instance) to 3 purely-informational rows nothing else can supply (F10/menu mnemonics,F1,Mouse); every real binding now comes from the menu,SHARED, or the active keymap’s own tables. -
Full i18n coverage for the 14 core locales (improvement plan T148): Spanish, French, German, Welsh, Irish, Scottish Gaelic, Polish, Portuguese, Russian, Arabic, Hindi, Bengali, Chinese, and Japanese now translate every one of the 2,418 entries in
locales/(100%, up from ~70%) — 711 previouslyen-only menu items, status messages, prompts, and help text backfilled, plus two longstanding entries (msg.workspace_unsafe_root,ui.db_field_sslmode) that had been showing the wrong message’s translations under their key, now showing their own.tui/tests/i18n_keys.rsgained a per-locale coverage report and a regression-proof floor for all 14.locales/app.ymlalso split into one file per key namespace (menu.yml,status.yml,ui.yml,action.yml,cmd.yml,msg.yml,prompt.yml,help.yml,misc.yml) so a translation change is a small, readable diff instead of a multi-thousand-line one. -
2 new bundled themes (improvement plan T203): Catppuccin Mocha, and High Contrast — a WCAG AA theme (every text color at least 11:1 against its pure-black background, well past the 4.5:1 minimum). Solarized Dark, Solarized Light, and Tokyo Night were already bundled; all five now have regression tests pinning their color values.
-
Trash on delete (improvement plan T209): the file explorer’s
Deletenow moves the selection to the OS trash / Recycle Bin by default, undoable from there, instead of removing it outright. Newexplorer_deletesetting ("trash", the default, or"hard"for the previous no-undo behavior; an unrecognized value falls back to"trash"). The confirmation prompt’s wording says which will happen. -
CLI surface (improvement plan T208):
vix --diff OLD NEWopens a read-only diff of two files directly — the shape agit difftooldriver invokes with (docs/cli/index.mdhas the config snippet);vix -reads standard input into an unsaved scratch buffer;vix --version --jsonprints{"name","version"}for tooling.git mergetoolneeds no new flag — Vix’s existing conflict tool already resolves conflict markers in a normally-opened file. -
Theme editor (improvement plan T202): View → Edit Theme… lists a theme’s 15 color slots, reuses the existing X11 color picker to choose each one’s new color, applies every change live, and Save As (
Ctrl+S) writes the result to~/.config/vix/themes/<name>.jsonand makes it the active theme.Escwithout saving reverts to the theme that was active before you opened the editor. -
New Snippet from Selection (improvement plan T205): Tools → New Snippet from Selection… captures the active selection and prompts for a prefix, saved to
~/.config/vix/global/snippets/snippets.jsonas a snippet with that prefix as both its name and its expansion prefix (an existing prefix is overwritten). No-op with a status message when there’s no selection. Snippet tabstops ($1/${2:placeholder}) were already fully implemented; T205’s scope narrowed to this one create-from-selection flow rather than a full editor for existing snippets, whose fields still take a JSON-file edit. -
Coverage gutter (improvement plan T210): Tools → Load Coverage File… parses an LCOV or Cobertura XML report (new
vix-coveragecrate) and colors the gutter green/red/yellow for covered/uncovered/ partially-covered lines, reusing the git diff gutter’s mark mechanism — the two share that one gutter column, so only one shows per buffer at a time. Tools → Toggle Coverage Gutter shows/hides the loaded report without re-parsing. Newcoverage_pathsetting pre-fills the Load Coverage File… prompt. Vix visualizes an existing report; it doesn’t generate one. -
Markdown preview scroll-sync + table of contents (improvement plan T206): Tools → Markdown Preview now opens scrolled to wherever the cursor was in the source buffer instead of always at the top; pressing
tinside the preview opens a table of contents of the document’s headings (Enterjumps the preview there,Esccloses just the TOC). -
Editable workspace search results (“wgrep”-style) (improvement plan T211): Alt+E in workspace search turns the hit list into a real, editable buffer (one line per hit,
path:line: text) instead of a read-only list. Editing a line and saving (Ctrl+S) writes that edit back to its source file at the recorded position; deleting a line skips that hit. Saving previews a summary (“N edits in M files”) before writing — the same confirm step search-and-replace already uses. Not available for a static results list (go-to-definition, diagnostics, …). -
Git history browsing (improvement plan T207): Git → Log gains three interactive views alongside the existing streamed-to-the-dock ones — Browse Log… (a commit list,
Enteropens the highlighted commit’s diff in a read-only tab), File History (the same list scoped to the active file viagit log --follow), and Open File at Revision… (prompts for a branch/tag/commit and opens the active file’s content there, read-only, titledfile @ abbrev). All three are read-only — none of them write anything. -
Structural search & replace (improvement plan T201): Edit → Structural Replace… matches by structure instead of regex — a pattern like
if $COND { $$BODY }matches anyifstatement regardless of formatting, with$Xcapturing one token (or a whole bracketed group) and$$Xcapturing a run of tokens (a whole argument list, a whole block’s body). Step through matches exactly like interactive query-replace (y/n/!/q), scoped to the active selection when one exists. Edit → Structural Replace in Workspace… does the same search across every file and previews a summary before writing, reusing the same confirm step workspace search-and-replace already uses. Newvix-structural-replacecrate: a token/bracket-based matcher, not tree-sitter (see its spec for why). -
Docs coverage audit (improvement plan T302):
scripts/docs-coveragelists crates with no detecteddocs/coverage intodocs/coverage.md(currently 38), for the next docs passes (T303/T304) to work through. Dev tooling only — no user-facing change. -
mdBook documentation site (improvement plan T301):
book.toml+docs/SUMMARY.mdorganize the existingdocs/pages (no files moved) into Getting Started / Guides / Features / Reference / Contributing. New GitHub CI jobs build the book on every push and deploy it to GitHub Pages frommain(enabling Pages itself is a one-time repo setting, done separately from this change). -
Generated reference docs (improvement plan T305):
cargo run --example list_commands -- --write(re)generatesdocs/reference/actions.md(every dispatchable action id, resolved title, and source),docs/reference/settings.md(everySettingsfield: key, type, default, description), and onedocs/reference/keybindings-<keymap>.mdper keymap plus a shared- bindings page — all read straight from the real menu/palette/catalog/ settings/keybindings data, so they can’t drift. All three forges (andscripts/check) now regenerate andgit diff --exit-codethese pages as part of the gate. -
Migration guides and comparison matrix (improvement plan T308): new
docs/for-helix-users/index.md, honest about what genuinely differs (Vix has no Helix-style selection-first modal). Corrected two real inaccuracies in the existingdocs/for-visual-studio-code-users/index.md(a claimedAlt+Up/Alt+Downmove-line binding that doesn’t exist;Ctrl+Shift+Kcuts a line rather than deleting it) and added the honest gaps it was missing (noCtrl+Dincremental multi-select, noF5one-key debug start).docs/compare/index.mdrewritten into a 13-row feature-parity matrix against Vim, Helix, Micro, and Zed. -
Man page (improvement plan T307):
man vixworks wherever Vix was installed via a package manager. Generated from the real CLI flag definitions (cargo run --example generate_man,clap_mangen), so it can’t drift from--help; bundled into every release archive and installer. -
Getting-started guide (improvement plan T306): new
docs/getting-started/index.md— every real install path (Homebrew, the shell/PowerShell installer scripts, npm, direct GitHub Release downloads, and building from source; none of the first four had any end-user-facing documentation before this), first launch, and “the 10 things to learn first.” Linked fromindex.md’s top. -
Docs coverage filled (improvement plan T303/T304): all 38 crates
docs-coverage(T302) found lacking a docs page now have one —scripts/docs-coveragereports zero gaps. New pages: Surround (docs/affix), Align, Clipboard, Clock, Convert (the whole Tools → Convert family), Emmet, HTML Character Picker, HTTP Client, Matching Tag (docs/tags), Persistent Undo (docs/undo-store), Roam, Tools (the small single-purpose Tools-menu utilities), Welcome Panel, and X11 Color Picker.docs/calendar-panel/index.mdwas also corrected — it had gone stale describing date/time strings that moved to the new Clock box. -
Demo workspace (improvement plan T501):
tui/examples/demo-workspace/, a small realistic project (Rust + Python + Markdown sources with real TODO/FIXME bugs,tasks.toml, an.httpfile against httpbin.org, three linked Org-roam notes plus a dailies entry,data/*.csv|tsv, and a seededdemo.sqlitewith its seed SQL and a regenerate script) for the written tutorials and VHS demo tapes (T404–T406) to open and run against. Excluded from the workspace build via a rootCargo.tomlentry; ~76 KB total. -
vix-tutorspec (improvement plan T401): the design for an interactive, in-editor tutorial —vimtutor-style, but each chapter’s lesson is a real, freely-editable Vix buffer, with cheap textual progress checks against what the learner typed rather than a scripted walkthrough. Launches viavix --tutoror Help → Tutorial (both land in T402). Design-only for now, matchingvix-modal’s T111 precedent: an empty crate plus this spec, no functional code yet. -
vix-tutorengine + chapter 1 (improvement plan T402):vix --tutorand Help → Tutorial now really work. Every chapter’s starter text is copied into a freshvix-tutor-<pid>working directory and opened as an ordinary, freely-editable tab; Tutorial: Next/Previous/Restart Chapter navigate and reset it. Chapter 1, “Moving Around,” has three text-only progress checks (deliberately not cursor-position checks — see the spec for why) that re-run after every keystroke and show live asN/3in the status bar. Chapters 2–6 are T403. -
vix-tutorchapters 2–6 (improvement plan T403): Editing Basics, Find & Replace, Multi-Cursor & Selection, Files/Tabs/Palette, and Git Basics — all six chapters intasks.md’s T402/T403 list are real now. Found and fixed a real class of bug along the way: a check written as a bare!text.contains("word")can never pass when that chapter’s own instructions use the same word (they usually do, describing the task) — every check now matches an exact original line/block, or checks a specific line’s start/end, instead (see the spec’s new note on this). -
Written tutorials, all ten (improvement plan T404/T405): new
docs/tutorials/01–10, a full guided series — Your First Session, Editing Power Techniques, Find & Replace and Multi-Cursor, The Git Workflow, Setting Up LSP, Org Mode & Roam, The DB Workbench, HTTP Client & Tools Suite, Make Vix Yours, and Debugging with DAP — each grounded in the real crate specs/menu source and worked against the new demo workspace’s real files (T501). Written independently by ten parallel passes, each required to verify every command/menu path/keybinding against the real repo rather than assume; between them they found and fixed nine small pre-existing doc/spec drifts along the way (stale menu paths indocs/menus/index.md,docs/git-panel/index.md,crates/vix-case/spec/index.md,crates/vix-theme-editor-panel/spec/ index.md, and this repo’s own newtui/examples/demo-workspace/README.md; a wrong default indocs/language-server-protocol/index.md; a self-contradicting “not yet ported” paragraph incrates/vix-db/spec/ index.md; a stale single-prompt description of Org Capture indocs/org/index.md; and a stale “Base16…” submenu claim indocs/themes/index.md). New# Tutorialssection indocs/SUMMARY.md. Also fixes a real, reproducible test flake found in the process: everyvix --tutorsession shared onevix-tutor-<pid>temp directory, sincecargo testruns every test as a thread within one process (identicalstd::process::id()across all of them) — now disambiguated with a per-session counter,vix-tutor-<pid>-<n>. -
VHS demo tapes, partial (improvement plan T406): new
docs/demos/*.tape— 8 VHS scripts (overview tour, command palette, multi-cursor, git hunk staging, the DB workbench, Org-roam, the table editor, themes), every command/menu path grounded against the real repo and confirmed withvhs validate, plusscripts/render-demos.shto regenerate the GIFs and a new README## Demossection. The GIFs themselves are not rendered/committed yet — VHS’s screenshot-based capture needs a working headless Chrome/Chromium, which is not available in every environment; see the tape files andscripts/render-demos.shfor what’s needed to finish this once run somewhere that has one. -
4 library examples, Cargo examples batch 1 (improvement plan T502):
render_frame(a real frame rendered to a ratatuiTestBackend, printed as plain text — the same techniquetui/tests/snapshots.rsuses),theme_roundtrip(load a bundled theme, tweak a color, save, reload, and confirm the tweak survived),textops_pipeline(sort, dedupe, and uppercase a real file’s lines from the CLI, chaining a realEditormethod pipeline into a purevix_casefunction), andmacro_replay(parse amacros.toml, decode its tokens, and replay them through a realApp::on_key— the exact path the real macro player uses, not a separate one). Each ≤ 60 lines; listed in the README## Examplessection. -
6 more library examples, Cargo examples batch 2 (improvement plan T503):
query_search(searches a directory of files for a pattern viaApp::search_workspace_to_dock, the same engine the real UI uses),org_export(Org → Markdown/HTML viavix_org::to_markdown/to_html),vcard_parse(parses Org-contacts, exports to vCard 3.0),lsp_headless(spawns a language server — a tiny mock, reusingtui/tests/lsp_smoke.rs’s technique — opens a document, prints its diagnostics),i18n_lookup(one translation key resolved against all 15 locales viat!(key, locale = ...)), andcalculator_eval(evaluates expressions with the same engine Tools → Calculator uses). Found and corrected two real drifts from this task’s own description intasks.md:vix-query(folded intotui/src/app.rsby T151) was never a directory-search tool — it’s the query-replace confirm-choice enum — soquery_searchtargets the real search engine instead; andvix-org-contactsparses Org contacts and exports to vCard, with no reverse direction, sovcard_parsedemonstrates that real direction rather than a “vCard parser” that doesn’t exist. Listed in the README## Examplessection alongside T502’s four. -
Config examples (improvement plan T504): new
tui/examples/config/— a fully-annotatedconfig.tomlcovering all 63 settings (each with its real default value and its own doc comment, cross-checked againstdocs/reference/settings.md), a customtheme.json, asnippets.json, and amacros.toml. Every file is verified by actually round-tripping it through the real loader (Settings::load_from,CustomThemeviaserde_json,snippets::parse_json,vix_macros::load/decode), not just hand-typed. Caught a real TOML gotcha while verifyingconfig.toml: a[[array-of-tables]]section silently reparents any scalarkey = valueline that follows it into the array item instead of the root document, so all threeVec<Struct>settings (lsp_servers,debug_adapters,org_capture_templates) have to come after every plain key, not interleaved indocs/reference/settings.md’s own field order. -
Examples run in CI (improvement plan T505, closes Run F): all three forges (
.github/workflows/ci.yml,.gitlab-ci.yml,.forgejo/workflows/ci.yml) andscripts/checknow actually run five headless examples (list_commands,headless_edit,render_frame,textops_pipeline,query_search) aftercargo test, not just compile them (cargo build --workspace --all-targetsalready did that). Found and fixed a real pre-existing drift while touching it:spec/ci/index.md’s gate list said “seven” steps butscripts/checkalready ran eight — T307’s man-page-current? check had never been added to the spec. Now nine, with this task’s own addition. -
Modal-editing engine, first slice (improvement plan T112): new
vix_modal::Mode(Normal/Insert/Visual/Visual Line) and a newSettings::modal_engineflag (default off). With the flag on, the Vi and Spacemacs keymaps gain realv/VVisual/Visual Line entry,h j k l/ arrow-key selection extending, andEscto return to Normal, shown live in the status bar — reusing the editor’s existing native shift-selection mechanism rather than hand-tracking an anchor. Everything else keeps running through the existingvim_normal_keytable unchanged; T113–T115 progressively move more of it onto the new engine. Seecrates/vix-modal/spec/index.mdfor the full v1 design. -
Modal-editing engine, motions + counts (improvement plan T113): with
Settings::modal_engineon, Normal mode in the Vi/Spacemacs keymaps now has realh j k l w b e 0 ^ $ gg G { } ( ) f t F Tmotions and a numeric count prefix (3w,5j,2gg, …) — the old table had neither (no counts at all,0/^conflated into one toggle,h/lcrossing line boundaries).d/c/y/x/pare unaffected, still the old table’s (T114’s job). -
Modal-editing engine, operators + registers (improvement plan T114): with
Settings::modal_engineon,d/c/ynow compose with any T113 motion (dw,de,d},dgg,df., …),xis real sugar ford+ one right motion,dd/cc/yyact on the whole current line, andp/Ppaste a register — inline or as a whole line depending on how it was written."{a-z}selects a named register for the next operator or paste; otherwise it’s the unnamed register, still the samevix_clipboardevery other keymap’s Cut/Copy/Paste already uses.2d3wdeletes 6 words — a count before the operator and before the motion multiply. -
Modal-editing engine, text objects + dot-repeat, on by default (improvement plan T115, closing the T112–T115 arc):
i/a+w, a bracket pair ((/)/b,{/}/B,[/],</>), or a quote ("/'/`) now compose withd/c/y(diw,daw,di(,da", …)..repeats the last real change —d{motion}, a text object, orp/P— with{count}.overriding its recorded count.Settings::modal_engineis now on by default for the Vi and Spacemacs keymaps (previously opt-in while the engine was still landing in slices); turn it off in Settings to fall back to the original binding table. Seedocs/for-vim-users/index.md’s updated “Where Vim still wins” for exactly what’s still not implemented (Visual Block, WORD motions,cw’s “acts likece” quirk, and a few others).
Changed
-
Minimal release workflow can be run by hand (
workflow_dispatch) as a dry run: it builds and packages the archives but attaches nothing unless run for a tag. -
YAML library (security): the deprecated
serde_yaml(and its unmaintainedunsafe-libyaml) is replaced by the maintained drop-inserde_norway, so theRUSTSEC-2024-0449ignore indeny.tomlis gone. -
Bool fields on
SettingsandAppare grouped internally (improvement plan T149, now fully done — 7/7 structs): the 32 on/off preferences on thevix-settingsSettingsstruct now live in 11 small per-topic sub-structs (settings.gutter.line_numbers,settings.save.format_on_save, …) instead of directly onSettings. Yourconfig.tomlis unaffected — every setting is still the same flat top-level key with the same name and default, and a config written by any earlier version loads identically (now covered by tests). Separately, all ofApp’s own bools are now typed: 15 UI-surface-visibility bools (show_explorer,show_bottom_dock,pomodoro_open, …) are oneApp::visible: Visiblebitset; 6 mutually-exclusive Emacs-keymap chord-prefix bools are oneApp::emacs_chord: EmacsChordenum; recording/replaying a keyboard macro is oneApp::macro_state: MacroStateenum; a pendinggg/register-select in the modal engine is oneApp::modal_pending: ModalPendingenum; and the last 14 single-purpose, mutually-independent toggles (clip_cut,overwrite,suspend_requested,git_repo,spellcheck,calendar_dailies,should_quit, …) are oneApp::flags: AppFlagsbitset. Only Rust code that reads these fields directly (embedders, scripts built against the crate) sees the new shapes (settings.<group>.<field>,app.visible.contains(Visible::…),app.emacs_chord == EmacsChord::…,app.macro_state == MacroState::…,app.modal_pending == ModalPending::…,app.flags.contains(AppFlags::…)). Seecrates/vix-settings/spec/index.md. -
Opening a large file no longer blocks on a synchronous parse (improvement plan T121): buffers at or above the existing 50 KB async-reparse threshold now route their initial Tree-sitter parse through the same background worker a post-edit reparse already used, instead of parsing synchronously inside
Editor::new/Code::new. Opening a 100 MB file dropped from 5.05 s to 14.1 ms (docs/performance/index.md) — the file is simply plain, unhighlighted text for the one or two frames until the background parse lands, exactly like the brief window during a large-file edit already worked. Two real, previously-latent bugs an edit made during that window would have hit are fixed as part of this: the pending-parse flag couldn’t distinguish “generation 0 requested” from “nothing requested yet”, andinsert/removewould have silently dropped such an edit from the tree machinery entirely (seecrates/vix-editor-core/spec/syntax-highlighting/ index.mdfor the detail). -
Startup no longer waits on
gitbefore showing the editor (improvement plan T122): measuring cold start (opening this repository itself) foundrefresh_git— threegitsubprocesses (repo?/branch/ status) — was 75–82 ms of it, all spent before the terminal even took over the screen; every other startup step was already sub-millisecond.mainnow draws the first frame before callingrefresh_gitrather than after, so the editor appears immediately and the branch/status indicator fills in one frame later instead of blocking everything else. Also fixed in passing:App::newscanned the custom-themes directory twice; now once. -
LSP depth audit against LSP 3.17 (improvement plan T123): a full method-by-method diff found
vix-lsp/vix-lsp-corealready implement ~28 request/notification methods end-to-end (the spec’s own Features table had gone stale and listed only 4); document/range formatting, one of the task’s own suspected gaps, turned out to already be fully wired.crates/vix-lsp/spec/index.mdrewritten and fact-checked against real action-id strings, with a new “Known gaps against LSP 3.17” section covering eight real, larger gaps filed as follow-up tasks (T123a–T123f) rather than implemented now: semantic tokens, one server perlanguage_idinstead of per-buffer, no crash recovery for an already-open buffer, pull-basedworkspace/diagnostic,$/progress,prepareRename,relatedInformationparsing, and multi-root workspace propagation. -
vix-scriptis now a plain, non-optional dependency of the rootvixpackage — T101’sscriptingCargo feature (dep:vix-script, default-on) is removed now that T103 has wired it into the App shell’s core (struct fields, startup, palette, menu, prompt system), the same call T111 made forvix-modal. -
deny.toml: added a dated advisory ignore for RUSTSEC-2026-0249 (smartstring, an unmaintained but mandatory transitive dependency of the newrhaidependency), matching the existingpaste/ RUSTSEC-2024-0436 precedent.
Fixed
-
Crash on a one-row terminal (chaos monkey, seed 777215): the editor widget painted into a rect that overhung the screen buffer and indexed outside it. It now clips its area to the buffer first.
-
Counted messages are grammatical in Arabic, Russian and Polish (T565): 76 strings that put a number before a noun (
%{n} wierszy,%{n} عنصر), correct for only some counts, now readLabel: Nin those three locales (Rows: 3). A new test keeps every counted key that way. Welsh, Irish and Scottish Gaelic still use the single form. -
Crashes the chaos monkey found (T575): the AI, diff, replace-confirm and chooser popups panicked in a terminal narrower than 30 columns or shorter than 8 rows (
clampwithmin > max), as did LSP popups, the About/confirm dialog, a drag in a view narrower than its line-number gutter, and the editor’s scroll step in a very small view. Replace All (and any whole-buffer replacement) to a shorter text left the selection and extra carets pointing past the end, which crashed the status bar or the next keystroke; multi-cursor typing with a caret inside another caret’s selection applied an edit at a removed offset. -
Stage/unstage failures in the Git panel showed a generic “Git command failed” with no reason (found by a codebase self-audit, T540): now shows git’s own message, matching how a stash/amend failure was already reported.
-
A genuine settings-file syntax error (not a missing file — that’s fine) used to silently reset everything to defaults, with zero notification (found by a codebase self-audit, T537): a real parse failure in an existing
config.tomlis now reported once the editor starts, instead of quietly losing the theme, keybindings, and every other setting. -
A rejected debugger request (an invalid breakpoint, a step that isn’t valid in the current state, …) used to just silently do nothing (found by a codebase self-audit, T536): the status line now reports the adapter’s own reason, mirroring how a failed language server request is already reported.
-
The JSON/YAML editor’s “not valid JSON or YAML” message now says what’s actually wrong and where (found by a codebase self-audit, T543): it used to be one static message regardless of the real parse failure; now it includes the parser’s own line/column detail.
-
Several settings/state saves that happen automatically after an action — adding/removing an agenda file, saving a theme selection, the command-palette recent-commands list, DB connection/query-history persistence, opening the settings file for editing — silently discarded a write failure, unconditionally showing success (found by a codebase self-audit, T545): the in-memory change still takes effect (nothing is lost this session), but a failure to persist it is now reported instead of hidden.
-
Error messages for save/open/revert/rename/delete now name the specific file (found by a codebase self-audit, T539): all five used to show only the raw underlying error, e.g. “Save failed: Permission denied” with no indication of which file — now “Save failed for ~/notes.md: Permission denied.” Reverting a file also used to show “Open failed,” the wrong verb for what actually happened.
-
Following a web/mail link from Org, or copying a table column’s sum (
C-c +), could claim “Copied to the clipboard” even when nothing was actually copied (found by a codebase self-audit, T542): both now route through the same clipboard path (real clipboard, falling back to an in-memory one) the rest of the app already uses, so the claim is genuinely true. -
Spell-check silently doing nothing gave no indication why (found by a codebase self-audit, T541): a missing/corrupt dictionary, or a permissions problem reading one, all looked identical to the user — zero feedback. Pressing Ctrl+; (spell-suggest) now reports the specific reason.
-
A session-save failure on exit (or when switching workspaces) was silently discarded, unlike the adjacent settings-save failure, which was already reported (found by a codebase self-audit, T544) — both are now reported, and (since exit-time messages can no longer render in the already-closed TUI) also printed to stderr so they survive in the terminal’s scrollback.
-
Org-node: inserting a
#+transclude:directive for a new node could silently fail to create the node’s file (found by a codebase self-audit, T518):node_insert_transclusionwas missing thecreate_dir_allcall its siblingroam_insert_linkhas, a copy-paste drift — it now creates the node’s directory first, exactly like every other way of creating an Org-roam node. -
A save that failed both its atomic write and its in-place fallback could report the wrong, stale error (found by a codebase self-audit, T535): the reported error always named the first (atomic) attempt’s failure even when the second (fallback) attempt failed for an unrelated reason — e.g. showing “permission denied creating temp file” when the real, final problem was “disk full.” The fallback’s own error is now what’s reported (with the atomic one kept alongside, not lost).
-
Editing a git-tracked file, or scrolling with sticky-scroll/breadcrumbs/ the minimap on, recomputed real work every single frame instead of only when the buffer actually changed (found by a codebase self-audit, T510–T512): the diff gutter re-ran a full Myers diff against HEAD on every redraw, the sticky-scroll header and breadcrumb bar re-scanned the whole buffer for declarations (and recompiled the same fixed regex to do it) on every frame the file was scrolled, and the minimap cloned every line of the buffer into a fresh
Stringon every frame it was visible. All three are now cached and skip the recompute when nothing relevant changed since the last frame. Most noticeable on a large file. -
A handful of UI labels (the Theme Editor’s title and all 15 color-slot names, Structural Replace’s two menu entries) could render as their raw internal i18n key instead of translated text (found scripting the T406 demo GIFs): a real LLVM fat-LTO codegen bug in
vix-i18n’s translation-table initializer (one function doing ~2500 sequentialHashMapinserts per locale — exactly the shape most likely to trip it), triggered only by[profile.release]’slto = true, never bycargo testor a debug build. Switched tolto = "thin"(a lighter LTO mode, and what[profile.dist]— the profile actual releases build with — already used, so shipped releases were very likely never affected). SeeCargo.toml’s own comment on[profile.release]andtasks.md’s T406 entry for the full investigation. -
Switching keymaps (Vix → View → Keymap) could leave a pending Emacs chord armed (found during improvement plan T149’s
Appbool-to-enum pass): resetting per-keymap state on a keymap switch only ever cleared a pendingCtrl+Xprefix, so a pendingC-c …orC-c p …chord survived the switch and could fire unexpectedly on the very next key in the new keymap. Consolidating the six separate chord-prefix flags into oneEmacsChordenum made the reset a single, unconditional assignment, closing the gap as a direct consequence. -
Three real LSP bugs found by the T123 audit (above): the
initializerequest’s advertisedcapabilitiesdidn’t match reality — it claimed"didSave": falsewhiletextDocument/didSaveis actually sent, and declared no support for most already-implemented features (rename, code actions, document/workspace symbols, signature help, references, code lens, inlay hints, folding/selection ranges, document highlight, linked editing, call hierarchy,workspace/applyEdit,workspace/executeCommand) — a spec-correct server could reasonably withhold behavior for capabilities a client never declared. A JSON-RPCerrorresponse was silently dropped instead of being surfaced — a failed rename/code-action/format/… just appeared to do nothing, with no feedback; now shown on the status line asLspEvent::RequestFailed(status.lsp_request_failed). Signature help was manual-invoke-only; it now also auto-triggers right after typing(/,inside a call, matching every other editor’s convention. -
docs/dictionaries/andcrates/vix-spellcheck/spec/dictionaries/were silently uncommitted..gitignore’sdictionaries/pattern (meant only for the ~287 MB Hunspell cache fetched separately at the repo root) was unanchored, so it also matched these two real, small documentation directories and kept them out of every commit — invisible locally (the untracked files still sat on disk) but breakingscripts/check-docsand CI’slycheelink check in a fresh clone (docs/SUMMARY.md’s link todictionaries/index.mdhad nothing to resolve to). Root-anchored to/dictionaries/; both directories are now tracked. Also fixes a bad relative link in the newtui/examples/demo-workspace/notes.md(T501, above) caught by the samelycheerun. -
Two bundled themes shared one name.
tui/themes/safelight-red.jsondeclared"name": "Phosphor Amber"— the same name as the realphosphor-amber.json— so View → Theme… only ever offered one of the two (a red-on-black theme, unreachable under its own name). Found while adding regression tests for T203; renamed toSafelight Red. -
cargo build/cargo teststack overflow onApp::new(). The fullerlocales/catalog above (T148) pushedrust_i18n’s generated translation-table initializer — one very large function, unoptimized in a debug build — past the default 8 MiB thread stack. A targeted[profile.dev.package.vix-i18n] opt-level = 2in the rootCargo.tomlfixes it (a release build was never affected). -
Flaky
sqlite_connect_browse_query_and_filter(improvement plan T009): the recurringubuntu-latest-only CI flake was the test harness’s own wait for an async query, bounded by a fixed spin-count budget with no relationship to actual wall-clock time, not a race invix-dbitself. Replaced with a 30-second wall-clock deadline (tui/tests/db_smoke.rs’sdrain_query). -
Command palette’s Files mode is now ranked (improvement plan T153): results are scored with the same fuzzy ranking Commands mode uses and sorted accordingly, instead of showing raw filesystem-walk order (not portable across filesystems, and not relevance-ranked).
-
An unrecognized persisted keymap id no longer fails silently (improvement plan T146): a corrupted
settings.tomlnaming an unknown keymap is now reported in the messages panel at startup and falls back to Apple, instead of silently mapping to Apple with no indication anything was wrong. -
File Explorer and the DB workbench’s SQL statement editor could scroll past the end of their own list (improvement plan T144): the new shared
vix-list-statecrate’sensure_visibleclamps scroll against the list length for every migrated panel, and these two were the only ones (of 17) that had never done so — found while unifying 17 panels’ near-identical scroll-cursor logic into one crate, not chased for its own sake.
Security
- A trusted project script could silently import and run a second,
unreviewed script (improvement plan T134, a post-scripting/AI
re-audit):
Engine::new()’s default Rhai module resolver madeimport "some_file";actually load and execute a real.rhaifile resolved against the process’s current working directory — undermining the T132 workspace-trust prompt, which shows the user one script file and asks them to trust it. Verified empirically (a throwaway script really did load and print a value from an unrelated temp file) before fixing it withengine.set_module_resolver(DummyModuleResolver::new());importnow fails unconditionally (crates/vix-script/tests/sandbox.rs). The rest of the audit (AI provider keys go through the keyring, never a plaintext config value; every T125 feature is genuinely explicit-invoke only) found nothing else to fix. rustlsupdated 0.23.43 → 0.23.45, fixing RUSTSEC-2026-0285 (a TLS 1.3 handshake message could be accepted across an encryption-level boundary it shouldn’t cross; the handshake transcript stays authenticated either way, so this couldn’t be used to alter or complete a handshake — see the advisory for the full detail). Pulled in transitively viasqlx/ureq;cargo update -p rustls, no code changes needed.- Persisted files that can carry sensitive content are now owner-only
(improvement plan T133): undo history, recorded macros,
config.toml,session.toml, and the DB workbench’s query history/saved queries are narrowed to 0600 on Unix. Previously these were left at the process’s default (umask) mode, same as any other new file.
[1.6.0] - 2026-08-29
Added
-
A Project menu (
vix-tasks): six lifecycle command slots — Configure, Compile, Test, Install, Package, Run (C-c p c o/c/t/i/p/r) — resolved from the detected project type (Cargo, npm/yarn/pnpm/bun, Make, just, Python/Poetry, Go, Deno), a shareable.vix/project.tomloverride, and a per-user resolved-command cache, in that order. Also: Run Task… (the mergedtasks.toml+ project-type + discovered task list — discovery covers npm/yarn/pnpm/bun scripts, Deno tasks, Composer scripts, justfile recipes, go-task Taskfiles, Rake tasks, and Make targets), Test at Point (C-c p c ., Rust/Python/Go/JS/TS/Ruby/Elixir), Repeat Last Task, and a Subproject ▸ family (C-c p c m …) that repeats the six lifecycle commands plus Find File, scoped to the nearest enclosing subproject of a monorepo. Seecrates/vix-tasks/spec/index.md. -
Org table editor + Column View. A structural Org table editor (
vix-org-table: cell/row/column edits that keep the table aligned, plus pragmaticTBLFMformula evaluation) and an interactive, write-through Column View overlay (OrgC-c C-x C-c) on the outline at the cursor — edit a headline’s properties as a table, with dynamic-block (columnview) capture and update. Seecrates/vix-org/spec/index.mdandcrates/vix-org-table/spec/index.md. -
macOS: the
Commandkey now drives Vix’sControlbindings.Cmd+Ssaves,Cmd+Ffinds,Cmd+Shift+Zredoes — the modifier is folded intoControlbefore dispatch, so it works in every keymap with no second binding table. Vix asks the terminal for the kitty keyboard protocol on startup, since that is the only wayCommandcan be reported at all; terminals without it (Terminal.app) are unaffected, and terminals that keep aCmdshortcut for their own menus still never forward it. -
Edit → Delete ▸: delete the text unit at the cursor — Character (Emacs
C-d), Word, Sentence, Paragraph (blank-line delimited), or Section (two or more blank lines delimit). Each takes the separator after the unit with it — or the one before it for the last unit — so the text closes up; Character, Word, and Sentence stay inside the line, while Paragraph and Section swallow the blank lines between blocks. -
Edit → Transpose ▸ groups the transpose commands and extends them past characters and words: Lines (swap the cursor’s line with the one above, Emacs
C-x C-t), Sentences, Paragraphs (blank-line delimited), and Sections (two or more blank lines delimit). Each swaps the unit before the cursor with the unit at it, keeping the separator between them. Transpose Characters / Transpose Words are now Characters / Words inside that submenu; their actions andCtrl+T/Alt+Tkeys are unchanged. -
Edit → Wrap (
edit.wrap): hard-wrap (fill) the selection, or the paragraph at the cursor when nothing is selected, at the newwrap_columnsetting (default80). Keeps indentation, a comment/quote marker shared by every line, and list bullets with a hanging indent; blank lines separate paragraphs, and no word is ever split. -
One Find dialog instead of four commands. The find box now carries the two things that used to be separate menu items: Replace (
Alt+H, or the button) turns a find into a find-and-replace in place, and In: (Alt+I) chooses where to look — Buffer, Files, or Workspace. Widening carries the query, the replacement, and the case/regex toggles to the surface that shows that many results, so nothing is retyped. Find in Files…, Replace in Files…, and Find In Workspace… are gone from the menu; their action ids (andCtrl+Shift+F) still work for key bindings and the palette. The workspace panel takesAlt+Htoo, andAlt+Ithere moves on to the dock. -
Edit → Find sits above Edit → Select, and Column Select Up above Column Select Down, so the pair reads in arrow order.
-
Fuzz testing (
fuzz/,cargo +nightly fuzz run <target>): six coverage-guided targets over the code that parses input Vix did not write —textops,org_table,lsp_frame(LSPContent-Lengthframing),vcard,conflict(merge markers), andhttp_request. Each asserts invariants, not just the absence of a panic. Seefuzz/README.md. -
Benchmarks (
tui/benches/,cargo bench): Criterion benchmarks for the per-keystroke and per-frame paths — text transforms, opening/typing/pasting/ undo in the editor widget, find-in-buffer, and palette fuzzy filtering. -
scripts/check-docs, now part ofscripts/check: fails on a broken documentation link, a crate with no spec, a crate missing from the crate map, or aREADME.mdthat has drifted from itsindex.mdtwin.
Changed
- The first-run welcome dialog is now controlled by a
show_welcome_dialogsetting (defaulttrue), replacing the invertedwelcomedflag. Vix turns it off and saves the settings immediately after showing the dialog, instead of waiting for a clean exit, so a crashed or killed first run no longer brings the dialog back. Set it totrueagain to see the welcome screen on the next launch. A config file that already hadwelcomed = trueshows the dialog once more, then settles.
Fixed
- Pasting in the terminal is one edit again.
Cmd+V(and any other paste made with the terminal’s own shortcut) arrived as one key event per character, so undo removed the paste one character at a time, auto-indent re-indented every pasted line — an indented block walked right, closing braces included — and auto-pairing doubled brackets and quotes. Vix now enables bracketed paste: the text arrives in one piece and is inserted at the cursor as a single edit, exactly likeCtrl+V. Pastes into a prompt, the palette, the find bar, or a panel still go to that input. - Pasting a whole line keeps its trailing newline. The indentation-aware paste dropped it, so the next paste ran onto the same line.
- Opening a file was ~26 ms slower than it needed to be. Every buffer compiled its language’s Tree-sitter highlight query from scratch — on every file opened, every preview tab the explorer scans past with an arrow key, and every split, plus once per injected language. Compiled queries are now cached per language for the life of the process: opening a 200-line Rust file went from 26 ms to 0.6 ms, and a 5,000-line file from 41 ms to 15 ms.
- Aligning a lone
|-line no longer deletes it. An Org table with no data rows has no columns to size, and rendering it produced an empty string — which the caller then wrote over the table’s lines. It renders as|---|now, the way Emacs squares up a bare rule. (Found by the neworg_tablefuzz target.) - Switching the UI language showed
Language: %{locale}.t!reserveslocalefor choosing the target locale, so the argument never reached the placeholder. The placeholder is%{language}now. - A failing git command lost its reason. The message was handed the error
text but had nowhere to put it; there is now a
msg.git_failed_reasonstring that shows it, in fifteen languages. - Command-palette filtering is ~40% faster. The fuzzy matcher allocated a
Vec<char>and a second copy of every candidate string on every keystroke; it now allocates once per candidate. Filtering 20,000 paths went from 4.5 ms to 2.8 ms per keystroke. The previous implementation is kept as a test-only reference that the current one must agree with, over fixed cases and a property test. - A flaky regression test made the suite unreliable. The run-command cancel
test judged “did the cancel get through?” with a 20-second stopwatch, and its
own reader held the mutex across its poll sleep — a lock discipline
run_commanddoes not have. It was therefore measuring lock starvation (8+ seconds under load, sometimes never) rather than the deadlock it guards. It now mirrors the real code and asserts how the child died — killed by a signal, not exited on its own — and runs in 0.2 s instead of 20-30 s. - The Org menu had no hover tooltips. All 66 of its items (and submenus) now
carry help text, so no menu item anywhere is left blank with
show_menu_tooltipson. - The file explorer’s delete confirmation showed
confirm.delete. The message had no entry inlocales/app.yml, and a missing key renders as the key itself. It is translated now, andtui/tests/i18n_keys.rsfails the build for anyt!key the catalog does not define. Ctrl+Dis forward delete in the Apple keymap. It now removes the character to the right of the cursor, like theDeletekey and every macOS text field, instead of falling through to the editor widget’s add-next-occurrence caret.Ctrl+Shift+Dstill duplicates the line or selection, and the keymaps modeled on VS Code, IntelliJ, and Sublime keep their ownCtrl+D; in the Apple keymap, add carets withAlt+click or Edit → Select → Select All Occurrences.- Forward delete at the end of the buffer no longer backspaces. With the
cursor past the last character,
Delete(and nowCtrl+D) stepped right — a no-op there — and then deleted backwards, eating the character behind the cursor. It is a no-op now. - Running the tests no longer overwrites your clipboard. The test suite
copied and cut through the real platform clipboard, so
cargo testleft whatever a test had cut (usually the worddoomed, from a keymap test) on the macOS pasteboard — every later paste, in any app, produced it. The platform clipboard is now opt-in:vix-clipboardkeeps an in-memory clipboard untiluse_systemis called, and only thevixbinary calls it, at startup. - Naming the open menu again now closes its dropdown. A second click on the
same top-level name re-opened the menu instead of toggling it shut; clicking a
different name still switches menus.
Alt+<letter>mnemonics toggle the same way and now work from inside an open dropdown or submenu, where they were previously ignored. - File explorer crash when a directory changes while it is being read. The explorer sorted entries with a key that re-stats the filesystem during the sort, so a file or directory created or removed mid-sort could make the same entry compare two different ways and panic Rust’s sort (“comparison function does not correctly implement a total order”). The key is now computed once per entry. This also fixes the intermittent panic in the app’s render tests.
[1.5.0] - 2026-08-05
Added
- File → Insert File… (
file.insert_file): insert another file’s contents at the cursor, resolved against the workspace root. - File → Revert (
file.revert): reload the active buffer from disk, discarding unsaved edits as a single (undoable) step. - Emacs Org-menu parity. The Org menu is reorganized into the Emacs
org-mode menu groups, closing the gap analysis against
spec/emacs-menus/index.md:- Dates & Scheduling ▸ — active/inactive timestamps for today, Schedule Item… / Deadline… date prompts (weekday computed, planning line created or updated), and ±1-day date shifting under the cursor.
- Structure — New Heading, Navigate Headings ▸ (parent, previous/next, same-level both ways), and Edit Structure ▸ grows Copy/Cut/Paste Subtree (system clipboard, paste relevels), Sort Children, and Refile Subtree… via a headline-chooser overlay.
- Show/Hide ▸ — fold-all/show-all plus sparse trees: Sparse TODO Tree and Sparse Tree Match… fold every subtree without a match.
- Editing ▸ — Emphasis wrapping, Insert Block templates, Footnote
New/Jump (
C-c C-x fsemantics), and Edit Source Block: a#+begin_srcbody opens in a dedicated tab and the same action writes it back (C-c '). - Archive ▸ — Archive Subtree to the sibling
<file>_archivefile (promoted to level 1, stamped:ARCHIVE_TIME:) and the ARCHIVE tag toggle. - Hyperlinks ▸ — store/insert/follow links (
file:with::line,id:resolved across project files, internal*Headlinetargets; web/mail URLs copy to the clipboard), next/previous link. - Tags & Properties ▸ — Set Tags…, Set Property…, and a read-only Column View table.
- Agenda scoping — a session restriction lock (
C-c C-x </>) and a persisted agenda file list (neworg_agenda_filessetting) ahead of the all-project-files default. - Export ▸ — LaTeX (standalone article) and iCalendar (SCHEDULED / DEADLINE as all-day events) join Markdown and HTML.
- Emacs keymap chords — the full
C-cOrg family plus aC-c C-xthird-key table, with which-key popups; the Org menu displays the chords in its shortcut column.
Changed
- Patch-level dependency bumps:
ratatui-image11.0.6,clap4.6.5,rust-i18n4.2.1,rust-embed8.12.
[1.4.1] - 2026-07-26
Fixed
evalexprheld at 11.x (licensing).evalexpr12.0.0 relicensed from MIT to AGPL-3.0-only, and Vix 1.4.0 shipped withevalexpr = "13". Vix is offered under “Apache-2.0 OR BSD-3-Clause OR MIT OR GPL-2.0-only OR GPL-3.0-only”, so that dependency took the licensing choice away from anyone distributing a build. The Calculator now uses 11.3.1, the last MIT release; its behavior and tests are unchanged. Anyone who built from 1.4.0 should upgrade.portable-pty0.8 → 0.9, which replaces the unmaintainedserialcrate (RUSTSEC-2017-0008) withserial2.anyhow,crossbeam-epoch, andspinupdated off an unsoundness (RUSTSEC-2026-0190), a vulnerability (RUSTSEC-2026-0204), and a yanked release respectively.
Added
- Supply-chain gate on all three forges (T003).
deny.tomlsets the policy — RUSTSEC advisories, a permissive license allow-list, wildcard bans, registry sources — andcargo deny --workspace --all-features checkenforces it via.github/workflows/security.yml, thedenyjob in.gitlab-ci.yml, and.forgejo/workflows/security.yml, weekly as well as on every push and pull request. It deliberately sits outside thescripts/checkgate: that one is reproducible offline from the lockfile, while the advisory database moves under a lockfile that has not changed. cargo-deny is pinned and checksummed rather thancargo installed. Seespec/ci/index.md.
[1.4.0] - 2026-07-26
Added
-
CI/CD on all three forges. Vix is pushed to GitHub, GitLab, and Codeberg, and each now enforces the same gate as
scripts/check—cargo fmt --check, build, Clippy pedantic with-D warnings, the test suite, and warnings-deniedcargo doc. GitHub adds.github/workflows/ci.yml(lint job, Linux + macOS test matrix, MSRV check,Swatinem/rust-cache); GitLab adds.gitlab-ci.yml(check/test stages, plus a tag-triggered static musl build published to the package registry and a GitLab Release); Codeberg adds.forgejo/workflows/(single-job gate for Forgejo Actions, plus a tag-triggered release). Releases on GitHub continue to be produced bydist. New spec:spec/ci/index.md. -
Org → Agenda submenu with the built-in agenda views. The former single Agenda Tracker item is now an Agenda submenu offering the views from the Org manual’s Agenda Views: Weekly/Daily Agenda (
org.agenda), Global TODO List (org.agenda.todo), Match Tags/Property… (org.agenda.match, prompt-driven), Search… (org.agenda.search, prompt-driven), and Stuck Projects (org.agenda.stuck). Every view opens read-only and interactive — pressington a task cycles it in its source file and rebuilds the same view. New pure buildersorg::todo_list/tags_match/search/stuck_projects/render_list. -
Org task workflow: Emacs chords, close-with-note, and an interactive agenda.
- The Emacs keymap now wires the Org
Ctrl+Cchord family:C-c C-tcycles a headline’s TODO keyword,C-c C-cruns the context action (toggle the checkbox on the line, else recompute statistics), andC-u C-c C-t(universal argument) marks the headlineDONEwith a closing note. A newC-c-prefix indicator and which-key list make the chords discoverable. - Mark Done with Note… (
org.close_note, in the Org menu andC-u C-c C-t): prompts for a note, then marks the headlineDONE, stampsCLOSED: [now]under it, and logs the note into its:LOGBOOK:drawer — Emacsorg-log-donebehavior. New pureorg::close_headline. - The Agenda Tracker is now interactive: it opens read-only, and pressing
ton a task line cycles that task’s TODO state directly in its source.orgfile, reloads any open buffer for it, and rebuilds the agenda in place. New pureorg::agenda_items/org::render_agenda(structured items- a line→source map); the agenda now reindexes before compiling so newly
added
.orgfiles are included.
- a line→source map); the agenda now reindexes before compiling so newly
added
- The Emacs keymap now wires the Org
-
Org drawer folding with Tab. In an
.orgbuffer, pressing Tab on a drawer header line (one that starts and ends with a colon, e.g.:PROPERTIES:) folds that drawer — hiding its body through:END:like code folding — and marks the collapsed header with a trailing...(:PROPERTIES:...). Tab again on the header unfolds it. Folding is view-only and never edits the buffer — so it works even in read-only buffers; on any other line Tab still indents. New pure helperorg::drawer_rangeand editor methodtoggle_manual_fold; folded lines now render a trailing...in the editor generally. -
File → Open… is now a comprehensive file browser (new crate
vix-file-browser-panel, built onwalkdir): a recursive listing of the workspace root with live search — fuzzy text,*.rs-style globs, andext:rs/.rsextension filters, all combinable, plus the classic:line[:col]jump suffix. Sort by name, size, date created, or date modified (Ctrl Scycles,Ctrl Rflips), toggle hidden files (Alt H), navigate directories (Enter/→ enters, ← goes up), and fall back to the classic type-a-path prompt withCtrl O(new actionfile.open_path). Fuzzy queries rank by relevance until an explicit sort is chosen. -
Org → Capture submenu (first in the Org menu), now a template-driven system in the shape of Emacs
org-capture(newvix-org-capturecrate; seespec/org/capture/index.md): named templates (theorg_capture_templatessetting) with%^{Prompt}-style placeholders (%^{Label|choices},%t/%T/%u/%U,%<strftime>,%a,%i,%f/%F,%c,%^g/%^G,%?,%%), wrapped as a headline/item/checkbox/table-row, and filed at a target (cursor,id:,file:,file+headline:,file+datetree:). Five built-in templates ship by default — Anything… (org.capture), Contact… (org.capture.contact, moved from Org → Contacts → New Contact…), Task… (org.capture.task, a multiline review buffer, Alt+Enter = newline), Babel… (org.capture.babel, prompts for a language, opens a review buffer around a#+begin_src/#+end_srcblock), and Note… (org.capture.note, a plain headline with a%Ucreation timestamp) — plus Choose Template… (org.capture.select) for any custom templates added toorg_capture_templates. Each%^{}field prompt now shows a live preview of the whole template above the input — answered fields substituted, the current one marked‹Label›, later ones[Label], scrolled to keep the current field in view — instead of an isolated prompt box with no context. -
Org → Priority Up/Down (
org.priority.up/.down): step a headline’s[#X]priority cookie toward theorg_priority_highest/org_priority_lowestsettings (default numeric'0'..'9','0'= highest), clamped at the bound. New pureorg::priority/set_priority/priority_up/priority_down.
Changed
-
Help → Keyboard Shortcuts… now lists every active shortcut in a two-column table — action name and key combo — assembled from the curated global rows, every menu-item accelerator, and the active keymap’s chord tables (Spacemacs leader, Emacs
Ctrl X). Click a column header to sort it ascending, click again for descending; type to filter; ↑↓/PgUp/PgDn and the wheel scroll. -
File → Open Recent… is now a multi-column table: file basename, path, size, created at, and modified at.
-
All three docks now show by default — the left dock (explorer), right dock (messages), and bottom dock (
show_bottom_dockdefault flipped totrue). Also fixed a latent bug where, before the first render, a visible dock’s unrecorded rectangle made clicks on row/column 0 start a dock resize. -
Harmonize the modal keymaps. Spacemacs Normal mode now shares the Vi keymap’s Normal-mode handler, gaining the full vocabulary (
w/b,gg/G,dd/yy/p,u,/+n/N,%,I/A); the two keymaps’ separate Insert-mode flags were unified into one, and switching keymaps now also clears a pending Vi two-key operator. -
Refactor: the pure cursor-relative text helpers (increment/decrement number, smart toggle, transpose chars/words, TODO-tag matching) moved from
appintocrate::textopswith their unit tests, and their three identical host wrappers collapsed into oneApp::rewrite_at_cursor. Behavior unchanged. -
Media types use clean
text/<lang>forms (nox-prefix) for source code —text/rust,text/python,text/typescript,text/java,text/cpp,text/csharp,text/c,text/ruby,text/go, …,application/sql..tsnow maps totext/typescriptand.cstotext/csharp(C# added). -
Snippet directories load every
*.jsonfile (not justsnippets.json), and media-type snippets also load from the project atconfig/media-types/<type>/snippets/. -
Macro commands moved to Edit → Macro and namespaced consistently under
macro.*:toggle_macro→macro.record,play_macro→macro.play(joiningmacro.save/macro.play_saved). Menu items relabeled Record / Play / Save… / Play Saved…. -
Edit → Lines → “Sort Lines” renamed to “Sort”.
-
Docs/spec/AGENTS harmonized with the current feature set (keymaps list, Org/Debug menus, edit surfaces, snippets, media types, module map, Rust 1.95 toolchain floor).
-
Keymap renamed “Vim” → “Vi” — display label, id (
vim→vi), and action (view.keymap:vim→view.keymap:vi). Older configs usingvimstill load. -
Edit surfaces moved to Edit → Mode. The Edit Table/Outline/JSON/YAML/Bytes items moved from the Tools menu into a new Edit → Mode submenu (labeled Table/Outline/JSON/YAML/Bytes). The action ids and command-palette entries are unchanged.
-
Case submenu moved to Tools → Convert. The Edit → Case transforms (Upper/Lower/Title/Kebab/Snake/Camel/Pascal) now live under Tools → Convert.
Fixed
- Stale locale table after editing
locales/app.yml.vix-i18nembeds the translation table at macro-expansion time (rust_i18n::i18n!), which Cargo couldn’t detect as a dependency — editing onlylocales/app.ymlnever triggered a rebuild, so several recently-added/renamed menu labels (org.capture.task/.babel/.note/.select,org.priority.up/.down) rendered as their raw i18n key instead of translated text until something else happened to recompilevix-i18n. Fixed withcrates/vix-i18n/build.rs(cargo:rerun-if-changed=../../locales/app.yml); guarded against regressing by a newvix-menutest,every_menu_label_translates, that walks the whole menu tree. - Menu navigation. In a dropdown, pressing
Righton a submenu now opens it and highlights its first item (was: nothing highlighted). PressingUpon the first dropdown item now moves to the menu title (nothing highlighted) instead of wrapping to the last item.
Added
-
Database workbench (new top-level DB menu,
Alt+D, after AI;spec/db). A full-screen overlay that connects to SQLite / PostgreSQL / MySQL through embedded sqlxAnydrivers — no external client tools — and presents a three-pane workbench: a schema tree, a syntax-highlighted SQL editor with autocomplete, and a filterable results grid. Passwords are held only in memory; saved connections persist without a password field. Includes:- Saved connections & catalog browsing — add/edit connections, expand
schemas/tables/views, and view columns / indexes / foreign keys / triggers /
constraints / statistics and the table’s
CREATEstatement;ppreviews a table’s rows,/filters the tree. - Query editor — statement-at-cursor execution (
F5/Ctrl+Enter) and execute-all (F9), theme-colored syntax highlighting, autocomplete over keywords / tables /table.column/JOIN … ONfrom the foreign-key graph, beautify (Alt+Shift+F),EXPLAIN/EXPLAIN ANALYZE(F6/F7) with a full-scan insight, query history (Ctrl+R) and saved queries (Ctrl+B/Ctrl+S), and:namebind parameters that prompt before running. - Results grid — column select/sort/filter, cell/row yank, a scrollable
cell viewer, expanded row view (
x), foreign-key follow (f), an ASCII result chart (c), and export to CSV/TSV/JSON/NDJSON/Markdown/ SQL. Editable table previews support staged cell edits (ito stage,Wto commit asUPDATEs in one transaction, with conflict detection). - Read-only by default — connections open read-only (two-layer: a
database session pragma plus a client-side write guard);
F8toggles write mode, and the editor title badges the current access. - Async execution — statements and
EXPLAINrun off the event loop with a live elapsed indicator andCtrl+Ccancellation; large results stream in batches (capped, with a truncation note). - Transactions — a client-side
TXbadge; the write-confirmation gate is relaxed inside an explicit transaction; DB → Begin / Commit / Rollback. - AI SQL assistant —
Ctrl+Aturns a natural-language question into SQL from the schema only (never row data), validated withEXPLAIN;Ctrl+Ooptimizes a query from its plan,Ctrl+Ffixes the last error,Ctrl+Kexplains a query, and a leading?answers a schema question. Uses the configurableai_commandCLI, so it is provider-agnostic. - Query log (
Ctrl+L) with per-statement duration/rows/origin, a Mermaid ER diagram (Ctrl+E), and CSV/TSV import (Ctrl+U) into a new table. - Connectivity — an optional SSH tunnel (
ssh -N -L, lifetime tied to the connection) and a credential waterfall that resolves a password from apassword_commandor the OS keyring (macOSsecurity, Linuxsecret-tool) before prompting, with an opt-in save-to-keyring.
- Saved connections & catalog browsing — add/edit connections, expand
schemas/tables/views, and view columns / indexes / foreign keys / triggers /
constraints / statistics and the table’s
-
Sublime Text keymap (View → Keymap → Sublime Text).
Ctrl+PGoto Anything,Ctrl+Shift+PCommand Palette,Ctrl+RGoto Symbol,Ctrl+GGoto Line,Ctrl+Dselect occurrences,Ctrl+Lselect line,Ctrl+Jjoin,Ctrl+Mmatching bracket,Ctrl+Shift+D/Ctrl+Shift+Kduplicate/delete line,Ctrl+Hreplace,Ctrl+Bbuild,Ctrl+`console. Plus adocs/for-sublime-users/migration guide. -
Migration guides for Vim, Emacs, VS Code, IntelliJ, Eclipse, Sublime Text, and Spacemacs users (
docs/for-*-users/): an honest pros/cons pitch, a muscle-memory mapping table for each keymap, and a try-it-for-an-afternoon experiment. -
Keymap improvements. Vi:
w/bwords,^,gg/G,dd/yy/p,u,/+n/N,%,I/A, and:N/:e [path]commands. Emacs:M-xpalette, word/page/buffer-end Meta motions, kill ring (C-w/M-w/C-y/C-k), transpose,C-/undo, andC-xwindow/buffer chords (2/3/1/0/o/b). VS Code:Ctrl+\split,Ctrl+Jpanel,Ctrl+`terminal,Ctrl+Shift+Kdelete line,Ctrl+Shift+Lselect all occurrences,Ctrl+Shift+MProblems. -
CSpell config (
cspell.json) with an external custom dictionary (project-words.txt) of project/domain terms, socspellcan spell-check the repo’s docs and text with the project vocabulary pre-seeded. -
Word-level diff in the Compare With File overlay. Changed lines now highlight the specific words that differ (bold/reversed) instead of coloring the whole line, via
similar’s inline diff. -
Matching tag (Go → Matching Tag). Jump between an HTML/XML tag and its partner (open ↔ close), handling nested same-name tags. Pure logic in
crate::tags. -
Comment banner (Edit → Comment Banner). Turns the current line into a boxed section header — the title bordered above and below by a
=rule, each line prefixed with the language’s line comment. -
Go to Percent / Byte (Go menu). Jump to a percentage through the file (by line) or to a byte offset, complementing Go to Line.
-
Read-only buffer toggle (View → Read-Only). Locks the active buffer against edits — typing, deletes, and editing commands are blocked (with a status note), while navigation, selection, copy, and search still work.
-
Relative line numbers (View → Relative Line Numbers, off by default). The gutter shows each line’s distance from the cursor line (hybrid: the cursor line shows its absolute number), making count-based motions easy.
-
Line-ending conversion (Edit → Lines → Line Endings → To LF / To CRLF), Squeeze Blank Lines (Edit → Lines), and ROT13 (Tools → Convert). Pure transforms in
crate::textops, applied to the selection or whole buffer. -
Which-key popup. While a chorded prefix is pending — Emacs
Ctrl+Xor the SpacemacsSpaceleader — a popup lists the candidate next keys and the action each runs, making the keymaps discoverable. -
Clipboard history / kill-ring (Edit → Paste from History…). Every copy/cut is recorded into a ring (most-recent first, de-duplicated, capped at 30); the picker pastes any past entry at the cursor.
-
Transpose (Edit → Transpose Characters / Transpose Words). Swaps the two characters around the cursor (Emacs
C-t; at line/buffer end swaps the last two) or the two neighboring words (EmacsM-t, preserving the separator). -
Toggle value (Edit → Toggle Value). Flips the token under the cursor to its opposite: word pairs (
true/false,yes/no,on/off,enable/disable,left/right,up/down,min/max,and/or) whole-word with case preserved, and symbol pairs (&&/||,==/!=,<=/>=,</>,++/--). -
HTTP/REST client (Tools → Send HTTP Request). Write a request in a
.http-style buffer (METHOD url,Header: valuelines, blank line, body) and send it with the pure-Rustureqclient on a background thread; the response (status, headers, body) opens in a new tab. Pure parser incrate::http_client. -
Jump to line (labels) (Go → Jump to Line). EasyMotion/leap-style: each visible line gets a short label (a, b, c, …); type it to jump the cursor there. Esc cancels.
-
Frecency ranking for the project switcher. Switch Project now orders recent projects by frequency × recency (recent, frequently-opened projects first) instead of plain most-recently-used. Sessions track a visit count + last-open.
-
Offline structural selection expand. Expand Selection now falls back to the Tree-sitter parse tree (smallest enclosing node, growing on repeat) when the file has no language server — previously it required LSP.
-
Scratch buffer (File → New Scratch Buffer). Opens a throwaway, unsaved buffer with a header line for quick notes/calculations.
-
Highlight word occurrences (View → Highlight Word Occurrences, off by default). Passively marks every whole-word occurrence of the identifier under the cursor, on its own render channel so it never clobbers (sticky) search highlights.
-
Align on delimiter (Edit → Align). Pads selected lines so their first
=,:,,, or|lands in a common column. Pure logic incrate::align. -
Increment / Decrement number (Edit menu). Bumps the integer at or after the cursor by one (Vim’s Ctrl-A/Ctrl-X), handling a leading
-. -
TODO/FIXME finder (Tools → Find TODOs…). Scans the project’s files (honoring
.gitignore) for comment tags — TODO, FIXME, HACK, XXX, BUG, NOTE — as whole words, listing them in the results panel; Enter jumps to the match. -
Smart-case search (find box, on by default; toggle with the Smart button or Alt+S). Matches case-insensitively when the query is all-lowercase, but becomes case-sensitive as soon as it contains an uppercase letter. The explicit Case toggle still forces sensitivity.
-
Surround (Edit → Surround). Wrap the selection in a bracket/quote pair — parentheses, brackets, braces, angles, double/single quotes, backticks — and remove it by repeating the same action.
-
Minimap (View → Minimap, off by default). A code-overview column at the right of the editor: each row is a band of lines drawn as a bar sized to the band’s longest line, with the current viewport highlighted; click to jump. Single-pane view.
-
Call hierarchy (callers) (Tools → Language Server → Call Hierarchy). Lists the incoming calls to the symbol under the cursor via LSP (
prepareCallHierarchy→incomingCalls), shown in the references jump list. -
Emmet expansion (Edit → Emmet Expand). Expands the abbreviation before the cursor into HTML — child
>, sibling+, multiply*N,#id,.class,{text}, and$numbering (e.g.ul>li.item$*3). Pure logic incrate::emmet. -
Persistent undo. The undo tree is saved per file on save and restored on reopen (under
<config>/undo/), guarded by a content hash so it’s only replayed when the file still matches. Settingpersistent_undo(on by default). -
Live Backlinks (Org → Roam → Live Backlinks). A toggle that fills the bottom dock with the active node’s linked + unlinked references and refreshes as you move between nodes.
-
Dailies calendar (Org → Roam → Dailies → Calendar…). Opens the month grid; Enter on a day opens/creates that day’s Org-roam daily note instead of inserting the date.
-
[[wiki-link autocomplete for Org-roam/Node. Typing[[in an.orgfile opens node-title completion (also Org → Node → Complete Link…); accepting inserts the title and closes the link, without double-closing when auto-pair already added]]. -
Rainbow brackets (View → Rainbow Brackets, off by default). Colors
()[]{}by nesting depth (6-color cycle) over the syntax colors; skipped for very large files. (Idea from the zee/editor feature.) -
Sticky scroll (View → Sticky Scroll, on by default). Pins the enclosing scope’s header line (e.g. the
fn/class/heading) at the top of the editor while you scroll through its body. Single-pane view. (Idea from the zee/VS Code feature.) -
Indentation guides — faint vertical bars at each indent level on the (non-wrapped) editor view, for space-indented buffers. (Idea from the zee/VS Code visual.)
-
Auto-save (View → Auto Save, off by default). Periodically writes the active dirty file-backed buffer (every ~5s; plain save, no format-on-save churn).
-
Format on save (View → Format on Save, off by default). On save it runs the language server’s formatter and re-saves once the edits land; the plain save happens first, so nothing is lost if formatting is slow or unsupported.
-
Auto-reload on external change. Files changed on disk by another process (a formatter,
git checkout, a second editor) are detected (mtime poll, throttled to 1s): clean buffers reload automatically; a buffer with unsaved edits gets a one-time warning and keeps your edits. -
Keymap renames + a new VSCode Windows keymap. Display names dropped the
+(“IntelliJ macOS”/“IntelliJ Windows”) and reordered VS Code (“VSCode macOS”); added a VSCode Windows keymap. Canonical ids are now full platform names (vscode-macos,vscode-windows,intellij-macos,intellij-windows); the oldvscode/intellij-mac/intellij-winids still load. Dropped thejetbrains-*aliases. -
One syntax-highlight query per viewport. The non-wrapped renderer now runs a single Tree-sitter highlight query over the whole visible region instead of one per line — cheaper while typing — and the highlight cache memoizes a single entry instead of one per visible line. (Idea from the zee editor.)
-
Undo tree (branch-preserving undo). Editing after an undo no longer discards the redo history — it starts a new branch, so no state is ever lost. Undo/redo behave like a linear history by default; Edit → Switch Undo Branch cycles which branch redo follows, making every past state reachable. (Idea from the zee editor’s edit-tree.)
-
Background (async) syntax parsing for large files. Buffers ≥ 50 KB now reparse on a background thread after each edit instead of blocking the keystroke, with cancel-on-new-edit and generation-based stale-result rejection (the edited tree keeps rendering until the fresh one lands). Smaller files stay fully synchronous — identical behavior. (Idea from the zee editor’s async parser.)
-
Org → Contacts (org-contacts). Manage contacts stored as Org headlines: New Contact (skeleton with a property drawer), Find Contacts (name/email/phone table), Insert Field (Email/Phone/ Address/Birthday/Nickname/Note), Birthdays, and Export to vCard 3.0. Pure logic in
crate::org_contacts. -
Help menu additions: License (crate metadata from
Cargo.toml), Report an Issue… (links the issue tracker), and Privacy Statement — each shown in a scrollable overlay. -
Renamed the Debug menu to Run (action ids
debug.*→run.*) and moved it to just after the new Go menu (Alt+R). -
Top-level Go menu (promoted from Edit → Go, placed after View, Alt+N). Adds Go to Symbol / Declaration / Implementations / References, Next/Previous Issue (diagnostics) and Next/Previous Change (git hunks), and granularity submenus — Word, Sentence, Line, Paragraph, Section (each with Start/End/Next/Previous and go-to-Nth by number), plus File (Start/End). New LSP
textDocument/declarationrequest and in-file diagnostic navigation. -
Workspaces (multi-folder, saved to a file). File → Open Workspace from File… / Save Workspace into File… / Add Folder to Workspace…. A workspace is a portable
.vix-workspace(TOML) file listing project folders plus the files to reopen; the fuzzy finder and project index span every workspace folder. -
base16 themes. Ten well-known base16 color schemes (Tomorrow Night, Solarized Dark/Light, Gruvbox, Nord, Ocean, Monokai, Material, Dracula, …) generated from a compact palette table and merged into View → Theme. (Idea from the zee editor’s base16 theme generation.)
-
scripts/check(andmake check): a one-command local CI-parity gate — build + Clippy (pedantic,-D warnings) + full test suite. Plus Unicode/emoji stress fixtures intest-data/with a grapheme-width regression test. (Ideas from the zee editor.) -
.gitignore-aware file finder. The project file index now walks with theignorecrate (the engine ripgrep uses), so the fuzzy file finder honors.gitignore,.ignore, and git’s global/excludes (even outside a git repo) and no longer surfaces build artifacts;target/node_modulesare always pruned. (Idea from the zee editor.) -
Sticky vertical “goal column.” Moving the caret up/down now remembers the column you started from, so passing through a short line no longer snaps the cursor inward (it returns to the original column on the next long line). Any horizontal move resets it. (Idea from the zee editor.)
-
Org checkbox & statistics cookies. Parent checkboxes now reflect their children (all →
[X], none →[ ], some →[-]), and[/]/[%]statistics cookies in headlines and list items are recomputed automatically after Toggle Checkbox / Cycle TODO (or on demand via Org → Update Statistics). Headline cookies count child checkboxes or child TODO headlines, honoring the:COOKIE_DATA:property (checkbox/todo, plusrecursive). Pure logic inorg::update_statistics. -
Org → Node (org-node functionality). A new submenu for fast, ID-based nodes where a node is a file or a subtree: nodeify the entry at the cursor (give it an
:ID:), extract a subtree into its own file node (leaving an[[id:…]]link), insert a#+transclude:directive, list dead ID links, rename a file by its#+title:, and rebuild the node cache — alongside shared find / insert-link / random / backlinks. Pure helpers incrate::roam; seespec/org/index.md. -
Org → Roam (Org-roam note-taking). A new submenu for networked, Zettelkasten-style notes over a directory of
.orgfiles: find / capture / random node, insert[[id:…]]node links, a backlinks buffer (linked- unlinked references), dailies (today / capture / go-to-date), node metadata
(tags / aliases / refs), a Mermaid node graph, and a stateless database sync that
lists every node. Pure logic in
crate::roam; seespec/org/index.md.
- unlinked references), dailies (today / capture / go-to-date), node metadata
(tags / aliases / refs), a Mermaid node graph, and a stateless database sync that
lists every node. Pure logic in
-
Tools → Draw (ditaa ASCII art). A new submenu inserts ASCII-art shapes for ditaa diagrams: rectangles, rounded rectangles, document/storage shapes, horizontal/vertical (and dashed) lines, arrows (right/left/up/down), a point, a two-box flow, and a colored box. See
spec/tools/draw/index.md. -
PlantUML media type (
text/plantuml,.plantuml/.puml) plus a bundled snippet library (diagram skeleton, sequence/class/use-case/activity/state/ component constructs, notes, skinparam) and a 41-diagram example gallery imported fromjoelparkerhenderson/plantuml-examples(activity, archimate, C4, class, deployment, ERD, gantt, mind-map, sequence, state, timing, …). -
Graphviz media type (
text/graphviz,.graphviz/.gv/.dot) plus a DOT snippet library (directed/undirected graphs, nodes, edges, clusters, ranks, attribute defaults, record nodes). -
Mermaid media type (
text/mermaid,.mmd/.mermaid) plus a snippet library covering flowcharts, sequence/class/state/ER diagrams, gantt, pie, mindmap, git graph, user journey, timeline, and quadrant charts. -
Bundled example snippet libraries under
config/media-types/<type>/snippets/examples.jsonfor ~38 media types — the originals (Python, Plain, TypeScript, Rust, Java, C++, C#, JavaScript, C, Ruby, JSON, YAML, SQL) plus HTML, CSS, Markdown, Go, TOML, Shell, PHP, Kotlin, Swift, Lua, Scala, Haskell, Elixir, Erlang, Clojure, Dart, R, Julia, Groovy, PowerShell, Objective-C, F#, OCaml, Perl, and XML — many common snippets each, modeled on TextMate/VS Code. -
More programming-language media types added to the table (Scala, Haskell, Elixir, Erlang, Clojure, Dart, R, Julia, Groovy, PowerShell, Objective-C, F#, OCaml), all using the clean
text/<lang>form. -
Basecolumn in the media-type table — each media type is classifiedtextorbinary(MediaType::is_text()); shown in the Media Types picker. -
JSON snippet files (global / media-type / project). Snippets can now be defined in JSON files (the VS Code shape:
name → {prefix, body, description}) loaded from~/.config/vix/global/snippets/snippets.json, per-media-type (…/media-types/<type>/snippets/snippets.json), and a project file (project_snippets, defaultconfig/snippets/snippets.json). The Snippets picker (Tools → Snippets…) is now searchable and shows every in-scope snippet; typing a snippet prefix then Tab expands it. Bodies use the TextMate/VS Code tabstop syntax; interpolated shell code and\uare omitted. Seespec/snippets/index.md. -
Edit → Lines → Shuffle. Randomly reorder the selected lines (or the whole buffer) with a Fisher–Yates shuffle (
edit.shuffle). -
Edit SQL mode. A new Edit → Mode → SQL surface parses a
.sqlbuffer into its statements (ignoring semicolons in strings/comments) and lists them by kind; reorder, delete, uppercase-format keywords, undo/redo, and save back. Backed by the unit-testededit_sqlmodule. Seespec/edit-sql/index.md. -
Media types. A new Tools → Media Types picker lists common media types (MIME) with descriptions and extensions; type to filter, Enter to insert at the cursor. Opens pre-selected to the current file’s type. Backed by the curated
spec/media-types/media-types.tsvand themedia_typemodule (withfor_extensionlookup). Seespec/media-types/index.md. -
Org → Clock In / Clock Out. Clock In inserts an open
CLOCK: [now]entry; Clock Out closes the most recent one with the end time and=> H:MMduration (local time viajiff). Feeds the Time Tracker report. -
Org capture, agenda & time tracking. Org → Capture… logs an idea/task as a
* TODOheadline via a quick prompt; Agenda Tracker compiles deadlines/scheduled items/TODOs from the project’s.orgfiles into a dated agenda; Time Tracker totalsCLOCK:durations per headline into a report. -
Org mode (basics). A new top-level Org menu (
Alt+O) brings headline structure editing (promote/demote and move subtree across siblings), fold cycling, TODO cycling (none →TODO→DONE), checkbox toggling, and export to Markdown / standalone HTML. Backed by the pure, unit-testedorgmodule. Seespec/org/index.md. -
affixhelpers —add/drop/toggleaprefix/suffixpair around text (a conventional wrap:add("alfa","bravo","charlie") == "bravoalfacharlie"), for wrapping and unwrapping selections. -
Tools → Insert → Org now also hosts the inline markers (folded in from the former Markers submenu), with a new Tag
:marker and a Properties (:PROPERTIES: … :END:) snippet. -
Tools → Insert → Org / Markers / Begin-End submenus — Org inserts Org-mode snippets (title/author, headlines, links/images, lists, table, TODO/DONE, planning lines, timestamps, drawer); Markers toggle inline emphasis (
*///_/+/~/=) around the selection; Begin-End toggle#+BEGIN_…/#+END_…blocks. -
Bracket / quote auto-pairing. Typing
(,[,{,",',`inserts the matching closer (wrapping a selection when one exists), typing a closer steps over an auto-inserted one, and Backspace inside an empty pair deletes both. Newauto_pairsetting (on by default) and a View → Editor → Auto-Pair Brackets toggle. -
Snippet tabstops. Snippets (Tools → Snippets…) now support
$1/$2/$0and${1:placeholder}fields: inserting one selects the first field and Tab walks the rest (Esc exits). Several bundled snippets gained fields. Seespec/snippets/index.md. -
Persistent macros. Recorded keyboard macros can be saved by name (Edit → Save Macro…) to
macros.tomland replayed in later sessions (Edit → Play Saved Macro…). Seespec/macros/index.md. -
View → Zoom (In / Out / Reset) — best-effort terminal font zoom. A TUI can’t portably resize the font, so Vix emits the font-resize escape for terminals that support one (xterm/urxvt) and tells you to use the terminal’s own zoom otherwise.
-
Switch Project (File → Switch Project…,
file.switch_project) — re-root the editor at a recent workspace without relaunching: saves the current session, rebuilds explorer/Git/LSP, and restores the chosen project’s session. Seespec/switch-project/index.md. -
IntelliJ & Eclipse keymaps (View → Keymap) — three new keymaps mirroring IntelliJ (macOS and Windows defaults) and Eclipse (Windows). See
spec/keymaps/index.md. -
Spacemacs keymap (View → Keymap → Spacemacs) — Vim-style modal editing plus a
Spaceleader for menu-like command sequences (SPC f fopen,SPC g sgit,SPC w /split,SPC q qquit, …). Seespec/keymaps/index.md. -
Inline git blame (Git → Toggle Inline Blame,
inline_blamesetting) — shows the cursor line’s blame (author, date · summary) dimmed at the end of the line, following the cursor. Seespec/git-integration/index.md. -
Outline sidebar (View → Layout → Outline Sidebar,
show_outline_dock) — a persistent symbol list beside the editor that follows the cursor; click a row to jump. Seespec/outline-sidebar/index.md. -
Test runner. Tools → Run Tests runs the configured
test_command, parses the output (cargo libtest, pytest-v-style) into a pass/fail panel with ✓/✗/○ icons, jump-to-failure on click, and a summary notification. Newtest_command/test_widthsettings. Seespec/test-runner/index.md. -
Integrated debugger (DAP). A new Debug menu drives an external debug adapter (configured via
debug_adapters): breakpoints (gutter●), start/stop, continue, step over/into/out, pause, a call-stack + variables + watch panel, an evaluate REPL, and program output in the bottom dock. Built on a DAP client that reuses the LSP framing. Seespec/debugger/index.md.
Changed
- Nested split panes (up to a 2x2 grid). The editor split is now a binary
tree: View → Split → Vertical/Horizontal split the focused pane, so
repeated splits nest into a grid (up to four panes). Drag any divider to resize
that split; Other Pane (
F6) cycles focus; Unsplit collapses the focused pane. The layout persists in the session. Seespec/split-panes/index.md.
[0.4.0] - 2026-06-27
Added
- AI chat panel (AI → Chat…, action
ai.chat) — a persistent conversation surface for the configured assistant CLI. Each reply is remembered and fed back as context, so follow-up questions work; an editor selection seeds the input.Alt+Topens the last reply in a tab,Alt+Ccopies it. Seespec/vix-agent-panel/index.mdanddocs/agent-panel/index.md. - AI edit review. Annotate and Improve now open an accept/reject diff
review (hunk by hunk) instead of overwriting the buffer immediately:
↑↓move between hunks,Spacetoggles one,a/raccept/reject all,Enterapplies,Escdiscards. Newai_diff_reviewsetting (on by default) controls it. Seespec/ai/index.md. - Background results in the notification panel. Run Command (and Git
Pull/Push/Fetch) completions and AI menu outcomes now post to the right-dock
notification feed (Info on success, Error on failure), giving a durable record
beyond the transient status bar. See
spec/vix-notification-panel/index.md. - Open buffers reload after a branch switch. Switching branches now re-reads every clean open file from disk so it reflects the new branch; dirty buffers are left untouched and a notification reports the count.
- Persistent spellcheck user dictionary. Words added from the spell-suggest
popup now persist across sessions in
user_dictionary.txt(config directory) and are reloaded on launch, instead of being session-only. - Multi-line commit messages. The Git commit prompt now accepts a multi-line
message:
Alt+Enterinserts a newline,Entercommits — so subject + body messages work. - Searchable keyboard-shortcut browser. The Help → Shortcuts overlay (
F1) now has a search field — type to filter shortcuts by key or description. - Tools → Insert → LaTeX submenu — inserts Org/LaTeX markup snippets (headlines, link, bold/italic/underline, table, deadline/scheduled, timestamps, quote/verse/center blocks, drawer).
- Tools → Insert → SQL submenu — inserts ready-to-edit PostgreSQL snippets: Alter Role, Create Extension, Create Function, Create User, Grant Create, Grant Usage, and Create Table (with trigger + trigram index).
- Diff gutter in soft-wrap mode. The Git change bar in the line-number gutter now also renders when soft wrap is on (on a changed line’s first visual row).
- Richer session restore. Reopening a workspace now also restores each file’s scroll position and the split-pane layout (direction, ratio, focused side), not just open files, focus, and cursor. Older session files still load.
- EditorConfig support. Vix now reads
.editorconfigfiles and applies their indent style/size and trim/final-newline rules per opened file, overriding the global settings. Neweditorconfigsetting (on by default). Seespec/editorconfig/index.md. - Task runner. A workspace
tasks.toml(or.vix/tasks.toml) defines named shell commands; Tools → Tasks… (actiontools.tasks) lists and runs them through the async pipeline. Seespec/tasks/index.md. - Compare With File. Tools → Compare With File… (action
tools.diff) shows a read-only unified diff between the active buffer and another file. Seespec/diff-view/index.md. - Project-wide replace preview. Workspace-wide replace now shows a
preview/confirm overlay listing each affected file and its match count; nothing
is written to disk until you confirm (
y/Enter), withn/Escto cancel. - Integrated terminal. Tools → Terminal (action
tools.terminal) opens a real interactive shell on a PTY (portable-pty+vt100) inside Vix — full-screen programs, colors, and the cursor all work.Ctrl+]closes it. Seespec/terminal/index.md.
Changed
- AI menu is now CLI-agnostic. The AI commands (Summarize, Explain, Define,
Annotate, Improve) no longer hardcode
claude; they run the newai_commandsetting (defaultclaude -p "{prompt}"). The template’s{prompt}placeholder receives the instruction and the input text is piped on stdin (or substituted for{file}), so the menu can drive Codex, Mistral, a localollamamodel, or any other assistant CLI. Seespec/ai/index.mdand the configuration docs.
[0.2.0] - 2026-06-27
Added
- Edit surfaces (Tools menu) — full-screen overlay editors for non-plain-text
views of the active buffer: Edit Table (CSV/TSV spreadsheet,
edit_table), Edit Outline (indented prose hierarchy with folding,edit_outline), Edit JSON / Edit YAML (foldable structured-value tree,edit_value), and Edit Bytes (hex/ASCII byte editor,edit_bytes). - Tools → Insert submenu (renamed from “Generate”) — inserts generated content
at the cursor: UUID, ZID, Markdown and HTML snippets, Lorem ipsum
(
lorem), and Date/Time presets (ISO 8601, RFC 3339, Unix epoch). - QR Code generator (Tools → QR Code) — encodes the selection or line into a
scannable Unicode QR overlay (
qr_tool, via theqrcodecrate). - Git per-hunk unstage (
git.unstage_hunk) — completes interactive per-hunk staging alongside stage/revert; plus diff next/prev hunk navigation. - Select all occurrences (
edit.select_all_occurrences) — multi-cursor on every match of the selection — and column / rectangular selection (Alt+Shift+↑/↓,edit.column_select_*) with block editing. - Zen (focus) mode (
view.zen), an optional breadcrumb bar (view.breadcrumbs,file ▸ symbol), and trim / final-newline on-save toggles. - Release packaging —
cargo-dist(macOS arm64/x64, Windows, Linux MUSL) and aMakefilethat tests then cross-builds the three targets. - Single-crate architecture (edition 2024). Every former
vix-*subcrate is now a module undertui/src/; the editor widget is theeditor_coremodule (Tree-sitter highlight queries inlangs/, gated behindlang-*features). The workspace has no members. Seeagents/share/crate-map.md. #![warn(clippy::pedantic)]in every module, with no blanket#![allow(clippy::pedantic)]/#![allow(missing_docs)]— findings fixed in code; only four targetedstruct_excessive_boolsallows remain.- Full Language Server Protocol support — all 25 methods in
spec/lsp/language-server-protocol.tsv: lifecycle + document sync,publishDiagnostics(colored underlines + diagnostics panel),hover,completion+completionItem/resolve,definition/implementation/typeDefinition,references,documentHighlight,documentSymbol,workspace/symbol,signatureHelp,formatting/rangeFormatting,rename,codeAction,codeLens,selectionRange,foldingRange,inlayHint,linkedEditingRange. Configured per language vialsp_enabled/lsp_servers(no built-in server); protocol core insrc/lsp_core/, process IO insrc/lsp.rs. Seespec/lsp. - Editor features: code folding (▾/▸ gutter), inline inlay hints, bookmarks (toggle/next/prev/list), keyboard macros, buffer-word autocomplete, overwrite mode, column ruler, multi-cursor up/down, line transforms (join/sort/sort- unique/reverse/dedupe/trim), and a shortcuts/key-menu overlay.
- Tools: MD5/CRC32 checksums, JWT decode, base conversion (dec/hex/bin/oct), a live regex tester, markdown preview, snippets, and a text-information panel.
- Git: stash / stash pop / commit amend, a merge-conflict resolver (keep ours/theirs/both, next conflict), and per-hunk stage/revert.
- X11 Colors picker (Tools → X11 Colors) — swatch + hex + name; inserts the
hex. New
x11_color_pickermodule. - HTML Characters picker (Tools → HTML Characters) — glyph / entity / code
point; clicking a cell inserts that cell’s text. New
html_character_pickermodule. - macOS VSCode keymap — Quick Open (
Ctrl+P), Command Palette (Ctrl+Shift+P), Go to Symbol, Go to Line, and the familiar VS Code chords. - Edit → Go submenu — File Start/End, Line Number, and Line / Paragraph / Section Start & End cursor jumps.
- Edit → Select gains Select Paragraph and Select Section.
- Scrollbars on the file explorer and the character/color pickers.
Changed
- Renamed the Tools “Generate” submenu to “Insert” (actions
tools.generate.*→tools.insert.*); format/acronym menu labels route throughmenu.name.*locale keys. Alt+Vnow opens the Vix menu (the first menu); View moved toAlt+I.- Renamed “keyway” → “keymap” throughout (setting, chooser module, menus, docs).
- Renamed “project” → “workspace” throughout — Find In Workspace…,
Workspace Dashboard, workspace-wide search/replace, the
workspace_dashboard_panelmodule, and theworkspace_searchmodule. - Renamed the picker crates from
-palette/-panelto-picker:ascii_character_picker,html_character_picker,nerd_font_picker,x11_color_picker(the ASCII one wasascii_panel). - Menu dropdowns open with nothing highlighted — the user arrows, hovers, or types to pick an item (no auto-selected first row).
- Removed the standalone Find & Replace menu item — replace now lives inside
the Find panel (
Ctrl+RorTabto the Replace field). - Per-crate specifications moved into each crate’s
spec/index.md; the top-levelspec/keeps the app-level specs. - Shortcut labels use spaces instead of
+(e.g.Ctrl Shift Zrather thanCtrl+Shift+Z) in menus and the keyboard-help overlay. - Recent-files count is configurable via the
recent_files_maxsetting (default 15), controlling how many entries File → Open Recent… keeps. - Spellcheck autodetects Hunspell dictionaries from the platform’s standard
locations (
/usr/share/hunspell,/Library/Spelling,/opt/homebrew/share/hunspell,$XDG_DATA_HOME/hunspell, andhunspell -D). Thedictionaries_dirsetting is replaced bydictionary_path(an extra directory to search; empty = autodetect only); both the standard<name>.{aff,dic}and wooorm<name>/index.{aff,dic}layouts are accepted. - Bottom-dock scrollback is configurable via the
scrollbacksetting (default 1000 lines, down from a hard-coded 5000); the oldest lines are dropped past the limit. - Redo shortcut is now
Ctrl+Shift+Z(wasCtrl+Y), matching the common undo/redo pairing.
Added
-
Right-click context menu in the editor: Cut / Copy / Paste, Select All / Select More / Select Less, and Find / Find Next / Find Previous.
-
File-explorer path filters: filter the tree by Include regex and Exclude regex (command palette “Explorer: Include/Exclude Regex Filter”). Files whose workspace-relative path fails the filter are hidden; directories stay visible. The explorer title shows
(filtered)when active. -
Outline panel (
Ctrl+Shift+B, or the palette “Outline”): a list of the active buffer’s symbols (kind prefix + name); Enter or a click jumps to the symbol, and the cursor’s enclosing symbol is selected on open. New internaloutline_panelmodule. -
Workspace Dashboard (Tools → Workspace Dashboard): a live overlay showing the workspace folder name, disk usage (
du), file count, and git commit count, each computed asynchronously and filled in as it completes. New internalworkspace_dashboard_panelmodule. -
Select More / Select Less (Edit menu;
Ctrl+Shift+→/Ctrl+Shift+←): grow or shrink the selection by a word. Move Up / Move Down (Edit menu;Alt+↑/Alt+↓) are now also surfaced in the menu. -
Case transforms (Edit → Case): convert the selection to Upper, Lower, Title, Kebab (
foo-bar), Snake (foo_bar), Camel (fooBar), or Pascal (FooBar). -
Workspace search path filters: the workspace-wide search/replace panel gains Include path and Exclude path regex fields that narrow the searched files by their workspace-relative path (
Tabcycles to them). -
Git integration via the new
gitmodule, shelling out to thegitCLI. The status bar shows the current branch and a dirty dot; the file explorer shows colored M/A/?/D/R/U badges on changed files; the editor draws a colored diff gutter (added/modified/deleted) against HEAD. The Git menu offers a Changes… panel to stage/unstage files (Space/s/u) and commit (c), Switch Branch…, and Pull / Push / Fetch (streamed to the bottom dock). -
Spell checking (View → Editor → Toggle Spellcheck): underlines misspelled words in comments and string literals in red, using Hunspell dictionaries from the
dictionaries/<locale>/directory (dictionaries_dirsetting) via the new pure-Rustspellcheckmodule. The language follows the UI locale; code-like tokens (acronyms, camelCase identifiers) are skipped. Off by default. With the cursor on a misspelled word,Ctrl+;opens a suggestions popup with replace, add-to-dictionary, and ignore actions. -
System Information panel (Tools → System Information): a scrolling, read-only snapshot of the host — OS, CPU, memory, swap, disks, uptime, and environment (via the
sysinfocrate). Enter or a click inserts the highlighted value into the editor; Esc closes. Lives in the new internalsystem_information_panelmodule. -
Unsaved-changes prompt. Closing a tab or quitting with unsaved changes now raises a modal asking to (s)ave, (d)on’t save, or (c)ancel. Quit walks every dirty tab in turn before exiting. Vim
:q!still force-quits without prompting. -
ASCII panel (Tools → ASCII): a scrolling overlay of the 128 ASCII codes showing each code’s decimal, hexadecimal, and character representation. Arrow keys / PageUp / PageDown / Home / End move the highlight; Enter or a click inserts the highlighted character into the active editor; Esc closes. Lives in the new internal
ascii_character_pickermodule. -
View → Layout submenu. The dock and status-bar toggles (Show/Hide Left Dock, Right Dock, Bottom Dock, Bottom Status) now live under a Layout submenu, alongside the existing Editor submenu.
-
Menu type-ahead. With a menu open, typing a letter jumps to the next item whose label starts with it, cycling — e.g. in File,
S→ Save,S→ Save As. Works inside an open submenu too. -
Search in Workspace → Dock (Edit → Find submenu, or the palette): search every workspace file for a term and list the hits in the bottom dock as
path:line:collines — each one click-to-jumps to the match. In the prompt,Alt+Ctoggles case-sensitivity andAlt+Rtoggles regex. -
Run Command (Tools → Run Command…, or the palette): prompt for a shell command, run it in the workspace root in a background thread, and stream its merged stdout/stderr into the bottom dock (shown automatically) line by line, with a
$ commandheader and an[exit N]footer. The UI stays responsive; Cancel Command (Tools menu / palette) kills a running command. -
Resizable bottom dock. The bottom dock is pinned directly above the status bar, and its top edge is draggable to grow or shrink it (persisted in the
bottom_dock_heightsetting), matching the draggable left/right docks. -
Bottom-dock scrolling, focus & click-to-jump. Click the bottom dock to focus it (its border brightens); then
↑/↓,PgUp/PgDn, andHome/Endscroll its buffer. The mouse wheel scrolls it any time;Escreturns focus to the editor. Clicking a line that names apath:line[:col]location (a build error, grep hit, …) opens that file there, making Run Command output actionable. -
Bottom dock (View → Show/Hide Bottom Dock, or the palette;
show_bottom_docksetting, default off): a full-width scrollable line buffer at the bottom of the body for log messages, command/terminal output, data views, etc. State lives in the newbottom_dockmodule (line buffer + scroll). -
Calendar month-nav arrows. The calendar box’s month header shows
◀ Month Year ▶; the arrows are clickable (and mirror the←/→keys), and a bottom help line shows◀ ▶ month Esc close. -
Many more UI languages. Added Italian, Korean, Turkish, Dutch, Vietnamese, Indonesian, Thai, Persian, Ukrainian, and Greek — plus Klingon (
tlh) and Sindarin (sjn) — for 27 selectable languages. The full menu bar is translated into the 15 primary locales; other keys fall back to English. -
Calendar click-to-insert. In the calendar box, clicking one of the date-time lines (local date-time, UTC ISO instant, ISO week date) inserts that string into the editor; clicking a day in the month grid inserts that date formatted per the active locale. The box stays open for repeated inserts; a click outside closes it.
-
Nested submenus in the menu bar. View → Editor groups the editor display toggles (line numbers, visible whitespace, scroll bar); Edit → Find groups the find-related items (Find, Find Next, Find Previous, Find Selection, Find & Replace). Arrow keys / clicks open and navigate submenus (Right or a click opens, Left or Esc backs out).
-
Show/Hide Editor Scroll Bar (View → Editor, or the palette): toggle the editor’s right-side scroll bar; the text reclaims the column when hidden. Persists in the
show_scrollbarsetting (default on). -
Reopen Closed Tab (
Ctrl+Shift+T, File menu, or the palette): reopen the most recently closed file (remembers a stack of recently closed paths). -
Close All Tabs (File menu, after Close, or the palette): close every open buffer, leaving a single empty untitled buffer.
-
Find Next / Find Previous / Find Selection in the Edit menu (after Find). Find Next (
Ctrl+G) and Find Previous (Ctrl+Shift+G) repeat the last search — and now keep working after the find box is closed (the last pattern is remembered;F3/Shift+F3repeat it too). Find Selection jumps to the next occurrence of the selection (Alt+N). -
Toggle Bottom Status (View menu / palette /
view.status_bar): show or hide the bottom status bar; the editor body reclaims the row when it is hidden. Persists in theshow_status_barsetting (default on). -
Editing comforts. Select All (
Ctrl+A, Edit menu, or the palette), Duplicate Line (Ctrl+Dor the palette), Move Line Up/Down (Alt+↑/Alt+↓or the palette), and Jump to Matching Bracket (Ctrl+]or the palette). Auto-indent on Enter (carry the previous line’s leading whitespace) was already present and is now covered by tests. -
Nerd Font Palette (Tools → Nerd Font Palette…, crate
nerd_font_picker): a character picker showing a grid of curated Nerd Font glyphs. Browse with the arrow keys or the mouse; Enter or a click inserts the highlighted glyph into the active editor and leaves the palette open so several can be picked in a row; Esc closes it. -
Menu separators. Dropdowns group related items with non-selectable divider lines: in File (before Open, Close, Quit), Edit (before Cut, Toggle Comment, Find), and View (before Toggle Left Dock, Toggle Editor Line Numbers). Keyboard navigation, hover, and clicks skip separators.
-
Bracket matching. When the cursor is on (or just after) a bracket
()[]{}, its matching partner is highlighted. No auto-insertion of pairs. -
Richer status bar. The status bar now shows the language, line ending (LF/CRLF), encoding (UTF-8), and — when text is selected — the selected character and line count, alongside the existing line:column.
-
Fully-custom editor widget (
editor_core) with soft wrap. The editor was migrated from the vendorededitor_corefork to an in-house widget: the Tree-sitter highlighting + buffer + undo/redo engine is reused, while the editor state, input, mouse, and renderer are owned by Vix. The renderer now supports soft wrap — toggle with View → Toggle Soft Wrap (or the palette); thesoft_wrapsetting persists. Long lines wrap across screen rows with cursor, scroll, and mouse all wrap-aware. (Also fixed a latent panic when jumping to a line past the end of the buffer.) -
Internationalization via
rust-i18n. The entire UI is translatable; 15 languages are selectable (English, Spanish, French, German, Welsh fully translated; Irish, Scottish Gaelic, Polish, Portuguese, Russian, Arabic, Hindi, Bengali, Chinese, Japanese with menu/theme coverage and English fallback). Language is chosen with--locale, thelocalesetting, or View → Locale… (a live chooser). English is the fallback. Seedocs/i18n.md. -
Themes. All themes are JSON themes with per-region RGB colors (menu bar, status bar, left/right dock, editor) and optional editor cursor and syntax colors. Dark and Light ship bundled; more are bundled too, and users can add their own in
~/.config/vix/themes/*.json. Chosen live in View → Theme…. Seedocs/themes.md. -
Configuration via
confy, stored as TOML in the platform config directory. Newthemeandlocalesettings. Seedocs/configuration.md. -
Command-line interface via
clap: positional files (with optionalpath:line:col) and a--localeflag;--help/--version. -
Vix menu (first in the bar) with About Vix (shows
Vix <version>), Website, and Email — each opens a modal dialog with an Ok button. The Website/Email dialogs show the text in a selectable text field (drag or arrow-select,Ctrl+Cto copy). -
Keymaps (View → Keymap…, module
keymap_model): choose the keyboard navigation style, which changes how keys are dispatched. The choice persists (keymapsetting); Apple is the default.- Apple — modifier shortcuts (e.g.
Ctrl+Oopen,Ctrl+Qquit). - Emacs —
Ctrlchords and theCtrl+Xprefix:Ctrl+X Ctrl+Fopen,Ctrl+X Ctrl+Ssave,Ctrl+X Ctrl+Cquit,Ctrl+X kclose; cursor motion withCtrl+F/B/N/P/A/E/V,Ctrl+Ddelete,Ctrl+Sfind,Ctrl+Gcancel. - Vim — modal: a Normal mode (
h/j/k/l,0,$,x,i/a/o/Oto enter Insert,Escback to Normal) and a:command line (:w,:q,:q!,:wq/:x,:Ex). The status bar shows the current mode.
- Apple — modifier shortcuts (e.g.
-
View menu with theme, locale, and keymap choosers and the drawer/line-number toggles.
-
Indentation settings —
indent_style("spaces"/"tabs") andtab_widthcontrol what the Tab key inserts (default: 4 spaces), overriding the editor widget’s per-language default. -
Live go-to-line preview — in the palette’s
:mode the cursor now follows the line number as you type (scrolling it into view);Entercommits (recording the original position in the jump history) andEscreverts. (Also fixes a latent panic when jumping to a line past the end of the buffer.) -
Find occurrence of selection (
Alt+N/Alt+P, or the palette): jump to the next/previous occurrence of the current selection — or the word under the cursor when there is no selection — without opening the search bar. -
Smart Home —
Homejumps to the first non-blank character of the line; pressing it again jumps to column 0 (toggling between the two). -
On-save normalization — two settings (
trim_trailing_whitespace,ensure_final_newline, both default on) strip trailing spaces/tabs from each line and append a final newline when saving. (Making the previously always-on final-newline behavior configurable.) -
Toggle Comment (
Ctrl+/, the Edit menu, or the palette): comment or uncomment the cursor line or every line in the selection, using the language’s comment token (//,#,--), as a single undoable edit. The editor widget’s comment-token map gained TOML/YAML (#) and SQL (--). -
Go to Symbol in File — a new command-palette mode (
@prefix, or the “Go to Symbol in File” command) listing the current file’s declarations (functions, types, classes, traits, modules,#defines, …) to fuzzy-filter and jump to. A fast, offline, language-agnostic heuristic — no language server. -
Open Recent (
File → Open Recent…,Ctrl+Shift+O, or the palette): a chooser of recently opened files. The list (most-recent first, de-duplicated, capped at 15) persists in therecent_filessetting. -
Toggle Editor Visible Whitespace (View menu / palette /
view.whitespace): render dim glyphs for space (·), tab (→), carriage return (␍), and line ending (¶). Off by default; persists in theshow_whitespacesetting. -
Dock toggle icons in the menu bar (clickable explorer/messages toggles; bright when open, dim when closed).
-
A visible block cursor in the editor, themeable via a custom theme’s
cursorcolor. -
Custom themes can set per-region
font-style(normal/italic) andfont-weight(normal/bold); the editor also applies a custom theme’s syntax token colors. -
Editor scrollbar drag: press and drag the scrollbar thumb/track to scroll.
-
Resizable docks: drag the explorer’s right edge or the message drawer’s left edge to resize them. The widths persist (
explorer_width/messages_width). -
A collection of themes bundled into the binary (Darker, Darkest, Lighter, Lightest, Matrix, Turbo, Solarized Dark/Light, Dracula, Nord, Gruvbox Dark, Monokai, One Dark, Tokyo Night) that appear in View → Theme… with no installation. A same-named theme in
~/.config/vix/themes/overrides a bundled one. -
New modules:
theme_model,locale_model,keymap_model,keyboard_shortcut_panel,calendar_panel,nerd_font_picker, andfind_panel(the find / find-and-replace box state). -
New docs:
docs/themes.md,docs/i18n.md,docs/configuration.md,index.md,AGENTS.md(+agents/), and this changelog.
Changed
- Docks and status bar extracted to modules. The left dock (file
explorer) moved to
left_dock, the right dock (message drawer) toright_dock, and the status-bar segment formatting tostatus_bar_panel. The app re-exports them; behavior is unchanged. - The main panes use a lighter border frame: the left and right docks keep only their inner (top + side-facing-the-editor) borders, the center editor keeps only its top border, and the bottom status bar gains a full-width top border that separates it from the body.
- The editor widget module was renamed
ratatui-code-editor→editor_coreand made theme-aware (configurable text, line-number, selection, and cursor styles, and a settable syntax palette). - The calendar logic moved into
calendar_paneland gained month navigation (Left/Right while the calendar is open). - Every theme is now a JSON theme. The hardcoded monochrome Dark/Light
modes were removed; Dark and Light are now ordinary bundled themes
(
tui/themes/dark.json/tui/themes/light.json, soft[215,215,215]on[40,40,40]and its inverse) loaded like any other. The chooser lists every theme (including Dark and Light) sorted by name, and the persistedthemesetting is the theme’s name. - Settings moved from hand-rolled JSON to
confyTOML. - All public items are documented (
#![deny(missing_docs)]); the module forbidsunsafe.
Fixed
- Panel border lines now use each pane’s own foreground color (via
region_title) instead of the global editor foreground, so borders match the pane under themes whose regions use different colors. - In the find / replace box, clicking the Find or Replace field now focuses it
(previously the box swallowed all mouse input, so the Replace field was only
reachable with
Tab, which the hint never mentioned). The hint now statesTab / click: switch fieldin replace mode. - In the file explorer,
←(Left) no longer expands a collapsed folder. It now collapses an expanded folder, or jumps to the parent folder when the selection is already collapsed — it never opens a folder. - Duplicating the last line of a buffer with no trailing newline (
Ctrl+D) now produces a real second line instead of concatenating the copy onto the original. Line-boundary detection at end-of-buffer was off by one, which also affectedCtrl+K(delete line) and triple-click line selection on the last line. - Menu dropdown items keep at least one space between the label and the right-aligned keyboard shortcut (the widest item used to let them touch).
- Keyboard-only modal overlays (the calendar box, find, query-replace, workspace search, confirm, paste-conflict) now swallow mouse clicks instead of letting them fall through to the editor underneath.
- Menu mouseover now moves the selection: with a dropdown open, hovering a row highlights it and hovering another top-level name switches menus (any-motion mouse tracking is enabled for this; other panes ignore button-less motion).
- The theme, locale, and keymap choosers now respond to the mouse: clicking a row highlights (and, for theme/locale, live-previews) that entry instead of being ignored.
- The active editor tab keeps the theme background (marked with an underline) instead of reversed video, which showed a light background under a dark theme.
- Search-hit marks render monochrome (underline) instead of a hard-coded color.
- Overlays paint the theme background so they read correctly in the light theme.
- The menu dropdown no longer shows its raw i18n key as a title.
- Clicking an item in an open menu dropdown now runs it (and clicking away closes the menu).
- The tab bar paints the editor’s theme background instead of resetting to the terminal default (it no longer shows white under a dark theme).
- Removed the gray app-name label from the right of the menu bar.
What’s new in Vix 2.0
Status: 2.0.0, 2026-11-06. Every item below is built and tested; where something is partial, experimental or opt-in, it says so. The full, detailed record is the changelog (its
[2.0.0]section).
2.0 is a feature release for people who edit code in a terminal: it adds working
on other machines, working together, a code-aware chat, many IDE conveniences
and a much lighter large-file path. It is also a major version because it
makes breaking changes to the library API of the vix-* crates so later
additions can be non-breaking. The vix command and your settings files keep
working; see Upgrading.
Highlights
- Remote editing over SSH (experimental).
vix ssh://user@host/path, or File → Open Remote…, opens a folder on another machine with nothing installed there. Search, Git and the terminal run on the remote machine. The workspace starts untrusted; once you trust it, language servers, the debugger and tasks run there too. Avixof the same version on the remote side is used as a faster remote agent when it is present. Docker and Podman containers (docker://,podman://) and dev containers work the same way; Kubernetes (k8s://) passed the conformance suite against one localkindcluster, and WSL (wsl://) has only been tested against a stand-in, so treat both as experimental. See Remote editing. - Cowork: edit together in real time (opt-in build). Single-use invites,
the host approves each guest, everyone’s cursors in their own color,
conflict-free merging, a session chat and shared notes, and a terminal that
is shared read-only by default. Everything travels encrypted with no server
in between. Cowork is not in the default build or the prebuilt releases:
everyone in a session needs a build made with
--features cowork. See Cowork. - IM menu: code-aware chat. A local Notes conversation, IRC (IRCv3 over
TLS),
path:linereferences that open on Enter, and threads anchored to lines of your files, stored in.vix/im/threads/so Git can share them. Matrix is planned, not built. See IM. - IDE features. Local History (a snapshot on every save, with diff and
restore), Search Everywhere, a Refactor menu, Organize Imports and Code
Cleanup, named run configurations in
.vix/run.toml, Peek Definition, CodeLens and postfix completion. See IDE parity. - Large File Viewer. File → Open in Large File Viewer… reads a multi-gigabyte file read-only without loading it. Measured on an Apple M4 Max with a warm cache: a 4 GiB log shows its first screen in under a millisecond and is fully indexed in about half a second, using under 5 MiB. See Large File Viewer and Performance.
- Lighter everyday editing. A 100 MB log now takes 126 MiB instead of 1.1 GiB, and an idle Vix uses no CPU instead of about 7.5% of a core. The terminal-capability probe for images no longer delays the first screen. Conditions and numbers: Performance.
More that is new
Containers. The OC menu manages containers, images, volumes, networks and
Podman pods on Docker, Podman or nerdctl, with Compose and image builds. Every
removing or running command shows its exact command first, and
oc_mode = "read-only" limits the menu to viewing.
AI, when you want it. ai = "off" hides the AI menu and refuses every AI
request, with no rebuild. vix --mcp serves a read-only view of a workspace
(open buffers, symbols, outline, SQLite schemas) to an AI agent over the Model
Context Protocol. Inline ghost-text completion
(inline_completion = "off" | "lsp" | "ai", off by default) shows a dimmed
suggestion; Tab accepts it. A first slice of an Agent Client Protocol client
(AI → Start Agent) works in trusted workspaces only; choosing between
several agents and session resume are not built yet.
Editing. Multiple carets gain word, line and buffer motions, Split
Selection into Lines and Select Regex Matches in Selection. Undo Tree
(Edit → Undo Tree…) shows and restores any state of a buffer. Hot exit backs
unsaved buffers up so a crash or closed terminal no longer loses them (and asks
before recovering). Safe saving keeps hard links and file owners and keeps a
recovery copy of the original. Legacy encodings (UTF-16, Shift_JIS, GBK,
windows-125x and more) open as editable text and are saved back the way they
came. Compare Files side by side (vix --diff OLD NEW) opens both files as
editable, synchronized tabs.
Code intelligence and debugging. Indexing and build progress in the status bar, View → LSP Status…, snippet completions that follow the full LSP snippet grammar, on-type formatting, document colors and links, call and type hierarchies, and incremental sync. The debugger gains conditions, hit counts, logpoints, exception filters, attach, threads and expandable variables. Tree-sitter text objects add function and class motions.
Git. An interactive commit graph, interactive rebase and cherry-pick, stash list and worktrees, a change-gutter base you can choose, a read-only multi-file branch review with exportable line comments, and opening or discarding changes from the Git panel. Blame now matches unsaved edits.
Terminal. Several terminals, scrollback, text selection, and Ctrl+click on
a path:line:col in output opens it in the editor.
Data and tools. A REST client with many requests per .http file,
variables, environments and Copy as curl; a FHIR client; an HL7 v2 view with
MLLP send; a Todo Tree; formatting with your project’s own Prettier; piping the
selection through a shell command; and an opt-in Jupyter kernel
(--features jupyter).
Project environments. Vix detects a .venv, direnv or mise environment and
applies it to language servers, tasks and the terminal. direnv and mise run only
in a workspace you have trusted, and a project can add its own detectors in
.vix/env.toml, optionally with extra variables for the detector’s own command.
Packaging. From 2.0, Windows on ARM gets its own .zip and .msi. Since
1.8.0 every release also carries .deb, .rpm and Arch packages. See
Getting Started for the install commands that work
today.
Fixes worth knowing about
- Git from a repository subdirectory now uses the right file; staging a path
such as
app/[id]/page.tsxno longer stages a similar one. - LSP formatting edits go to the file they were requested for; edits computed against text that has since changed are dropped, not applied.
- Replace in Files skips and reports a line that changed after the search.
- Save As asks before overwriting; reloading guards against devices, huge and binary files.
- The single-color (phosphor and safelight) themes are now truly one color, and were renamed with a “Monochrome” suffix (old saved names still resolve).
- The workspace script-trust prompt needs an explicit
y. - The Linux musl build is now configured to link statically. This is not yet verified on a real release build.
Upgrading
- The
vixcommand and your settings files keep working. For exampleauto_save = trueandfalsestill load. - Terminal. Tools → Terminal and
Ctrl+]now hide the terminal, which keeps running; Tools → Terminal → Close Terminal stops it. - Themes. Saved theme names that point at the old single-color names still find their theme.
- Using the crates as a library. Breaking changes: public types that keep
growing are
#[non_exhaustive](build them fromDefault::default()and assign fields), mostResult<_, String>APIs return typed errors,App’s public fields shrink to the ones the GUIs use, and some LSP, debugger and terminal signatures changed. The complete list is the Breaking section of the changelog. - Minimum Rust for building from source is 1.97.
Not in 2.0 yet
So that nothing here is a surprise:
- The winget, Scoop, AUR, Nix and mise install channels have files in the
repository but are not published or verified,
cargo binstallis untested, and the container image is built on every version tag but not public yet; use Homebrew, the installer scripts, npm, a Linux package or Cargo. - There is no apt or dnf repository; update by installing the next package.
- Matrix chat, WSL against a real Windows host (Kubernetes is verified on one local cluster only), and the full ACP agent experience are not done.
- Cowork and Jupyter need a custom build.
Announcement drafts
Maintainer-facing drafts of the launch announcement live in
docs/launch/. They are drafts; nothing has been posted.
Releasing Vix
A release goes out by pushing a version tag: the tag starts
.github/workflows/release.yml (generated by dist), which builds every
target and publishes every channel. 2.0.1 and 2.0.2 shipped this way.
scripts/release-local is the local alternative; it was used for real once,
for 2.0.0, which therefore shipped only three archives. Cutting a tag or a
GitHub Release is always the maintainer’s decision (AI_STATEMENT.md);
cargo publish is pre-authorized under its §1–§5 checklist.
The normal path: a tag on main
- Cut the changelog:
CHANGELOG.mdneeds a## [2.0.2]section (not just[Unreleased]) and the workspace version must match. - Attest the commit to release with
scripts/attest(see Contributing) on a machine withcargo-hack,cargo-semver-checks0.51 or newer and CSpell installed, check it withscripts/attest --verify --release, push it tomainwithgit push origin refs/notes/vix-gate, and wait for CI to be green. Every forge’s release jobs refuse a tag whose tree has no such record (T866,spec/ci, “Release evidence”); theVIX_ALLOWED_SIGNERSsecret must be set on GitHub and Codeberg (CI/CD variableVIX_ALLOWED_SIGNERS_DATAon GitLab). - Tag only a commit that is already on
mainon GitHub.dist’shostjob creates the GitHub Release with the tagged commit as its target, andGITHUB_TOKENgetsHTTP 403: Resource not accessible by integrationfor a commit that is on no branch (seespec/ci). With the maintainer’s say-so, push a signed tag such as2.0.2. - Watch the release run (
gh run watch). It builds the archives (including a static musl build, whose flags come from.github/dist/build-setup.yml), the shell and PowerShell installers, the MSIs and the GUI archives, creates the GitHub Release (with a CycloneDX SBOM,<program>.cdx.xml, forvix-tuiand each GUI), runs the Homebrew job (thevixformula, the seven macOS app bundles, six Linux AppImages per architecture and their casks, pushed tovixide/homebrew-tap; seespec/brew) and publishes@vixide/vixto npm; thelinux-packagesworkflow then builds and tests the.deb,.rpmand Arch packages. A failed publish job can be re-run on its own once its cause is fixed. - Publish the crates:
cargo publishfor every workspace crate, in dependency order, after the checklist inAI_STATEMENT.md§1–§5. Then, fromgui/, the seven GUI crates (cargo publish -p vix-egui, …), and last the umbrella cratevix(cargo publish -p vix), which depends onvix-tuiand every GUI at this version (gui/vix/spec, “Publishing”). crates.io rate-limits new versions (about 30 crates at once, then about one a minute), so publishing all of them takes a couple of hours. The run is resumable: skip every crate already at the version and carry on.
The local alternative: scripts/release-local
scripts/release-local (T766) builds the three Makefile release targets,
checksums them, signs the checksums with the maintainer’s SSH key, and can
upload them to GitHub and Codeberg. It never creates or pushes a tag unless
given the separate --tag flag.
- Rehearse:
scripts/release-local 2.0.2 --dry-run. This checks the preconditions, runsmake build-macos build-windows build-linux, writestarget/release-local/2.0.2/, signs it, and prints the exactghandteacommands an upload would run. It uploads nothing and tags nothing. The default (no flags) behaves the same. - Check the result as a downloader would:
scripts/release-local --verify-dir target/release-local/2.0.2. - Decide about the tag.
scripts/release-local 2.0.2 --tagmakes a signed annotated tag locally and nothing else. Pushing it is the maintainer’s decision, and pushing it also startsrelease.yml, which builds and creates the full release, so decide which path is the release before you push. - Upload:
scripts/release-local 2.0.2 --publish. It refuses unless the tag already exists on both forges, asks you to typepublish 2.0.2 to github codebergexactly, then runsgh release create --verify-tag(orgh release upload --clobberwhen the release exists) andtea releases create.
What it refuses
A tree that is not clean, a branch other than main, a HEAD tree without a
release-qualifying attestation (scripts/attest --verify --release: every
release check run and none skipped, so an attestation made without
cargo-hack, cargo-semver-checks or CSpell installed does not count), a version that is not
the workspace version or has no changelog section, a missing build tool or cross
linker, and (for --publish) a missing tag or a confirmation that does not match.
Assets
For each target the script writes vix-tui-<target>.tar.xz (.zip for Windows),
a matching .sha256, one SHA256SUMS, and SHA256SUMS.sig
(ssh-keygen -Y sign -n vix-release, verified with the allowed signers file that
signs commits). A downloader verifies with scripts/release-local --verify-dir DIR
or ssh-keygen -Y verify -n vix-release. What an administrator checks on each
distribution route, signed or not, is in
Verifying a download (scripts/verify-release).
Packaging handoff
scripts/packaging render 2.0.2 --sums SHA256SUMS reads a release’s
checksums to fill the winget, Scoop and AUR templates; nothing is published.
The templates name the dist targets (*-pc-windows-msvc,
*-unknown-linux-gnu), so render them from a dist release’s checksums; the
local release builds x86_64-pc-windows-gnu and x86_64-unknown-linux-musl,
and render reports the assets it lacks.
When a release fixes a vulnerability, the incident-response playbook says what comes before and after these steps.
See spec/ci and
spec/local-ci for the design.
Verifying a Vix download
For administrators installing Vix: for each way Vix is distributed, what produced the file, what to check it against, what that check actually proves, and the exact command. It was written for audit item PQ-09 (T870).
Three kinds of evidence appear below, and they answer different questions:
- A signed manifest (
SHA256SUMSwithSHA256SUMS.sig) ties every file it lists to the maintainer’s SSH signing key. Only releases made withscripts/release-localhave one. So far that is 2.0.0 alone. - Checksums (
<file>.sha256,sha256.sum,linux-packages.sha256) come from the same release page as the files. They prove that the download is complete and is the file that page lists. They do not prove who made it: someone who can change the page can change both. - Registry integrity and provenance (Homebrew, npm, crates.io) is checked by the package manager against its own index or registry. Trust rests on that registry and on the account or workflow allowed to publish to it.
The SBOMs (<program>.cdx.xml) list what a program was built from. They are
evidence for a dependency review, not a way to check the binaries.
Routes at a glance
| Route | Status | Producer | Verification material | Trust source |
|---|---|---|---|---|
| Release archives | published (2.0.1 and later) | dist in .github/workflows/release.yml | <archive>.sha256, sha256.sum | the GitHub Release page (HTTPS) |
| Locally signed release | published once (2.0.0) | scripts/release-local | SHA256SUMS, SHA256SUMS.sig | the maintainer’s SSH signing key |
| Shell and PowerShell installers | published | dist | sha256.sum | the GitHub Release page |
| Windows MSI | published | dist (WiX) | sha256.sum | the GitHub Release page; the MSI is not code-signed |
| Linux packages | published | .github/workflows/linux-packages.yml | linux-packages.sha256 | the GitHub Release page; the packages are not signed |
| Minimal build | published | .github/workflows/release-minimal.yml | <archive>.sha256 | the GitHub Release page |
| Homebrew | published | dist, pushed to vixide/homebrew-tap | the SHA-256 in the formula | the tap repository |
npm (@vixide/vix) | published | .github/workflows/publish-npm.yml | registry signature; provenance when published through OIDC | the npm registry |
| crates.io (source) | published | cargo publish by the maintainer | the index checksum of each .crate | crates.io |
| SBOMs | published | dist and .github/workflows/sbom.yml | sha256.sum where it lists them | the GitHub Release page |
The verifier
scripts/verify-release DIR checks a directory of downloaded files offline, in
one pass, with every kind of material above that is in it. Download each
release into its own new, empty directory (the script rejects any file nothing
covers), then run:
scripts/verify-release DIR # checksums
scripts/verify-release DIR --allowed-signers FILE --require-signature # signed manifest
scripts/verify-release DIR --version 3.0.0 --record verified.tsv # keep a record
It checks the signature of SHA256SUMS (namespace vix-release) before it trusts
any line of it, then that every listed file exists and matches, that all
manifests naming a file agree, and that each .sha256 names its own file. It
refuses a name with a directory part. Each verified file is printed with its
SHA-256, its target (read from the asset name) and what covered it, for
example:
ok vix-tui-x86_64-unknown-linux-gnu.tar.xz sha256=… target=x86_64-unknown-linux-gnu checksum only (checksum:sha256.sum,…)
scripts/verify-release: OK 6 file(s) in …: 0 in the signed SHA256SUMS, 6 by checksums only
The exit status is 0 only when everything verified. --require-signature
also fails any file the signed manifest does not list. The script needs only
sh, awk, sha256sum or shasum, and ssh-keygen for a signed manifest. Each
route below also gives the plain command, for a machine without the script.
Release archives
- Files:
vix-tui-<target>.tar.xz(.zipon Windows), and the same for each desktop GUI (vix-gpui-<target>.tar.xzand so on). - Material:
<archive>.sha256beside each, andsha256.sumfor the whole release. - Command:
sha256sum -c vix-tui-x86_64-unknown-linux-gnu.tar.xz.sha256(macOS:shasum -a 256 -c), orsha256sum -c --ignore-missing sha256.sum. - Expected:
vix-tui-x86_64-unknown-linux-gnu.tar.xz: OK; a modified file printsFAILEDand the command exits non-zero.
Locally signed release
-
Files:
vix-tui-<target>.tar.xz/.zipfor the three Makefile targets, their.sha256,SHA256SUMSandSHA256SUMS.sig(see Releasing). -
Trust source: the maintainer’s SSH signing key, the one that signs commits, in an allowed-signers file (
principal key-type keyper line). Vix does not publish that file yet; get the key from the maintainer through a channel you already trust. -
Command:
ssh-keygen -Y verify -f allowed_signers -I <principal> -n vix-release -s SHA256SUMS.sig < SHA256SUMS sha256sum -c SHA256SUMS -
Expected:
Good "vix-release" signature for <principal>, thenOKfor every file. An editedSHA256SUMS, another key or another namespace fails the first command; a modified archive fails the second.scripts/release-local --verify-dir DIRruns the same two checks.
Shell and PowerShell installers
- Files:
vix-tui-installer.shandvix-tui-installer.ps1(one pair per GUI). - Material: their lines in
sha256.sum. - Command: download the installer instead of piping it into a shell,
check it with
sha256sum -c --ignore-missing sha256.sum, read it, then run it. The installer downloads the release archive for your platform; to check that archive yourself, download it as under Release archives instead. - Expected:
vix-tui-installer.sh: OK.
Windows MSI
- File:
vix-tui-<target>.msi(and one per GUI). It is not Authenticode signed, so SmartScreen warns about an unknown publisher. - Command (PowerShell):
(Get-FileHash .\vix-tui-x86_64-pc-windows-msvc.msi -Algorithm SHA256).Hashand compare it with the file’s line insha256.sum. - Expected: the two values are equal (case aside).
Linux packages
- Files:
.deb,.rpm,.apkand.pkg.tar.zstofvix-tuiand the GUIs (vix-buiandvix-zguibuilt by the same workflow, the rest from the release’s archives) (spec/linux-packages). They carry no package signature: the.apkneeds--allow-untrusted, and there is no apt or dnf repository key. - Material:
linux-packages.sha256, written by the same job after its install tests. - Command:
sha256sum -c --ignore-missing linux-packages.sha256. - Expected:
OKfor each package you downloaded. - Evidence: before uploading, the job installs the packages on Debian 12,
Ubuntu 22.04, Fedora 41 and Arch (and the static ones on Alpine and Rocky
8 and 9) and runs
vix --versionthere;scripts/test-build-linux-packagestests which build each package takes.
Minimal build
- Files:
vix-minimal-<target>.tar.gz(.zipon Windows), uploaded after the rest of the release, so not insha256.sum. - Command:
sha256sum -c vix-minimal-x86_64-unknown-linux-musl.tar.gz.sha256. - Expected:
OK.
Homebrew
- Producer:
distwrites the formula with the archive’s URL and SHA-256; the release’s Homebrew job pushes it, and a cask per desktop app with its.app.zip‘s and its AppImages’ SHA-256, to thevixide/homebrew-taprepository (spec/brew). - Command:
brew fetch --formula vixide/tap/vix(vix-tuiup to 3.0.0) downloads the archive and checks it against the formula;brew fetch --cask vixide/tap/vix-eguidoes the same for an app’s zip (its AppImage on Linux), which also has a<file>.sha256on the release;brew installdoes the same. - Expected: a
SHA256:line equal to the archive’s line insha256.sum; a mismatch stops withSHA256 mismatch. That check trusts the tap, so comparing withsha256.sumis what ties it to the release.
npm
- Producer:
.github/workflows/publish-npm.ymlpublishes@vixide/vixwith npm trusted publishing (OIDC) and keeps a token as a fallback until the trusted publisher is configured, so a version may have been published either way. - Command: in a project that installed it,
npm audit signatures. - Expected: the package counts among the verified registry signatures. It also counts among the verified attestations only if that version was published through OIDC; one published with the token has no provenance.
- Limit: the package fetches the platform’s release archive from the GitHub Release when it installs; npm’s signature does not cover that download.
crates.io (source)
- Command:
cargo install --locked vix-tuibuilds from source. - Material and trust: Cargo checks each downloaded
.crateagainst the SHA-256 in the crates.io index, and--lockedholds every dependency to the versions and checksums in the publishedCargo.lock. crates.io has no publisher signature; trust rests on crates.io and the owners of each crate. - Expected: the build finishes; a checksum mismatch stops it with an error naming the crate.
SBOMs
- Files:
vix-tui.cdx.xmlfromdist’s CycloneDX step and one per desktop GUI from.github/workflows/sbom.yml, both made by the same pinnedcargo-cyclonedx(spec/ci). - Use: verify the file like any release asset, then feed it to your dependency or license review. It says what went into the build; it does not check a binary.
Not published
These channels have templates in packaging/ but
are not published, so there is nothing to verify yet. Do not install Vix
through them.
- winget: manifest not submitted to winget-pkgs.
- Scoop: no bucket exists.
- AUR (
vix-tui-bin): not pushed; its PKGBUILD pins the release’s SHA-256 sums. - cargo binstall: the metadata ships in the crate, untested.
- Nix flake: not built with Nix yet; it builds from source.
- mise: untested.
- Container image (
ghcr.io/vixide/vix): pushed on each release, but the package is private.
The getting-started page keeps the same list.
How this is tested
scripts/test-verify-releasebuilds release fixtures (real archives,dist-style checksum files, a Linux-packages checksum file, an SBOM, and a release signed with a generated key), verifies each in a clean environment (env -i), and checks that every modified fixture is rejected: an archive, a package, an SBOM, a rewrittenSHA256SUMS, a missing or foreign signature, a missing or extra file, a name with a directory part.scripts/test-release-localruns the verifier on whatscripts/release-localreally produces, with--require-signature, and on a tampered copy.scripts/packaging checkfails when this page misses adistinstaller or a route, lists an unpublished channel as a route, or whenSECURITY.mdno longer agrees with it.
Not yet done: running these instructions on real downloads of a published
release, per route, on a clean machine, and recording target, version and
digest (--record writes that record). That needs network access to the
release and the registries; the fixtures above stand in for it.