Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Vix™ documentation index

A map of the documentation in this repository.

User guides

Highlights:

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.

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 publish and 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 bench baselines for the per-keystroke and per-frame hot paths, cold start, the Large File Viewer benchmark and the binary-size budget.

For AI tools

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+C copies, Ctrl+S saves, 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 .http files; a Jujutsu client; a persistent, branching undo tree.
  • Private and careful by default. No telemetry, no accounts, no update check. No unsafe code. Scripts are sandboxed, and a project’s own scripts run only after you trust the workspace. See SECURITY.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.

VixVS CodeNeovimJetBrains IDEsSublime 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--
ScriptingRhai, sandboxedJS/TS extensionsLuaJava/Kotlin pluginsPython plugins
PriceFreeFree21Free~22Paid23

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):

VixNeovim
10,000-line Rust file: time to first screen40 ms32 ms
10,000-line Rust file: memory33 MiB25 MiB
100 MB log file: time to first screen87 ms121 ms
100 MB log file: memory126 MiB130 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


Vix™ and Vix IDE™ are trademarks.


  1. 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. ↩

  2. JetBrains Gateway runs the IDE backend on a remote machine behind a desktop client. ↩

  3. Seven experimental desktop front ends run the same editor in a native window. See gui/spec. ↩

  4. Through third-party front ends such as Neovide. ↩

  5. Off by default. The Vi, Spacemacs and Helix keymaps are a menu choice away. See keymaps. ↩

  6. Through extensions such as VSCodeVim. ↩

  7. Through the IdeaVim plugin, maintained by JetBrains. ↩

  8. Vintage mode ships with Sublime Text but is off by default. ↩

  9. VS Code speaks LSP to language servers, but each language’s support comes from an extension; a few (TypeScript, JSON, HTML, CSS) are bundled. ↩

  10. The client is built in; you install and configure each server yourself. ↩

  11. JetBrains IDEs analyze code with their own engines, which go deeper than most language servers for the languages they target. ↩

  12. Through the LSP package. ↩

  13. Through plugins such as nvim-dap. ↩

  14. VS Code highlights with TextMate grammars. ↩

  15. Highlighting comes from the IDE’s own parsers. ↩

  16. Sublime Text uses its own syntax definitions. ↩

  17. Command-line completion is built in; fuzzy pickers are plugins such as Telescope or fzf-lua. ↩

  18. A Git diff gutter is built in; staging and history are in Sublime Merge, a separate app. ↩

  19. In the paid editions (IntelliJ IDEA Ultimate and the database tools from DataGrip). ↩ ↩2

  20. undofile keeps undo history across sessions and the history branches, but browsing the branches needs a plugin. ↩

  21. The source is MIT-licensed; Microsoft’s builds are under a product license and send telemetry by default (telemetry.telemetryLevel). ↩

  22. Community editions are free; Ultimate editions are paid. ↩

  23. 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.md for the status of each and spec/packaging for 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-tui from a Vix bucket. The bucket does not exist yet.
  • AUR (Arch): vix-tui-bin, for example yay -S vix-tui-bin. Not yet pushed to the AUR.
  • cargo binstall: cargo binstall vix-tui. vix-tui is on crates.io and the published crate carries the binstall metadata, but nobody has tried it yet.
  • Nix: nix run github:vixide/vix to try it, nix profile install github:vixide/vix to install it. The flake has not been built with Nix yet.
  • mise: mise use -g cargo:vix-tui, or mise 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/vix opens Vix on a demo workspace. The image builds and runs from docker/Dockerfile and is built and pushed on every version tag, but the ghcr.io package is not public yet, so docker pull does 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.

  1. Open a file — Ctrl+O (File → Open…), or browse the file explorer (see below) and press Enter on an entry. Ctrl+N starts a new, unsaved buffer.
  2. Save — Ctrl+S (File → Save). Ctrl+Shift+S is Save As.
  3. 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.
  4. The file explorer — Ctrl+B toggles it, Ctrl+E focuses it directly. It’s the left-hand pane in the screenshot at the top of this repo’s index.md.
  5. Find (and replace) — Ctrl+F finds in the current file; Ctrl+R is find & replace; Ctrl+Shift+F searches the whole workspace. See docs/find/index.md.
  6. 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; F6 moves focus to the other editor pane when more than one is open. See docs/left-dock/index.md, docs/right-dock/index.md, and docs/bottom-dock/index.md.
  7. 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.
  8. Git — Git → Changes… opens the working-tree status panel (stage, unstage, diff, commit); see docs/git-panel/index.md for the rest (blame, log, conflicts, and more).
  9. Help — F1 opens a searchable overlay of every keyboard shortcut in your active keymap. Help also has the welcome screen, license, and issue-reporting link.
  10. Quit — Ctrl+Q (File → Quit). Vix prompts before discarding any unsaved buffer.

Where to go next


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

FormEffect
vixOpen the editor rooted at the current directory, restoring the previous session for this workspace (if restore_session is on).
vix FOLDEROpen 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:COLOpen 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]/PATHExperimental (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

FlagEffect
-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.
--tutorLaunch 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.
--doctorCheck 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-agentServe 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.
--versionPrint the version and exit.
--version --jsonPrint {"name":"vix","version":"…","capabilities":[…]} instead of plain text, for scripts/tooling. capabilities lists the optional areas compiled into this build.
--helpFull 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.

PlatformPath
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

KeyTypeDefaultMeaning
line_numbersbooltrueShow the line-number gutter.
show_whitespaceboolfalseShow visible glyphs for space (·), tab (→), and line ending ().
soft_wrapboolfalseWrap long lines across screen rows instead of scrolling horizontally.
prose_soft_wrapbooltrueSoft-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_explorerbooltrueShow the file-explorer drawer on startup.
explorer_deletestring"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_viewstring"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_agentstring"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_basestring"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_commitstring"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_enginestring"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_modestring"full""full", or "read-only" to let the OC menu list, inspect and show logs only. Any other value behaves as "read-only".
clipboard_providerstring"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_diagnosticsstring"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_completionstring"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_messagesbooltrueShow the message drawer on startup.
show_status_barbooltrueShow the bottom status bar.
show_scrollbarbooltrueShow the editor’s right-side scroll bar.
show_scrollbar_markersbooltrueMark the scroll bar where git changes, diagnostics and search matches are.
show_bottom_dockboolfalseShow the bottom dock (log/output/data panel).
bottom_dock_heightint9Height (rows) of the bottom dock; drag its top edge to resize.
scrollbackint1000Maximum lines kept in the bottom dock; the oldest are dropped past this.
terminal_scrollbackint2000Lines 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_tabsbooltrueOpen single-clicked / arrow-scanned files in an ephemeral preview tab.
show_welcome_dialogbooltrueShow 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_stylestring"spaces"What Tab inserts: "spaces" or "tabs".
tab_widthint4Number of spaces per indent when indent_style = "spaces".
wrap_columnint80Column that Edit → Wrap hard-wraps (fills) text at.
trim_trailing_whitespacebooltrueOn save, strip trailing spaces/tabs from every line.
ensure_final_newlinebooltrueOn save, append a final newline if the file lacks one.
themestring"dark""dark", "light", the name of a custom theme, or "auto" to follow the terminal’s background.
theme_lightstring"light"The theme "auto" picks on a light terminal.
theme_darkstring"dark"The theme "auto" picks on a dark terminal (or when it can’t tell).
localestring"en"UI language code (en, es, fr, de, cy, …).
bidistring"auto"Reorder right-to-left text (Arabic) for display: auto, on or off.
mirror_layoutstring"auto"Mirror docks and the scroll bar for right-to-left languages: auto, on or off.
bidistring"auto"Reorder right-to-left text (Arabic) for display: auto, on or off.
keymapstring"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_widthint24Width (columns) of the left dock; drag its right edge to resize.
messages_widthint26Width (columns) of the right dock; drag its left edge to resize.
recent_fileslist[]Recently opened files (absolute paths), most-recent first, capped at 15. Updated automatically; surfaced by File → Open Recent….
spellcheckboolfalseUnderline misspelled words in comments/strings (View → Editor → Toggle Spellcheck).
dictionary_pathstring""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_enabledbooltrueMaster 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_completebooltrueRequest LSP completion automatically while typing an identifier or a server trigger character (debounced). Off = only on Ctrl+Space.
format_on_typeboolfalseAsk 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_serverslist[]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_dirstring""Directory of vCard (.vcf) files for Tools → Contacts…. Empty = the workspace root.
aistring"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_commandstringclaude -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_providerstring"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_endpointstring""HTTP provider endpoint override; empty uses the provider’s own default. Ignored when ai_provider is "cli".
ai_modelstring""HTTP provider model id override; empty uses the provider’s own default. Ignored when ai_provider is "cli".
ai_api_key_commandstring""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_agentslist[]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_reviewbooltrueReview AI replace transforms (Annotate / Improve) as an accept/reject diff before applying, instead of overwriting immediately.
editorconfigbooltrueApply .editorconfig rules (indent style/size, trim trailing whitespace, final newline) per opened file, overriding the global settings.
modeline_linesint5Lines 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_pairbooltrueAuto-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_blameboolfalseShow the cursor line’s git blame (author, date · summary) dimmed at the end of the line. Toggle via Git → Toggle Inline Blame.
show_outline_dockboolfalseShow the code-outline sidebar (symbol list that follows the cursor). Toggle via View → Layout → Outline Sidebar.
outline_widthint28Width (columns) of the outline sidebar.
debug_widthint36Width (columns) of the debugger panel.
debug_adapterslist[]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_commandstringcargo testCommand run by Tools → Run Tests; its output is parsed into the test panel.
test_widthint40Width (columns) of the test-results panel.
project_snippetsstring<config>/snippets/snippets.jsonProject snippet file, relative to the project root. See crates/vix-snippets/spec/index.md.
coverage_pathstring"" (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_numbersboolfalseNumber lines relative to the cursor line (the cursor’s own line stays absolute).
show_breadcrumbsboolfalseShow the breadcrumb bar (file ▸ enclosing symbol) above the editor.
show_minimapboolfalseShow the code-overview minimap column at the right of the editor.
sticky_scrollbooltruePin the enclosing scope’s header line at the top while scrolling.
code_lensbooltrueDraw code lenses (Run, Debug, references, local Run test) as dimmed rows above their lines.
document_colorsbooltrueDraw a swatch for each color a language server reports.
rainbow_bracketsboolfalseColor matching brackets by nesting depth.
highlight_wordboolfalsePassively highlight every occurrence of the word under the cursor.
sticky_search_highlightbooltrueKeep search-match highlights after the Find box closes, until toggled off.
show_menu_tooltipsbooltrueShow hover tooltips on menu names and items.
format_on_saveboolfalseOn save, run the language server’s formatter when the file has one.
prettier_languageslist 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_savestring"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_undobooltruePersist each file’s undo tree across sessions, restored when the content still matches.
hot_exitbooltrueBack 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_mbint50Ask 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_pathslist of stringsCargo registry/git, ~/.rustup, /nix/store, Homebrew Cellar, node_modules, site-packagesPath globs that open read-only (~/ is home, ** spans directories). View → Editor → Read-Only unlocks a tab.
ephemeral_pathslist of strings["**/.git/**"]Path globs the session never records, such as COMMIT_EDITMSG.
restore_sessionbooltrueReopen the previous session (files, focus, cursors) when launched in a workspace with no file argument.
recent_files_maxint20How many entries to keep in recent_files.
time_zonestringUTCActive IANA time zone (e.g. America/New_York), chosen via Tools → Time Zone….
calendar_first_weekdaystring"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_fileslist of strings[]The Org agenda’s explicit file list (workspace-relative). Empty means every .org file in the project.
org_capture_templateslist of tablesAnything, Task, Babel, Note, ContactOrg-capture templates for Org → Capture. See crates/vix-org-capture/spec/index.md.
org_priority_highestchar0Highest [#X] priority cookie character (Vix defaults to numeric 0..9, unlike Emacs’s A..C).
org_priority_lowestchar9Lowest priority cookie character.
org_priority_defaultchar0Priority given to a headline that had no cookie yet.
command_recentslist of strings[]Action ids recently run from the palette, surfaced at the top of the > list. Managed by Vix.
db_connectionslist 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]tablesee belowThe 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_evaluatestring"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_pair and rainbow_brackets. Other keys in a language table are reported and ignored. A file’s .editorconfig still 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 into config.toml.
  • Live reload. Saving .vix/settings.toml (or config.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

  • themes.md — custom theme JSON format.
  • i18n.md — languages and how the locale value is used.

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

ShortcutAction
Ctrl+NNew buffer
Ctrl+OOpen file… (prompt; accepts path:line[:col])
Ctrl+Shift+OOpen Recent… (chooser of recently opened files)
Ctrl+SSave (prompts for a path if the buffer is untitled)
Ctrl+Shift+SSave As…
Ctrl+WClose the active tab
Ctrl+Shift+TReopen the most recently closed tab
Ctrl+QQuit
Ctrl+POpen the command palette
Ctrl+FOpen the find dialog
Alt+HIn the find dialog: turn replace on or off
Alt+IIn the find dialog: where to look — buffer, files, workspace
Ctrl+RFind & Replace
Ctrl+Alt+RInteractive query-replace (y/n/!/q)
Ctrl+Shift+FSearch across the whole workspace
F3 / Shift+F3Find next / previous
Ctrl+G / Ctrl+Shift+GFind next / previous (repeats the last search, even after the box closes)
Alt+N / Alt+PFind next / previous occurrence of the selection
Ctrl+BToggle the file explorer (reveals the active file)
Ctrl+EToggle focus between explorer and editor
Alt+Left / Alt+RightPosition history: jump back / forward
F12Go to definition of the symbol under the cursor
F10Open / close the menu bar
Alt+F/E/V/T/HOpen the File / Edit / View / Tools / Help menu
F1Open 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)

ShortcutAction
Ctrl+ZUndo
Ctrl+Shift+ZRedo
Ctrl+XCut selection
Ctrl+CCopy selection
Ctrl+VPaste
Ctrl+ASelect all
Ctrl+DForward delete: the character to the right of the cursor
Ctrl+Shift+DDuplicate the current line (or selection)
Ctrl+KDelete 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+BOpen the code outline panel (symbols)
Arrows / End / PgUp / PgDnMove the cursor
HomeSmart Home: first non-blank, then column 0
EnterNew line, carrying the previous line’s indentation
Typing / Backspace / Delete / TabEdit 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

GestureAction
Click in the editorPlace the cursor there (and focus the editor)
Drag in the editorSelect text
Wheel over editorScroll the buffer
Click a tabSwitch to that buffer
Click a file in explorerPreview it; click again to open permanently
Click a directoryExpand / collapse it
Wheel over explorerMove the selection
Click a message’s xDismiss that message
Click a menu nameOpen that menu
Hover over an open menuMove the highlight (rows) / switch menus (names)
Click a dock toggle iconToggle the explorer / messages drawer (top-right of the menu bar)

File explorer (when focused — Ctrl+E)

ShortcutAction
Up / DownMove selection (scans a preview tab on the way)
PgUp / PgDnMove by a page
Home / EndJump to first / last entry
Enter / RightOpen the file, or expand a directory
LeftCollapse the directory, or jump to its parent
Shift+Up/DownExtend the multi-selection
Ctrl+C/Ctrl+XCopy / cut the selection
Ctrl+VPaste into the selected directory
DeleteDelete the selection (asks to confirm)
EscCancel 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)

ShortcutAction
Up / DownMove selection
x / Delete / EnterDismiss the selected message
EscReturn focus to the editor

Command palette (Ctrl+P)

KeyAction
(type)Filter the current mode
Up / DownMove the selection
TabAccept the top suggestion
EnterAccept the highlighted entry
EscClose 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

KeyAction
(type)Edit the focused field (incremental in Find)
TabSwitch between the Find and Replace fields
EnterFind next (or Replace-All from the Replace field)
Alt+EnterReplace all
F3 / Shift+F3Find next / previous
Alt+CToggle case sensitivity
Alt+WToggle whole-word matching
Alt+RToggle regular-expression mode
EscClose 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:

KeyAction
y / SpaceReplace this match, go to the next
n / DeleteSkip this match, go to the next
!Replace this match and all remaining
q / EscStop

View menu overlays

The View menu opens small chooser overlays:

OverlayKeys
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)

KeyAction
Left / RightPrevious / next month
Esc / qClose 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:

KeysAction
Ctrl+X Ctrl+FOpen file…
Ctrl+X Ctrl+SSave
Ctrl+X Ctrl+CQuit
Ctrl+X kClose the active tab
Ctrl+F / Ctrl+BForward / back one character
Ctrl+N / Ctrl+PNext / previous line
Ctrl+A / Ctrl+EStart / end of line
Ctrl+VPage down
Ctrl+DDelete the character ahead
Ctrl+SFind
Ctrl+GCancel

Vim

Modal. The status bar shows -- NORMAL --, -- INSERT --, or the : command line. Press Esc to return to Normal mode.

ModeKeysAction
Normalh j k lLeft / down / up / right
Normal0 / $Start / end of line
NormalxDelete the character ahead
Normali / aInsert before / after the cursor
Normalo / OOpen a line below / above
InsertEscReturn to Normal mode
Command:wSave
Command:q / :q!Close tab / close tab, discarding edits; :qa / :qa! quit
Command:wq / :xSave and close
Command:ExFocus the file explorer
Command:s/a/b/ / :%s/a/b/gcLiteral substitute, line / buffer (g all, c confirm)
Command:cn / :cp / :copeNext / 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:

TitleTooltipExample: open file chooserExample: quit
AppleApple controlsControl-OControl-Q
VSCode macOSVS Code (macOS) bindingsControl-P (Quick Open)Control-Q
VSCode WindowsVS Code (Windows) bindingsControl-P (Quick Open)Control-Q
EmacsEmacs chordsControl-X Control-FControl-X Control-C
ViVi modes:Ex:q!
SpacemacsVi modes + Space leaderSPC f fSPC q q
IntelliJ macOSIntelliJ (macOS)Control-Shift-O (Go to File)Control-Q
IntelliJ WindowsIntelliJ (Windows)Control-Shift-N (Go to File)Control-Q
EclipseEclipse (Windows)Control-Shift-R (Open Resource)Control-Q
SublimeSublime bindingsControl-P (Goto Anything)—
ZedZed bindingsControl-P (file finder)Control-Q
FreshFresh bindingsControl-P (Quick Open)Control-Q
tttttt bindingsControl-K P (Quick Open)Control-Q
HelixHelix modesSpace 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 …).

SequenceAction
SPC SPCCommand palette
SPC f fOpen file
SPC f rOpen recent
SPC f sSave
SPC f pSwitch project
SPC b n / b p / b dNext / previous / close buffer
SPC p p / p f / p tSwitch project / palette / file tree
SPC g s / g g / g bGit changes / status / blame
SPC w / / w - / w d / w wSplit vertical / horizontal / unsplit / focus other
SPC s s / s pFind / search workspace
SPC t n / t wToggle line numbers / whitespace
SPC ;Toggle comment
SPC q qQuit

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+P Quick Open (open file by name), Ctrl+Shift+P Command Palette.
  • Ctrl+Shift+O Go to Symbol, Ctrl+T workspace symbol, Ctrl+G Go to Line.
  • Ctrl+B toggle the sidebar, Ctrl+Shift+E focus the explorer, Ctrl+J toggle the bottom panel, Ctrl+` the terminal, Ctrl+Shift+M Problems.
  • Ctrl+\ split the editor; Ctrl+] / Ctrl+Shift+\ jump to the matching bracket.
  • The familiar editing chords: Ctrl+S save, Ctrl+W close, Ctrl+F find, Ctrl+Shift+F find in workspace, Ctrl+/ comment, Ctrl+R replace, Ctrl+Shift+K delete line, Ctrl+Shift+L select all occurrences.

Emacs

Chorded commands with a Ctrl+X prefix and Meta (Alt) bindings:

  • Ctrl+X Ctrl+F open, Ctrl+X Ctrl+S save, Ctrl+X Ctrl+C quit, Ctrl+X k close, Ctrl+X b switch buffer.
  • Windows: Ctrl+X 2 / Ctrl+X 3 split, Ctrl+X 1 / Ctrl+X 0 unsplit, Ctrl+X o other pane. The which-key popup lists chords while C-x pends.
  • 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+W kill, Alt+W save, Ctrl+Y yank, Ctrl+K kill line.
  • Alt+X command palette (M-x), Ctrl+T / Alt+T transpose, Ctrl+/ undo, Ctrl+D delete, Ctrl+S find, Ctrl+G cancel.

Vi

Modal editing:

  • Normal mode: h / j / k / l, w / b words, 0 / ^ / $, gg / G file ends, x, dd / yy / p cut/copy/paste line, u undo, / + n / N search, % matching bracket, and i / a / I / A / o / O (which enter Insert mode).
  • Insert mode: Esc returns 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+P Goto Anything (file finder), Ctrl+Shift+P Command Palette, Ctrl+R Goto Symbol, Ctrl+G Goto Line.
  • Ctrl+D select all occurrences of the word (Sublime’s add-next-occurrence, all at once), Ctrl+L expand selection to line, Ctrl+J join lines, Ctrl+M jump to the matching bracket.
  • Ctrl+Shift+D duplicate line, Ctrl+Shift+K delete line, Ctrl+/ comment.
  • Ctrl+F find, Ctrl+H replace, Ctrl+Shift+F find in files.
  • Ctrl+B build (runs the test suite), Ctrl+` the console (terminal).
  • Ctrl+S / Ctrl+Shift+S / Ctrl+W / Ctrl+Shift+T save / 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 (or Ctrl+E) file finder, Ctrl+Shift+P Command Palette.

  • Ctrl+Shift+O outline (symbols in this file), Ctrl+T project symbols, Ctrl+G go to line.

  • Ctrl+D select the next occurrence, Ctrl+Shift+L select all occurrences, Ctrl+L select line, Ctrl+M jump to the enclosing bracket.

  • Ctrl+Shift+D duplicate line, Ctrl+Shift+K delete line, Ctrl+/ comment.

  • Ctrl+F find, Ctrl+H replace, Ctrl+Shift+F project search.

  • Ctrl+. code actions, Ctrl+Shift+M diagnostics.

  • Alt+Up / Alt+Down move the line, Alt+. / Alt+, next / previous Git change.

  • Ctrl+B left dock (the file explorer), Ctrl+Shift+E focus the explorer, Ctrl+J bottom dock, Ctrl+` terminal, Ctrl+Shift+G Git panel, Ctrl+, settings.

  • Ctrl+N / Ctrl+S / Ctrl+Shift+S / Ctrl+W / Ctrl+Shift+W / Ctrl+Shift+T / Ctrl+Q new / save / save as / close / close all / reopen closed / quit.

  • Ctrl+K then: Ctrl+L toggle fold, Ctrl+0 fold all, Ctrl+J unfold all, Ctrl+C comment, Ctrl+S keyboard shortcuts, Ctrl+W close all, Ctrl+Z soft wrap, Ctrl+O open a path, V Markdown 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+P Quick Open (the file finder), Ctrl+O open a file by path, Ctrl+N new, Ctrl+S save, Ctrl+Q quit.
  • Ctrl+E focus the file explorer, Ctrl+B toggle it.
  • Ctrl+F find, Ctrl+R replace, Ctrl+Shift+N find previous, Ctrl+G go to line, Ctrl+] jump to the matching bracket.
  • Ctrl+D add a cursor at the next match, Ctrl+L select line, Ctrl+W select word, Ctrl+T transpose characters, Ctrl+/ comment.
  • Ctrl+K cut to the end of the line, Ctrl+H delete the word before the cursor.
  • Alt+Up / Alt+Down move the line, Alt+Left / Alt+Right go 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+P command palette, Ctrl+N new, Ctrl+S save, Ctrl+W close, Ctrl+Q quit.
  • Ctrl+B toggle the sidebar (file explorer), Ctrl+0 focus it, Ctrl+T terminal.
  • Ctrl+F find, Ctrl+R replace, Ctrl+G go to line, Ctrl+D select the next match, Ctrl+/ comment, Ctrl+U complete, Ctrl+. code actions.
  • Alt+. / Alt+, next / previous tab, Alt+Up / Alt+Down move the line.
  • Ctrl+K then: P Quick Open, S save as, E explorer, F project search, R project replace, C Git changes, T terminal, I hover, L select all matches, K delete line, J join lines, O sort lines, M matching bracket, B bottom panel, Y keyboard shortcuts, , settings, [ toggle fold, 0 fold all, 9 unfold all.
  • Ctrl+L (language) then: F format, R references, I go to implementation, T go to type definition, O organize 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 (and W / B / E over 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; x selects the line (press again to add the next line); % selects everything. h / j / k / l move and drop the selection.
  • Act: d delete, c change (delete, then Insert mode), y yank, p / P paste after / before, r + a character replace each selected character, ~ switch case, > / < indent / outdent, J join lines, u / U undo / redo.
  • Selections: v toggles Select mode, where motions extend the selection; ; collapses it; , drops extra cursors; C adds a cursor on the line below; s selects regex matches inside the selection; * jumps to the next occurrence of the selection.
  • Several selections: with more than one selection (after C or s), the motions (w / b / e, W / B / E, f / t / F / T, x, h / j / k / l) move every one, and d, c (then typing at every cursor), r, ~, > / <, p / P and . act on every one, each as one undo step. y copies 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 / a before / after the selection, I / A at the line start / end, o / O a new line below / above; Esc returns to Normal.
  • Counts: a number before a command repeats it: 3w selects the third word (v3w everything through it), 2x two lines, 5j moves down five, 3fx finds the third x, 2p pastes twice, 10gg goes to line 10.
  • Repeat: . repeats the last change on the current selection: d, c with what you typed, i / a with what you typed, r, ~, > / <, and p / P. 3. repeats it three times.
  • Goto (g): gg / ge file start / end, gh / gl / gs line start / end / first non-blank, gd definition, gD declaration, gy type definition, gi implementation, gr references, gn / gp next / previous buffer; mm matching bracket.
  • Space leader: Space f file picker, Space b buffers, Space s / Space S symbols / workspace symbols, Space / global search, Space k hover, Space r rename, Space a code action, Space d diagnostics, Space p / Space P / Space y paste / yank, Space ? command palette. The which-key popup lists the keys after g, m, or Space.
  • Command line and search: :w, :q, :q!, :wq / :x, :N, plus Helix’s :write, :quit, :write-quit, and :o path / :open path (bare :o opens the file picker); / and ? find, n / N next / 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+Space mark/region commands (use Shift+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).

FeatureApple (macOS)ViEmacs
LogicSystem commands & UI focusModal “language” (verb + noun)Layered modifiers & chords
Primary keysCommand (⌘) + TabHome row (h, j, k, l)Control (⌃) + Meta (⌥)
PhilosophyUniversal accessibilitySpeed and home-row efficiencyEverything 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:

PropertyEffect in Vix
indent_styleTab inserts a tab (tab) or spaces (space)
indent_size / tab_widthNumber of spaces per indent (when style is space)
trim_trailing_whitespaceStrip trailing whitespace on save
insert_final_newlineEnsure 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

SettingVimEmacs
Indent with a tab, or with spacesnoet / noexpandtab, et / expandtabindent-tabs-mode: t / nil
Indent sizesw=N / shiftwidth=Nc-basic-offset: N, python-indent-offset: N, js-indent-level: N, …
Tab widthts=N / tabstop=Ntab-width: N
Wrap column for Wrap Texttw=N / textwidth=Nfill-column: N
Soft wrapwrap, nowraptruncate-lines: nil / t
End the file with a newline on saveeol, fixeol, and noeol, nofixeolrequire-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: or ex: at the start of a line or after a space. Both forms work: vim: set ts=4 sw=4: and vim: 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

CodeLanguageEndonymCodeLanguageEndonym
enEnglishEnglishplPolishPolski
esSpanishEspañolptPortuguesePortuguês
frFrenchFrançaisruRussianРусский
deGermanDeutscharArabicالعربية
cyWelshCymraeghiHindiहिन्दी
gaIrishGaeilgebnBengaliবাংলা
gdScottish GaelicGàidhligzhChinese中文
jaJapanese日本語

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:

  1. Setting — the locale key in the config file (see configuration.md).
  2. In-app — View → Locale… (↑↓ to preview live, Enter to apply and save, Esc to cancel). Languages are listed by their endonym.
  3. CLI — vix --locale fr overrides 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.rs initializes the catalog once, but not via rust_i18n::i18n! — that macro’s codegen builds every locale eagerly, so build.rs merges locales/ at build time and splits it per locale, and lib.rs parses each locale’s blob lazily, only when something actually asks for a translation in it (T517). Every other crate still reads through vix_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 as t!("status.saved", path = …).

Adding or extending a language

No code changes are needed — edit YAML only.

  1. Open the locales/*.yml file for the key’s namespace (see “Key namespace” below) — crates/vix-i18n/locales/menu.yml for a menu label, and so on.

  2. 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
    
  3. To make a new language selectable in View → Locale…, add it to LOCALES in the locale_model module (code + endonym name).

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.

PrefixFileUsed for
menu.*menu.ymlMenu names and items (keyed by action).
action.*action.ymlvix-action-catalog titles for menu-less actions.
cmd.*cmd.ymlCommand-palette command labels.
ui.*ui.ymlPanel/overlay titles, hints, field labels, toggles.
help.*help.ymlKeyboard-shortcut descriptions.
prompt.*prompt.ymlOpen/Save-as prompt titles.
msg.*msg.ymlWelcome and message-drawer / error text.
status.*status.ymlStatus-bar messages.
palette.*, agenda.*, blame.*, welcome.*, scratch.*, confirm.*misc.ymlCommand-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.

CodeEndonymEnglish equivalent
enEnglishEnglish
esEspañolSpanish
frFrançaisFrench
deDeutschGerman
cyCymraegWelsh
gaGaeilgeIrish
gdGàidhligScottish Gaelic
plPolskiPolish
ptPortuguêsPortuguese
ruРусскийRussian
arالعربيةArabic
hiहिन्दीHindi
bnবাংলাBengali
zh中文Chinese
ja日本語Japanese
itItalianoItalian
ko한국어Korean
trTürkçeTurkish
nlNederlandsDutch
viTiếng ViệtVietnamese
idBahasa IndonesiaIndonesian
thไทยThai
faفارسیPersian
ukУкраїнськаUkrainian
elΕλληνικάGreek
tlhtlhIngan HolKlingon (constructed)
sjnEdhellenSindarin (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, Enter to switch, Esc to 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

  1. Your First Session: the file explorer, tabs, the command palette, the menu bar, the status bar and the docks.
  2. Editing Power Techniques: macros, snippets, text transforms and structural moves.
  3. Find & Replace and Multi-Cursor: searching one file or the whole workspace, and editing in many places at once.

Working on code

Beyond the editor

Mastering Vix

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.
  • → or Enter opens 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+Tab moves to the next tab; Ctrl+Shift+Tab moves to the previous one. Both work the same in every keymap.
  • Ctrl+W closes the active tab (File → Close).
  • Ctrl+Shift+T reopens the most recently closed tab, if you close one by mistake (File → Reopen Closed Tab).
  • Ctrl+Shift+O opens 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 — opens tui/examples/demo-workspace/rust-app/src/main.rs at 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 — with main.rs focused, type @ to fuzzy-jump to a declaration in the current file; word_counts jumps 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:

  1. Click right before TODO (just after // ).
  2. Edit → Macro → Record (macro.record) — starts recording.
  3. Type REVIEW: .
  4. Edit → Macro → Record again — stops recording.
  5. Click right before FIXME on the next line.
  6. 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}");
}
  1. Select that line.
  2. Tools → New Snippet from Selection… (tools.snippet_new_from_selection).
  3. 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 itemAction IDword_counts becomes
Upper (FOO BAR)edit.case_upperWORD_COUNTS
Lower (foo bar)edit.case_lowerword_counts
Title (Foo Bar)edit.case_titleWord_Counts
Kebab (foo-bar)edit.case_kebabword-counts
Snake (foo_bar)edit.case_snakeword_counts
Camel (fooBar)edit.case_camelwordCounts
Pascal (FooBar)edit.case_pascalWordCounts

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 itemAction IDDoes
Sortedit.sort_linesAscending, byte order
Sort Uniqueedit.sort_uniqueSort, then drop duplicates
Shuffleedit.shuffleRandom reorder
Reverseedit.reverse_linesFlip line order
Remove Duplicate Linesedit.remove_duplicate_linesKeep first occurrence of each
Squeeze Blank Linesedit.squeeze_blank_linesCollapse runs of blank lines to one
Trim Trailing Whitespaceedit.trim_trailing_whitespaceStrip 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 itemAction IDPair
( 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.
}
  1. Click right before TODO (same spot as the macro example above), with no selection.
  2. Edit → Select → Column Select Down — adds a second caret on the next line, at the same column: right before FIXME.
  3. 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:

ToggleKeyEffect
CaseAlt+CMatch case exactly
Smart caseAlt+SCase-insensitive, until the query has an uppercase letter
WordAlt+WWhole words only
RegexAlt+RTreat 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+Enter from 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 next
  • n — skip this match, move to the next
  • ! — replace this and every remaining match without asking again
  • q — 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:

  1. 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.

  2. 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.txt wherever 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+B to toggle it) puts a colored one-letter badge on every changed tracked file: M modified, A added, ? untracked, D deleted, R renamed, U conflicted.
  • 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.

  1. Make a real (still trivial) edit: open any source file and change one word on one line, without saving.
  2. 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+P then > git next change — or the Git menu). Your cursor jumps to the start of the next changed hunk below it.
  3. 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:

KeyAction
↑ / ↓Move the selection
SpaceToggle the selected file staged / unstaged
sStage the selected file
uUnstage the selected file
cCommit (prompts for a message, then runs git commit)
rRefresh the status
EscClose 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:

  1. Git → Changes….
  2. Select the row for the file you changed and press s to stage it — its checkbox flips to [✓].
  3. Press u on the same row to unstage it again. Space does 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:

  1. Make two separate changes in one file (two edits far enough apart that they land in different diff hunks).
  2. 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.
  3. 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:

  1. Put the cursor inside a changed hunk you don’t want.
  2. 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 Enter submits and runs git commit.
  • Alt+Enter inserts a newline — type a short subject line, Alt+Enter twice 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
  1. Git → Changes…, select notes.txt, press s to stage it.
  2. Press c.
  3. Type Add a second line, then Enter to 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/PageDown navigate; 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). Enter opens 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 like HEAD~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:

  1. Git → Next Conflict (git.conflict_next) moves the cursor to the start of the conflict block (repeat to cycle through more than one).
  2. With the cursor inside the block, pick a resolution from Git → Resolve:
    • Keep Ours (git.conflict_ours) — keeps the HEAD side, 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.
  3. Save (Ctrl+S). The buffer no longer has conflict markers.
  4. Stage and commit the resolution the normal way — Git → Changes…, s on notes.txt, c, and a message like Merge 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 from Ctrl+P if 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:

KeyTypeDefaultMeaning
lsp_enabledbooltrueMaster switch. When false, no servers launch at all.
lsp_serverslist[]One entry per language server you have installed.

Each [[lsp_servers]] entry has three fields:

FieldMeaning
language_idThe language id Vix reports to the server (and the key it spawns the process under — one process per language_id).
extensionsFile extensions (no leading dot) that route to this server.
commandThe 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:

  1. Put the cursor on the word_counts(text) call inside main (around line 8) and press F12 (Go to Definition, action id nav.goto_definition). Vix jumps to the fn word_counts definition further down the file — a real textDocument/definition round trip, not the plain-text fallback (that fallback is what runs when no server is attached; see “When there’s no server” below).
  2. With the cursor still on word_counts, open Tools → Language Server → Hover (action id lsp.hover). A popup shows the inferred signature — fn word_counts(text: &str) -> HashMap<&str, u32> — pulled from rust-analyzer’s type inference, not a doc comment (this function has none). The popup dismisses on the next keypress.
  3. Open Tools → Language Server → Find References (action id lsp.references, textDocument/references). word_counts is called twice in this file — once in main, once in tests::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.

FeatureMenu itemKeyAction idLSP method(s)
DiagnosticsTools → Language Server → Diagnostics…—lsp.diagnosticspublishDiagnostics, textDocument/diagnostic, workspace/diagnostic
Restart ServerTools → Language Server → Restart Server—lsp.restartshutdown / initialize
Show Server LogTools → Language Server → Show Server Log—lsp.show_log(server stderr)
HoverTools → Language Server → Hover—lsp.hoverhover
Go to DefinitionTools → Language Server → Go to DefinitionF12nav.goto_definitiondefinition
Go to ImplementationTools → Language Server → Go to Implementation—nav.goto_implementationimplementation
Go to Type DefinitionTools → Language Server → Go to Type Definition—nav.goto_type_definitiontypeDefinition
Find ReferencesTools → Language Server → Find References—lsp.referencesreferences
Call Hierarchy (callers)Tools → Language Server → Call Hierarchy (Callers)Alt+D in the list flipslsp.call_hierarchyprepareCallHierarchy, callHierarchy/incomingCalls
Call Hierarchy (callees)Tools → Language Server → Call Hierarchy (Callees)Alt+D in the list flipslsp.call_hierarchy_outgoingprepareCallHierarchy, callHierarchy/outgoingCalls
Type Hierarchy (supertypes)Tools → Language Server → Type Hierarchy (Supertypes)Alt+D in the list flipslsp.type_hierarchy_supertypesprepareTypeHierarchy, typeHierarchy/supertypes
Type Hierarchy (subtypes)Tools → Language Server → Type Hierarchy (Subtypes)Alt+D in the list flipslsp.type_hierarchy_subtypesprepareTypeHierarchy, typeHierarchy/subtypes
Rename SymbolTools → Language Server → Rename SymbolF2lsp.renamerename
Code Action…Tools → Language Server → Code Action…—lsp.code_actioncodeAction
Code Lens…Tools → Language Server → Code Lens…—lsp.code_lenscodeLens, workspace/executeCommand, workspace/applyEdit
Highlight OccurrencesTools → Language Server → Highlight Occurrences—lsp.highlightdocumentHighlight
Completion(typing)Ctrl+Spacelsp.completecompletion, completionItem/resolve
Signature HelpTools → Language Server → Signature Help—lsp.signature_helpsignatureHelp
Format DocumentTools → Language Server → Format Document—lsp.formatformatting, rangeFormatting
Document Symbols…Tools → Language Server → Document Symbols…—lsp.document_symbolsdocumentSymbol
Workspace Symbols…Tools → Language Server → Workspace Symbols…—lsp.workspace_symbolsworkspace/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 the pairs line and retype counts.into — Ctrl+Space opens a list anchored at the cursor; ↑/↓ move, Enter/Tab accept (the accepted text extends what you’ve already typed), Esc cancels.
  • Signature Help. Inside counts.entry(word).or_insert(0), retype the ( after or_insert — a parameter-hint popup shows or_insert’s signature and highlights the argument you’re on.
  • Rename Symbol. Cursor on pairs, press F2, type a new name, Enter. rust-analyzer returns a workspace edit and every use of pairs in 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


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:

FileWhat it is
org/roam/project-overview.orgThe anchor node — links out to the other two.
org/roam/getting-started.orgA checklist node, linked back from the overview.
org/roam/meeting-2026-09-01.orgA meeting-note node with headlines, TODO/DONE items, and action items.
org/dailies/2026-09-13.orgA 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 ** TODO action 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 (or Shift+→ / Shift+←) cycles the TODO cell through the keyword list, or any other cell through its column’s allowed-value list.
  • e edits a cell’s raw text; Enter commits.
  • v shows a cell’s full value on the status line (useful for a cell narrower than its content).
  • < / > narrows / widens the current column.
  • q / Esc closes 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:

ItemKeyWhat it does
Anything…aPrompt for a task, insert * TODO <task>.
Task…tMultiline review buffer pre-filled * TODO .
Note…nPrompt for note text, insert * <note> plus a %U timestamp.
Babel…bPrompt for a language, open a #+begin_src <language> / #+end_src block for review.
Contact…cPrompt 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.

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>.org with 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.

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.md and 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, including Org → Node’s org-node-style operations (Nodeify Entry, Extract Subtree to Node, List Dead Links) not covered above.
  • docs/org/index.md and docs/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 (references people.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.

  1. Press a to add a connection. ↑/↓ move between fields, Space cycles the engine kind — leave it on sqlite.
  2. Set File to db/demo.sqlite (relative to the workspace root you opened Vix in).
  3. 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 tasks to see its person_id → people.id foreign key.
  • s shows row-count/size statistics; D shows the table’s CREATE statement.
  • R shows the table’s relations: try it on people to see tasks’ foreign key pointing at it (an incoming relation), and on tasks to 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_id cell jumps to that row in people).
  • 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 people in 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.toml in 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 its EXPLAIN plan 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


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:// or https://) — 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 GET if you omit it, so https://example.com on 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 itemAction idDigest
SHA-256tools.checksum.sha256cryptographic
SHA-512tools.checksum.sha512cryptographic
MD5tools.checksum.md5legacy compatibility only
CRC32tools.checksum.crc32legacy 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 → ToMenu path
CSV → JSONTools → Convert → CSV → JSON
CSV → TSVTools → Convert → CSV → TSV
TSV → CSV / JSONTools → Convert → TSV → CSV / JSON
JSON → CSV / TSV / YAML / TOMLTools → Convert → JSON → CSV / TSV / YAML / TOML
TOML → JSONTools → Convert → TOML → JSON
YAML → JSONTools → 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/q close 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


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.
  • Enter on 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/mut in main.rs change 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….
  • Esc closes 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.
  • Enter on a row opens a prompt: type the new key as text — the same C-/A-/S- grammar a recorded macro uses, e.g. C-S-k for Ctrl+Shift+K — and Enter to confirm.
  • Delete resets 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.
  • Esc closes 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, Enter inserts it. Try it on main.rs — filter to function and 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:

PlatformPath
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


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"
  • extensions routes files to this adapter by extension, the same way lsp_servers entries do.
  • command is how Vix launches the adapter — debugpy.adapter speaks DAP over stdio directly, no separate “attach” step needed.
  • [debug_adapters.launch] is merged into the DAP launch request. Any value in it may use {program}, which expands to the file path being debugged; program itself defaults to the active file when you don’t set it, which is enough for a single-script target like hello.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, at hello.py:21.
  • Variables — the stopped frame’s top-level scope, one name = value line per entry. Look for row — on the first stop it reads something like row = {'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 of csv.DictReader is a str, so any arithmetic on row["score"] needs an explicit int() 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 inside load_rows itself, on the with 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. Try row['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. Try int(row['score']) * 2 while 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):

  1. Condition — row['name'] == 'Dave' stops only when it is true.
  2. Hit count — e.g. 3 stops on the third hit (debugpy’s syntax).
  3. 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.py line, 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:

KeyDoes
Up / DownScroll one line
PageUp / PageDownScroll one page
HomeJump to the top (stops following)
EndJump to the bottom (follows again)
EscGive 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:

ToolFilePrefix
npm, yarn, pnpm, bunpackage.json scriptsnpm:, yarn:, …
Denodeno.json / deno.jsonc tasksdeno:
Composercomposer.json scriptscomposer:
justjustfile / .justfile / Justfilejust:
go-taskTaskfile.yml / Taskfile.yamltask:
RakeRakefile, *.rake, rakelib/*.rakerake:
MakeMakefile / makefile / GNUmakefilemake:

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.

SlotActionEmacs keymap
Configureproject.configureC-c p c o
Compileproject.compileC-c p c c
Testproject.testC-c p c t
Installproject.installC-c p c i
Packageproject.packageC-c p c p
Runproject.runC-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) opens main.rs at line 10, column 22, and the status bar shows Problem 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_diagnostics setting (off, cursor-line (the default) or all) controls both.
  • Tools → Language Server → Diagnostics… (lsp.diagnostics; Ctrl+Shift+M in 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). Enter on a row jumps there.
  • Click the --> src/main.rs:10:22 line 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:

KeyDoes
Ctrl+]Hide the terminal; it keeps running
Shift+PgUp / Shift+PgDnPage through the scrollback
Shift+Home / Shift+EndOldest kept line / back to the live screen
Ctrl+PgUp / Ctrl+PgDnPrevious / next terminal
Ctrl+\Toggle key capture: let Ctrl and Alt chords reach the editor instead

Try it:

  1. In the terminal, run grep -rn TODO scripts. One line comes back, starting with scripts/hello.py:23:.
  2. Ctrl+click that scripts/hello.py:23 text. The terminal hides and the editor opens scripts/hello.py at line 23. Ctrl+click reads path, path:line and path:line:col, and falls back to the same problem parser as the bottom dock, so compiler errors and Python tracebacks work too.
  3. Open tasks.toml, select the text python3 scripts/hello.py on the report task’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.
  4. Tools → Terminal → New Terminal (terminal.new) opens a second shell. A row of numbered tabs appears at the top; Ctrl+PgDn and Ctrl+PgUp switch between them.
  5. Type exit in one of them. The tab stays, marked exited, with its output. Press Enter to 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


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 plain ssh works from a terminal:

    ssh localhost true
    

    If it asks whether to trust the host key, answer yes once; the key is saved in ~/.ssh/known_hosts. If it asks for a passphrase, run ssh-add so 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.

  1. In Vix, add another line to notes.txt but don’t save yet.

  2. In a separate terminal, change the file on the “remote” side:

    ssh localhost "printf 'changed elsewhere\n' >> /tmp/vix-remote-demo/notes.txt"
    
  3. 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

  • o overwrites the remote file with your buffer.
  • c shows 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 rg reads every file, one round trip each; install ripgrep there. Workspace symbol search (@@ in the palette), structural replace and the Org agenda still read every file.
  • Moving a file to the trash needs gio or trash-put on the remote machine; without one, delete instead (or set explorer_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 for wsl.exe.

Where to go next


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:

PlatformGlobal 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: id only has to be unique inside this file, label is what you see in menus and the palette, and handler names a fn in 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) and set_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, Enter to run, Esc to 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) binds Ctrl+Shift+U to the sort_lines command from this same file. Key tokens use the macro grammar: C-, A- and S- prefixes plus a key name, such as C-c, S-Tab, C-S-l, or Enter.
  • error(text) and message(text) write to the message drawer, styled as an error or as information. error is only a message: it doesn’t stop the script, which is why the return follows it.
  • Write once. The handler builds the whole result in a local variable and calls set_selection_text once 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 press Enter, Vix calls on_submit with what you typed as its only argument. That is a new call, not a continuation of on_todo_note, so local variables from the first handler are gone; if the second one needs the selection, it calls selection_text() again. Esc cancels, and on_submit is never called.
  • now() returns today’s local date as YYYY-MM-DD. It’s the only clock function; there is no time of day.
  • With no selection, set_selection_text inserts 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.

FunctionWhat 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 y to trust the workspace. The project scripts load and the status bar says Workspace scripts trusted.
  • Press n or Esc to 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.rhai by hand and reload: Vix → Plugins… shows the plugin as changed since enabled, and it stops loading until you press Enter on it again.
  • vix --plugin update (or vix --plugin update vix-sort) fetches new commits. If any file changed, the plugin is disabled again, with vix-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 (Enter on an enabled one) or vix --plugin remove vix-sort forgets 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. import is 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 operations instead 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

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:

FeatureWhat leaves VixWhere it goes
Summarize, Explain, Annotate, ImproveThe selection, or the whole file when nothing is selectedYour configured provider
DefineThe selection, or one word at the cursorYour configured provider
Edit Selection with Instruction…Your instruction and the selection (a selection is required)Your configured provider
Generate Doc CommentThe cursor line and up to 40 lines after itYour configured provider
Chat…Your message and the conversation so farYour configured provider
Ghost text with inline_completion = "ai"Up to 2000 characters before the cursor and 500 after itYour configured provider
An ACP agentYour prompts, and any workspace file the agent asks to readThe agent process on your machine, which then talks to its own service
vix --mcpNothing by itself; it answers the MCP client that started itThat 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.

KeyDefaultMeaning
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_reviewtrueShow 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"
ProviderDefault endpointDefault model
anthropichttps://api.anthropic.com/v1/messagesclaude-sonnet-5
openaihttps://api.openai.com/v1/chat/completionsgpt-4o-mini
ollamahttp://localhost:11434/api/generatellama3.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:

  1. ai_api_key_command. Its standard output is the key. It runs through sh -c, so a password manager works:

    ai_api_key_command = "pass show anthropic-api-key"
    
  2. The OS keyring, service vix-ai, account set to the provider name (anthropic, openai or ollama). 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 anthropic
    

    On Windows, Vix reads Windows Credential Manager; using ai_api_key_command there 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:

  1. Select the word_counts function, from fn word_counts to its closing }.
  2. Choose AI → Explain (ai.explain). The status line shows “AI: Explain…” while the request runs in the background.
  3. 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.

  1. Type Why does this count "The" and "the" separately? and press Enter.
  2. The title shows Thinking… until the reply arrives.
  3. Ask a follow-up. Each turn includes the earlier conversation, so the assistant remembers what you discussed.
KeyAction
EnterSend the input line
↑ / ↓, PageUp / PageDownScroll the transcript
Alt+TOpen the last reply in a new tab
Alt+CCopy the last reply to the clipboard
EscClose 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.

  1. Select the body of word_counts.
  2. Choose AI → Edit Selection with Instruction… (ai.edit_with_instruction). At the “Instruction for the AI” prompt, type Lowercase each word before counting it and press Enter.
  3. The review opens. Its title counts accepted hunks against total hunks.
KeyAction
↑ / ↓Move between hunks
SpaceToggle the highlighted hunk
a / rAccept all / reject all
EnterApply the accepted hunks as one undoable edit
EscDiscard 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 the fn word_counts line 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

  1. Choose AI → Start Agent (ai.agent_start). With several entries in ai_agents, Vix asks “Start which agent?” and you type a number.
  2. 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.
  3. Type Make word_counts ignore case and press Enter. You can also send prompts with AI → Prompt Agent… (ai.agent_prompt).
  4. 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 y or yes allows 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:

ToolReturns
list_open_buffersThe files your last Vix session had open in this workspace
read_bufferOne file’s saved text
document_symbolsDeclarations with line numbers, from Vix’s offline scan
outlineMarkdown headings, Org headlines, or a code file’s symbols
diagnosticsUnresolved merge-conflict blocks (no language server runs)
db_schemaTables and columns of SQLite files in the workspace
db_connections, db_tables, db_describe, db_queryRead-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


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 limitAsks 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:

KeyTypeDefaultMeaning
large_file_mbinteger50Ask 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+F in 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:

KeyDoes
↑ ↓ or k jMove the cursor line
PgUp / PgDnPage
Home or g, End or GFirst line, last line
← → or h lScroll sideways 8 bytes; 0 returns to the left edge
: or Ctrl+GGo to a line, a percentage, or a byte offset
/, ?Search forward, backward
n, NRepeat the search the same way, the other way
m or SpaceStart or end a line selection; Shift+↑/↓ extends it
y, c, or Ctrl+CCopy the selected lines, or the cursor’s line
qClose
EscCancel 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:

  • 1987654 goes to that line.
  • 50% or 12.5% goes to that point in the file.
  • @1024 or 0x400 goes 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.

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\n line 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 -f does. 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 = 200 in config.toml, then run Vix → Reload Settings. See the configuration reference.
  • Jump by percentage. : then 90% 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

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:

PrefixModeDescription
(none)File finderFuzzy search for files in your workspace
>CommandsSearch and run editor commands
#BuffersSwitch between open buffers by name
:Go to lineJump to a specific line number
@SymbolsJump to a declaration in the current file

Matching and acceptance

  • Space-separated terms match independently. For example, feat group matches features/groups/view.tsx, etc hosts finds /etc/hosts, and save file finds save_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 matching README.
  • tui/src/main.rs:42:10 — open tui/src/main.rs at line 42, column 10.
  • >save — find and run a save command.
  • #notes — switch to the buffer matching notes.
  • :128 — preview and jump to line 128.
  • @parse — jump to a declaration matching parse in 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.

  • 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+J is already the recent-locations jump and Alt+P is 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+I is View, Alt+O is 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, S selects Save and S again 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/vix and an Ok button.
  • Email — modal dialog with a selectable/copyable text field joel@joelparkerhenderson.com and an Ok button.
  • Quit (Ctrl+Q) — quit Vix.

File menu

ItemShortcutAction
NewCtrl+NCreate a new buffer
Open…Ctrl+OOpen an existing file
Open Recent…Ctrl+Shift+OReopen a recently opened file (chooser)
Open in Large File Viewer…View a huge file read-only without loading it (Large File Viewer)
SaveCtrl+SSave the file
Save As…Ctrl+Shift+SSave under a different name (asks before overwriting)
Save AllSave 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
CloseCtrl+WClose the active buffer
Close All TabsClose every buffer (leaves one empty)
Reopen Closed TabCtrl+Shift+TReopen the most recently closed file

Edit menu

ItemShortcutAction
UndoCtrl+ZUndo
RedoCtrl+Shift+ZRedo
CutCtrl+XCut to clipboard
CopyCtrl+CCopy to clipboard
PasteCtrl+VPaste 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)
CommentCtrl+/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:

ItemShortcutAction
Select AllCtrl+ASelect the whole buffer
Select MoreCtrl+Shift+→Extend the selection right by a word
Select LessCtrl+Shift+←Retract the selection left by a word

The Move submenu:

ItemShortcutAction
Move UpAlt+↑Move the current line up
Move DownAlt+↓Move the current line down

The Go submenu:

ItemAction
Line NumberJump to a line number
Line StartMove to the start of the current line
Line EndMove to the end of the current line
Paragraph StartMove to the start of the paragraph
Paragraph EndMove to the end of the paragraph
Section StartMove to the start of the section
Section EndMove to the end of the section
File StartMove the cursor to the start of the file
File EndMove the cursor to the end of the file

The Find submenu:

ItemShortcutAction
Find…Ctrl+FFind in the current file
Find NextCtrl+GRepeat the last search forward
Find PreviousCtrl+Shift+GRepeat the last search backward
Find SelectionAlt+NJump 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

ItemAction
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

ItemAction
Command PaletteOpen 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 CommandKill 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).

ItemAction
SummarizeSummarize the selection (or the whole file); to a new tab
ExplainExplain the selection (or the whole file); to a new tab
DefineDefine the selection (or the word at/after the cursor); to a new tab
AnnotateAnnotate the selection (or the whole file); replaces it
ImproveImprove 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 CommentWrites 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.

ItemAction
Initjj 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)
Statusjj status
Diffjj diff
Showjj show
Log ▸Submenu: Log / Log All / Op Log
Newjj new (start a new, empty change)
Describejj describe (edit the current change’s description)
Commitjj commit
Editjj edit (switch the working-copy commit)
Squashjj squash (fold the current change into its parent)
Abandonjj abandon
Restorejj restore
Rebasejj rebase
Undojj undo (undo the last jj operation)
Git ▸Submenu: Push / Fetch (jj git push / jj git fetch)

Git menu

ItemAction
Statusgit 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 OwnersSay 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 PopStash 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)
Pullgit pull (streamed to the bottom dock)
Pushgit push (streamed to the bottom dock)
Fetchgit fetch (streamed to the bottom dock)
Initgit init (refuses if a .git repo already exists)
Clone…Prompt for a URL and git clone it

The Branch submenu:

ItemAction
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:

ItemAction
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:

ItemAction
Interactive Rebase…Prompt for a base, then reorder, reword, edit, squash, fix up, or drop the commits after it
Continue RebaseContinue a rebase stopped at an edit or a conflict
Abort RebaseAbandon 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.

ItemAction
Chat PanelShow or hide the IM panel beside the editor
Connect…Connect a configured IRC account ([[im.accounts]])
DisconnectClose the selected conversation’s account
Join Room…Prompt for a room (#channel) and join it
Leave RoomLeave the selected room
Direct Message…Prompt for a nick and open a direct conversation
Next UnreadGo to the next conversation with unread messages
Share SelectionSend the selection as a snippet, after showing what and to whom
Share LocationSend 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 ThreadGo to the next thread in this file
Previous ThreadGo to the previous thread in this file
Resolve or Reopen ThreadResolve the thread on the cursor’s line, or reopen it
Status ▸Available / Away / Busy (Busy silences notifications)
Notifications ▸All Messages / Mentions Only / Off
Clear HistoryDelete 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

ItemAction
Keyboard ShortcutsOpen 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

ShortcutAction
Ctrl+FSearch in buffer; open the find prompt
Ctrl+RReplace in buffer; open the find-and-replace prompt
Ctrl+Alt+RInteractive query-replace (y/n/!/q per match)
F3 / Ctrl+GFind next match (repeats the last search)
Shift+F3 / Ctrl+Shift+GFind previous match
Alt+NFind next occurrence of the selection
Alt+PFind previous occurrence of the selection
Ctrl+Shift+FWorkspace-wide search and replace
Alt+HIn the find dialog: turn replace on or off
Alt+IIn the find dialog: where to look — buffer, files, workspace
Alt+EIn 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:

ToggleShortcutAction
Case SensitiveAlt+CMatch exact case
Whole WordAlt+WMatch complete words only
RegexAlt+RUse 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 match
  • n — skip this match
  • ! — replace this and all remaining matches
  • q — 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, Enter to play, Esc to 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

ScopePathNotes
Global<config dir>/scripts/*.rhaiApplies to every workspace you open.
Project<workspace root>/.vix/scripts/*.rhaiJust 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 update brings 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). id only needs to be unique within this one script; handler names a fn in 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_token uses 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

FunctionEffect
buffer_text() -> Stringwhole active-buffer text
set_buffer_text(text)replace the whole buffer, one undo step
selection_text() -> Stringselected text, "" if there is no selection
set_selection_text(text)replace the selection; with no selection, insert at the cursor
current_line() -> Stringthe line the cursor is on (read-only — there’s no set_current_line)
cursor_offset() -> intcursor 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 for key in the current language (§ Translating a plugin).
  • locale() -> String — the current language code, such as en or fr.

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 (or Ctrl+Shift+L), type a URL, and the selection becomes a Markdown link wrapping the original text. Shows register_command + bind_key together, and prompt/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 one set_buffer_text call.
  • 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 in buffer_text() using cursor_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. Shows now().
  • 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.
  • ↑ / ↓ 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.
  • → / Enter opens a file or expands a directory.
  • ← collapses an expanded directory, or jumps to its parent directory; it never expands.
  • PgUp / PgDn move a page at a time; Home / End jump 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:

  1. Select foo.txt in the explorer and press Ctrl+X.
  2. 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.

  • ↑ / ↓ move the selection between messages.
  • Dismiss the highlighted message with the close x on its row, the Delete key, or Enter. 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 Esc to return focus to the editor.
  • While focused: ↑ / ↓ scroll one line, PgUp / PgDn scroll one page, and Home / End jump 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 $ command header,
  • 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:

  1. Open Tools → Run Command… and enter cargo build.
  2. The dock appears and streams the build output.
  3. When a line like tui/src/app.rs:42:9: error[...] appears, click it to open tui/src/app.rs at 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

WhatWhere
Settingsconfig.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 overrideskeybindings.toml in the same directory as config.toml, or Vix → Keybindings…
Themesthemes/*.json in the same directory
Snippetsglobal/snippets/*.json, and media-types/<type>/<subtype>/snippets/*.json per language
Scriptsscripts/*.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 fromKeymapkeymap =
VS CodeVSCode macOS or VSCode Windows"vscode-macos", "vscode-windows"
Neovim, VimVi"vi"
EmacsEmacs"emacs"
Spacemacs, Doom EmacsSpacemacs"spacemacs"
HelixHelix"helix"
IntelliJ, other JetBrains IDEsIntelliJ macOS or IntelliJ Windows"intellij-macos", "intellij-windows"
EclipseEclipse"eclipse"
Sublime TextSublime"sublime"
ZedZed"zed"
Atom (no Atom keymap)VSCode macOS or VSCode Windows"vscode-macos", "vscode-windows"
Notepad++ (no Notepad++ keymap)Sublime"sublime"
Anything elseApple (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.

SettingVS CodeNeovim, VimEmacsVix
Tab widtheditor.tabSizetabstop, shiftwidthtab-widthtab_width = 4
Spaces or tabseditor.insertSpacesexpandtabindent-tabs-modeindent_style = "spaces" (or "tabs")
Line numberseditor.lineNumbersnumberdisplay-line-numbers-modeline_numbers = true
Relative numberseditor.lineNumbers: "relative"relativenumberdisplay-line-numbers-type 'relativerelative_line_numbers = true
Soft wrapeditor.wordWrapwrapvisual-line-modesoft_wrap = true
Format on saveeditor.formatOnSavea plugin or autocommanda hookformat_on_save = true
Auto savefiles.autoSavea plugin or autocommandauto-save-visited-modeauto_save = "focus_lost" (or "interval")
Persistent undonot built inundofilea packagepersistent_undo = true (the default)
Reopen last fileswindow.restoreWindowssessionsdesktop-save-moderestore_session = true
Themeworkbench.colorThemecolorschemeload-themetheme = "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:

  1. Copy a language’s snippet file into media-types/<type>/<subtype>/snippets/, for example <config>/media-types/text/rust/snippets/rust.json, or into global/snippets/ for snippets you want everywhere.
  2. Rename a .code-snippets file to .json: only .json files are read.
  3. 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.json and launch.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:

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.

KeyActionAction ID
C-pOpen…file.open
C-S-pCommand Palettetools.palette
C-bToggle Explorerview.explorer
C-S-eToggle Explorer Focusview.toggle_explorer_focus
C-fFind…edit.find
C-rFind & Replaceedit.replace
C-S-fSearch in Workspacesearch.workspace
C-/Commentedit.toggle_comment
C-S-lSelect All Occurrencesedit.select_all_occurrences
C-S-kCut Linecut_line
C-\Verticalview.split_vertical
`C-``Show/Hide Terminaltools.terminal
C-S-mDiagnostics…lsp.diagnostics
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close
C-S-tReopen Closed Tabfile.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 AtomIn Vix
Fuzzy finderThe file finder (Ctrl+P above) and the command palette, with @ for symbols, : for a line and > for commands5
Tree viewThe file explorer (Ctrl+B above)
Find and replace, project findFind, replace and workspace search and replace6
The GitHub package’s Git panelThe Git panel: stage, commit and blame7
Multiple cursorsSelect all occurrences, add the next one, column selection8
Language packagesTree-sitter highlighting9 and language servers10
Terminal packagesIntegrated terminals11
The Teletype packageCowork, opt-in and off in a default build12
init script and your own packagesRhai scripts and plugins13
ThemesBundled themes, picked from View → Theme14
config.csonconfig.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 .cson snippets 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.


  1. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

  2. F1 lists the active keymap’s keys: tui/tests/integration/keymaps.rs, help_overlay_includes_the_active_keymap_chords. ↩

  3. A keybindings.toml entry wins over the active keymap: tui/tests/integration/keymaps.rs, key_override_wins_over_a_builtin_keymap_binding. ↩

  4. tui/tests/integration/editing.rs, ctrl_d_adds_a_caret_and_edits_all_occurrences (VSCode macOS keymap). ↩

  5. The prefixes are Mode::from_input in crates/vix-palette/src/lib.rs. ↩

  6. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  7. tui/tests/integration/editing.rs, select_all_occurrences_creates_multi_carets, ctrl_d_adds_a_caret_and_edits_all_occurrences and column_select_block_edits_multiple_lines. ↩

  8. The grammars compiled in by default are the syntax-common feature in tui/Cargo.toml. ↩

  9. 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. ↩

  10. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  11. Compiled in only with the cowork Cargo feature, which the default full feature set in tui/Cargo.toml leaves out. See the Cowork specification. ↩

  12. Rhai scripts add palette commands and key bindings: tui/tests/integration/scripting.rs, script_command_appears_in_the_command_palette and a_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser: plugin_chooser_enables_and_disables_a_plugin. ↩

  13. tui/tests/integration/menu.rs, view_theme_submenu_lists_bundled_themes. ↩

  14. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  15. persistent_undo defaults to true in crates/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.

KeyActionAction ID
C-3Command Palettetools.palette
C-S-rOpen…file.open
C-S-tGo to Symbol in Workspacenav.goto_workspace_symbol
C-oGo to Symbolnav.goto_symbol
C-lNumbernav.goto_line
C-fFind…edit.find
C-rFind & Replaceedit.replace
C-kFind Nextedit.find_next
C-S-kFind Previousedit.find_prev
C-hSearch in Workspacesearch.workspace
A-/Autocomplete Wordautocomplete
C-/Commentedit.toggle_comment
C-S-fFormat Documentlsp.format
C-S-bToggle Breakpointrun.toggle_breakpoint
C-bRun Teststools.test
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close
C-S-wClose All Tabsfile.close_all
C-yRedoedit.redo

What is different

  • Ctrl+3 is the command palette. Inside it, @ jumps to a symbol in the file, : to a line and > runs a command.3
  • Alt+/ completes a word from the buffer, separately from Ctrl+/, which toggles a comment.4
  • Ctrl+B runs the project’s tests (tools.test) rather than building a workspace. Vix finds tasks in Makefile, package.json, a justfile and more (see Tasks).
  • No .metadata workspace. 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+B toggles 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


Vix™ and Vix IDE™ are trademarks.


  1. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

  2. F1 lists the active keymap’s keys: tui/tests/integration/keymaps.rs, help_overlay_includes_the_active_keymap_chords. ↩

  3. The prefixes are Mode::from_input in crates/vix-palette/src/lib.rs. ↩

  4. tui/tests/integration/keymaps.rs, eclipse_keymap_alt_slash_completes_a_word_distinct_from_ctrl_slash. ↩

  5. 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. ↩

  6. Experimental. tui/tests/remote_ui.rs, open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩

  7. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  8. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  9. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  10. persistent_undo defaults to true in crates/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 habitIn Vix
C-x C-f / C-x C-s / C-x C-cFind file / save / quit
C-x k / C-x bKill buffer / switch buffer
C-x 2 C-x 3 C-x 1 C-x 0 C-x oSplit, unsplit, other window
M-xThe command palette (fuzzy, with every command)
C-f C-b C-n C-p C-a C-eChar / line / line-end motions
M-f / M-bWord forward / backward
C-v / M-vPage down / up
M-< / M->Beginning / end of buffer
C-w / M-w / C-yKill region / kill-ring-save / yank
C-kKill line
C-t / M-tTranspose chars / words
C-sIncremental search
C-/Undo
C-gQuit (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-package incantations, no M-x package-refresh-contents at 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 unsafe forbidden — a different reliability contract than a C core running elisp.
  • The undo tree persists across sessions by default, content-hash guarded — undo-tree semantics without the package.
  • Kill-ring history is visible: Edit -> Paste from History shows 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 no C-SPC mark, no C-x C-x.
  • Self-documentation. F1 lists every shortcut and the palette lists every command, but there is no C-h f that jumps to source.

An honest experiment

  1. cargo build --release; put vix on your PATH.
  2. Open your notes directory: vix ~/org — switch the keymap to Emacs, then poke the Org menu at your existing .org files.
  3. Lean on M-x (the palette) and the which-key popup instead of docs.
  4. 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 .http buffer, 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


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 KeyActionVix Equivalent (Fresh keymap)
Ctrl+POpen fileCtrl+P - Quick Open (fuzzy file finder)
Ctrl+EToggle explorer focusCtrl+E - Toggle Explorer Focus
Ctrl+BToggle explorerCtrl+B - Toggle Explorer
Ctrl+SSaveCtrl+S - Save
Ctrl+QQuitCtrl+Q - Quit
Ctrl+NNew fileCtrl+N - New
Ctrl+OOpen pathCtrl+O - Open Path
Ctrl+FFindCtrl+F - Find
Ctrl+RFind & ReplaceCtrl+R - Find & Replace
Ctrl+/Toggle commentCtrl+/ - Toggle Comment
Ctrl+KCut to line endCtrl+K - Cut to Line End
Ctrl+WSelect wordCtrl+W - Select Word
Ctrl+HDelete word leftCtrl+H - Delete Word Left
Ctrl+GGo to lineCtrl+G - Go to Line
Ctrl+TTranspose charactersCtrl+T - Transpose Characters
Ctrl+LSelect lineCtrl+L - Select Line
Alt+LeftBackAlt+Left - Back
Alt+RightForwardAlt+Right - Forward
Alt+UpMove line upAlt+Up - Move Line Up
Alt+DownMove line downAlt+Down - Move Line Down
Alt+.Code actionAlt+. - Code Action
Alt+/Search workspaceAlt+/ - Search in Workspace
Ctrl+]Match bracketCtrl+] - 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+V workflow
  • 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+P just like Fresh
  • Explorer sidebar: Ctrl+E to focus, Ctrl+B to 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 .http files 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

FeatureFreshVix
Default keymapFresh keymapApple keymap (switch to Fresh via View → Keymap)
Integrated terminalNoYes, built-in
Git integrationNoYes, full client
LSP/DAPYesYes, more features
Database workbenchNoYes
Org modeNoYes, full support
Container managementNoYes
REST clientNoYes
Multi-cursorYesYes, more features
Undo treeLimitedFull persistent tree
Session restoreYesYes, 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

  1. Open Vix: vix .
  2. Press Ctrl+Shift+P (or use the menu bar)
  3. Type keymap and 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:

  1. Add custom bindings via keybindings.toml:
# ~/.config/vix/keybindings.toml
[[bindings]]
key = "C-S-d"
action = "edit.duplicate_line"
  1. Create custom scripts in ~/.config/vix/scripts/*.rhai:
// Example: Insert current date
fn insert_date() {
    let date = now();
    buffer_set_text(date);
}
  1. 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, type git, 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:

  1. Install Vix and switch to the Fresh keymap
  2. Use your familiar Fresh shortcuts: Ctrl+P, Ctrl+S, Ctrl+F, etc.
  3. 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
  4. Notice how Vix handles things Fresh leaves to external tools:
    • Git staging and committing
    • Debugging
    • Database queries
    • Container management

Learning Resources

Official Documentation

Migration Guides

Community

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:

  1. Check if it exists under a different name
  2. Search the issues for feature requests
  3. 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 --doctor to 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+D in the Sublime keymap, Ctrl+Shift+L under VSCode), column (rectangular) selection, and manual multi-cursor placement are all built in — see docs/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, x or % select, then d, c, y or p act; v extends; g goto, mm, the Space leader (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 (y joins several selections into one register value), view and window modes, and the block cursor. See docs/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:

  1. cargo build --release and put vix on your PATH.
  2. Open a project: vix .
  3. Pick the Helix keymap (View → Keymap → Helix), then edit the way you do in Helix: w then d, x then y, Space f for files.
  4. 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


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:

KeyActionAction ID
C-S-aCommand Palettetools.palette
C-oGo to Symbolnav.goto_symbol
C-S-oOpen…file.open
C-A-oGo to Symbol in Workspacenav.goto_workspace_symbol
C-lNumbernav.goto_line
C-bGo to Definitionnav.goto_definition
C-fFind…edit.find
C-rFind & Replaceedit.replace
C-gFind Nextedit.find_next
C-S-gFind Previousedit.find_prev
C-S-fSearch in Workspacesearch.workspace
C-S-rSearch and Replace in Workspacesearch.workspace_replace
C-dDuplicate Lineedit.duplicate_line
C-/Commentedit.toggle_comment
C-A-lFormat Documentlsp.format
C-,Settings…vix.settings
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close

IntelliJ Windows

From the IntelliJ Windows reference:

KeyActionAction ID
C-S-aCommand Palettetools.palette
C-nGo to Symbolnav.goto_symbol
C-S-nOpen…file.open
C-A-oGo to Symbol in Workspacenav.goto_workspace_symbol
C-gNumbernav.goto_line
C-bGo to Definitionnav.goto_definition
C-fFind…edit.find
C-rFind & Replaceedit.replace
C-S-fSearch in Workspacesearch.workspace
C-S-rSearch and Replace in Workspacesearch.workspace_replace
C-dDuplicate Lineedit.duplicate_line
C-/Commentedit.toggle_comment
C-A-lFormat Documentlsp.format
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.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


Vix™ and Vix IDE™ are trademarks.


  1. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

  2. F1 lists the active keymap’s keys: tui/tests/integration/keymaps.rs, help_overlay_includes_the_active_keymap_chords. ↩

  3. tui/tests/integration/keymaps.rs, intellij_go_to_family_differs_by_platform. ↩

  4. 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. ↩

  5. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  6. persistent_undo defaults to true in crates/vix-settings/src/lib.rs; the tree view: tui/tests/integration/undo_tree.rs, moving_the_selection_previews_and_enter_keeps_the_state. ↩

  7. Experimental. tui/tests/remote_ui.rs, open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩

  8. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  9. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  10. tui/tests/integration/workspace.rs, workspace_search_finds_matches_across_files and workspace_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.

KeyActionAction ID
C-nNewfile.new
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close
C-S-wClose All Tabsfile.close_all
C-S-tReopen Closed Tabfile.reopen_closed
C-fFind…edit.find
C-hFind & Replaceedit.replace
C-S-fSearch in Workspacesearch.workspace
C-gNumbernav.goto_line
C-dSelect All Occurrencesedit.select_all_occurrences
C-S-dDuplicate Lineedit.duplicate_line
C-S-kCut Linecut_line
C-jJoin Linesedit.join_lines
C-/Commentedit.toggle_comment
C-mJump to Matching Bracketedit.match_bracket

Where your Notepad++ features went

In Notepad++In Vix
Tabs, and reopening the last sessionTabs; the last session reopens by default4
Find in Files, Replace in FilesWorkspace search and replace (Ctrl+Shift+F above)5
Macro recording and saved macrosEdit → Macro → Record, Play and Save…6
Column modeColumn selection: Edit → Select → Column Select Up/Down, Alt+Shift+Up/Down by default7
Multi-editingMultiple carets and select all occurrences7
Encoding menuFile → Reopen with Encoding… and Save with Encoding…; the encoding is kept byte for byte8
EOL conversionLine endings are detected and kept, and the Edit menu converts them (edit.eol_lf, edit.eol_crlf)9
Session snapshot and periodic backupHot exit: unsaved buffers come back after a crash10
Compare pluginCompare With File, side by side11
Opening very large filesThe large file viewer12
Plugins AdminRhai scripts and plugins13
Syntax highlightingTree-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


Vix™ and Vix IDE™ are trademarks.


  1. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

  2. F1 lists the active keymap’s keys: tui/tests/integration/keymaps.rs, help_overlay_includes_the_active_keymap_chords. ↩

  3. A keybindings.toml entry wins over the active keymap: tui/tests/integration/keymaps.rs, key_override_wins_over_a_builtin_keymap_binding. ↩

  4. restore_session defaults to true in crates/vix-settings/src/lib.rs; the round trip: tui/tests/integration/workspace.rs, session_snapshot_and_restore_round_trip. ↩

  5. tui/tests/integration/workspace.rs, workspace_search_finds_matches_across_files and workspace_replace_rewrites_files. ↩

  6. 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. ↩

  7. tui/tests/integration/editing.rs, select_all_occurrences_creates_multi_carets, ctrl_d_adds_a_caret_and_edits_all_occurrences and column_select_block_edits_multiple_lines. ↩ ↩2

  8. crates/vix-encoding/src/lib.rs, every_choice_round_trips_byte_for_byte and unmappable_characters_refuse_to_encode; the choosers: tui/tests/integration/editing.rs, encoding_choosers_convert_and_reopen. ↩

  9. Detection: tui/tests/integration/editing.rs, line_ending_detects_crlf; conversion: text_transforms_squeeze_eol_and_rot13. ↩

  10. tui/tests/integration/hot_exit.rs, a_crashed_buffer_round_trips_through_its_backup. ↩

  11. tui/tests/integration/compare.rs, opens_both_files_side_by_side_with_marks. ↩

  12. tui/tests/integration/large_file.rs, open_in_large_file_viewer_navigates_a_multi_megabyte_file. ↩

  13. Rhai scripts add palette commands and key bindings: tui/tests/integration/scripting.rs, script_command_appears_in_the_command_palette and a_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser: plugin_chooser_enables_and_disables_a_plugin. ↩

  14. The grammars compiled in by default are the syntax-common feature in tui/Cargo.toml. ↩

  15. 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. ↩

  16. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  17. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  18. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  19. persistent_undo defaults to true in crates/vix-settings/src/lib.rs; the tree view: tui/tests/integration/undo_tree.rs, moving_the_selection_previews_and_enter_keeps_the_state. ↩

  20. Release targets for macOS, Linux and Windows on x86-64 and ARM: dist-workspace.toml. ↩

  21. 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 habitIn Vix
SPC SPC (M-x)Command palette
SPC f f / SPC f r / SPC f sFind file / recent files / save
SPC f p / SPC p pSwitch project
SPC p fProject file/command palette
SPC p tProject tree (file explorer)
SPC b n / SPC b p / SPC b dNext / previous / delete buffer
SPC g s / SPC g g / SPC g bGit status / git summary / blame
SPC w / / SPC w -Split vertical / horizontal
SPC w d / SPC w wDelete split / other window
SPC s s / SPC s pSearch buffer / search project
SPC t n / SPC t wToggle line numbers / whitespace
SPC ;Comment
SPC q qQuit

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 Space leader and the Emacs keymap’s C-x prefix.
  • Org, genuinely. Headlines, TODO cycling, checkbox statistics, export, and roam-style notes with backlinks and dailies — the Spacemacs org layer is often why people endure the rest; here it is just a menu.
  • Memory safety. Rust with unsafe forbidden.

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 deep SPC-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

  1. cargo build --release; put vix on your PATH.
  2. In a project: vix . — press Ctrl+P, type keymap, choose Spacemacs.
  3. Lean on the leader: SPC f f to a file, SPC g s for git, SPC w / to split, and pause after SPC to let the which-key popup teach you the rest.
  4. 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


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.

KeyActionAction ID
C-pOpen…file.open
C-S-pCommand Palettetools.palette
C-rGo to Symbolnav.goto_symbol
C-gNumbernav.goto_line
C-dSelect All Occurrencesedit.select_all_occurrences
C-lSelect Lineedit.select_line
C-jJoin Linesedit.join_lines
C-mJump to Matching Bracketedit.match_bracket
C-S-dDuplicate Lineedit.duplicate_line
C-S-kCut Linecut_line
C-/Commentedit.toggle_comment
C-fFind…edit.find
C-hFind & Replaceedit.replace
C-S-fSearch in Workspacesearch.workspace
C-bRun Teststools.test
`C-``Show/Hide Terminaltools.terminal
C-sSavefile.save
C-S-sSave As…file.save_as
C-wClosefile.close
C-S-tReopen Closed Tabfile.reopen_closed
C-S-wClose All Tabsfile.close_all

What is different

  • Ctrl+P opens the file finder, and Ctrl+Shift+P the 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+D selects every occurrence at once. Sublime Text’s Ctrl+D adds the next occurrence one at a time (multiple selection with the keyboard). For that behavior, bind the key to spawn_multi_cursor (add the next occurrence as a caret) in keybindings.toml:4

    [[binding]]
    key_token = "C-d"
    action_id = "spawn_multi_cursor"
    
  • Ctrl+Shift+K cuts the line to the clipboard (cut_line) rather than only deleting it.

  • Ctrl+B runs the project’s tests (tools.test); there are no Sublime build systems. Vix finds tasks in Makefile, package.json, a justfile and more (see Tasks).

  • Column selection is Edit → Select → Column Select Up/Down (Alt+Shift+Up / Alt+Shift+Down in 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


Vix™ and Vix IDE™ are trademarks.


  1. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

  2. F1 lists the active keymap’s keys: tui/tests/integration/keymaps.rs, help_overlay_includes_the_active_keymap_chords. ↩

  3. The prefixes are Mode::from_input in crates/vix-palette/src/lib.rs. ↩

  4. A keybindings.toml entry wins over the active keymap: tui/tests/integration/keymaps.rs, key_override_wins_over_a_builtin_keymap_binding. ↩

  5. tui/tests/integration/editing.rs, select_all_occurrences_creates_multi_carets, ctrl_d_adds_a_caret_and_edits_all_occurrences and column_select_block_edits_multiple_lines. ↩

  6. 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. ↩

  7. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  8. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  9. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  10. persistent_undo defaults to true in crates/vix-settings/src/lib.rs; the tree view: tui/tests/integration/undo_tree.rs, moving_the_selection_previews_and_enter_keeps_the_state. ↩

  11. tui/tests/integration/workspace.rs, workspace_search_finds_matches_across_files and workspace_replace_rewrites_files. ↩

  12. Experimental. tui/tests/remote_ui.rs, open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩

  13. Rhai scripts add palette commands and key bindings: tui/tests/integration/scripting.rs, script_command_appears_in_the_command_palette and a_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 KeyActionVix Equivalent (ttt keymap)
Ctrl+POpen fileCtrl+K P or Ctrl+P - Quick Open
Ctrl+SSaveCtrl+K S or Ctrl+S - Save
Ctrl+QQuitCtrl+Q - Quit
Ctrl+Shift+PCommand paletteCtrl+Shift+P - Command Palette
ttt KeyActionVix Equivalent (ttt keymap)
Ctrl+EExplorerCtrl+K E - Toggle Explorer
Ctrl+K EFocus explorerCtrl+K E - Toggle Explorer Focus
Ctrl+OOpen folderCtrl+K O - Open Path
Ctrl+FFindCtrl+F - Find
Ctrl+RFind & ReplaceCtrl+R - Find & Replace
Ctrl+GGo to lineCtrl+G - Go to Line

Editing

ttt KeyActionVix Equivalent (ttt keymap)
Ctrl+K CCopyCtrl+C - Copy
Ctrl+K XCutCtrl+X - Cut
Ctrl+K VPasteCtrl+V - Paste
Ctrl+K ZUndoCtrl+Z - Undo
Ctrl+K YRedoCtrl+Y - Redo (or Ctrl+Shift+Z)
Ctrl+K ASelect allCtrl+A - Select All
Ctrl+DDuplicate lineCtrl+D - Duplicate Line
Ctrl+Shift+DDelete lineCtrl+Shift+D - Delete Line

ttt-Specific Chords

Vix’s ttt keymap preserves ttt’s two-key Ctrl+K chord prefixes:

ttt ChordActionVix (ttt keymap)
Ctrl+K POpen filefile.open (Quick Open)
Ctrl+K SSave asfile.save_as
Ctrl+K FFormatformat.document
Ctrl+K [Toggle foldedit.toggle_fold
Ctrl+K 0Fold alledit.fold_all
Ctrl+K 9Unfold alledit.unfold_all
Ctrl+K LToggle foldedit.toggle_fold
Ctrl+K JUnfold alledit.unfold_all
Ctrl+K EExplorerview.explorer
Ctrl+K OOpen folderfile.open_path
Ctrl+K CCopyedit.copy
Ctrl+K XCutedit.cut
Ctrl+K VPasteedit.paste
Ctrl+K ZUndoedit.undo
Ctrl+K YRedoedit.redo
Ctrl+K ASelect alledit.select_all

Window Management

ttt KeyActionVix Equivalent (ttt keymap)
Ctrl+K WClose tabCtrl+W - Close Tab
Ctrl+K NNew tabCtrl+N or Ctrl+T - New Tab
Ctrl+K UpPrevious tabCtrl+PageUp or Ctrl+Shift+Tab
Ctrl+K DownNext tabCtrl+PageDown or Ctrl+Tab
Ctrl+\\Split rightCtrl+\\ - Split Right
Ctrl+K \\Split rightCtrl+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+P or Ctrl+K P opens the quick file picker
  • Command palette: Ctrl+Shift+P for 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 .http files 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+P for files
  • Command palette: Search and run commands
  • Multi-cursor: Edit multiple locations
  • LSP: Language server support

What’s Different

FeaturetttVix
LanguageGoRust
Default keymapttt keymapApple keymap (switch to ttt via View → Keymap)
Integrated terminalNoYes, built-in
Git integrationNoYes, full client
DebuggerNoYes, full DAP debugger
Database workbenchNoYes
Org modeNoYes, full support
Container managementNoYes
REST clientNoYes
Jujutsu supportNoYes
Multi-cursor depthGoodMore features (select all occurrences, column select)
UndoLinearBranching tree with visualization
Session restoreYesMore comprehensive
Feature breadthEditor-focusedFull 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

  1. Open Vix: vix .
  2. Press Ctrl+Shift+P (or use the menu bar)
  3. Type keymap and 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:

  1. 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"
  1. Create custom scripts in ~/.config/vix/scripts/*.rhai:
// Example: Insert current date
fn insert_date() {
    let date = now();
    buffer_set_text(date);
}
  1. 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, type git, 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:

  1. Install Vix and switch to the ttt keymap
  2. Use your familiar ttt shortcuts: Ctrl+K P, Ctrl+K S, Ctrl+E, etc.
  3. Notice how the Ctrl+K chords you’re used to work the same way
  4. 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)
  5. Experience having all these tools available without leaving your editor

Learning Resources

Official Documentation

Migration Guides

Community

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:

  1. Check if it exists under a different name
  2. Search the issues for feature requests
  3. 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 --doctor to 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 unsafe Rust: 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 runs git, and :cn walks the problems parsed from a task’s output, much as Vim’s :make fills the quickfix list through makeprg and errorformat.

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.

  1. Run the test at point. /a_quarter<CR> puts the cursor on the test a_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) is 2, not 25.
  2. Jump to the failure. :cn<CR> goes to the first problem the run reported, the failing assert_eq! on line 24 (the panic location is parsed from the test output, like Vim’s quickfix list).
  3. Edit the argument. gg/10<CR> finds the wrong scale, and ciw100<Esc> changes it (stock Vim). With a Tree-sitter grammar, cia changes the whole argument whatever it looks like (optional Vix).
  4. Repeat. n. finds the same mistake in percent_label and repeats the change (stock Vim).
  5. Take a detour through the undo tree. u undoes the repeat, and 0f1ciw50<Esc> makes a different change instead: the undo history now has two branches. Edit -> Undo Tree… shows them; Up previews the other branch live (both scales 100), Enter keeps it and Esc would put everything back (optional Vix: Vim keeps the same tree and walks it with g-/g+, which Vix’s Vi keymap has too, and :undolist, but draws it only with a plugin).
  6. Rerun the test. :w<CR>, then gg/a_quarter<CR> and Project -> Test at Point again: it passes.
  7. 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 --cached in 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.

KeysBeforeAfter in VixModeKindSame in Vim?
3l¦hello worldhel¦lo worldNormalstock Vimyes
$¦hellohell¦oNormalstock Vimyes
0 ab¦c¦ abcNormalstock Vimyes
^ ab¦c ¦abcNormalstock Vimyes
w¦pkg::run(arg);pkg¦::run(arg);Normalstock Vimyes
3w¦pkg::run(arg);pkg::run¦(arg);Normalstock Vimyes
bfoo ba¦rfoo ¦barNormalstock Vimyes
e¦foo barfo¦o barNormalstock Vimyes
W¦a.b c¦a.b cNormalstock Vimno: Vim gives a.b ¦c. WORD motions (W B E) are not implemented: the key does nothing
ggone⏎two⏎th¦ree¦one⏎two⏎threeNormalstock Vimyes
G¦one⏎two⏎threeone⏎two⏎¦threeNormalstock Vimyes
2G¦one⏎two⏎threeone⏎¦two⏎threeNormalstock Vimyes
4ljj¦abcdef⏎x⏎abcdefabcdef⏎x⏎abcd¦efNormalstock Vimyes: the column is kept across a shorter line
2f.¦a.b.ca.b¦.cNormalstock Vimyes
t.¦ab.ca¦b.cNormalstock Vimyes
F.a.b.¦ca.b¦.cNormalstock Vimyes
T.a.b.¦ca.b.¦cNormalstock Vimyes
f.;¦a.b.ca¦.b.cNormalstock Vimno: Vim gives a.b¦.c. ; and , (repeat the last f/t) are not implemented
}¦one⏎two⏎⏎threeone⏎two⏎¦⏎threeNormalstock Vimyes
{one⏎⏎two⏎th¦reeone⏎¦⏎two⏎threeNormalstock Vimyes
)¦One. Two.One. ¦Two.Normalstock Vimyes
%¦(a [b] c)(a [b] c¦)Normalstock Vimyes
*¦foo bar foo¦foo bar fooNormalstock Vimno: Vim gives foo bar ¦foo. * and # are not implemented
/bar<CR>¦foo barfoo ¦barNormalstock Vimyes: / opens Vix’s find bar
/o<CR>n¦xo oxo ¦oNormalstock Vimyes
/bar<CR>"ax¦foo barfoo ¦arNormalstock Vimyes: <CR> closes the find bar and returns to Normal mode
/bar<CR><Esc>"ax¦foo barfoo ¦arNormalstock Vimyes
"adw¦foo bar¦barNormalstock Vimyes
"ade¦foo bar¦ barNormalstock Vimyes
"add¦one⏎ two ¦twoNormalstock Vimyes
"a2dd¦one⏎two⏎three¦threeNormalstock Vimyes
"adwfoo ¦bar⏎bazfoo¦ ⏎bazNormalstock Vimyes: dw on a line’s last word keeps the line break
"ad$fo¦o barf¦oNormalstock Vimyes
"aDfo¦o barf¦oNormalstock Vimyes
"ax¦abc¦bcNormalstock Vimyes
"a3x¦abcd¦dNormalstock Vimyes
"aXab¦ca¦cNormalstock Vimyes
"adf.¦a.b.c¦b.cNormalstock Vimyes
"a2d3w¦a b c d e f g h¦g hNormalstock Vimyes: the two counts multiply
"adj¦one⏎two⏎three¦threeNormalstock Vimyes
"adGone⏎¦two⏎three¦oneNormalstock Vimyes
"acwX<Esc>¦foo bar¦X barNormalstock Vimyes
"accX<Esc> fo¦o⏎bar¦X⏎barNormalstock Vimyes: an unconfigured Vim has noautoindent, so neither keeps the indent
"aCX<Esc>fo¦o barfo¦XNormalstock Vimyes
"asX<Esc>¦abc¦XbcNormalstock Vimyes
rX¦abc¦XbcNormalstock Vimyes
2rX¦abcX¦XcNormalstock Vimyes
4rX¦abc¦abcNormalstock Vimyes: too few characters left: nothing happens
r<CR>a¦bcda⏎¦cdNormalstock Vimyes
2r<CR>a¦bcda⏎¦dNormalstock Vimyes: {count}r<CR> replaces the characters with one line break
r<CR>j.a¦bc⏎defa⏎c⏎⏎¦efNormalstock Vimyes
~¦abc¦abcNormalstock Vimno: Vim gives A¦bc. ~ is not implemented
J¦one⏎twoone¦ twoNormalstock Vimyes
3J¦one⏎ two⏎)threeone two¦)threeNormalstock Vimyes: leading white space goes; no space before )
>>¦one¦oneNormalstock Vimno: Vim gives ¦one. > and < are not implemented
"ayy"ap¦one⏎twoone⏎¦one⏎twoNormalstock Vimyes
"ayw"aP¦foo barfoo¦ foo barNormalstock Vimyes
"ayl"a3p¦abaaa¦abNormalstock Vimyes
"ayiwfoo b¦arfoo ¦barNormalstock Vimyes
"adiwfoo b¦ar bazfoo ¦ bazNormalstock Vimyes
"adawfoo b¦ar bazfoo ¦bazNormalstock Vimyes
"adi(f(a, ¦b)f(¦)Normalstock Vimyes
"adibf(a, ¦b)f(¦)Normalstock Vimyes
"ada"say "h¦i" nowsay ¦nowNormalstock Vimyes
"ada"say "h¦i"sa¦yNormalstock Vimyes: no white space after the quote: the white space before it goes
"aci{X<Esc>{ a¦b }{¦X}Normalstock Vimyes
"adi<lt><a¦b><¦>Normalstock Vimyes
"adipone⏎tw¦o⏎⏎threeone⏎tw¦o⏎⏎threeNormalstock Vimno: Vim gives ¦⏎three. ip/ap and is/as are not implemented: the operator is cancelled
v¦abc¦abcVisualstock Vimyes
Va¦bca¦bcVisual Linestock Vimyes
Vja¦bc⏎deabc⏎d¦eVisual Linestock Vimyes
vll"ad¦hello¦loNormalstock Vimyes
Vj"ad¦one⏎two⏎three¦threeNormalstock Vimyes
viw"ayfoo b¦arfoo ¦barNormalstock Vimyes
"avlld¦hello¦loNormalstock Vimno: 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 barfoo ¦arNormalstock Vimno: Vim gives ¦ar. Visual mode moves with h j k l only: w moves the cursor and drops the selection
vl"ad.¦abcdef¦cdefNormalstock Vimno: Vim gives ¦ef. a Visual operator is not dot-repeatable: . does nothing
"adw.¦a b c¦cNormalstock Vimyes
"a2dw3.¦a b c d e f g¦f gNormalstock Vimyes: a count before . replaces the recorded one
"ax.¦abc¦cNormalstock Vimyes
"aciwX<Esc>w.¦foo barX ¦XNormalstock Vimyes
A;<Esc>j.¦one⏎twoone;⏎two¦;Normalstock Vimyes
ofoo<Esc>.¦toptop⏎foo⏎fo¦oNormalstock Vimyes
"arX.¦abc¦XbcNormalstock Vimyes: . repeats r where the cursor is
J.¦a⏎b⏎ca b¦ cNormalstock Vimyes
iX<Esc>ab¦cab¦XcNormalstock Vimyes
aX<Esc>¦abca¦XbcNormalstock Vimyes
AX<Esc>¦abcabc¦XNormalstock Vimyes
IX<Esc> a¦bc ¦XabcNormalstock Vimyes
oX<Esc>¦one⏎twoone⏎¦X⏎twoNormalstock Vimyes
OX<Esc>one⏎¦twoone⏎¦X⏎twoNormalstock Vimyes
i<Esc>¦abc¦abcNormalstock Vimyes: never steps back past the line’s start
iXab¦cabX¦cInsertstock Vimyes
iXY<BS><Esc>¦c¦XcNormalstock Vimyes
"ax"axu¦abc¦bcNormalstock Vimyes
"aciwXY<Esc>u¦foo bar¦foo barNormalstock Vimyes: one u undoes the whole change
"axu<C-r>¦abc¦bcNormalstock Vimyes
"ax"ax2u2<C-r>¦abc¦cNormalstock Vimyes
"ax"axuug+¦abc¦bcNormalstock Vimyes
"axul"axg-a¦bcda¦cdNormalstock Vimyes: g- walks back in time across undo branches, where u would not
:2<CR>¦one⏎twoone⏎¦twoNormalstock Vimyes
:s/o/0/<CR>¦foo¦f0oNormalstock Vimyes
:s/o/0/g<CR>¦foo¦f00Normalstock Vimyes
:%s/a/b/g<CR>¦a⏎ab⏎¦bNormalstock Vimyes
:s/./X/<CR>¦a.b¦a.bNormalstock Vimno: 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) {}Normaloptional Vixn/a: Tree-sitter argument object (a plugin in Vim)
"adaffn a() {}⏎fn ¦b() {}fn a() {}⏎¦Normaloptional Vixn/a: Tree-sitter function object (a plugin in Vim)
]f¦fn a() {}⏎fn b() {}fn a() {}⏎¦fn b() {}Normaloptional Vixn/a: Tree-sitter next-function motion (a plugin in Vim)
:cn<CR>¦one⏎twoone⏎t¦woNormalexternal tooln/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: W B E, ; ,, ~, > <, and the ip/ap/is/as objects.
  • Visual mode moves with h j k l and the arrows only, its operators are not dot-repeatable, and a register typed before v applies to the Visual operator (Vim ignores it). There is no Visual Block.
  • Ex. :s takes 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, and cc does not keep indentation (an unconfigured Vim, with noautoindent, does not either). crates/vix-modal/spec/index.md keeps 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) and F1 for 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 undofile persists 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


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 habitIn Vix
Ctrl+PQuick Open (fuzzy file finder)
Ctrl+Shift+PCommand Palette
Ctrl+G / Ctrl+Shift+O / Ctrl+TGo to line / symbol / workspace symbol
Ctrl+B / Ctrl+Shift+EToggle sidebar / focus explorer
Ctrl+J / Ctrl+`Toggle bottom panel / terminal
Ctrl+S / Ctrl+W / Ctrl+Shift+TSave / close / reopen closed
Ctrl+F / Ctrl+R / Ctrl+Shift+FFind / replace / find in files
Ctrl+/Toggle comment
Ctrl+Shift+KCut line (cuts to clipboard, not a bare delete)
Ctrl+DAdd the next occurrence of the word (press again for each more; the Apple keymap keeps Ctrl+D as delete-forward)
Ctrl+Shift+LSelect all occurrences (multi-cursor)
Ctrl+\Split editor
Ctrl+] / Ctrl+Shift+\Match bracket
Ctrl+Shift+MProblems (diagnostics)
F12Go to definition
F1Keyboard 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 .http REST 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 no F5 binding 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 cowork Cargo 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

  1. cargo build --release; put vix on your PATH.
  2. In a real project: vix . — switch the keymap: Ctrl+Shift+P, type keymap, choose VSCode macOS or VSCode Windows.
  3. Spend a day inside it. Ctrl+P to move around, Ctrl+` for the terminal, Ctrl+Shift+M when the compiler complains, F12 to chase definitions.
  4. 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


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 Ctrl standing in for Cmd: Ctrl+P file finder, Ctrl+Shift+P command palette, Ctrl+Shift+O outline, Ctrl+T project symbols, Ctrl+. code actions, Ctrl+Shift+G Git panel and more. See docs/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.md and docs/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 Space leader) is one menu choice away. Like Zed’s Vim mode, it is off by default. See docs/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. See docs/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 .http files, 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:

  1. Install Vix and open a project: vix .
  2. Pick the Zed keymap (View → Keymap…), so your Zed reflexes work, or Vi if you use Zed’s Vim mode.
  3. 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.
  4. Then try what Zed can’t: ssh into a server and run vix there, or open an .http file 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


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+A opens nothing) and no ai.* 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_providerWhat Vix doesAPI 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-5Required
"openai"Calls https://api.openai.com/v1/chat/completions, model gpt-4o-miniRequired
"ollama"Calls a local Ollama server at http://localhost:11434/api/generate, model llama3.2Optional

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.

Assistantai_command
Claudeclaude -p {prompt} (default)
Codexcodex exec {prompt}
Mistralmistral chat -m {prompt}
Ollamaollama 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:

  1. ai_api_key_command: a command whose standard output is the key, run through sh -c, so a password manager works (pass show …, op read …).
  2. The OS keyring, service vix-ai, account set to the provider name (anthropic, openai or ollama): 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:

CommandWhat is sent
AI → Summarize, Explain, Annotate, ImproveThe selection, or the whole file when nothing is selected
AI → DefineThe 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 CommentThe 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 agentYour 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

ItemResult
Chat… (ai.chat)Opens the chat panel
Summarize, Explain, DefineThe reply opens in a new, unsaved tab
Annotate, ImproveThe 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 CommentProposes a comment above the cursor line, through a diff review
Start Agent, Prompt Agent…, Resume Agent, Agent Plan, Toggle Agent Plan Pane, Stop AgentControl 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.
KeyAction
EnterSend the input line
↑ / ↓Scroll the transcript one line
PageUp / PageDownScroll ten lines
Alt+TOpen the last reply in a new tab and close the panel
Alt+CCopy the last reply to the clipboard (“Copied reply to clipboard”)
EscClose 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:

KeyAction
↑ / ↓Move between hunks
SpaceToggle the highlighted hunk
a / rAccept all / reject all
EnterApply the accepted hunks as one undoable edit
EscDiscard 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_agents and 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 y or yes allows; 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 (.env files, 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

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

Codex and Claude Code conversations in Vix: pick a provider, ask about the code, allow one edit

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

  1. Install the provider you want and sign in once in a terminal: codex (then codex login) or claude (then /login).

  2. Build Vix with the feature:

    cargo run --release --features ai-agents
    

    For 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.

  3. Keep the AI menu on (ai = "on", the default). ai = "off" hides it, this item included.

Use it

  1. 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.
  2. 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.
  3. Type a prompt and press Enter. Replies appear as they arrive, with one line for each tool the agent starts.
  4. 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.
  5. 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


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 as vix-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

  1. Select the lines you want to align (or select nothing to align the whole buffer).
  2. Open Edit → Align.
  3. Choose the delimiter to align on.

Available delimiters

Menu itemAction IDDelimiter
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:

  1. Decimal — the code as a decimal number (0–127).
  2. Hex — the same code in hexadecimal (00–7F).
  3. Char — the character representation. For the control codes this is a mnemonic such as NUL, ESC, or DEL; code 32 shows the word space; the printable codes show the literal glyph.

The full table runs from 0/00/NUL through 127/7F/DEL.

Keybindings

KeyAction
↑ / ↓Move the highlight up / down one row
PageUp / PageDownMove the highlight by a page
Home / EndJump to the first / last row
EnterInsert the highlighted character; keep open
EscClose 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 idMenu itemDoes
git.reviewReview Range…Asks for a range and opens it in a read-only tab titled review <range>.
git.review_commentComment on Review Line…Comments on the diff line under the cursor (pre-filled with the existing comment; empty text removes it).
git.review_nextNext Review HunkNext @@ header, wrapping around.
git.review_prevPrevious Review HunkPrevious @@ header, wrapping around.
git.review_exportExport Review CommentsWrites .vix/review/<range>.md and .json.
git.review_stage_hunkStage Review HunkStages the hunk under the cursor (git apply --cached).
git.review_stage_allStage All Review HunksStages every text hunk of the open review at once; for a stash review, the whole stash.
git.review_discard_hunkDiscard Review Hunk…After a yes/no, undoes the hunk under the cursor in the working tree (git apply --reverse).
git.review_discard_allDiscard 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_linesStage Review LinesStages only the selected added and removed lines of one hunk.
git.review_discard_linesDiscard Review Lines…Undoes only those lines in the working tree, after a confirmation.
git.review_toggle_viewReview Two-Pane ViewSwitches 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..feature and main...feature show 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

KeyAction
← / →Move the selected day by one day
↑ / ↓Move the selected day by one week
Ctrl + arrowsChange the month
Ctrl + Shift + arrowsChange the year
EnterInsert the selected date, close
Esc / qClose 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/%Y for English, %d.%m.%Y for German, %d/%m/%Y for French/Spanish/Welsh, ISO %Y-%m-%d otherwise). 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

  1. Select the text you want to transform.
  2. Open Edit → Case.
  3. 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 itemResult
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 itemAction IDKeybinding
Cutedit.cutCtrl+X
Copyedit.copyCtrl+C
Pasteedit.pasteCtrl+V

Two guarantees

  • One at a time. Platform clipboard backends — notably macOS’s Cocoa NSPasteboard — are not thread-safe, and concurrent calls into the underlying arboard library can corrupt memory and crash the process. set and get hold 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_system is called, set and get read and write a process-local in-memory clipboard instead of the real one. tui/src/main.rs opts 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:

RowExampleSource
Local2026-06-14 09:30:00system local date-time, seconds precision
UTC2026-06-14T13:30:00ZISO 8601 UTC instant
ISO week2026-W24-7ISO 8601 commercial (week) date
(zone)2026-06-14 09:30:00the 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.

KeyIn the listIn a card
↑ / ↓, PgUp / PgDn, Home / EndMove the highlightMove the highlight
Enter or a clickOpen the highlighted cardInsert the highlighted value at the cursor
EscClose the browserBack 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 .org file 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-tabular engine.
  • 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 — 30 becomes "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, except null, 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.

DirectionMenu pathAction idCrate spec
CSV → JSONTools → Convert → CSV → JSONtools.convert.csv.jsoncrates/vix-convert-from-csv-into-json-tool/spec/index.md
CSV → TSVTools → Convert → CSV → TSVtools.convert.csv.tsvcrates/vix-convert-from-csv-into-tsv-tool/spec/index.md
TSV → CSVTools → Convert → TSV → CSVtools.convert.tsv.csvcrates/vix-convert-from-tsv-into-csv-tool/spec/index.md
TSV → JSONTools → Convert → TSV → JSONtools.convert.tsv.jsoncrates/vix-convert-from-tsv-into-json-tool/spec/index.md
JSON → CSVTools → Convert → JSON → CSVtools.convert.json.csvcrates/vix-convert-from-json-into-csv-tool/spec/index.md
JSON → TSVTools → Convert → JSON → TSVtools.convert.json.tsvcrates/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

  1. Open the file you want to work on.
  2. 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 example 0.0.0.0:7070. If they reach you at a different address (a VPN or a forwarded port), type bind=advertise, for example 0.0.0.0:7070=203.0.113.5:7070.
  3. 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.
  4. 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

  1. Choose Tools → Cowork → Join Session… and paste the invite.
  2. Wait for the host to let you in.
  3. 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 2 there 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, edit or terminal, for example 2 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:

  1. The host chooses Tools → Cowork → Share File Tree (choose it again to stop).
  2. 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.

  1. 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 y to share, n or Esc to keep it private.
  2. Guests are told that a terminal is shared. A guest chooses Tools → Cowork → Shared Terminal to show it, and Ctrl+] to hide it again.
  3. A shared terminal is read-only. To let guests type, choose Tools → Cowork → Allow Terminal Input and press y. Only guests you gave the terminal level can then type, and anything they type runs in your shell, as you. Choose Allow Terminal Input again to make it read-only.
  4. 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 terminal level. 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:// or sqlite: URL, or a libpq key=value string (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 --mcp read 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 erDiagram text in a viewer; y copies it.
  • Ctrl+R, Ctrl+S, Ctrl+B: history and saved queries.
  • Ctrl+P runs a .sql file (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.

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 CREATE statement (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 PLAN on SQLite); F7 runs EXPLAIN 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 a WITH CTE) ask for confirmation first, showing the SQL: Enter/y runs, Esc/n cancels. EXPLAIN ANALYZE of a write asks too, since it really executes. Inside an open transaction a write runs without asking, except DROP/TRUNCATE and any write on a production connection.
  • Transactions just work: run BEGIN, some statements, then COMMIT or ROLLBACK — 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/OR indented.
  • Autocomplete pops up as you type: SQL keywords, table names from the connected database, and table. column completion. Aliases work too: after FROM orders o (or AS o, or JOIN … c), o. offers the columns of orders. ↑/↓ choose, Tab accepts, Esc dismisses.
  • Highlighting follows your Vix™ theme’s syntax colors (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.csv when the tables come from more than one schema). JSON keeps NULL, numbers and booleans typed; CSV writes NULL as an empty field.
  • SQL — one file of INSERT statements for every chosen table, inside BEGIN; … 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: setval on PostgreSQL’s serial and identity sequences, ALTER TABLE … AUTO_INCREMENT on MySQL, and sqlite_sequence on 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 .sql file, 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 (public by 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 .sql file, 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 the attach table 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.

KindSet withGutterKept after Vix exits
LineRun → Toggle Breakpoint, Run → Edit Breakpoint…●Yes, per workspace
FunctionRun → Function Breakpoint…noneYes, per workspace
InstructionRun → Instruction Breakpoint…noneNo (kept until Vix exits)
DataRun → Data Breakpoint on Variable, or b in the Debug panelnoneNo (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:

  1. Breakpoint condition, line N (empty: none): an expression; the program stops only when it is true.
  2. Hit count condition, line N (e.g. 3 or >= 5; empty: none): how the adapter counts hits.
  3. 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 b on 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:

KeyAction
↑ / ↓, PageUp / PageDown, Home / EndMove the highlight (section headings are skipped)
EnterOn 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)
eChange the highlighted variable’s value (New value for NAME), if the adapter supports it
bToggle a data breakpoint on the highlighted variable
EscGive 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:

KeyAction
↑ / ↓Select a suggestion
EnterReplace the word with the suggestion
aAdd the word to the session dictionary
iIgnore the word for the session
EscClose 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:

  1. The dictionary_path setting, if set — searched first.
  2. The repo’s bundled ./dictionaries directory.
  3. The platform’s standard Hunspell directories, plus whatever hunspell -D reports.

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.aff and en_US.dic.
  • wooorm/dictionaries — <dir>/<locale>/index.{aff,dic}, for example dictionaries/en/index.aff and dictionaries/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’s dictionaries/, or
  • Install the matching dictionary-<locale> npm packages and copy their index.aff / index.dic into dictionaries/<locale>/.

Example

Enable spell checking and fix a typo in a comment:

  1. Open View → Editor → Toggle Spellcheck.
  2. A misspelled word in a comment or string is underlined in red.
  3. Move the cursor onto it and press Ctrl+;.
  4. Pick a suggestion with ↑ / ↓ and press Enter to replace it — or press a to add it to your session dictionary, or i to 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 how git difftool runs 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 ↑/↓ or PageUp/PageDown, and close it with Esc or q.
  • 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

  1. The nearest node_modules/.bin/prettier, walking up from the file.
  2. The first prettier on your PATH.

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 ↑/↓ (or k/j), PgUp/PgDn, Home/End.
  • Reorder a statement with Alt+↑/Alt+↓ (or K/J).
  • Delete a statement with d.
  • Format keywords to uppercase with f (selected) or F (all).
  • Undo / redo with u / Ctrl+R.
  • Save back to the buffer with Ctrl+S; Esc or q closes.

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:

SyntaxMeaning
>child
+sibling
*Nmultiply (repeat N times)
#idid attribute
.classclass 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 idMenu itemDoes
file.reopen_with_encodingFile → Reopen with Encoding…Re-reads the file decoded as the encoding you pick.
file.save_with_encodingFile → 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:

typeFieldsBehavior
none—No Authorization header.
bearertoken_envSends the token in that environment variable.
smart_backendtoken_url, client_id_env, client_secret_env, scopeSMART-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…]
LineRequest
capabilities (or metadata)GET [base]/metadata
read Patient/123GET [base]/Patient/123
search Patient name=smith&_count=20GET [base]/Patient?name=smith&_count=20
create PatientPOST [base]/Patient, body = the active buffer
update Patient/123PUT [base]/Patient/123, body = the active buffer
delete Patient/123DELETE [base]/Patient/123
history Patient/123 / history PatientGET [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 known plus at <expression> lines — followed by the JSON;
  • an empty body (for example 204 after 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…).

KeyAction
↑ ↓ PgUp PgDnMove the highlight (a click selects; click again to open)
EnterOpen the entry’s resource, pretty-printed, in a JSON tab
nFollow the Bundle’s next link and replace the list with that page
EscClose

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 Secret type prints as Secret(***);
  • 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

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+B toggles 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+E switches focus between the file explorer and the editor.

Use the arrow keys to move through the tree:

  • Up / Down move the selection up and down.
  • → / Enter open a file or expand a directory.
  • ← collapse an expanded directory, or jump to its parent. ← never expands.

Opening Files

  • Enter opens 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+V copy, 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+Down extend a multi-select range from the current anchor.
  • All clipboard operations — and delete — act on the whole selection.

Deleting

  • Delete removes 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" in config.toml to remove outright instead (no undo). See docs/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.md makes an empty file, drafts/ a directory.
  • Delete an entry by deleting its line. Deletes follow the explorer_delete setting: 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 (and Shift+Tab to go back). It steps through all refs, then each local branch, remote branch and tag.
  • Open a commit with Enter or 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; otherwise HEAD is detached there.
  • Create a branch at the commit with Ctrl+B: type the name and press Enter.
  • 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.
  • Esc cancels 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-graph crate 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:

BadgeMeaningColor
Mmodifiedyellow
Aaddedgreen
?untrackedgreen
Ddeletedred
Rrenamedcyan
Uconflictedmagenta

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

KeyAction
↑ / ↓Move the selection
SpaceToggle the selected file staged / unstaged
sStage the selected file
uUnstage the selected file
EnterOpen the selected file’s changes as a diff against HEAD
dDiscard the selected file’s unstaged changes (asks first)
cCommit (prompts for a one-line message; runs git commit)
rRefresh the status
EscClose 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:

  1. Click the branch indicator in the status bar (or use Git → Changes…).
  2. Use ↑ / ↓ to select the file, then press s to stage it.
  3. Press c, type a one-line commit message, and confirm.

Switch to another branch:

  1. Open Git → Switch Branch….
  2. 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) — Enter opens 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:

KeyAction
↑ / ↓Move the selection
Enter (or click)Open the stash’s diff in a read-only tab titled stash@{N}
aApply the stash and keep it in the list
pPop the stash: apply it, then remove it from the list
d / DeleteDrop the stash, after a yes/no question
EscClose 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 runs git 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. Enter switches the workspace to the highlighted worktree, a adds one, and d removes one.
  • Remove… shows the same list; Enter removes 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:

KeyAction
↑ / ↓Move the selection
Alt+↑ / Alt+↓Move the selected commit earlier / later
ppick: keep the commit as it is
rreword: type a new message for it (one line; it replaces the whole message)
eedit: stop after this commit so you can change it
ssquash: meld into the commit above, keeping both messages
ffixup: meld into the commit above, dropping this message
ddrop: leave the commit out
EnterRun the rebase
EscClose 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:

  1. Vix starts from what is staged for the file now (or from HEAD when nothing is staged).
  2. It replaces that hunk’s region with the hunk’s lines from the buffer.
  3. It writes the result as the file’s index entry (git hash-object, then git 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 lineWhy
No change hunk at the cursorThe cursor is not inside a hunk.
Stage hunk failed: index divergedThe 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 workspaceThe 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 lineWhy
Unstage hunk failed: nothing stagedThe file has no index entry to change.
Unstage hunk failed: hunk not stagedThe 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 runs git merge <branch> into the current branch.
  • Git → Pull → Merge (git.pull_merge), which runs git 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 (or zdiff3), 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
KeyAction
↑ / ↓, PageUp / PageDown, Home / EndMove the highlight
Enter or a click on a rowJump to that conflict and close the list
o / t / bKeep ours / theirs / both for the highlighted conflict, and stay in the list
EscClose 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:

  1. Save the file.
  2. In Git → Changes…, select the file and press s (or Space) to stage it. Staging is how git learns the conflict is resolved.
  3. When every conflicted file is staged, press c and 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.

ValueCompares againstUse
head (default)the last commiteverything not yet committed
indexthe staged versionstaged hunks stop being marked
diskthe file as savedexactly the unsaved edits
branch:<name>the tip of that brancha 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):

ValueSuggestions 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

KeyAction idDoes
Tabinline_completion.acceptAccept the whole suggestion.
Ctrl+Rightinline_completion.accept_wordAccept one word; the rest stays as a new suggestion.
Escinline_completion.dismissDismiss it.
(palette)inline_completion.triggerAsk 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 idMenu itemDoes
git.rebase_interactiveInteractive Rebase…Asks for a base (branch, tag, or HEAD~3), then shows the commits after it, oldest first. Enter runs the rebase.
git.rebase_continueContinue RebaseContinues after an edit stop or a resolved conflict.
git.rebase_abortAbort RebaseGives up; the branch goes back where it was.
git.cherry_pickCherry-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

KeyAction
↑ ↓Move the highlight one row
Page Up Page DownMove the highlight one page
Home EndJump to the first / last row
EnterInsert the highlighted entity’s rendered character; keep the picker open
EscClose 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).

  1. Choose Tools → HL7 Send….
  2. 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.
  3. Press Enter. The send runs in the background; the editor stays usable.
  4. 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/CA accepted; AE/AR/CE/CR rejected).

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:port is remembered in memory for the session only.
  • Sending is a network action, so it belongs to the http build 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 to GET if 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: value pairs.
  • 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 = value anywhere in the file; reference with {{name}}. Values may use other variables.

  • System variables: {{$guid}}, {{$timestamp}}, {{$datetime iso8601}} or rfc1123, {{$randomInt 1 100}}, {{$processEnv NAME}} and {{$dotenv NAME}} (from .env beside the file). $timestamp and $datetime take an offset such as -1 d (units ms s m h d w).

  • Chaining: put # @name login above 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 trailing HTTP/1.1 on the request line is ignored.

  • Body from a file: a body that is the single line < ./payload.json is read from that file, which must be inside the .http file’s folder.

  • Basic auth: Authorization: Basic user:password is base64-encoded for you.

  • Copy as curl: Tools → Copy HTTP Request as curl puts the request under the cursor on the clipboard as a curl command, variables expanded.

  • Local time: {{$localDatetime iso8601}} (or rfc1123, with the same optional offset) is $datetime in 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 running az account get-access-token. Install the CLI and run az login first; 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.

KeyAction
EnterSend the input line; on a highlighted message with a code reference, open it
Tab / Shift+TabNext / previous conversation
Up / DownFrom an empty input, move into the messages; Down past the newest returns to the input
Left, Right, Home, End, Backspace, DeleteEdit the input
EscGive 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

CommandDoes
/me TEXTSend an action (* ana waves)
/join #ROOMJoin a room
/part [#ROOM] [REASON]Leave a room (the selected one by default)
/msg NICK TEXTMessage one person directly
/nick NEWChange your nick
/topic [TEXT]Show or set the room’s topic
/status available|away|busySet your presence
/follow [N]In a Cowork session, follow participant N; with no number, stop
/clearClear 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 y or 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 2 follows participant 2 from buffer to buffer, as Tools → Cowork → Follow… does; /follow alone, 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

SettingDefaultMeaning
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_days30Days 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 specs crates/vix-im/spec/index.md, crates/vix-im-panel/spec/index.md and crates/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:

  1. the selection, if there is one;
  2. the Org source block around the cursor (#+begin_src python … #+end_src; jupyter-python also means Python);
  3. 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;
  4. 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: message and 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/png or image/jpeg, such as a Matplotlib figure) opens in an image tab, and the dock says so and shows the image’s text form. Without the image feature, 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 argumentEffect
:results valueThe default: everything the block shows, in order — printed text, values and errors, as in a notebook cell.
:results outputOnly printed text (stdout and stderr) and errors.
:results replaceThe default: new results replace the old ones.
:results appendNew results go after the old ones.
:results silentNothing is written to the file; the output goes to the dock and the end-of-line hint.
:file plot.pngSave the block’s image there, relative to the Org file’s folder, and write a link to it.
:eval no or :eval neverNever run the block.
:eval queryAsk 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: y runs it, n cancels, and a runs 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 offer a. A selection, cell or line you send yourself is never prompted. The jupyter_confirm_evaluate setting 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, or a above). Then .venv/share/jupyter/kernels and venv/share/jupyter/kernels are 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 0700 directory and a 0600 connection 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.

CapabilityHow to use itLSP method(s)
DiagnosticsErrors/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
HoverType info / docs popup for the symbol under the cursor.hover
CompletionAuto-complete popup; detail/docs fill in as you scroll the list.completion, completionItem/resolve
Go to definitionF12 jumps to where a symbol is defined.definition
Implementation / type definitionJump to the implementation or the type’s definition.implementation, typeDefinition
Find referencesLists every use in the results panel (Enter jumps).references
Call hierarchyCallers or callees of the function under the cursor in the results panel; Alt+D there flips between them.prepareCallHierarchy, callHierarchy/incomingCalls, callHierarchy/outgoingCalls
Type hierarchySupertypes or subtypes of the type under the cursor; Alt+D flips between them.prepareTypeHierarchy, typeHierarchy/supertypes, typeHierarchy/subtypes
Highlight occurrencesMarks the other occurrences of the symbol under the cursor.documentHighlight
Document symbolsOutline of the current file; Enter jumps.documentSymbol
Workspace symbolsPrompt for a query, jump to a symbol anywhere in the project.workspace/symbol
Signature helpParameter hints popup.signatureHelp
FormatFormat the whole document, or the selection.formatting, rangeFormatting
RenameF2, then a new name — applied across every file via a workspace edit.rename
Code actionsQuick-fixes / refactors in a chooser; the chosen action’s edit is applied.codeAction
Code lensLists invokable lenses; running one executes its server command.codeLens, workspace/executeCommand, workspace/applyEdit
Expand / shrink selectionGrow or shrink the selection to the next syntactic range.selectionRange
Code foldingFold/unfold ranges the server reports (▾/▸ in the gutter; View → Editor).foldingRange
Inlay hintsInline type/parameter annotations (toggle in View → Editor).inlayHint
Linked editingEdit linked ranges (e.g. an open/close tag pair) together.linkedEditingRange
Colors and linksColors 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 changesRenaming (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_mb setting 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_mb is 0.
  • 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 (@1024 or 0x400). 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 / PageDown scroll.
  • t opens the table of contents: every heading, jump to one with Enter (back to the preview, scrolled there), close it alone with Esc (leaving the preview open). A document with no headings makes t a no-op.
  • Esc or q closes 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

ToolWhat it returns
list_open_buffersThe files Vix last had open in this workspace (from its saved session).
read_bufferOne file’s saved text.
document_symbolsFunctions, types, modules and other declarations, with line numbers — the same offline scan as Vix’s Outline panel.
outlineMarkdown headings, Org headlines, or a code file’s symbols, each with its level and line.
diagnosticsUnresolved merge-conflict blocks in one file or every open buffer.
db_schemaTables, views and columns of the SQLite databases in the workspace.
db_connectionsThe saved database connections you shared: name, kind, environment and database.
db_tablesTables, views and routines in one schema of a shared connection.
db_describeOne table’s columns, primary key, indexes, foreign keys and constraints.
db_queryOne 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_query runs one SELECT, WITH, EXPLAIN (not EXPLAIN ANALYZE), SHOW or VALUES statement. 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’s session.toml and config.toml (~/.config/vix/mcp-db.log on Linux, ~/Library/Application Support/rs.vix/mcp-db.log on macOS): the time, the tool, the connection and the SQL. Only you can read it. At 1 MiB it is renamed mcp-db.log.1 and a new log starts.
  • Only your own settings file is read; a project’s .vix/settings.toml cannot share a connection.

Limits in this version

  • No live editor. vix --mcp is 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 NULL shows 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: .env files, 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.

ListKeys
Containerss 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
Imagesu run, g tag, p pull, P push
Every listd 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 y or Enter. 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

SettingDefaultMeaning
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-oci and vix-oci-panel crate 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

  1. Put the cursor inside or on an HTML/XML opening or closing tag.
  2. 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

KeyAction
← ↑ ↓ →Move the highlight within the grid (clamps at edges)
EnterInsert the highlighted glyph; keep the picker open
EscClose 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 x on its row, the Delete key, or Enter. The selection stays in range after a notification is removed, so you can clear several in a row by pressing Delete repeatedly.

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 TODO headline; 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:

ItemEffect
Promote / DemoteRemove or add one * on every headline of the subtree. Promote is refused at level 1.
Move Subtree Up / Move Subtree DownSwap the subtree with its previous or next sibling. The cursor follows it.
Copy Subtree / Cut SubtreeCopy the subtree to the system clipboard (“Subtree copied”); cut also removes it.
Paste SubtreePaste the clipboard as a sibling, releveled to fit. Refused with “Clipboard does not start with an Org headline” otherwise.
Sort ChildrenSort 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 a CLOSED: [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 is 0 (highest) to 9 (lowest), unlike Emacs’s A..C; a headline without a cookie gets [#0]. The steps stop at the ends of the range. The org_priority_highest, org_priority_lowest and org_priority_default settings 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:

ItemEffect
Insert Timestamp / Insert Inactive TimestampInsert 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 EarlierShift 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:MM duration (“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.

ItemShows
Weekly/Daily AgendaDEADLINE: and SCHEDULED: items grouped by date, plus unscheduled TODOs.
Global TODO ListEvery 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 ProjectsHeadlines 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

  1. 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.
  2. The agenda file list, when not empty: the org_agenda_files setting, 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.
  3. Otherwise every .org file 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:

ItemKeyInserts at the cursor
Anything…a* TODO <task> after one prompt.
Task…tA review buffer prefilled with * TODO .
Babel…bA #+begin_src <language> / #+end_src block, after a language prompt.
Note…n* <note> and a creation timestamp.
Contact…cAn 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 …”.

FieldMeaningDefault
key, descriptionHow the template is chosen and labeled.(required)
templateThe text, with the placeholders below.(required)
targetWhere it is filed (below)."cursor"
entry_typeentry (adds * unless the text starts with a headline), plain, item (- ), check-item (- [ ] ) or table-line (| … |)."entry"
prependFile at the top of the target instead of the bottom.false
empty_linesBlank lines around the entry.0
immediate_finishSkip the review buffer.false
clock_inAdd 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:

KeyAction
TabRealign, then the next field (adds a row past the last field)
Shift+TabRealign, then the previous field
EnterThe next row (adds one past the last)
Shift+EnterCopy the field from above into an empty field, or this field into the next row
Shift+arrowsSwap the cell with its neighbor
Alt+Up / Alt+DownMove the row
Alt+Left / Alt+RightMove the column
Alt+Shift+Down / Alt+Shift+UpInsert a row above / delete the row
Alt+Shift+Right / Alt+Shift+LeftInsert / 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 r to 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).

KeyAction
arrowsMove between fields
n / Shift+Right, p / Shift+LeftNext / previous allowed value
1–9, 0The first to ninth, or tenth, allowed value
eEdit the value (Enter commits, Esc cancels)
aEdit the column’s allowed values
vShow the full value on the status line
C-c C-cToggle a checkbox field; on any other field, close
< / >Narrow / widen the column
Alt+Left / Alt+RightMove the column
Alt+Shift+Right / Alt+Shift+LeftInsert a column (asks for the property name) / delete it
Alt+Up / Alt+DownMove the row’s headline in the outline
r / gRecompute
q / EscClose
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.

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), resolves id: links by searching the project’s .org files for that :ID:, jumps to a *Headline target, and copies http(s): and mailto: 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, verse or comment block.
  • Edit Source Block opens the #+begin_src block 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 * Footnotes headline.

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”):

ItemOutput
MarkdownHeadings as #, emphasis, links and bullet lists.
HTMLA standalone HTML document.
LaTeXA standalone LaTeX article: sections, itemize lists, verbatim blocks, \href links.
iCalendarThe 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:

ItemEffect
Find ContactsA 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.
BirthdaysContacts with a BIRTHDAY, sorted by date.
Export to vCardEvery 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.

ChordCommand
C-c C-t / C-u C-c C-tCycle TODO / Mark Done with Note…
C-c C-c / C-u C-c C-cRefresh Context / Recalculate (in a table)
C-c C-s / C-c C-dSchedule Item… / Deadline…
C-c . / C-c !Insert Timestamp / Insert Inactive Timestamp
C-c C-qSet Tags…
C-c C-wRefile Subtree…
C-c /Sparse Tree Match…
C-c aWeekly/Daily Agenda
C-c l / C-c C-l / C-c C-oStore Link to Here / Insert Link… / Follow Link
C-c 'Edit Source Block
C-c | / C-c - / C-c RETCreate Table from Selection / Insert Horizontal Line / Insert Line Below and Move
C-c + / C-c ^Sum Column / Sort Table…
C-c C-x fFootnote New/Jump
C-c C-x a / C-c C-x C-sToggle 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-oClock In / Clock Out
C-c C-x C-w / C-c C-x C-yCut / Paste Subtree (in a table: Cut / Paste Rectangle)
C-c C-x M-wCopy Rectangle (in a table)
C-c C-x C-cColumn View
C-c C-x C-uUpdate Dynamic Block at Point

Some terminals send C-i as Tab; use the menu for Clock In there.

Specifications


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

KeyAction
↑ / ↓Move the selection up / down one symbol
PageUp / PageDownMove the selection by a page
Home / EndJump to the first / last symbol
EnterJump to the selected symbol and close the panel
EscClose 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_undo setting 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_undo is 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

SettingTypeDefaultDescription
persistent_undobooltruePersist 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 via serde) 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:

KeyDoes
rPut the unsaved text back into the buffer. It stays unsaved until you save.
dShow the file on disk against the backup, then ask again.
xDelete the backup.
n / EscDecide 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.

SourceDetected byHow it resolvesRuns project code?
direnv.envrcdirenv export json in the workspace rootyes
mise.mise.toml, mise.toml, .tool-versionsmise env --jsonyes
venv.venv/pyvenv.cfg or venv/pyvenv.cfgsets VIRTUAL_ENV, puts the venv’s bin (Scripts on Windows) first on PATH, removes PYTHONHOMEno, 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
  • o is 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.
KeyEffect
↑ / ↓Select the previous / next state
PageUp / PageDownMove a page
Home / EndSelect the original / the newest state
EnterKeep the selected state
EscGo 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-box once in a terminal to accept its host key (it is saved in ~/.ssh/known_hosts), or ssh-add to 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: o overwrites, c shows 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 lost and 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 rg on the remote machine (or grep for a plain-text search when rg isn’t installed there), so a search is one round trip, not one per file. The file finder honors .gitignore when 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 -t over 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 rg reads every file, one round trip each; install ripgrep there 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 gio or trash-put on the remote machine; without one, use delete (or set explorer_delete = "hard").
  • Language servers, debug adapters and tasks see the PATH of a non-interactive sh on the remote machine, which doesn’t read your shell profile: a tool installed under, say, ~/.cargo/bin may not be found. Configure its full path (for example command = ["/home/me/.cargo/bin/rust-analyzer"]) in that case. The terminal is a login shell and has your usual PATH.
  • 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 for wsl.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 no StrictHostKeyChecking or UserKnownHostsFile option, so your ssh_config and known_hosts decide, and it never accepts a new or changed host key for you. Authentication is ssh’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. See crates/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 (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. See crates/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. See crates/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 .org files.

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) — find id: 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.

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.json for Rust files. Applies only to buffers of that media type.
  • Project — <config>/snippets/snippets.json under the project root (set the path with the project_snippets setting).

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:

MarkerMeaning
$1, $2, …A field, visited in order
${1:placeholder}A field pre-filled with selectable text
$0The 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 BOM or Shift_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

  1. Select the text you want to wrap.
  2. Open Edit → Surround.
  3. 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 itemAction IDPair
( 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

KeyAction
↑ / ↓Move the highlight up / down one row
PageUp / PageDownMove the highlight by a page
Home / EndJump to the first / last row
EnterInsert the highlighted value into the editor
EscClose 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_diagnostics setting: off, cursor-line or all).
  • Clicking a line in the bottom dock jumps to the location it names, including rustc’s --> src/main.rs:4:18 lines and Python’s File "app.py", line 3 frames.

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.exe on Windows) on a pseudo-terminal.
  • Type as you would in any terminal: full-screen programs (vim, htop, git pagers), 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:

KeysDoes
Ctrl+]Hide the terminal and return to the editor
Shift+PgUp / Shift+PgDnScroll back / forward a page
Shift+Home / Shift+EndJump to the oldest kept line / back to the live screen
Ctrl+PgUp / Ctrl+PgDnPrevious / 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, vim with mouse=a, tmux) get your clicks, drags and wheel. Hold Shift to select text in Vix instead.

Terminal and editor together

  • Open from output. Ctrl+click on a path in the terminal (including scrollback) opens it in the editor and hides the terminal. path, path:line and path:line:col work, 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, or Ctrl+\) chooses whether Ctrl and Alt chords go to the shell (the default) or fall through to the editor while the terminal stays open; the title says editor keys while 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

KeyRegion
menu-barThe top menu bar.
status-barThe bottom status bar.
left-dockThe file explorer drawer.
right-dockThe message drawer.
editorThe center text area.

Each region takes foreground and background, and optional font attributes:

FieldValuesDefault
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 theme setting 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 shows file:line and 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

KeyWhat it does
Up / Down, PageUp / PageDownMove the highlight
EnterOn an entry, jump to it; on a header, fold or unfold the group
SpaceFold or unfold the highlighted row’s group
gSwitch between grouping by tag and by file
[ / ]Fold every group / unfold every group
EscClose

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/Cmd chords. On macOS Cmd acts as Ctrl and Option as Alt.
  • 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_FONT to 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, Alt mnemonics), 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, Alt and Cmd chords. On macOS Cmd acts as Ctrl and Option as Alt.
  • 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_FONT to 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.

KeyWhat it does
EnterOpen a read-only diff from that snapshot to the file as it is now
oOpen the snapshot’s text read-only
rRestore the whole file from the snapshot (left unsaved, so you can undo)
sRestore only the selected lines (or the cursor line) from the snapshot
EscClose

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 p previews 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 its cargo command 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), or code_lens = false in 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

KeyAction
↑ ↓Scroll one line
Page Up Page DownScroll one page
Home EndJump to the first / last line
Mouse wheelScroll (the overlay is modal — the wheel only scrolls it)
EscClose 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

KeyAction
↑ ↓Move the highlight one row
Page Up Page DownMove the highlight one page
Home EndJump to the first / last row
EnterInsert the highlighted color’s hex value; keep the picker open
EscClose 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:

  1. Crate-per-feature: Each major feature lives in its own Rust crate
  2. Spec-driven: Every crate has a specification that is the source of truth
  3. Zero unsafe: The entire codebase contains no unsafe Rust code
  4. Terminal-first: Designed to work perfectly in terminals, over SSH, in tmux
  5. 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):

  1. Nothing depends on the App shell. No workspace member depends on vix-tui, as a normal, build or dev-dependency; the desktop GUIs in gui/ are the only crates above it.
  2. Only vix-input and vix-tui use crossterm. Terminal I/O stays in the App shell and key-event conversion, so every other crate works under a desktop GUI with no terminal.
  3. Model and core crates know no UI surface. A crate named *-core or *-model reaches no crate named *-panel, *-picker, *-preview or *-view, directly or through other crates.
  4. The GUIs never depend on each other. No gui/vix-*/Cargo.toml names another GUI crate; what two GUIs share lives in vix-tui or under crates/.
  5. The headless MCP server knows no UI surface. vix-mcp-server (behind vix --mcp) reaches no *-panel, *-picker, *-preview or *-view crate, directly or through other crates (T860: it parses Markdown headings itself instead of borrowing vix-markdown-preview’s table of contents), nor vix-palette (T861: its symbol scan lives in vix-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

FilePurpose
tui/src/main.rsThe binary: the MUSL allocator and a main calling vix::entry::run
tui/src/entry.rsThe vix command (entry::run): terminal setup, event loop; also called by the crates.io umbrella crate vix
tui/src/app.rsMain App struct, key/mouse handling, action dispatch
tui/src/app/git.rsGit integration logic
tui/src/app/lsp_dap.rsLSP and DAP coordination
tui/src/app/cowork.rsReal-time collaboration
tui/src/app/remote_session.rsRemote editing over SSH
tui/src/ui.rsMain UI rendering
tui/src/ui/*.rsUI 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

CratePurpose
vix-editorEditor host, tab management, split panes
vix-editor-coreCore editor widget: rope buffer, cursors, Tree-sitter parsing and highlighting, rendering
vix-editorconfigEditorConfig file support
vix-undo-storePersistent undo tree with branching
vix-fileopsFile operations (read, write, watch)
vix-encodingCharacter 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
CrateDescription
vix-lspLSP client implementation
vix-lsp-coreLSP protocol types and message parsing
vix-dapDebug Adapter Protocol client

Version Control

CrateDescription
vix-gitGit integration (status, diff, stage, commit)
vix-git-graphInteractive commit graph visualization
vix-reviewCode review with side-by-side diff
vix-conflict-toolMerge conflict resolution

Data & Documents

CrateDescription
vix-dbDatabase workbench (SQLite, PostgreSQL, MySQL)
vix-edit-tableCSV/TSV table editing
vix-edit-sqlSQL file editing with syntax awareness
vix-edit-valueJSON/YAML/TOML editing
vix-edit-outlineOutline/structural editing
vix-edit-bytesHex dump editing
vix-large-fileLarge file viewer (multi-GB files)
vix-markdown-previewMarkdown preview rendering

Org Mode

CrateDescription
vix-orgCore Org mode parsing and editing
vix-org-tableOrg table editing with formulas
vix-org-captureOrg capture templates
vix-org-contactsOrg contacts management
vix-roamOrg-roam with backlinks
vix-column-viewColumn View for Org and file browser

Projects & Tools

CrateDescription
vix-project-envProject environment detection (direnv, mise, venv)
vix-tasksTask runner (npm, make, etc.)
vix-terminalIntegrated terminal emulator
vix-http-clientREST client for .http files
vix-ociOpen Container Initiative support
vix-oci-panelContainer management UI

Collaboration

CrateDescription
vix-coworkReal-time collaborative editing
vix-cowork-netCowork network protocol
vix-imInstant messaging (IRC, Matrix)
vix-im-panelIM UI panel
vix-matrix-protocolMatrix protocol support
vix-im-ircIRC client implementation

AI & Assistants

CrateDescription
vix-ai-coreAI provider abstraction
vix-ai-panelAI chat panel UI
vix-ai-diffAI-assisted diff review
vix-acpAgent Client Protocol client
vix-mcp-serverModel Context Protocol server

UI & Rendering

CrateDescription
vix-menuMenu bar and context menus
vix-paletteCommand palette
vix-status-bar-panelStatus bar
vix-bottom-dockBottom dock area
vix-left-dockLeft dock (file browser)
vix-right-dockRight dock area
vix-welcome-panelWelcome screen
vix-themeTheme loading and management
vix-theme-modelTheme data model
vix-theme-editor-panelTheme editor UI

Settings & State

CrateDescription
vix-settingsConfiguration management
vix-settings-bundleBundled settings presets
vix-sessionSession state management
vix-workspaceWorkspace state management
vix-keymap-modelKeymap definitions
vix-keybindingsKeybinding registry
vix-snippetsSnippet management
vix-scriptRhai scripting
vix-macrosKeyboard macro recording

File Browser & Navigation

CrateDescription
vix-file-browser-panelFile explorer UI
vix-file-information-panelFile info display
vix-workspace-dashboard-panelWorkspace dashboard
vix-text-information-panelText info display
vix-tagsTag management
vix-todo-treeTODO tree
vix-workspace-searchWorkspace search
vix-find-panelFind/replace UI

Utilities

CrateDescription
vix-i18nInternationalization
vix-locale-modelLocale management
vix-clipboardClipboard access
vix-authorityAuthority abstraction (local, SSH, containers)
vix-byte-sizeByte size formatting
vix-civil-dateCivil date handling
vix-time-zone-modelTime zone management
vix-uuid-toolUUID generation
vix-base64-toolBase64 encoding/decoding
vix-jwt-toolJWT encoding/decoding
vix-qr-toolQR code generation
vix-calendar-panelCalendar panel
vix-clock-panelClock panel
vix-system-information-panelSystem info display
vix-vcard-panelvCard display
vix-vcard-parservCard parsing
vix-fhirFHIR support
vix-hl7HL7 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]
FrontendFrameworkLicenseNotes
vix-gpuiGPUIMIT/Apache-2.0GPU-accelerated, native menu bar
vix-eguieguiMIT/Apache-2.0Immediate mode, simple
vix-icedicedMIT/Apache-2.0Elm-style, CSS styling
vix-slintSlintGPL-3.0-onlyDeclarative, OpenGL
vix-gtk4GTK4LGPLNative GTK integration
vix-buiBUIGPL-3.0-onlyBlender’s UI toolkit
vix-zguizguiApache-2.0Reactive, CSS, wgpu

All front ends:

  • Share the same App shell from tui/
  • 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):

  1. Built-in defaults
  2. User settings (config.toml, located by confy)
  3. Project settings (<root>/.vix/settings.toml)
  4. 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 unsafe Rust: 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

LayerFrameworkPurpose
Unit TestsRust #[test]Test individual functions
Integration Testsratatui TestBackendTest component interactions
Snapshot TestsinstaTest UI rendering
Fuzz Testscargo-fuzzTest parser edge cases
BenchmarksCriterionTest 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:

  1. Modularity: Each feature is isolated in its own crate
  2. Maintainability: Clear boundaries and specifications
  3. Extensibility: Easy to add new features
  4. Performance: Background processing, lazy loading, caching
  5. Security: Sandboxing, validation, zero unsafe
  6. Internationalization: Full support for 15 languages
  7. 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:

  1. Read AGENTS.md - Detailed conventions and workflow
  2. Read agents/workflow.md - Spec-driven development guide
  3. Explore the crates - Each crate has its own spec/index.md
  4. Run the examples - cargo run --example list_commands
  5. Check the docs - docs/ has user-facing documentation
  6. Join the community - Ask questions in GitHub Discussions

Resources

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.

#DecisionDateStatus
1Write Vix in Rust2026-06-08Accepted
2Build the terminal UI on ratatui and crossterm2026-06-08Accepted
3Forbid unsafe code2026-06-09Accepted
4A Cargo workspace of focused crates under a thin App shell2026-07-10Accepted (the third layout; supersedes a single crate of modules)
5Optional capabilities as default-on Cargo features2026-10-18Accepted (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-version in the root Cargo.toml (1.98 today), kept at “current stable minus two” by spec/rust-msrv-n-minus-2/index.md.
  • Quality gates come from the compiler and Clippy. clippy::pedantic, missing_docs = "deny" and unsafe_code = "forbid" are compiler lints (see ADR 3 and spec/rust-clippy-pedantic/index.md).
  • The crate ecosystem shapes the design. The first commit depends on ratatui, crossterm, regex, jiff, serde and ratatui-image (ADR 2); scripting later used Rhai, an embedded language for Rust (crates/vix-script/spec/index.md). The crate table in spec/index/index.md lists 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

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-editor to 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 internal vix-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 now crates/vix-editor-core. So the one ratatui widget Vix depended on most is no longer a third-party crate.
  • One version, everywhere. A widget crate that needs another ratatui cannot be added, and a ratatui upgrade has to move the editor, the image widget and every panel together.
  • Tests render without a terminal. ratatui’s TestBackend lets tests draw a frame to a buffer: the initial commit already had “a TestBackend image render” test, and tui/tests/snapshots.rs now snapshots whole screens as text. See spec/test/index.md.
  • Terminal features come through crossterm. Bracketed paste, focus events, the macOS Command key folded into Control and suspend/resume are handled in tui/src/main.rs and App::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 ratatui version” rule in AGENTS.md.
  • Cargo.toml [workspace.dependencies], where ratatui and crossterm are declared once for every crate. cargo deny warns, but does not fail, when two versions of one crate end up in the build (multiple-versions = "warn" in deny.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 unsafe internally; they are vetted by cargo deny (advisories, licenses, sources) instead (SECURITY.md, deny.toml).
  • The separate workspaces carry it too. gui/Cargo.toml and matrix/Cargo.toml set unsafe_code = "forbid" in their own lint tables.

Enforced by

  • Cargo.toml [workspace.lints.rust], and [lints] workspace = true in every crate manifest.
  • cargo clippy --workspace --all-targets -- -D warnings and cargo build in scripts/check and 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:

  1. 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, ui and others; docs/architecture.md in that commit).
  2. 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).
  3. 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.
  4. 2026-07-10, the workspace again. 658b977a converted the repository to a Cargo workspace and added a shared vix_i18n crate; 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.toml is a virtual workspace with members = ["crates/*", "tui"] and default-members = ["tui"]. There are 147 member crates under crates/ today (agents/share/crate-map.md).
  • The App shell is the vix-tui package in tui/, which builds the vix command and holds the CLI, event loop, App state and rendering. It moved from the repository root into tui/ on 2026-10-24 (90d7a449, T643), beside the desktop GUIs in gui/. tui/src/lib.rs re-exports the crates under short names (pub use vix_git as git;), so crate::git still 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. editor and pane_tree were mutually recursive, so 5cf38c98 merged them into one vix-editor crate exposing both as modules. The App shell’s app and ui stay in tui/, split into tui/src/app/*.rs and tui/src/ui/*.rs submodules instead (T141, T142 in tasks.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-op vix-query back 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 path dependencies (AI_STATEMENT.md, “Publish order is respected”), and every crate’s public API is checked against its last published version by cargo 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’s syntax-* and lang-* 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-docs fails on a crate without a spec and on a crate missing from the crate map, and tui/tests/docs_crate_graph.rs checks the layer diagram in docs/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.” org stays unflagged: no payoff and the heaviest coupling.
  • Default-on. default = ["syntax-common", "full"], and full lists every capability (tui/Cargo.toml), so released binaries are unchanged. cowork, jupyter and matrix are opt-in and not in full.
  • Gate at the root, filter at runtime. cfg lives only in the vix-tui package (tui/src/capability.rs and the gated modules); menus and the palette stay cfg-free and hide what capability::is_available rejects, 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-features 12.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.rs modules (for example tui/src/app/scripts.rs has scripts_off.rs no-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 pass cargo 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 to vix-editor-core (ADR 4).

Enforced by

  • tui/Cargo.toml [features] and tui/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-combos CI 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.

FeatureVixVimEmacsHelixZedFreshttt
InterfaceTUI, GUI1TUI2TUI, GUITUIGUITUI, GUI3TUI
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.


  1. The desktop front ends (vix-gpui, vix-egui and five more) run the same editor in a native window; they are experimental. See gui/spec/index.md. ↩

  2. 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. ↩

  3. Fresh Desktop, a separate standalone build. ↩

  4. Off by default (the Apple keymap), but a Vi, Spacemacs (Vi-modal plus a Space leader) or Helix (select-then-act) keymap is one menu choice away — see keymaps. ↩

  5. Vim and Emacs editing are plugins from ttt’s Plugins sidebar. ↩

  6. Eglot, Emacs’s built-in LSP client since Emacs 29. ↩

  7. GUD drives gdb and other command-line debuggers, but Emacs has no built-in Debug Adapter Protocol client. ↩

  8. Built in since Emacs 29, but the grammars are installed separately. ↩

  9. ttt highlights with TextMate grammars (a Go port of VS Code’s engine), not Tree-sitter. ↩

  10. M-x and C-x p f complete command and file names, and fido-vertical-mode narrows them, but there is no fuzzy palette out of the box. ↩

  11. VC commits, shows logs and annotates (blames) through one interface for many systems; hunk-by-hunk staging is Magit, a package. ↩

  12. 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. ↩

  13. Fresh’s README lists a Git log, Git grep and a Git file finder, but no staging, committing or blame. ↩

  14. Steel, a Scheme-based scripting/plugin layer, is still under active development as of 2026, not yet a stable, documented plugin API. ↩

  15. Zed’s extensions add languages, themes, and debug adapters, not general-purpose editor scripting. ↩

  16. Vim’s :set undofile persists 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. ↩

  17. 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 vundo or undo-fu-session. ↩

  18. SQL mode runs psql, mysql or sqlite3 in a console buffer: a query console, not a results grid or schema tree. ↩

  19. New in 2.0 and experimental: File → Open Remote… or vix ssh://host/path edits a folder on another machine with nothing installed there. See remote editing. ↩

  20. Not a feature of Vim itself — ssh host -t vim file runs Vim on the remote host over a plain terminal session, the way any TUI program can be used remotely. ↩

  21. TRAMP edits remote files over SSH and other protocols. ↩

  22. 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.

VixVS 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-✓
ScriptingRhai scripts and plugins11JavaScript 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.

KeyActionAction ID
C-pOpen…file.open
C-S-pCommand Palettetools.palette
C-gNumbernav.goto_line
C-S-oGo to Symbolnav.goto_symbol
C-tGo to Symbol in Workspacenav.goto_workspace_symbol
C-bToggle Explorerview.explorer
C-jShow/Hide Bottom Dockview.bottom_dock
`C-``Show/Hide Terminaltools.terminal
C-S-lSelect All Occurrencesedit.select_all_occurrences
C-\Verticalview.split_vertical
C-S-mDiagnostics…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.


  1. Experimental. tui/tests/remote_ui.rs, open_remote_connects_saves_survives_a_lost_connection_and_reconnects; see remote editing. ↩ ↩2

  2. Through Microsoft’s Remote - SSH extension, which installs a VS Code server on the remote machine; see Remote development over SSH. ↩

  3. Seven experimental desktop front ends run the same editor in a native window. See gui/spec. ↩

  4. 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. ↩

  5. VS Code speaks LSP, but each language’s support comes from an extension; a few languages are bundled. ↩

  6. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  7. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  8. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  9. tui/tests/integration/editing.rs, select_all_occurrences_creates_multi_carets, ctrl_d_adds_a_caret_and_edits_all_occurrences and column_select_block_edits_multiple_lines. ↩

  10. persistent_undo defaults to true in crates/vix-settings/src/lib.rs; the tree view: tui/tests/integration/undo_tree.rs, moving_the_selection_previews_and_enter_keeps_the_state. ↩

  11. Rhai scripts add palette commands and key bindings: tui/tests/integration/scripting.rs, script_command_appears_in_the_command_palette and a_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser: plugin_chooser_enables_and_disables_a_plugin. ↩

  12. Compiled in only with the cowork Cargo feature, which the default full feature set in tui/Cargo.toml leaves out. See the Cowork specification. ↩

  13. Through Microsoft’s Live Share extension. ↩

  14. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

  15. 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.

VixNeovim
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
ScriptingRhai scripts and plugins17Lua 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 F1 help 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):

KeyActionAction ID
iInsert Before Cursorvim.insert
aAppend After Cursorvim.append
oOpen Line Belowvim.open_below
uUndoedit.undo
/Find…edit.find
nFind Nextedit.find_next
%Jump to Matching Bracketedit.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.


  1. 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. ↩

  2. F10 shows and hides the menu bar: tui/tests/integration/menu.rs, f10_toggles_menu_bar. ↩

  3. 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. ↩

  4. The client is built in; you install and configure each server. See LSP. ↩

  5. The grammars compiled in by default are the syntax-common feature in tui/Cargo.toml. ↩

  6. See Tree-sitter. ↩

  7. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  8. Through plugins such as nvim-dap. ↩

  9. The prefixes are Mode::from_input in crates/vix-palette/src/lib.rs. ↩

  10. Command-line completion is built in; fuzzy pickers are plugins. ↩

  11. tui/tests/integration/editing.rs, select_all_occurrences_creates_multi_carets, ctrl_d_adds_a_caret_and_edits_all_occurrences and column_select_block_edits_multiple_lines. ↩

  12. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  13. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  14. :terminal; see Terminal. ↩

  15. persistent_undo defaults to true in crates/vix-settings/src/lib.rs; the tree view: tui/tests/integration/undo_tree.rs, moving_the_selection_previews_and_enter_keeps_the_state. ↩

  16. undofile keeps undo history across sessions and the history branches, but browsing the branches needs a plugin. See Undo. ↩

  17. Rhai scripts add palette commands and key bindings: tui/tests/integration/scripting.rs, script_command_appears_in_the_command_palette and a_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser: plugin_chooser_enables_and_disables_a_plugin. ↩

  18. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

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.

VixHelix
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-
ScriptingRhai 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):

KeyActionAction ID
wSelect to Next Wordhelix.select_word_next
xSelect Linehelix.select_line
%Select Alledit.select_all
dDelete Selectionhelix.delete
cChange Selectionhelix.change
yYank Selectionhelix.yank
vToggle Select Modehelix.toggle_select
sSelect Regex Matches in Selectionedit.select_regex_in_selection
CAdd Multi-Cursor Downspawn_multi_cursor_down
.Repeat Last Changehelix.repeat_last_change

After Space:

KeyActionAction ID
fOpen…file.open
/Search in Workspacesearch.workspace
kHoverlsp.hover
rRename Symbollsp.rename
aCode 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.


  1. 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_selection and helix_space_f_opens_the_file_picker. ↩

  2. See Keymap. ↩

  3. F10 shows and hides the menu bar: tui/tests/integration/menu.rs, f10_toggles_menu_bar. ↩

  4. 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. ↩

  5. The grammars compiled in by default are the syntax-common feature in tui/Cargo.toml. ↩

  6. tui/tests/integration/editing.rs, select_all_occurrences_creates_multi_carets, ctrl_d_adds_a_caret_and_edits_all_occurrences and column_select_block_edits_multiple_lines. ↩

  7. Stage and commit, blame: tui/tests/integration/git.rs, git_panel_stages_and_commits and git_blame_annotates_the_current_line. ↩

  8. A diff gutter shows changed lines; there is no staging, committing or blame. ↩

  9. tui/tests/integration/terminals.rs, several_terminals_each_get_their_own_keys. ↩

  10. persistent_undo defaults to true in crates/vix-settings/src/lib.rs; the tree view: tui/tests/integration/undo_tree.rs, moving_the_selection_previews_and_enter_keeps_the_state. ↩

  11. Rhai scripts add palette commands and key bindings: tui/tests/integration/scripting.rs, script_command_appears_in_the_command_palette and a_scripts_bind_key_request_actually_fires_through_on_key; plugins are enabled and disabled from a chooser: plugin_chooser_enables_and_disables_a_plugin. ↩

  12. No plugin system in a released version; one is in development. ↩

  13. Breakpoints and the debugger actions: tui/tests/integration/debugger.rs, edit_breakpoint_sets_condition_hit_count_and_log_message. ↩

  14. View → Keymap… sets the keymap setting: tui/tests/integration/keymaps.rs, view_keymap_submenu_actions_set_the_keymap. ↩

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”.

BenchmarkInputTime
editor/open200 lines (~8 KB, below the async-parse threshold)399 µs
editor/open5,000 lines (~200 KB)49.0 µs
editor/open20,000 lines (~800 KB)136 µs
editor/open125,000 lines (~5 MB, plan T006’s “syntax-highlight a 5 MB Rust file”)707 µs
editor/open2,500,000 lines (~100 MB, plan T006’s “open/parse a 100 MB file”)14.1 ms
editor/open_until_highlighted125,000 lines (~5 MB) — editor/open’s own number before T121236 ms
editor/open_until_highlighted2,500,000 lines (~100 MB) — editor/open’s own number before T1214.69 s
editor/typing200 lines, one keystroke14.3 µs
editor/typing5,000 lines, one keystroke2.27 µs
editor/typing250,000 lines (~10 MB, plan T121’s “keypress-to-frame < 16 ms at 10 MB”), one keystroke3.35 µs
editor/random_edits10k inserts/deletes burst, plan T006’s scenario1.60 s
editor/paste_undopaste 50 lines12.4 µs
editor/paste_undoundo272 µs
editor/line_transformssort_lines, 2,000 lines4.35 ms
editor/line_transformsremove_duplicate_lines, 2,000 lines3.29 ms
editor/line_transformstrim_trailing_whitespace, 2,000 lines4.21 ms
find/matchesplain, 1,000 lines190 µs
find/matchesplain, 20,000 lines4.50 ms
find/matchesregex, 1,000 lines341 µs
find/matchesregex, 20,000 lines3.83 ms
workspace_search/rescan1,000 files, plan T006’s “10k-file tree” scenario33.4 ms
workspace_search/rescan10,000 files214 ms
palette/fuzzyfilter, 1,000 candidates59.6 µs
palette/fuzzyfilter, 20,000 candidates1.20 ms
palette/fuzzyrank, 1,000 candidates149 µs
palette/fuzzyrank, 20,000 candidates1.37 ms
textops/cursor_rewritestranspose_words / transpose_sentences / delete_word / delete_paragraph / smart_toggle, 100 lines4.1–18.7 µs
textops/cursor_rewritessame, 2,000 lines66.3–336 µs
textops/whole_textwrap_80, to_crlf, squeeze_blank_lines, sentence_starts34.3–873 µs
startup/app_newApp::new — theme scan, editor/menu/LSP-client setup, no git involved134 µs
startup/refresh_gitrefresh_git (3 git subprocesses: repo?/branch/status) against an empty fixture repo12.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 — see crates/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):

BenchmarkWhat it timesEmpty fixture repoThis checkout
startup/app_newApp::new, no git (before: 235 µs)302 µs678 µs
startup/refresh_gitthe synchronous refresh, as before T830 (before: 27.4 ms)30.7 ms87.1 ms
startup/start_git_refreshwhat the UI thread pays now: spawning the worker60 µs17 µs
startup/git_refresh_landedspawn through tick installing the answer (wall time, off the UI thread)31.3 ms86.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):

FeatureWhat App::new buildsTimeSize in AppStartup I/O
DB workbenchdb: None, built when the workbench first opens0an Optionnone
OC containersoc: None, built when the OC panel first opens0an Optionnone
Jupyteran empty kernel list (nothing is discovered until a kernel is asked for)0 ns344 Bnone
Coworkan empty session state and one mpsc channel83 ns1.7 KBnone
IM, history = "session" (default)the inbox with Notes, the panel209 ns528 Bnone
IM, history = "disk"the same, plus reading and decoding Notes’ JSONL (1,000 messages, 110 KB)297 µs528 Ba 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.

CacheKeyGrown byEvicted before T830Size after the exercise, beforeAfter
App::disk_mtimesfile patheach disk poll, per open filenever1,000 entries (about 100 B each)the open files (3)
App::lsp_synced and, in vix-lsp, the document’s version and full textfile paththe first sync of a file a server handlesClose 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 textthe open files (3); the rest get didClose
App::git_head_cachefile paththe change gutter, per file showna git refresh (a save, a git action)1,000 entries, each the file’s whole HEAD textthe open files
App::git_gutter_base_cache (gutter base other than HEAD)file paththe samethe sameas above, with another basethe open files
App::nav_history (Position History)—every jumpnever1,332 locations100 (NAV_HISTORY_CAP, as Vim’s jumplist)
vix-editor-core highlight cache, per tabvisible byte rangeeach new scroll position (each visual row with soft wrap)an edit or theme change2,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 closecapped2020
Recent filespatheach opencapped15 (recent_files_max)15
Command palette recents / query history—each command / querycapped12 / 5012 / 50
Clipboard history—each copycapped3030
Output dock, terminal scrollback—outputcappedscrollback (1,000) / at most 50,000 linesunchanged
IM messagesconversationeach messagecapped5,000 per conversationunchanged
Undo history, folds, marks, per-tab caches—edits in that tabdropped with the tab—unchanged
LSP diagnosticsfile paththe server’s publishesthe server’s empty publishas many files as the server reports onunchanged (the server decides)
Messages drawer—noticesthe user dismisses each2unchanged (by design, vix-right-dock)
Symbols, picker preview, inline blame——one entry each11
File index, Tree-sitter queries, git repository locationworkspace / language / workspace folder—rebuilt, never per filethe workspace’s files / one per language / one per folderunchanged

Bounded since T830:

  • Per-file state is dropped once no tab shows the file. App::prune_closed_file_state runs from the once-a-second disk poll and keeps disk_mtimes, git_head_cache and git_gutter_base_cache only for open files, and sends didClose for any synced file without a tab, which also drops vix-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 new didOpen and 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:

BufferBeforeAfter
4 KiB19.2 µs4.4 µs
512 KiB1.67 ms4.7 µs
8 MiB34.7 ms4.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:

BufferBeforeAfter
4 KiB8.5 µs1.7 µs
512 KiB895 µs2.0 µs
8 MiB14.2 ms2.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:

Bench4 KiB before4 KiB after512 KiB before512 KiB after8 MiB before8 MiB after
word_highlight/rare (2 moves)36.4 µs2.2 µs1.98 ms134 µs39.3 ms2.13 ms
word_highlight/common (2 moves)17.5 µs15.6 µs1.10 ms55.7 µs27.4 ms58.6 µs
go_words/word_next_prev11.2 µs0.99 µs1.08 ms1.23 µs25.9 ms1.39 µs
go_words/word_start_end9.4 µs0.97 µs802 µs1.23 µs14.9 ms1.22 µs
go_words/sentence_start_end9.7 µs1.55 µs902 µs1.85 µs16.3 ms1.80 µs
go_words/goto_word_and_sentence_108.7 µs2.2 µs861 µs2.3 µs15.4 ms2.4 µs
matching_tag/there_and_back37.0 µs3.7 µs4.58 ms2.97 µs83.0 ms2.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:

Bench4 KiB before4 KiB after512 KiB before512 KiB after8 MiB before8 MiB after
word_highlight/rare (2 moves)2.90 µs3.66 µs142 µs70.4 µs2.26 ms67.5 µs
word_highlight/common (2 moves)16.5 µs17.4 µs57.9 µs69.5 µs78.2 µs74.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):

SizeLinesOpenFirst frame (plain until parsed)Parse (background)First highlighted frameKeystroke (on_key)Reparse (background)Memory the open added
1 MiB36 k32 ms¹1.2 ms125–160 ms0.85 ms19 µs0.5–6 ms47 MiB
8 MiB286 k31–50 ms¹4–7 ms1.0–1.7 s0.9 ms22–33 µs2.5–4 ms343 MiB
16 MiB570 k36 ms8.7 ms2.2 s0.8 ms33 µs11 ms679 MiB
32 MiB1.14 M46 ms29 ms4.1 s0.8 ms35 µs15 ms1,350 MiB
64 MiB2.27 M261 ms97 ms9.7 s0.9 ms27 µs19 ms2,691 MiB
64 MiB as .txt2.27 M28 ms28 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:

SizeHighlightedOpenFirst frameKeystroke (on_key)Memory the open added
1 MiByes35 ms¹1.4 ms23 µs47 MiB
8 MiByes50 ms¹7.1 ms33 µs343 MiB
9 MiBno4.4 ms4.5 ms16 µs11 MiB
64 MiBno28 ms28 ms18 µs73 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.

MeasurementAuthorityRunMedian msp90 msMin msMax msSamples
First editable framelocalcold18.918.918.918.91
First editable framelocalwarm6.821.23.421.819
Quick Open, files listedlocalcold67.367.367.367.31
Quick Open, files listedlocalwarm65.495.050.8104.219
Quick Open, query resultlocalcold67.667.667.667.61
Quick Open, query resultlocalwarm65.795.351.1104.519
First editable framefake remotecold4.44.44.44.41
First editable framefake remotewarm6.024.93.748.519
Quick Open, files listedfake remotecold68.468.468.468.41
Quick Open, files listedfake remotewarm61.788.351.2365.819
Quick Open, query resultfake remotecold68.768.768.768.71
Quick Open, query resultfake remotewarm62.088.651.5366.119

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::new and ends when the first frame has been drawn (ui::draw into 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 — what main runs. Not included: starting the process, loading config.toml, setting up the terminal and the terminal painting the bytes. The whole-process figure, measured from fork in 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.palette is 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 purge and 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 App each 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_definition on a call in lib.rs has moved the cursor to a.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_new 378 µs (134 µs in the idle 2026-09-15 baseline) and startup/refresh_git 31.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.

Measurement1 GiB (9.5 M lines)4 GiB (38.1 M lines)
Time to first screen (open + first 50 lines drawn)0.3–0.4 ms0.2 ms
Goto end (before the index has started)0.1 ms0.1 ms
Time to full line index (background)119–120 ms480–487 ms
Goto a line in the middle (index done)0.2 ms0.2 ms
Search the whole file for a string on its last line83–86 ms335–341 ms
Peak RSS of the whole process (/usr/bin/time -l)4.3 MiB3.6–4.6 MiB
Line-index checkpoints kept9,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).

EditorVersionCommand (config disabled)
Vix2.0.0 pre-release (commits above)vix FILE with a fresh HOME; large_file_mb = 1024 so the 100 MB file opens as text
Vim9.2vim -u NONE -i NONE -n -N FILE
Neovim0.12.6nvim --clean -n FILE
Helix25.07.1hx -c EMPTY.toml FILE
GNU Emacs30.2emacs -nw -Q --eval '(setq large-file-warning-threshold nil)' FILE
micro2.0.15micro -config-dir EMPTY_DIR FILE
GNU nano9.3nano -I FILE
mgmacOS /usr/bin/mg (no version flag)mg -n FILE
Kakoune2026.05.21kak -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)

EditorTime to first screen, msMemory, MiBIdle CPU, %
Kakoune7.8 (7.3–43.7)4.2 (4.2–4.3)0
mg10.6 (10.4–56.7)2.5 (2.5–2.5)0
nano10.7 (9.6–11.2)8.3 (8.3–8.4)0
Vim16.5 (14.1–28.0)12.3 (12.3–12.4)0
Neovim31.9 (30.8–34.1)25.0 (24.9–25.1) ¹0
Vix39.7 (38.5–53.9)33.0 (32.8–34.2)0
micro45.8 (36.4–86.6)28.3 (27.7–28.7)0
Emacs188.7 (171.0–201.0)53.6 (53.5–53.7)0
Helix197.1 (193.3–794.6)58.0 (53.3–64.8) ²0

100 MB plain-text log file (~1.1 M lines)

EditorTime to first screen, msMemory, MiBIdle CPU, %
Vim62.8 (61.4–64.2)116.7 (116.6–116.8)0
Kakoune78.5 (76.5–86.7)129.8 (129.8–129.9) ³0
Vix87.0 (71.0–93.8)125.5 (125.3–125.5)0
Neovim120.6 (104.0–157.8)129.7 (129.7–130.1) ¹0
micro269.6 (240.6–285.8)359.6 (347.4–374.8)67.1 (58.7–68.9)
nano275.3 (258.2–284.6)159.1 (159.1–159.2)0
Emacs364.9 (307.3–445.8)148.7 (148.7–148.9)0
Helix554.2 (551.5–568.4)524.7 (433.8–526.4)0
mg1264.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, msMemory, MiBIdle 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 fork until 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), and HOME and the XDG_* 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 (unless theme = "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 -l prints), 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 purge and are not measured here.
  • Feature sets differ. Vix runs with its default features (syntax highlighting, menus, file explorer, Git status). Of the others, Neovim (--clean keeps its built-in syntax files), Helix and micro highlight the Rust file; Vim with -u NONE, nano with -I and mg do not, and Emacs -Q opens it in fundamental-mode with 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’s large-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 cargo build 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.

Benchmark4 KiB before4 KiB after512 KiB before512 KiB after8 MiB before8 MiB after
l + h8.2 µs1.4 µs1.08 ms1.6 µs17.6 ms1.5 µs
w + b10.8 µs1.1 µs1.10 ms1.3 µs25.5 ms1.2 µs
3dw + u182 µs197 µs1.07 ms200 µs22.5 ms194 µs
2dd + u370 µs343 µs1.73 ms339 µs35.4 ms405 µs
l + h, frame after each355 µs287 µs1.16 ms295 µs18.0 ms581 µ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 p50p95p99inputs over 16 ms
Before T84312.14 ms15.14 ms17.64 ms7 of 405
After T8430.34 ms0.85 ms1.17 ms1 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):

Benchmark4 KiB512 KiB8 MiB64 MiB
Before T8581.0 ms7.2 ms136 ms982 ms
After T8582.0 ms2.3 ms1.7 ms1.8 ms

keystroke_cost, one key with a tick and a frame, cursor in the middle of a .txt file:

8 MiB64 MiB64 MiB, 300 ms pause before each keyResident memory, 5 keys at 64 MiB
Before T85843 ms380 ms380 ms+396 MiB
After T8580.15 ms0.14 ms0.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 pausedResident memory during the passBackup on disk after
Before T859, 64 MiB120, 154, 212 ms+67 MiBthe same
After T859, 64 MiB0.05 to 0.44 ms+0.2 MiB115 to 126 ms
After T859, 8 MiB0.10 ms+0.2 MiB25 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 rsafter 40 keys200 keys360 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.

BenchmarkBefore (5,000-file cap)Old matcher, full indexAfter
first_results, 20,000 files9.72 ms9.94 ms9.64 ms
first_results, 100,000 files11.7 ms11.1 ms10.7 ms
per keystroke, 20,000 files1.6 ms (5,000 indexed)9.6 ms2.7 ms
per keystroke, 100,000 files1.6 ms (5,000 indexed)62 ms9.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).

BenchmarkBeforeParallel reads… and no canonicalizeAfter (… and the memo)
100,000 files, first full search (cold)3.67 s1.53 s0.84 s0.88 s
100,000 files, a narrowing keystroke3.08 s1.20 s0.86 s0.18 s
100,000 files, a widening keystroke3.08 s1.20 s0.86 s0.89 s
workspace_search/rescan, 1,000 files50.3 ms12.2 ms
workspace_search/rescan, 10,000 files306 ms63.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:

CaseBefore: key-to-returnAfter: key-to-returnAfter: first resultAfter: complete
Cold142 / 145 / 147 / 1480.14 / 0.15 / 0.17 / 0.6381.5 / 82.7 / 83.4 / 88.7133 / 135 / 135 / 143
Warm26.5 / 27.2 / 27.4 / 27.60.19 / 0.20 / 0.21 / 0.2112.9 / 13.1 / 13.3 / 13.325.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):

Benchmark1,000 files10,000 files
workspace_search/keystroke63.6 µs227 µs
workspace_search/first_result2.04 ms10.6 ms
workspace_search/complete2.25 ms20.0 ms
workspace_search/rescan10.6 ms102 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 the docker command on Podman’s Docker-compatible socket or VIX_CONTAINER_CLI=podman

What the script does:

  • Builds a small image, once per toolchain, on the official rust:<version>-bookworm image, where <version> is your own rustc --version, so the container lints with the same clippy as scripts/check on your Mac (with no rustc installed it falls back to the MSRV, rust-version in Cargo.toml). It adds clippy, rustfmt and the few system tools the gate needs. Set VIX_LINUX_RUST=<version> to pick another toolchain. Do not pick the MSRV for the gate: clippy’s lints change between releases, so -D warnings at 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 aarch64 took 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 diff on 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-cargo starts 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-latest job in .github/workflows/ci.yml and 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 the x86_64 target 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.

NamePurposeURLDebian equivalent?Debian unstable versionDebian 14 Forky version
serdeSettings + theme (de)serializationhttps://crates.io/crates/serdelibrust-serde-dev??
serde-jsonSerialize/Deserialize JSON (and Vix config files)https://crates.io/crate/serde_jsonlibrust-serde-json-dev??
serde-yamlSerialize/Deserialize YAMLhttps://crates.io/crate/serde-yamllibrust-serde-yaml-dev??
ratatuiTerminal UI (layout, widgets)https://crates.io/crates/ratatuilibrust-ratatui-dev??
ratatui-imageIn-terminal image viewing (png/jpg/…)https://crates.io/crates/ratatui-image??
imageImage decoding for the viewerhttps://crates.io/crates/imagelibrust-image-dev, librust-image+default-dev0.25.x
crosstermCross-platform terminal backend / events / mousehttps://crates.io/crates/crosstermlibrust-crossterm-dev??
regexRegular expressions for find/replace; Unicode featurehttps://crates.io/crates/regexlibrust-regex-dev, librust-regex+unicode-dev??
jiffDate & time (local, UTC, ISO week)https://crates.io/crates/jifflibrust-jiff-dev??
rust-i18nInternationalization YAML fileshttps://crates.io/crates/rust-i18nlibrust-regex-dev??
confyConfigurationhttps://crates.io/crates/confylibrust-confy-dev??
clapCommand Line Argument Parsinghttps://crates.io/crates/claplibrust-clap-dev, librust-clap-complete-dev, librust-clap-derive-dev, librust-clap-builder-dev4.6.1
mimallocMiMalloc custom memory allocator for MUSLhttps://crates.io/crates/mimalloc??
include_dirEmbed bundled theme JSON files into the binaryhttps://crates.io/crates/include_dir??
tree-sitterRust bindings to the Tree-sitter parsing libraryhttps://crates.io/crates/tree-sitterlibrust-tree-sitter-dev??
sysinfoHost system snapshot (System Information panel)https://crates.io/crates/sysinfolibrust-sysinfo-dev??
spellbookPure-Rust Hunspell spell checkerhttps://crates.io/crates/spellbook??
similarText diffing (git diff gutter; word-level compare, inline feature)https://crates.io/crates/similarlibrust-similar-dev??
ureqHTTP client for the REST tool (pure-Rust rustls TLS)https://crates.io/crates/ureqlibrust-ureq-dev??
evalexprEvaluate expression (solely for calculator tool)https://crates.io/crates/evalexprlibrust-evalexpr-dev??
randRandomness functionality, number generatorshttps://crates.io/crates/randlibrust-rand-dev??
markdownMarkdown parser & converterhttps://crates.io/crate/markdownlibrust-markdown-dev
csvComma Separated Valueshttps://crates.io/crate/csvlibrust-csv-dev
tomlTom’s Obvious Minimal Languagehttps://crates.io/crate/tomllibrust-toml-dev

Cargo.toml is authoritative for the full dependency set; the table above lists the load-bearing ones. Also linked, grouped by why:

WhyCrates
Editor engineropey (rope buffer), unicode-segmentation, unicode-width, streaming-iterator, ratatui-core, rust-embed (Tree-sitter queries in langs/)
Clipboardarboard, behind vix-clipboard’s process-wide lock and opt-in
Database workbenchsqlx (Any driver: bundled SQLite, pure-Rust Postgres/MySQL), tokio, futures-util
Terminal panelportable-pty, vt100, nix (suspend/resume)
Hashes & idssha2, md-5, crc32fast, uuid, getrandom, base64, percent-encoding
Markuppulldown-cmark, htmd (HTML → Markdown), qrcode
Filesignore (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+B toggle, Ctrl+E focus)
  • 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 (see crates/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 with x, Delete, or Enter while the drawer is focused)
  • Bottom dock (toggle with View ▸ Show/Hide Bottom Dock; see crates/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) lists path:line:col hits 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
  • 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 x to dismiss it, click a menu name to open it
  • Keyboard shortcut help: press F1 (or Help ▸ 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 moduleResponsibility
main.rsCLI (clap), locale resolution, terminal setup/teardown, the event loop, suspend/resume
lib.rsCrate root: lint posture, i18n! catalog, and the pub use vix_* as … re-exports
app.rsApp 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.rsAll 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.rsThe directory tree flattened into rows
messages.rsThe notification drawer model
search.rs, workspace_search.rsSearch bar helpers; workspace-wide search/replace state
edit_table.rs, edit_outline.rs, column_view.rsOverlay 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:

  1. Key-release events (dropped) and, on macOS, the Command → Control fold (crates/vix-editor/spec/command-key/index.md).
  2. Jump-label mode, the LSP completion popup, and a pending hover tooltip.
  3. 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_keys mirrors this chain for callers that need to ask “is the editor reachable?” without dispatching; the two must be changed together.
  4. Org-table context keys, when the cursor is inside a pipe table.
  5. 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 into run_action ids and editor motions rather than duplicating behavior.
  6. 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.

AreaState
Editing coreTabs, 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 transformsCase, sort/dedupe/shuffle/reverse, squeeze blanks, line endings, ROT13, align, surround, transpose, delete-by-unit, wrap/fill, increment/toggle values, Emmet
Files & explorerTree, 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
SearchIncremental find, find/replace with regex + capture groups, smart case, workspace-wide search/replace, interactive query-replace, TODO finder
NavigationPosition history, go-to definition/symbol/line/percent/byte, jump labels, matching tag, breadcrumbs, outline panel
Language supportTree-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 controlGit 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 & toolsDatabase 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 modeHeadlines, TODO/checkbox cookies, agenda, capture, refile, footnotes, id links, tables (TBLFM), column view, Org-roam, dailies, backlinks, export
PresentationMonochrome bundled themes plus custom JSON themes, base16 palettes, Zen mode, split panes (up to 2×2), 27 UI languages, ten keymaps
Terminal integrationMouse (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, at clippy::pedantic, with unsafe_code = "forbid" and missing_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 fuzz targets over the pure text/parse cores, and cargo bench (Criterion) over the hot paths (spec/test/index.md).
  • scripts/check runs the whole gate locally; scripts/check-docs checks 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).

ModuleKindOwns
codeengineRope buffer + Tree-sitter parse/highlight + edit batches.
historyengineUndo/redo stacks.
selection, utilsengineSelection type; grapheme/width/indent/comment helpers.
actionsengineEditing operations (insert/delete/move/indent/comment/…).
namedenginesnake_case named-action methods on Editor (the spec/actions.tsv catalog).
multicursorengineMultiple-caret model + add/skip/spawn.
clickVixClickTracker/ClickKind: single/double/triple-click classifier.
editorengine+VixEditor state, public API, marks, folds, inlay hints, mouse.
renderengineNon-wrap renderer + dispatch; fold/inlay row & column mapping.
wrapVixSoft-wrap visual-row layout + wrapped renderer.
bracketsVixBracket matching (matching_bracket).
linesVixLine transforms (move/sort/join/dedupe/trim/reverse).
editor_inputengineKeyEvent → 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/)

FileResponsibility
main.rsclap CLI, locale resolution, terminal setup, event loop, suspend.
lib.rsCrate root; lint config; i18n! catalog init; module declarations.
app.rsApp state, on_key/on_mouse, run_action, overlays, behavior — dispatches most of its logic into tui/src/app/*.rs (below).
ui.rsAll 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-*)

AreaCrates
Editorvix-editor (the CodeEditor host wrapper), vix-editor-core (the widget, above).
MCPvix-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 / DAPvix-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).
Gitvix-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).
OCvix-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).
IMvix-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).
Spellcheckvix-spellcheck (Hunspell via spellbook).
Snippetsvix-snippets (JSON snippet files: scopes, parse, merge, picker), vix-snippet-tool (tabstop engine + bundled snippets).
Media typesvix-media-type (the MIME catalog parsed from crates/vix-media-type/spec/media-types.tsv; text/binary base, extension lookup, picker).
Org modevix-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 / testvix-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…).
Configvix-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).
Scriptingvix-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 editingvix-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.
Tutorvix-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.
Keybindingsvix-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.
AIvix-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).
Databasevix-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 toolsvix-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 opsvix-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 typesvix-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 opsvix-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 sizevix-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 datevix-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 stackvix-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).
Encodingvix-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 RGBvix-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 wrapvix-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).
Networkingvix-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).
Networkingvix-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).
FHIRvix-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).
Coworkvix-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.
Jupytervix-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 storevix-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).
Clipboardvix-clipboard (process-wide serialized clipboard access; the platform pasteboard is opt-in through use_system, so a test run never touches it).
Themesvix-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 surfacesvix-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 filesvix-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).
Generatorsvix-qr-tool (QR code via the qrcode crate, Unicode renderer), vix-lorem (deterministic lorem-ipsum text).
Tool dialogsvix-calculator-tool, vix-color-converter-tool, vix-unit-converter-tool, vix-pomodoro-tool.
Info panelsvix-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 / findvix-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.
Pickersvix-ascii-character-picker, vix-html-character-picker, vix-nerd-font-picker, vix-x11-color-picker.
Boxesvix-calendar-panel, vix-clock-panel.
Contactsvix-vcard-parser (RFC 6350), vix-vcard-panel, vix-contact-panel.
Docksvix-left-dock (explorer), vix-right-dock (messages), vix-bottom-dock (output buffer).
Authorityvix-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 / opsvix-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).
Modelsvix-keymap-model, vix-locale-model, vix-theme-model, vix-time-zone-model.
Helpvix-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).
i18nvix-i18n (embedded rust-i18n catalog).

Other top-level paths

PathContents
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.nixInstall-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 through App::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, ja fully translated; it, ko, tr, nl, vi, id, th, fa, uk, el, tlh, sjn selectable 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 by t! against crates/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 OVERLAYS table (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 spellcheck module), diagnostic marks (LSP severity-colored underlines), and gutter marks (git diff bars in the line-number gutter; from git::diff_marks against 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_wrap setting).
  • 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 (Ctrl chords), Vi (modal), Spacemacs (Vi + Space leader), IntelliJ macOS, IntelliJ Windows, Eclipse, Sublime, Zed, Fresh, ttt, or Helix. Exactly one is active; chosen in View → Keymap… and persisted in the keymap setting (id vi, 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_key returning an Outcome: 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 the media_type catalog (crates/vix-media-type/spec). Each is classified text or binary (the Base column) 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 by snippet_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 sqlx Any drivers (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 (writable flag + F8); statements run async (streamed, Ctrl+C cancels); transactions show a TX badge. 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 optional file ▸ symbol bar above the editor (view.breadcrumbs).
  • Ghost text — a dimmed inline completion drawn after the cursor, from an LSP server or an AI provider (inline_completion setting, T618).
  • Gutter base — what the change gutter compares the buffer against: head, index, disk or branch:<name> (git_gutter_base setting, 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 IDTitleSource
add_tabNew TabCatalog
ai.agent_conversationsAgent Conversations…Menu
ai.agent_planAgent PlanMenu
ai.agent_plan_dockToggle Agent Plan PaneMenu
ai.agent_promptPrompt Agent…Menu
ai.agent_resumeResume AgentMenu
ai.agent_startStart AgentMenu
ai.agent_stopStop AgentMenu
ai.annotateAnnotateMenu
ai.chatChat…Menu
ai.defineDefineMenu
ai.edit_with_instructionEdit Selection with Instruction…Menu
ai.explainExplainMenu
ai.generate_doc_commentGenerate Doc CommentMenu
ai.improveImproveMenu
ai.summarizeSummarizeMenu
autocompleteAutocomplete WordPalette
backspaceBackspaceCatalog
bookmark.listBookmarks…Menu
bookmark.nextNext BookmarkMenu
bookmark.prevPrevious BookmarkMenu
bookmark.toggleToggle BookmarkMenu
centerCenter Cursor LineCatalog
clear_infoClear Info PanelCatalog
clear_statusClear Status MessageCatalog
command_modeCommand ModeCatalog
copyCopyCatalog
copy_lineCopy LineCatalog
cowork.filesShared Files…Menu
cowork.followFollow…Menu
cowork.hostHost Session…Menu
cowork.inviteNew InviteMenu
cowork.joinJoin Session…Menu
cowork.leaveLeave SessionMenu
cowork.muteMute in Chat…Menu
cowork.notesSession NotesMenu
cowork.peersPeersMenu
cowork.permissionsPermissions…Menu
cowork.removeRemove Guest…Menu
cowork.shareShare This BufferMenu
cowork.share_terminalShare TerminalMenu
cowork.share_workspaceShare File TreeMenu
cowork.terminalShared TerminalMenu
cowork.terminal_inputAllow Terminal InputMenu
cowork.unshareStop Sharing This BufferMenu
cursor_downCursor DownCatalog
cursor_endCursor to EndCatalog
cursor_leftCursor LeftCatalog
cursor_page_downCursor Page DownCatalog
cursor_page_upCursor Page UpCatalog
cursor_rightCursor RightCatalog
cursor_startCursor to StartCatalog
cursor_to_view_bottomCursor to View BottomCatalog
cursor_to_view_centerCursor to View CenterCatalog
cursor_to_view_topCursor to View TopCatalog
cursor_upCursor UpCatalog
cutCutCatalog
cut_lineCut LineCatalog
cut_to_line_endCut to Line EndCatalog
cycle_autocomplete_backCycle Autocomplete BackCatalog
db.beginBegin TransactionMenu
db.commitCommitMenu
db.connectionsConnections…Menu
db.disconnectDisconnectMenu
db.executeExecute at CursorMenu
db.execute_allExecute AllMenu
db.explainExplainMenu
db.explain_analyzeExplain AnalyzeMenu
db.exportExport Results…Menu
db.formatFormat QueryMenu
db.historyHistory…Menu
db.queryQuery EditorMenu
db.refreshRefresh SchemaMenu
db.rollbackRollbackMenu
db.run_bufferRun Buffer in WorkbenchMenu
db.save_querySave Query…Menu
db.savedSaved Queries…Menu
db.schema_compareSchema Compare…Menu
deleteDeleteCatalog
delete_lineDelete LineCatalog
delete_sub_word_leftDelete Sub-Word LeftCatalog
delete_sub_word_rightDelete Sub-Word RightCatalog
delete_word_leftDelete Word LeftCatalog
delete_word_rightDelete Word RightCatalog
deselectDeselectCatalog
diff.closeClose ComparisonMenu
diff.copy_to_leftCopy Change to LeftMenu
diff.copy_to_rightCopy Change to RightMenu
diff.nextNext DifferenceMenu
diff.prevPrevious DifferenceMenu
diff.unifiedShow as Unified DiffMenu
diff_nextNext DiffCatalog
diff_previousPrevious DiffCatalog
duplicateDuplicate SelectionCatalog
duplicate_lineDuplicate LineCatalog
edit.align.colonOn : (colon)Menu
edit.align.commaOn , (comma)Menu
edit.align.equalsOn = (equals)Menu
edit.align.pipeOn | (pipe)Menu
edit.case_camelCamel (fooBar)Menu
edit.case_kebabKebab (foo-bar)Menu
edit.case_lowerLower (foo bar)Menu
edit.case_pascalPascal (FooBar)Menu
edit.case_snakeSnake (foo_bar)Menu
edit.case_titleTitle (Foo Bar)Menu
edit.case_upperUpper (FOO BAR)Menu
edit.cleanup_codeCode CleanupMenu
edit.column_select_downColumn Select DownMenu
edit.column_select_upColumn Select UpMenu
edit.comment_bannerComment BannerMenu
edit.copyCopyMenu
edit.cutCutMenu
edit.decrement_numberDecrement NumberMenu
edit.delete.characterCharacterMenu
edit.delete.paragraphParagraphMenu
edit.delete.sectionSectionMenu
edit.delete.sentenceSentenceMenu
edit.delete.wordWordMenu
edit.duplicate_lineDuplicate LineMenu
edit.emmet_expandEmmet ExpandMenu
edit.eol_crlfTo CRLF (Windows)Menu
edit.eol_lfTo LF (Unix)Menu
edit.expand_selectionExpand SelectionMenu
edit.findFind…Menu
edit.find_nextFind NextMenu
edit.find_prevFind PreviousMenu
edit.go_firstStartMenu
edit.go_lastEndMenu
edit.increment_numberIncrement NumberMenu
edit.insert_command_outputInsert Command Output…Menu
edit.join_linesJoin LinesMenu
edit.keyboard_quitKeyboard QuitCatalog
edit.line_endEndMenu
edit.line_startStartMenu
edit.match_bracketJump to Matching BracketPalette
edit.move_line_downMove DownMenu
edit.move_line_upMove UpMenu
edit.para_endEndMenu
edit.para_startStartMenu
edit.pastePasteMenu
edit.paste_from_historyPaste from History…Menu
edit.pipe_selectionPipe Through Command…Menu
edit.query_replaceQuery ReplacePalette
edit.redoRedoMenu
edit.remove_duplicate_linesRemove Duplicate LinesMenu
edit.replaceFind & ReplacePalette
edit.reverse_linesReverse LinesMenu
edit.section_endEndMenu
edit.section_startStartMenu
edit.select_allSelect AllMenu
edit.select_all_occurrencesSelect All OccurrencesMenu
edit.select_class_aroundClass (Around)Menu
edit.select_class_insideClass (Inside)Menu
edit.select_function_aroundFunction (Around)Menu
edit.select_function_insideFunction (Inside)Menu
edit.select_lessSelect LessMenu
edit.select_lineSelect LineMenu
edit.select_moreSelect MoreMenu
edit.select_paragraphSelect ParagraphMenu
edit.select_parameter_aroundParameter (Around)Menu
edit.select_parameter_insideParameter (Inside)Menu
edit.select_regex_in_selectionSelect Regex Matches in SelectionMenu
edit.select_sectionSelect SectionMenu
edit.shrink_selectionShrink SelectionMenu
edit.shuffleShuffleMenu
edit.sort_linesSortMenu
edit.sort_uniqueSort UniqueMenu
edit.split_selection_into_linesSplit Selection into LinesMenu
edit.squeeze_blank_linesSqueeze Blank LinesMenu
edit.structural_replaceStructural Replace…Menu
edit.structural_replace_workspaceStructural Replace in Workspace…Menu
edit.surround.angle< Angles >Menu
edit.surround.backtickBackticksMenu
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_commentCommentMenu
edit.toggle_valueToggle ValueMenu
edit.transpose_charsCharactersMenu
edit.transpose_linesLinesMenu
edit.transpose_paragraphsParagraphsMenu
edit.transpose_sectionsSectionsMenu
edit.transpose_sentencesSentencesMenu
edit.transpose_wordsWordsMenu
edit.trim_trailing_whitespaceTrim Trailing WhitespaceMenu
edit.undoUndoMenu
edit.undo_branchSwitch Undo BranchMenu
edit.undo_treeUndo Tree…Menu
edit.wrapWrapMenu
editor.foldFoldMenu
editor.fold_allFold AllMenu
editor.fold_toggleToggle FoldMenu
editor.unfoldUnfoldMenu
editor.unfold_allUnfold AllMenu
endEndCatalog
end_of_lineEnd of LineCatalog
escapeEscapeCatalog
explorer.edit_directoryEdit Directory…Menu
explorer.filter_excludeExplorer: Exclude Regex FilterPalette
explorer.filter_includeExplorer: Include Regex FilterPalette
file.closeCloseMenu
file.close_allClose All TabsMenu
file.insert_fileInsert File…Menu
file.local_historyLocal History…Menu
file.local_history_labelLabel Local History Snapshot…Menu
file.newNewMenu
file.openOpen…Menu
file.open_largeOpen in Large File Viewer…Menu
file.open_pathOpen Path…Catalog
file.open_recentOpen Recent…Menu
file.open_remoteOpen Remote…Menu
file.quitQuitMenu
file.reconnect_remoteReconnect RemoteMenu
file.renameRename…Menu
file.reopen_closedReopen Closed TabMenu
file.reopen_with_encodingReopen with Encoding…Menu
file.revertRevertMenu
file.saveSaveMenu
file.save_allSave AllMenu
file.save_asSave As…Menu
file.save_with_encodingSave with Encoding…Menu
file.scratchNew Scratch BufferMenu
file.switch_projectSwitch Project…Menu
file.trust_remoteTrust Remote Workspace…Menu
findFindCatalog
find_literalFind (Literal)Catalog
find_nextFind NextCatalog
find_previousFind PreviousCatalog
first_splitFirst SplitCatalog
first_tabFirst TabCatalog
force_quitForce QuitCatalog
git.amendAmend CommitMenu
git.blameBlame LineMenu
git.blame_inlineToggle Inline BlameMenu
git.browse_logBrowse Log…Menu
git.changesChanges…Menu
git.changes_subprojectChanges…Menu
git.changes_workspaceChanges…Menu
git.cherry_pickCherry-Pick…Menu
git.cloneClone…Menu
git.code_ownersCode OwnersMenu
git.conflict_bothKeep BothMenu
git.conflict_listList Conflicts…Menu
git.conflict_nextNext ConflictMenu
git.conflict_oursKeep OursMenu
git.conflict_theirsKeep TheirsMenu
git.delete_branchDelete…Menu
git.diff_headDiff with HEADMenu
git.diff_indexDiff with StagedMenu
git.diff_nextNext ChangeMenu
git.diff_prevPrevious ChangeMenu
git.edit_descriptionEdit Description…Menu
git.fetchFetchMenu
git.file_historyFile HistoryMenu
git.graphGraph…Menu
git.grepGrep…Menu
git.grep_subprojectGrep…Menu
git.gutter_baseChange Gutter Base…Menu
git.initInitMenu
git.logAllMenu
git.log_graphSummaryMenu
git.log_since_1_day_agoSince 1 day agoMenu
git.log_since_1_month_agoSince 1 month agoMenu
git.log_since_1_week_agoSince 1 week agoMenu
git.log_subprojectLogMenu
git.merge_branchMerge…Menu
git.new_branchNew…Menu
git.open_at_revisionOpen File at Revision…Menu
git.pull_ffFast ForwardMenu
git.pull_mergeMergeMenu
git.pull_rebaseRebaseMenu
git.pull_squashMerge SquashMenu
git.pushPushMenu
git.rebase_abortAbort RebaseMenu
git.rebase_continueContinue RebaseMenu
git.rebase_interactiveInteractive Rebase…Menu
git.revert_hunkRevert HunkMenu
git.reviewReview Range…Menu
git.review_commentComment on Review Line…Menu
git.review_discard_allDiscard All Review Hunks…Menu
git.review_discard_hunkDiscard Review Hunk…Menu
git.review_discard_linesDiscard Review Lines…Menu
git.review_exportExport Review CommentsMenu
git.review_nextNext Review HunkMenu
git.review_prevPrevious Review HunkMenu
git.review_stage_allStage All Review HunksMenu
git.review_stage_hunkStage Review HunkMenu
git.review_stage_linesStage Review LinesMenu
git.review_toggle_viewReview Two-Pane ViewMenu
git.stage_hunkStage HunkMenu
git.stashStashMenu
git.stash_listStash List…Menu
git.stash_popStash PopMenu
git.statusStatus…Menu
git.status_subprojectStatusMenu
git.status_workspaceStatusMenu
git.switch_branchSwitch…Menu
git.unstage_hunkUnstage HunkMenu
git.worktree_addAdd…Menu
git.worktree_listList…Menu
git.worktree_removeRemove…Menu
go.next_errorNext ErrorMenu
go.prev_errorPrevious ErrorMenu
half_page_downHalf Page DownCatalog
half_page_upHalf Page UpCatalog
helix.appendAppend After SelectionCatalog
helix.changeChange SelectionCatalog
helix.collapseCollapse SelectionCatalog
helix.deleteDelete SelectionCatalog
helix.insertInsert Before SelectionCatalog
helix.move_downMove DownCatalog
helix.move_leftMove LeftCatalog
helix.move_rightMove RightCatalog
helix.move_upMove UpCatalog
helix.paste_afterPaste After SelectionCatalog
helix.paste_beforePaste Before SelectionCatalog
helix.repeat_last_changeRepeat Last ChangeCatalog
helix.select_lineSelect LineCatalog
helix.select_long_word_endSelect to WORD EndCatalog
helix.select_long_word_nextSelect to Next WORDCatalog
helix.select_long_word_prevSelect to Previous WORDCatalog
helix.select_word_endSelect to Word EndCatalog
helix.select_word_nextSelect to Next WordCatalog
helix.select_word_prevSelect to Previous WordCatalog
helix.switch_caseSwitch CaseCatalog
helix.toggle_selectToggle Select ModeCatalog
helix.yankYank SelectionCatalog
help.doctorRun DiagnosticsMenu
help.licenseLicenseMenu
help.privacyPrivacy StatementMenu
help.report_crashReport a Crash…Menu
help.report_issueReport an Issue…Menu
help.shortcutsKeyboard ShortcutsMenu
help.tutorialTutorial…Menu
help.welcomeWelcome…Menu
help.whats_newWhat’s New…Menu
hsplitSplit HorizontallyCatalog
im.clear_historyClear HistoryMenu
im.comment_lineComment on Line…Menu
im.connectConnect…Menu
im.directDirect Message…Menu
im.disconnectDisconnectMenu
im.joinJoin Room…Menu
im.leaveLeave RoomMenu
im.next_threadNext ThreadMenu
im.next_unreadNext UnreadMenu
im.notify_allAll MessagesMenu
im.notify_mentionsMentions OnlyMenu
im.notify_offOffMenu
im.panelChat PanelMenu
im.prev_threadPrevious ThreadMenu
im.resolve_threadResolve or Reopen ThreadMenu
im.share_locationShare LocationMenu
im.share_selectionShare SelectionMenu
im.status_availableAvailableMenu
im.status_awayAwayMenu
im.status_busyBusyMenu
im.threadsThreads…Menu
indent_lineIndent LineCatalog
indent_selectionIndent SelectionCatalog
inline_completion.acceptAccept Inline SuggestionCatalog
inline_completion.accept_wordAccept Next Word of SuggestionCatalog
inline_completion.dismissDismiss Inline SuggestionCatalog
inline_completion.triggerSuggest Inline CompletionCatalog
insert_newlineInsert NewlineCatalog
insert_tabInsert TabCatalog
jj.abandonAbandonMenu
jj.bookmark_createCreate…Menu
jj.bookmark_deleteDelete…Menu
jj.bookmark_listListMenu
jj.bookmark_setSet…Menu
jj.cloneClone…Menu
jj.commitCommit…Menu
jj.describeDescribe…Menu
jj.diffDiffMenu
jj.editEdit…Menu
jj.git_fetchFetchMenu
jj.git_pushPushMenu
jj.initInitMenu
jj.logLogMenu
jj.log_allLog AllMenu
jj.newNew ChangeMenu
jj.op_logOperation LogMenu
jj.rebaseRebase…Menu
jj.restoreRestoreMenu
jj.showShowMenu
jj.squashSquashMenu
jj.statusStatusMenu
jj.undoUndoMenu
join_linesJoin LinesCatalog
jump_lineJump to LineCatalog
jump_to_matching_braceJump to Matching BraceCatalog
jupyter.clear_resultsClear ResultsMenu
jupyter.interruptInterrupt KernelMenu
jupyter.restartRestart KernelMenu
jupyter.runRunMenu
jupyter.run_advanceRun and AdvanceMenu
jupyter.shutdownShut Down KernelMenu
jupyter.startStart Kernel…Menu
keybindings.editorKeybindings…Menu
keybindings.reloadReload KeybindingsMenu
last_splitLast SplitCatalog
last_tabLast TabCatalog
lsp.call_hierarchyCall Hierarchy (Callers)Menu
lsp.call_hierarchy_outgoingCall Hierarchy (Callees)Menu
lsp.code_actionCode Action…Menu
lsp.code_lensCode Lens…Menu
lsp.code_lens_runRun Code Lens on LineMenu
lsp.completeCompletionMenu
lsp.diagnosticsDiagnostics…Menu
lsp.document_symbolsDocument Symbols…Menu
lsp.edit_colorEdit Color…Menu
lsp.expand_selectionExpand SelectionCatalog
lsp.formatFormat DocumentMenu
lsp.highlightHighlight OccurrencesMenu
lsp.hoverHoverMenu
lsp.linked_editEdit Linked Ranges…Menu
lsp.open_linkOpen LinkMenu
lsp.organize_importsOrganize ImportsMenu
lsp.refactorRefactor…Menu
lsp.referencesGo to ReferencesMenu
lsp.renameRename SymbolMenu
lsp.restartRestart ServerMenu
lsp.show_logShow Server LogMenu
lsp.shrink_selectionShrink SelectionCatalog
lsp.signature_helpSignature HelpMenu
lsp.statusLSP Status…Menu
lsp.type_hierarchy_subtypesType Hierarchy (Subtypes)Menu
lsp.type_hierarchy_supertypesType Hierarchy (Supertypes)Menu
lsp.workspace_symbolsWorkspace Symbols…Menu
macro.playPlayMenu
macro.play_savedPlay Saved…Menu
macro.recordRecordMenu
macro.saveSave…Menu
motion.char_leftCharacter LeftCatalog
motion.char_rightCharacter RightCatalog
motion.delete_forwardDelete ForwardCatalog
motion.endMotion: EndCatalog
motion.homeMotion: HomeCatalog
motion.line_downLine DownCatalog
motion.line_upLine UpCatalog
motion.page_downMotion: Page DownCatalog
motion.page_upMotion: Page UpCatalog
move_lines_downMove Lines DownCatalog
move_lines_upMove Lines UpCatalog
nav.backBackCatalog
nav.forwardForwardCatalog
nav.goto_byteGo to Byte…Menu
nav.goto_declarationGo to DeclarationMenu
nav.goto_definitionGo to DefinitionMenu
nav.goto_implementationGo to ImplementationsMenu
nav.goto_lineNumberMenu
nav.goto_paragraphNumberMenu
nav.goto_percentGo to Percent…Menu
nav.goto_sectionNumberMenu
nav.goto_sentenceNumberMenu
nav.goto_symbolGo to SymbolMenu
nav.goto_type_definitionGo to Type DefinitionMenu
nav.goto_wordNumberMenu
nav.goto_workspace_symbolGo to Symbol in WorkspacePalette
nav.jumpJump to Line (labels)Menu
nav.line_nextNextMenu
nav.line_prevPreviousMenu
nav.matching_tagMatching TagMenu
nav.next_classNextMenu
nav.next_functionNextMenu
nav.next_issueNext IssueMenu
nav.outlineOutlinePalette
nav.para_nextNextMenu
nav.para_prevPreviousMenu
nav.peek_definitionPeek DefinitionMenu
nav.prev_classPreviousMenu
nav.prev_functionPreviousMenu
nav.prev_issuePrevious IssueMenu
nav.recent_locationsRecent Locations…Menu
nav.search_everywhereSearch EverywhereMenu
nav.section_nextNextMenu
nav.section_prevPreviousMenu
nav.sentence_endEndMenu
nav.sentence_nextNextMenu
nav.sentence_prevPreviousMenu
nav.sentence_startStartMenu
nav.switch_bufferSwitch BufferCatalog
nav.word_endEndMenu
nav.word_nextNextMenu
nav.word_prevPreviousMenu
nav.word_startStartMenu
next_splitNext SplitCatalog
next_tabNext TabCatalog
node.dead_linksList Dead LinksMenu
node.extract_subtreeExtract Subtree to NodeMenu
node.insert_transclusionInsert Transclusion…Menu
node.nodeifyNodeify EntryMenu
node.rename_by_titleRename File by TitleMenu
node.resetRebuild CacheMenu
noneNoneCatalog
oc.buildBuild Image…Menu
oc.compose_downDownMenu
oc.compose_logsLogsMenu
oc.compose_upUpMenu
oc.containersContainers…Menu
oc.devcontainer_reopenReopen in Dev ContainerMenu
oc.engine_chooseChooseMenu
oc.engine_detectDetectMenu
oc.imagesImages…Menu
oc.networksNetworks…Menu
oc.open_workspaceOpen Workspace in Container…Menu
oc.podsPods…Menu
oc.prunePrune…Menu
oc.pullPull Image…Menu
oc.runRun Image…Menu
oc.volumesVolumes…Menu
open_fileOpen FileCatalog
org.agendaWeekly/Daily AgendaMenu
org.agenda.file_addAdd Current FileMenu
org.agenda.file_clearClear List (All Project Files)Menu
org.agenda.file_listShow ScopeMenu
org.agenda.file_removeRemove Current FileMenu
org.agenda.lockSet Restriction Lock (This File)Menu
org.agenda.matchMatch Tags/Property…Menu
org.agenda.searchSearch…Menu
org.agenda.stuckStuck ProjectsMenu
org.agenda.todoGlobal TODO ListMenu
org.agenda.unlockRemove Restriction LockMenu
org.archive.subtreeArchive Subtree to FileMenu
org.archive.tagToggle ARCHIVE TagMenu
org.block.centerCenterMenu
org.block.commentCommentMenu
org.block.exampleExampleMenu
org.block.quoteQuoteMenu
org.block.srcSourceMenu
org.block.verseVerseMenu
org.captureAnything…Menu
org.capture.babelBabel…Menu
org.capture.contactContact…Menu
org.capture.noteNote…Menu
org.capture.selectChoose Template…Menu
org.capture.taskTask…Menu
org.clock_inClock InMenu
org.clock_outClock OutMenu
org.close_noteMark Done with Note…Menu
org.column_viewTurn OnMenu
org.column_view_exportQuick Column ExportMenu
org.columns.insert_dblockInsert Column View Dynamic Block…Menu
org.columns.update_all_dblocksUpdate All Dynamic BlocksMenu
org.columns.update_dblockUpdate Dynamic Block at PointMenu
org.contacts.birthdaysBirthdaysMenu
org.contacts.findFind ContactsMenu
org.contacts.link_completeComplete Link…Menu
org.contacts.vcardExport to vCardMenu
org.ctrl_c_ctrl_cRefresh ContextMenu
org.cycle_todoCycle TODOMenu
org.cycle_visibilityCycle Visibility (Fold)Menu
org.date_downDate 1 Day EarlierMenu
org.date_upDate 1 Day LaterMenu
org.deadlineDeadline…Menu
org.demoteDemoteMenu
org.edit_srcEdit Source BlockMenu
org.emphasis.boldBoldMenu
org.emphasis.codeCodeMenu
org.emphasis.italicItalicMenu
org.emphasis.strikeStrikethroughMenu
org.emphasis.underlineUnderlineMenu
org.emphasis.verbatimVerbatimMenu
org.export_htmlHTMLMenu
org.export_icsiCalendarMenu
org.export_latexLaTeXMenu
org.export_markdownMarkdownMenu
org.footnoteFootnote New/JumpMenu
org.link.followFollow LinkMenu
org.link.insertInsert Link…Menu
org.link.nextNext LinkMenu
org.link.prevPrevious LinkMenu
org.link.storeStore Link to HereMenu
org.move_downMove Subtree DownMenu
org.move_upMove Subtree UpMenu
org.nav.backwardPrevious Same LevelMenu
org.nav.forwardNext Same LevelMenu
org.nav.nextNext HeadingMenu
org.nav.previousPrevious HeadingMenu
org.nav.upUp to ParentMenu
org.new_headingNew HeadingMenu
org.priority.downPriority DownMenu
org.priority.upPriority UpMenu
org.promotePromoteMenu
org.refileRefile Subtree…Menu
org.scheduleSchedule Item…Menu
org.set_propertySet Property…Menu
org.set_tagsSet Tags…Menu
org.sort_childrenSort ChildrenMenu
org.sparse.matchSparse Tree Match…Menu
org.sparse.todoSparse TODO TreeMenu
org.subtree.copyCopy SubtreeMenu
org.subtree.cutCut SubtreeMenu
org.subtree.pastePaste SubtreeMenu
org.table.alignAlign TableMenu
org.table.copy_downCopy Field from AboveMenu
org.table.copy_rectangleCopy RectangleMenu
org.table.create_from_regionCreate Table from SelectionMenu
org.table.cut_rectangleCut RectangleMenu
org.table.delete_columnDelete ColumnMenu
org.table.export_tsvExport to TSVMenu
org.table.hline_and_moveInsert Line Below and MoveMenu
org.table.insert_columnInsert ColumnMenu
org.table.insert_hlineInsert Horizontal LineMenu
org.table.insert_row_aboveInsert Row AboveMenu
org.table.insert_row_belowInsert Row BelowMenu
org.table.kill_rowDelete RowMenu
org.table.move_column_leftMove Column LeftMenu
org.table.move_column_rightMove Column RightMenu
org.table.move_row_downMove Row DownMenu
org.table.move_row_upMove Row UpMenu
org.table.paste_rectanglePaste RectangleMenu
org.table.recalcRecalculate (Apply Formulas)Menu
org.table.sortSort Table…Menu
org.table.sum_columnSum ColumnMenu
org.table.transposeTranspose TableMenu
org.time_reportTime TrackerMenu
org.timestampInsert TimestampMenu
org.timestamp_inactiveInsert Inactive TimestampMenu
org.toggle_checkboxToggle CheckboxMenu
org.update_statisticsUpdate StatisticsMenu
outdent_lineOutdent LineCatalog
outdent_selectionOutdent SelectionCatalog
page_downPage DownCatalog
page_upPage UpCatalog
palette.resumeResume Last PickerMenu
paragraph_nextNext ParagraphCatalog
paragraph_previousPrevious ParagraphCatalog
pastePasteCatalog
paste_primaryPaste Primary SelectionCatalog
previous_splitPrevious SplitCatalog
previous_tabPrevious TabCatalog
project.cmake.buildBuildMenu
project.cmake.cleanCleanMenu
project.cmake.configureConfigureMenu
project.cmake.debugDebugMenu
project.cmake.edit_settingsEdit CMake SettingsMenu
project.cmake.installInstallMenu
project.cmake.runRunMenu
project.cmake.select_build_targetSelect Build Target…Menu
project.cmake.select_build_typeSelect Build Type…Menu
project.cmake.select_launch_targetSelect Launch Target…Menu
project.cmake.select_presetSelect Configure Preset…Menu
project.cmake.select_testRun Test…Menu
project.cmake.testTestMenu
project.cmake.test_at_pointTest at PointMenu
project.compileCompileMenu
project.configureConfigureMenu
project.discard_command_cacheDiscard Command CacheMenu
project.installInstallMenu
project.packagePackageMenu
project.reload_envReload EnvironmentMenu
project.repeat_last_taskRepeat Last TaskMenu
project.runRunMenu
project.run_configRun Configuration…Menu
project.run_config_editEdit Run ConfigurationsMenu
project.run_taskRun Task…Menu
project.subproject.compileCompileMenu
project.subproject.configureConfigureMenu
project.subproject.find_fileFind FileMenu
project.subproject.installInstallMenu
project.subproject.packagePackageMenu
project.subproject.runRunMenu
project.subproject.testTestMenu
project.testTestMenu
project.test_at_pointTest at PointMenu
quitQuitCatalog
quit_allQuit AllCatalog
redoRedoCatalog
remove_all_multi_cursorsRemove All Multi-CursorsCatalog
remove_duplicate_linesRemove Duplicate LinesCatalog
remove_multi_cursorRemove Multi-CursorCatalog
reset_searchReset SearchCatalog
reverse_linesReverse LinesCatalog
roam.alias_addAdd Alias…Menu
roam.backlinksBacklinksMenu
roam.backlinks_followLive BacklinksMenu
roam.captureCapture Node…Menu
roam.dailies_calendarCalendar…Menu
roam.dailies_captureCapture Today…Menu
roam.dailies_dateGo to Date…Menu
roam.dailies_todayTodayMenu
roam.db_syncSync DatabaseMenu
roam.graphGraphMenu
roam.link_completeComplete Link…Menu
roam.node_findFind Node…Menu
roam.node_insertInsert Node Link…Menu
roam.node_randomRandom NodeMenu
roam.ref_addAdd Ref…Menu
roam.tag_addAdd Tag…Menu
run.attachAttachMenu
run.continueContinueMenu
run.data_breakpointData Breakpoint on VariableMenu
run.edit_breakpointEdit Breakpoint…Menu
run.exception_filtersException Breakpoints…Menu
run.focus_panelFocus Debug PanelMenu
run.function_breakpointFunction Breakpoint…Menu
run.instruction_breakpointInstruction Breakpoint…Menu
run.panelToggle Debug PanelMenu
run.pausePauseMenu
run.replEvaluate…Menu
run.startStartMenu
run.step_intoStep IntoMenu
run.step_outStep OutMenu
run.step_overStep OverMenu
run.stopStopMenu
run.toggle_breakpointToggle BreakpointMenu
run.watchAdd Watch…Menu
saveSaveCatalog
save_allSave AllCatalog
save_asSave As…Catalog
script.pluginsPlugins…Menu
script.reloadReloadMenu
script.runRun…Menu
scroll_downScroll DownCatalog
scroll_upScroll UpCatalog
search.edit_resultsEdit Search ResultsPalette
search.next_selectionFind SelectionMenu
search.prev_selectionFind Previous Occurrence of SelectionPalette
search.subprojectSearch in Subproject…Menu
search.workspaceSearch in WorkspacePalette
search.workspace_dockSearch in Workspace → DockPalette
search.workspace_replaceSearch and Replace in WorkspacePalette
select_allSelect AllCatalog
select_downSelect DownCatalog
select_leftSelect LeftCatalog
select_lineSelect LineCatalog
select_page_downSelect Page DownCatalog
select_page_upSelect Page UpCatalog
select_rightSelect RightCatalog
select_sub_word_leftSelect Sub-Word LeftCatalog
select_sub_word_rightSelect Sub-Word RightCatalog
select_to_endSelect to EndCatalog
select_to_end_of_lineSelect to End of LineCatalog
select_to_paragraph_nextSelect to Next ParagraphCatalog
select_to_paragraph_previousSelect to Previous ParagraphCatalog
select_to_startSelect to StartCatalog
select_to_start_of_lineSelect to Start of LineCatalog
select_to_start_of_textSelect to First Non-BlankCatalog
select_to_start_of_text_toggleSelect to First Non-Blank (Toggle)Catalog
select_upSelect UpCatalog
select_wordSelect WordCatalog
select_word_leftSelect Word LeftCatalog
select_word_rightSelect Word RightCatalog
shell_modeShell ModeCatalog
shuffleShuffle LinesCatalog
skip_multi_cursorSkip Multi-CursorCatalog
skip_multi_cursor_backSkip Multi-Cursor BackCatalog
sort_linesSort LinesCatalog
sort_uniqueSort Lines UniqueCatalog
spawn_multi_cursorAdd Multi-CursorCatalog
spawn_multi_cursor_downAdd Multi-Cursor DownCatalog
spawn_multi_cursor_upAdd Multi-Cursor UpCatalog
spell.suggestSpelling SuggestionsCatalog
startStartCatalog
start_of_lineStart of LineCatalog
start_of_textFirst Non-Blank CharacterCatalog
start_of_text_toggleFirst Non-Blank Character (Toggle)Catalog
sub_word_leftSub-Word LeftCatalog
sub_word_rightSub-Word RightCatalog
suspendSuspendCatalog
tab.nextNext TabMenu
tab.prevPrevious TabMenu
terminal.closeClose TerminalMenu
terminal.copyCopy Terminal TextMenu
terminal.newNew TerminalMenu
terminal.nextNext TerminalMenu
terminal.prevPrevious TerminalMenu
terminal.restartRestart TerminalMenu
terminal.send_selectionSend Selection to TerminalMenu
terminal.toggle_captureToggle Terminal Key CaptureMenu
toggle_diff_gutterToggle Diff GutterCatalog
toggle_helpToggle HelpCatalog
toggle_highlight_searchToggle Search HighlightsMenu
toggle_key_menuToggle Which-Key MenuCatalog
toggle_overwrite_modeOverwrite ModeMenu
toggle_rulerColumn RulerMenu
tools.asciiASCII Characters…Menu
tools.calculatorCalculator…Menu
tools.calendarCalendar…Menu
tools.cancel_commandCancel CommandMenu
tools.checksum.crc32CRC32Menu
tools.checksum.md5MD5Menu
tools.checksum.sha256SHA-256Menu
tools.checksum.sha512SHA-512Menu
tools.clockClock…Menu
tools.color_converterColor Converter…Menu
tools.contactsContacts…Menu
tools.convert.base64.decodeDecodeMenu
tools.convert.base64.encodeEncodeMenu
tools.convert.csv.jsonJSONMenu
tools.convert.csv.tsvTSVMenu
tools.convert.html.markdownMarkdownMenu
tools.convert.json.csvCSVMenu
tools.convert.json.tomlTOMLMenu
tools.convert.json.tsvTSVMenu
tools.convert.json.yamlYAMLMenu
tools.convert.jwtJWT DecodeMenu
tools.convert.markdown.htmlHTMLMenu
tools.convert.number.binBinMenu
tools.convert.number.decDecMenu
tools.convert.number.hexHexMenu
tools.convert.number.octOctMenu
tools.convert.rot13ROT13Menu
tools.convert.toml.jsonJSONMenu
tools.convert.tsv.csvCSVMenu
tools.convert.tsv.jsonJSONMenu
tools.convert.unitUnit Converter…Menu
tools.convert.url.decodeDecodeMenu
tools.convert.url.encodeEncodeMenu
tools.convert.yaml.jsonJSONMenu
tools.dashboardWorkspace…Menu
tools.diffCompare With File…Menu
tools.draw.arrow_downArrow DownMenu
tools.draw.arrow_leftArrow LeftMenu
tools.draw.arrow_rightArrow RightMenu
tools.draw.arrow_upArrow UpMenu
tools.draw.color_boxColored BoxMenu
tools.draw.dashed_hHorizontal Dashed LineMenu
tools.draw.dashed_vVertical Dashed LineMenu
tools.draw.documentDocumentMenu
tools.draw.flowTwo-Box FlowMenu
tools.draw.line_hHorizontal LineMenu
tools.draw.line_vVertical LineMenu
tools.draw.pointPointMenu
tools.draw.rectangleRectangleMenu
tools.draw.roundedRounded RectangleMenu
tools.draw.storageStorageMenu
tools.edit_bytesBytes…Menu
tools.edit_jsonJSON…Menu
tools.edit_outlineOutline…Menu
tools.edit_sqlSQL…Menu
tools.edit_tableTable…Menu
tools.edit_yamlYAML…Menu
tools.file_infoFile…Menu
tools.format.json_minifyJSON MinifyMenu
tools.format.json_prettyJSON PrettyMenu
tools.format.tomlTOMLMenu
tools.format.yamlYAMLMenu
tools.hl7_sendHL7 Send…Menu
tools.hl7_viewHL7 ViewMenu
tools.html_charsHTML Characters…Menu
tools.http_copy_curlCopy HTTP Request as curlMenu
tools.http_environmentHTTP Environment…Menu
tools.http_fhir_bundleFHIR Bundle…Menu
tools.http_fhir_requestFHIR Request…Menu
tools.http_sendSend HTTP RequestMenu
tools.insert.block.centerCenterMenu
tools.insert.block.commentCommentMenu
tools.insert.block.quoteQuoteMenu
tools.insert.block.verseVerseMenu
tools.insert.datetime.epochEpochMenu
tools.insert.datetime.iso8601ISO 8601Menu
tools.insert.datetime.rfc3339RFC 3339Menu
tools.insert.html.headline1Headline 1Menu
tools.insert.html.headline2Headline 2Menu
tools.insert.html.headline3Headline 3Menu
tools.insert.html.linkLinkMenu
tools.insert.html.listListMenu
tools.insert.html.tableTableMenu
tools.insert.latex.boldBoldMenu
tools.insert.latex.centerCenterMenu
tools.insert.latex.deadlineDeadlineMenu
tools.insert.latex.drawerDrawerMenu
tools.insert.latex.headlineHeadlineMenu
tools.insert.latex.italicItalicMenu
tools.insert.latex.linkLinkMenu
tools.insert.latex.quoteQuoteMenu
tools.insert.latex.scheduledScheduledMenu
tools.insert.latex.subheadlineSubheadlineMenu
tools.insert.latex.tableTableMenu
tools.insert.latex.time_rangeTime RangeMenu
tools.insert.latex.timestampTimestampMenu
tools.insert.latex.timestamp_repeaterTimestamp RepeaterMenu
tools.insert.latex.underlineUnderlineMenu
tools.insert.latex.verseVerseMenu
tools.insert.lorem.paragraphParagraphMenu
tools.insert.lorem.sentenceSentenceMenu
tools.insert.lorem.wordsWordsMenu
tools.insert.markdown.headline1Headline 1Menu
tools.insert.markdown.headline2Headline 2Menu
tools.insert.markdown.headline3Headline 3Menu
tools.insert.markdown.linkLinkMenu
tools.insert.markdown.listListMenu
tools.insert.markdown.tableTableMenu
tools.insert.markdown.todosTodosMenu
tools.insert.marker.boldBold *Menu
tools.insert.marker.codeCode ~Menu
tools.insert.marker.italicItalic /Menu
tools.insert.marker.strikethroughStrikethrough +Menu
tools.insert.marker.tagTag :Menu
tools.insert.marker.underlineUnderline _Menu
tools.insert.marker.verbatimVerbatim =Menu
tools.insert.org.authorAuthorMenu
tools.insert.org.check_listCheck ListMenu
tools.insert.org.deadlineDeadlineMenu
tools.insert.org.doneDONEMenu
tools.insert.org.drawerDrawerMenu
tools.insert.org.headlineHeadlineMenu
tools.insert.org.imageImageMenu
tools.insert.org.linkLinkMenu
tools.insert.org.listListMenu
tools.insert.org.ordered_listOrdered ListMenu
tools.insert.org.propertiesPropertiesMenu
tools.insert.org.scheduledScheduledMenu
tools.insert.org.subheadlineSubheadlineMenu
tools.insert.org.tableTableMenu
tools.insert.org.time_rangeTime RangeMenu
tools.insert.org.timestampTimestampMenu
tools.insert.org.timestamp_repeaterTimestamp RepeaterMenu
tools.insert.org.titleTitleMenu
tools.insert.org.todoTODOMenu
tools.insert.sql.alter_roleAlter RoleMenu
tools.insert.sql.create_extensionCreate ExtensionMenu
tools.insert.sql.create_functionCreate FunctionMenu
tools.insert.sql.create_tableCreate TableMenu
tools.insert.sql.create_userCreate UserMenu
tools.insert.sql.grant_createGrant CreateMenu
tools.insert.sql.grant_usageGrant UsageMenu
tools.insert.uuid.v11 = Unsortable Time Count MACMenu
tools.insert.uuid.v22 = DCE SecurityMenu
tools.insert.uuid.v33 = MD5 NameMenu
tools.insert.uuid.v44 = RandomMenu
tools.insert.uuid.v55 = SHA-1 NameMenu
tools.insert.uuid.v66 = Sortable Time Count MACMenu
tools.insert.uuid.v77 = Time + RandomMenu
tools.insert.uuid.v88 = Custom PlaceholderMenu
tools.insert.zid.128128 bit = 32 hexMenu
tools.insert.zid.256256 bit = 64 hexMenu
tools.insert.zid.512512 bit = 128 hexMenu
tools.line_numbersToggle Line NumbersCatalog
tools.load_coverage_fileLoad Coverage File…Menu
tools.markdown_previewMarkdown Preview…Menu
tools.media_typesMedia Types…Menu
tools.nerd_paletteNerd Font Characters…Menu
tools.paletteCommand PaletteMenu
tools.pomodoroPomodoro…Menu
tools.qrcodeQR Code…Menu
tools.regex_testerRegex Tester…Menu
tools.run_commandRun Command…Menu
tools.snippet_new_from_selectionNew Snippet from Selection…Menu
tools.snippetsSnippets…Menu
tools.system_infoSystem…Menu
tools.tasksTasks…Menu
tools.terminalShow/Hide TerminalMenu
tools.testRun TestsMenu
tools.test_panelToggle Test PanelMenu
tools.text_infoText…Menu
tools.todo_finderFind TODOs…Menu
tools.todo_treeTodo TreeMenu
tools.toggle_coverage_gutterToggle Coverage GutterMenu
tools.x11_colorsX11 Colors…Menu
trim_trailing_whitespaceTrim Trailing WhitespaceCatalog
tutor.next_chapterTutorial: Next ChapterCatalog
tutor.prev_chapterTutorial: Previous ChapterCatalog
tutor.restart_chapterTutorial: Restart ChapterCatalog
undoUndoCatalog
unhighlight_searchClear Search HighlightCatalog
unsplitUnsplitCatalog
view.auto_pairAuto-Pair BracketsMenu
view.auto_saveAuto SaveMenu
view.bottom_dockShow/Hide Bottom DockMenu
view.breadcrumbsBreadcrumbsMenu
view.code_lensCode LensMenu
view.explorerToggle ExplorerCatalog
view.final_newline_on_saveFinal Newline on SaveMenu
view.focus_other_paneOther PaneMenu
view.format_on_saveFormat on SaveMenu
view.format_on_typeFormat on TypeMenu
view.highlight_wordHighlight Word OccurrencesMenu
view.inlay_hintsInlay HintsMenu
view.left_dockShow/Hide Left DockMenu
view.line_numbersShow/Hide Line NumbersMenu
view.menu_tooltipsToggle Menu TooltipsMenu
view.messagesView MessagesCatalog
view.minimapMinimapMenu
view.outline_dockOutline SidebarMenu
view.rainbow_bracketsRainbow BracketsMenu
view.read_onlyRead-OnlyMenu
view.relative_line_numbersRelative Line NumbersMenu
view.right_dockShow/Hide Right DockMenu
view.scrollbarShow/Hide Scroll BarMenu
view.soft_wrapShow/Hide Soft WrapMenu
view.spellcheckToggle SpellcheckMenu
view.split_horizontalHorizontalMenu
view.split_verticalVerticalMenu
view.status_barShow/Hide Bottom StatusMenu
view.sticky_scrollSticky ScrollMenu
view.theme_editEdit Theme…Menu
view.toggle_explorer_focusToggle Explorer FocusCatalog
view.toggle_menuToggle Menu BarCatalog
view.trim_on_saveTrim Whitespace on SaveMenu
view.unsplitUnsplitMenu
view.whitespaceShow/Hide WhitespaceMenu
view.zenZen ModeMenu
view.zoom_inZoom InMenu
view.zoom_outZoom OutMenu
view.zoom_resetReset ZoomMenu
vim.appendAppend After CursorCatalog
vim.append_endAppend at End of LineCatalog
vim.insertInsert Before CursorCatalog
vim.insert_line_startInsert at Start of LineCatalog
vim.open_aboveOpen Line AboveCatalog
vim.open_belowOpen Line BelowCatalog
vix.aboutAbout VixMenu
vix.emailEmailMenu
vix.export_settingsExport Settings…Menu
vix.import_settingsImport Settings…Menu
vix.licenseLicenseMenu
vix.reload_settingsReload SettingsMenu
vix.settingsSettings…Menu
vix.websiteWebsiteMenu
vsplitSplit VerticallyCatalog
word_leftWord LeftCatalog
word_rightWord RightCatalog
workspace.add_folderAdd Folder to Workspace…Menu
workspace.openOpen Workspace from File…Menu
workspace.saveSave 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.

KeyTypeDefaultDescription
line_numbersbooltrueShow the line-number gutter.
relative_line_numbersboolfalseShow line numbers relative to the cursor line (hybrid: cursor line absolute).
show_whitespaceboolfalseRender visible glyphs for whitespace (space, tab, line ending).
soft_wrapboolfalseWrap long lines across screen rows instead of scrolling horizontally.
rainbow_bracketsboolfalseColor matching brackets by nesting depth (rainbow brackets).
highlight_wordboolfalsePassively highlight every occurrence of the word under the cursor.
prose_soft_wrapbooltrueSoft-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_explorerbooltrueShow the file explorer on startup.
show_messagesbooltrueShow the message drawer on startup.
show_bottom_dockbooltrueShow the bottom dock (log/output/data panel).
show_status_barbooltrueShow the bottom status bar.
show_breadcrumbsboolfalseShow the breadcrumb bar (file ▸ enclosing symbol) above the editor.
show_outline_dockboolfalseShow the code-outline sidebar (symbol list that follows the cursor).
show_scrollbarbooltrueShow the editor’s right-side scroll bar.
show_minimapboolfalseShow a code-overview minimap column at the right of the editor.
show_menu_tooltipsbooltrueShow hover tooltips (help text) on the menu bar’s menus and items.
show_scrollbar_markersbooltrueMark the scroll bar track where git changes, diagnostics and search matches are.
preview_tabsbooltrueOpen single-clicked / arrow-scanned files in an ephemeral preview tab.
sticky_search_highlightbooltrueKeep 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_reviewbooltrueReview AI replace transforms (Annotate / Improve) as an accept/reject diff before applying, instead of overwriting the text immediately. On by default.
trim_trailing_whitespacebooltrueOn save, strip trailing spaces/tabs from every line.
ensure_final_newlinebooltrueOn save, append a final newline if the file does not end with one.
format_on_saveboolfalseOn save, run the language server’s formatter (when the file has one).
prettier_languagesVec<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_saveAutoSave"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_scrollbooltruePin the enclosing scope’s header line at the top of the editor while scrolling (sticky scroll).
persistent_undobooltruePersist each file’s undo tree across sessions (restored on reopen when the file content still matches).
local_history_keepusize50How 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_mbu6450Ask 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_pathsVec<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_pathsVec<String>["**/.git/**"]Path globs the session never records (T662), such as Git’s COMMIT_EDITMSG, so they never reopen at a stale cursor.
editorconfigbooltrueApply .editorconfig rules (indent style/size, trim/final-newline on save) for opened files, overriding the global settings per file. On by default.
modeline_linesusize5How 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_pairbooltrueAuto-insert the matching closer when an opening bracket/quote is typed (and delete both with Backspace inside an empty pair). On by default.
spellcheckboolfalseUnderline misspelled words in comments and strings.
restore_sessionbooltrueReopen 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_dialogbooltrueShow 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_exitbooltrueHot 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_enabledbooltrueMaster switch for Language Server Protocol features (diagnostics, hover, go-to-definition, completion). When off, no servers are launched.
modal_enginebooltrueUse 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_blameboolfalseShow the git blame for the cursor’s line inline (dimmed, end of line). Off by default; toggle via Git → Toggle Inline Blame.
code_lensbooltrueDraw code lenses – a language server’s “Run | Debug | 3 references” and local “Run test” – as dimmed rows above their lines.
document_colorsbooltrueDraw a ■ swatch for each color a language server reports (textDocument/documentColor, T621).
lsp_auto_completebooltrueRequest LSP completion automatically while typing an identifier or a server trigger character (debounced), instead of only on Ctrl+Space. On by default.
format_on_typeboolfalseAsk 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_doneboolfalseRing 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_deleteString"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_viewString"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_agentString"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_baseString"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_commitString"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_engineString"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_modeString"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_providerString"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_diagnosticsString"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_completionString"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_heightu169Height (rows) of the bottom dock; drag its top edge to resize.
scrollbackusize1000Maximum lines retained in the bottom dock (scrollback); oldest dropped past this.
terminal_scrollbackusize2000Lines 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_styleString"spaces"Indentation inserted by Tab: "spaces" (default) or "tabs".
tab_widthusize4Number of spaces per indent when indent_style is "spaces".
wrap_columnusize80Column that Edit → Wrap hard-wraps (fills) text at.
themeString"dark"Color theme: "dark" (default), "light", the name of a custom theme, or "auto" to follow the terminal’s light/dark background (T579).
theme_lightString"light"The theme theme = "auto" picks on a light terminal (default "light").
theme_darkString"dark"The theme theme = "auto" picks on a dark terminal, or when the background can’t be detected (default "dark").
localeString"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.
bidiString"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_layoutString"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).
keymapString"apple"Keyboard navigation style id: "apple" (default), "vscode", "emacs", or "vi".
explorer_widthu1624Width (columns) of the left dock (file explorer); drag its right edge to resize.
messages_widthu1626Width (columns) of the right dock (message drawer); drag its left edge to resize.
outline_widthu1628Width (columns) of the code-outline sidebar.
debug_widthu1636Width (columns) of the debugger panel (call stack / variables / watch).
recent_filesVec<String>[]Recently opened files, most-recent first (absolute paths). Capped to recent_files_max; surfaced by File → Open Recent….
recent_files_maxusize15How many entries to keep in recent_files.
command_recentsVec<String>[]Action ids of commands recently run from the command palette, most-recent first; surfaced at the top of the > command list.
dictionary_pathString""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_serversVec<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_dirString""Directory of vCard (.vcf) files for the contact browser (Tools → Contacts…). Empty = use the workspace root.
org_capture_templatesVec<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_highestchar"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_lowestchar"9"Lowest-priority character; see org_priority_highest.
org_priority_defaultchar"0"Priority given to a headline that had no cookie yet, by Org → Priority → Increase/Decrease.
org_agenda_filesVec<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_zoneString"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_weekdayString"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".
aiString"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_commandString"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_providerString"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_endpointString""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_modelString""HTTP provider model id override (T124); empty uses the provider’s own default. Ignored when ai_provider is "cli".
ai_api_key_commandString""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_agentsVec<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_adaptersVec<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_commandString"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_snippetsString"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_pathString""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_widthu1640Width (columns) of the test-results panel.
db_connectionsVec<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_environmentsstd::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_sharedstd::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.nickString""Your nick. Empty (the default) uses the operating system’s user name.
im.notifyString"mentions"When a new message raises a notification: "all", "mentions" (default) or "off". Any other value behaves as "mentions".
im.historyString"session"Where messages are kept: "session" (default; memory only) or "disk" (JSONL per conversation under the platform data directory).
im.history_daysu3230With history = "disk", how many days of messages to keep.
im.blockedVec<String>[]Nicks whose messages and mentions are hidden.
im.accountsVec<ImAccount>[]IRC and Matrix accounts for IM → Connect…, as [[im.accounts]] tables.
im.matrix_helperString""The vix-matrix helper program for Matrix accounts. Empty (the default) looks for vix-matrix beside the vix executable, then on PATH.
jupyter_confirm_evaluateString"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_kernelsstd::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.
languagesstd::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.

LayerCrates
51
42
319
29
154
064

Layer 5 (1 crate)

CrateLayerDirect workspace dependenciesDependents
vix-tui5vix-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-tool0

Layer 4 (2 crates)

CrateLayerDirect workspace dependenciesDependents
vix-fhir4vix-http-client, vix-list-state1
vix-script4vix-git, vix-macros1

Layer 3 (19 crates)

CrateLayerDirect workspace dependenciesDependents
vix-coverage3vix-authority1
vix-dap3vix-authority, vix-lsp-core, vix-settings1
vix-db3vix-clipboard, vix-fileops, vix-i18n, vix-input, vix-list-state, vix-settings, vix-theme1
vix-doctor3vix-i18n, vix-settings, vix-spellcheck1
vix-editor3vix-authority, vix-editor-core, vix-encoding, vix-fileops, vix-textops, vix-theme1
vix-editorconfig3vix-authority1
vix-file-browser-panel3vix-authority, vix-list-state, vix-palette1
vix-format-tool3vix-authority1
vix-git3vix-authority, vix-civil-date, vix-list-state2
vix-git-graph3vix-authority, vix-list-state1
vix-http-client3vix-authority2
vix-left-dock3vix-authority, vix-list-state1
vix-lsp3vix-authority, vix-lsp-core, vix-project-env, vix-settings1
vix-org-capture3vix-settings1
vix-settings-bundle3vix-settings, vix-theme-model1
vix-snippets3vix-list-state, vix-settings, vix-snippet-tool1
vix-tasks3vix-authority1
vix-undo-store3vix-editor-core, vix-fileops, vix-settings1
vix-workspace3vix-authority1

Layer 2 (9 crates)

CrateLayerDirect workspace dependenciesDependents
vix-ai-agents2vix-fileops1
vix-authority2vix-fileops14
vix-column-view2vix-input, vix-org1
vix-macros2vix-fileops, vix-input2
vix-markdown-preview2vix-outline-panel1
vix-mcp-server2vix-conflict-tool, vix-lsp-core, vix-org, vix-textops1
vix-oci-panel2vix-input, vix-list-state, vix-oci1
vix-session2vix-fileops1
vix-settings2vix-fileops9

Layer 1 (54 crates)

CrateLayerDirect workspace dependenciesDependents
vix-ai-panel1vix-greedy-wrap1
vix-ascii-character-picker1vix-list-state1
vix-base161vix-hex-rgb, vix-theme-model1
vix-calendar-panel1vix-i18n1
vix-choice-list1vix-list-state1
vix-clock-panel1vix-time-zone-model1
vix-conflict-tool1vix-list-state2
vix-contact-panel1vix-list-state1
vix-convert-from-csv-into-json-tool1vix-convert-tabular1
vix-convert-from-csv-into-tsv-tool1vix-convert-tabular1
vix-convert-from-html-into-markdown-tool1vix-convert-tabular1
vix-convert-from-json-into-csv-tool1vix-convert-tabular1
vix-convert-from-json-into-toml-tool1vix-convert-tabular1
vix-convert-from-json-into-tsv-tool1vix-convert-tabular1
vix-convert-from-json-into-yaml-tool1vix-convert-tabular1
vix-convert-from-markdown-into-html-tool1vix-convert-tabular1
vix-convert-from-toml-into-json-tool1vix-convert-tabular1
vix-convert-from-tsv-into-csv-tool1vix-convert-tabular1
vix-convert-from-tsv-into-json-tool1vix-convert-tabular1
vix-convert-from-yaml-into-json-tool1vix-convert-tabular1
vix-cowork-net1vix-cowork1
vix-edit-bytes1vix-capped-stack, vix-input, vix-list-state1
vix-edit-outline1vix-capped-stack, vix-input, vix-list-state1
vix-edit-sql1vix-capped-stack, vix-input, vix-list-state1
vix-edit-table1vix-capped-stack, vix-convert-tabular, vix-input1
vix-edit-value1vix-capped-stack, vix-input, vix-list-state1
vix-editor-core1vix-clipboard, vix-hex-rgb, vix-input3
vix-file-information-panel1vix-byte-size, vix-civil-date, vix-i18n, vix-list-state1
vix-fileops1vix-encoding9
vix-hl71vix-list-state1
vix-html-character-picker1vix-list-state1
vix-im-irc1vix-civil-date1
vix-im-panel1vix-im, vix-input, vix-list-state1
vix-jupyter1vix-jupyter-core1
vix-large-file1vix-input1
vix-media-type1vix-list-state1
vix-menu1vix-i18n, vix-keymap-model, vix-locale-model, vix-time-zone-model1
vix-modal1vix-textops1
vix-oci1vix-civil-date2
vix-org1vix-civil-date3
vix-outline-panel1vix-list-state2
vix-palette1vix-i18n, vix-textops2
vix-review1vix-diff-view1
vix-system-information-panel1vix-byte-size, vix-i18n, vix-list-state1
vix-terminal1vix-input, vix-project-env1
vix-text-information-panel1vix-i18n1
vix-theme1vix-theme-model3
vix-theme-editor-panel1vix-list-state, vix-theme-model1
vix-todo-tree1vix-list-state, vix-textops1
vix-undo-tree-panel1vix-list-state1
vix-vcard-panel1vix-list-state, vix-vcard-parser1
vix-welcome-panel1vix-greedy-wrap1
vix-workspace-search1vix-find-panel, vix-i18n1
vix-x11-color-picker1vix-list-state1

Layer 0 (64 crates)

CrateLayerDirect workspace dependenciesDependents
vix-acp0none1
vix-action-catalog0none1
vix-affix0none1
vix-ai-core0none1
vix-ai-diff0none1
vix-align0none1
vix-base-tool0none1
vix-base64-tool0none1
vix-bottom-dock0none1
vix-byte-size0none3
vix-calculator-tool0none1
vix-capped-stack0none5
vix-case0none1
vix-checksum-tool0none1
vix-civil-date0none5
vix-clipboard0none3
vix-color-converter-tool0none1
vix-convert-tabular0none14
vix-cowork0none2
vix-diff-view0none2
vix-emmet0none1
vix-encoding0none3
vix-find-panel0none2
vix-greedy-wrap0none2
vix-hex-rgb0none2
vix-i18n0none10
vix-im0none2
vix-input0none14
vix-jupyter-core0none1
vix-jwt-tool0none1
vix-keybinding-editor-panel0none1
vix-keybindings0none1
vix-keyboard-shortcut-panel0none1
vix-keymap-model0none2
vix-list-state0none29
vix-locale-model0none2
vix-lorem0none1
vix-lsp-core0none4
vix-matrix-protocol0none1
vix-nerd-font-picker0none1
vix-org-contacts0none1
vix-org-table0none1
vix-pomodoro-tool0none1
vix-project-env0none3
vix-qr-tool0none1
vix-regex-tool0none1
vix-right-dock0none1
vix-roam0none1
vix-snippet-tool0none2
vix-spellcheck0none2
vix-status-bar-panel0none1
vix-structural-replace0none1
vix-tags0none1
vix-test-runner0none1
vix-textops0none6
vix-theme-model0none5
vix-time-zone-model0none3
vix-tutor0none1
vix-unit-converter-tool0none1
vix-url-tool0none1
vix-uuid-tool0none1
vix-vcard-parser0none2
vix-workspace-dashboard-panel0none1
vix-zid-tool0none1

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

MetricValue
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.

LayerCrates
51
42
319
29
154
064

Translations

4,166 keys; a locale missing a key falls back to en. Locales with only a few keys are deliberate partial catalogs.

LocaleKeysMissingComplete
ar4,1660100.0%
bn4,1660100.0%
cy4,1660100.0%
de4,1660100.0%
en4,1660100.0%
es4,1660100.0%
fr4,1660100.0%
ga4,1660100.0%
gd4,1660100.0%
hi4,1660100.0%
ja4,1660100.0%
pl4,1660100.0%
pt4,1660100.0%
ru4,1660100.0%
zh4,1660100.0%
tlh214,1450.5%
sjn194,1470.4%
el164,1500.3%
fa164,1500.3%
id164,1500.3%
it164,1500.3%
ko164,1500.3%
nl164,1500.3%
th164,1500.3%
tr164,1500.3%
uk164,1500.3%
vi164,1500.3%

Allowlists

Each entry is an exception someone wrote down with a reason; a growing count is worth a look.

AllowlistEntriesWhere
Files that may print4 (17 print macros)PRINT_ALLOWED in tui/tests/code_lints.rs
Untranslated message-sink literals0SINK_ALLOWED in tui/tests/code_lints.rs
Files that may hold secret-shaped text0allow lines in scripts/secret-patterns
Equivalent mutants14exclude_re in .cargo/mutants.toml
Ignored security advisories3[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.

CratesrctestsTest fnsProperty testsIgnored
vix-acp2,7003004800
vix-action-catalog1,1000400
vix-affix1000300
vix-ai-agents1,70002100
vix-ai-core8002003000
vix-ai-diff3000900
vix-ai-panel2000400
vix-align1000400
vix-ascii-character-picker3000500
vix-authority8,9004,50019570
vix-base-tool2000600
vix-base162000300
vix-base64-tool1000620
vix-bottom-dock3000500
vix-byte-size2000700
vix-calculator-tool30001020
vix-calendar-panel60001200
vix-capped-stack1000400
vix-case2000500
vix-checksum-tool1000500
vix-choice-list2000400
vix-civil-date2000500
vix-clipboard400100800
vix-clock-panel3000500
vix-color-converter-tool6000800
vix-column-view1,40002700
vix-conflict-tool50002100
vix-contact-panel1000200
vix-convert-from-csv-into-json-tool<500100
vix-convert-from-csv-into-tsv-tool<500100
vix-convert-from-html-into-markdown-tool<500310
vix-convert-from-json-into-csv-tool<500200
vix-convert-from-json-into-toml-tool1000410
vix-convert-from-json-into-tsv-tool<500200
vix-convert-from-json-into-yaml-tool1000510
vix-convert-from-markdown-into-html-tool1000310
vix-convert-from-toml-into-json-tool<500310
vix-convert-from-tsv-into-csv-tool<500100
vix-convert-from-tsv-into-json-tool<500100
vix-convert-from-yaml-into-json-tool1000510
vix-convert-tabular50001530
vix-coverage50001100
vix-cowork5,0009009870
vix-cowork-net1,3007003100
vix-dap2,8006002600
vix-db31,200054100
vix-diff-view60001300
vix-doctor4000600
vix-edit-bytes4000600
vix-edit-outline90002900
vix-edit-sql1,1001002930
vix-edit-table8003002600
vix-edit-value2,00005040
vix-editor3,2001,6009140
vix-editor-core17,600400359100
vix-editorconfig9002003640
vix-emmet40001020
vix-encoding5000900
vix-fhir1,9002003400
vix-file-browser-panel90001200
vix-file-information-panel5000600
vix-fileops4,20008000
vix-find-panel1,1001002740
vix-format-tool50001300
vix-git4,2001,0009200
vix-git-graph1,0002001520
vix-greedy-wrap1000700
vix-hex-rgb1000200
vix-hl71,9002005380
vix-html-character-picker3000800
vix-http-client2,9001006520
vix-i18n4000700
vix-im2,7001006270
vix-im-irc3,1004006670
vix-im-panel6000600
vix-input6000700
vix-jupyter1,8001,5004900
vix-jupyter-core3,1009008950
vix-jwt-tool2000620
vix-keybinding-editor-panel4000600
vix-keybindings3,50004500
vix-keyboard-shortcut-panel3000300
vix-keymap-model1000100
vix-large-file2,1008004930
vix-left-dock4000100
vix-list-state30001700
vix-locale-model3000600
vix-lorem1000300
vix-lsp6,700011000
vix-lsp-core5,30030011920
vix-macros3000400
vix-markdown-preview50001100
vix-matrix-protocol1,1004001940
vix-mcp-server2,40004000
vix-media-type3000610
vix-menu4,20002700
vix-modal4,100010610
vix-nerd-font-picker5000600
vix-oci2,1002004600
vix-oci-panel1,30002600
vix-org6,900013820
vix-org-capture1,3003003500
vix-org-contacts40001720
vix-org-table2,6003006720
vix-outline-panel2000400
vix-palette1,4001002350
vix-pomodoro-tool4000800
vix-project-env1,30003000
vix-qr-tool1000310
vix-regex-tool2000500
vix-review1,80002600
vix-right-dock2000200
vix-roam80001400
vix-script2,1001,1005100
vix-session90001900
vix-settings2,50002600
vix-settings-bundle60001500
vix-snippet-tool1,30001700
vix-snippets1,10003400
vix-spellcheck80002101
vix-status-bar-panel2000600
vix-structural-replace80001600
vix-system-information-panel5000600
vix-tags50001410
vix-tasks6,800500163100
vix-terminal2,00003400
vix-test-runner3000700
vix-text-information-panel3000600
vix-textops2,00005140
vix-theme60001400
vix-theme-editor-panel4000700
vix-theme-model90001100
vix-time-zone-model2,7000400
vix-todo-tree5000800
vix-tui116,40044,9002,65607
vix-tutor50001400
vix-undo-store1,10001700
vix-undo-tree-panel5000700
vix-unit-converter-tool6000700
vix-url-tool1000620
vix-uuid-tool2000600
vix-vcard-panel2000200
vix-vcard-parser3000920
vix-welcome-panel4000600
vix-workspace3000400
vix-workspace-dashboard-panel1000100
vix-workspace-search80001000
vix-x11-color-picker3000900
vix-zid-tool1000400

Desktop GUIs

CratesrctestsTest fnsProperty testsIgnored
vix-bui3,80006300
vix-egui2,1001002000
vix-gpui1,70001600
vix-gtk42,30002300
vix-iced2,30002100
vix-slint2,70002500
vix-zgui2,20002600

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 in bin/test-coverage, which make coverage runs), and in CI’s coverage job; see spec/ci.
  • Mutation score: .github/workflows/mutants.yml runs cargo mutants weekly and uploads mutants.out/; see spec/test.
  • Flakiness: scripts/flaky-hunt reruns a test under load; see spec/test.
  • Speed and memory: the Criterion benchmarks and the VIX_PROFILE frame 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.

KeyActionAction ID
C-SpaceCompletionlsp.complete
C-TabNext Tabtab.next
C-BackTabPrevious Tabtab.prev
A-LeftBacknav.back
A-RightForwardnav.forward
F1Keyboard Shortcutshelp.shortcuts
F12Go to Definitionnav.goto_definition
F2Rename Symbollsp.rename
F6Other Paneview.focus_other_pane
F10Toggle Menu Barview.toggle_menu
S-F3Find Previousedit.find_prev
F3Find Nextedit.find_next
A-jRecent 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

KeyActionAction ID
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-;Spelling Suggestionsspell.suggest
C-S-/Commentedit.toggle_comment
C-S-7Commentedit.toggle_comment
C-S-;Spelling Suggestionsspell.suggest
C-S-]Jump to Matching Bracketedit.match_bracket
C-S-_Commentedit.toggle_comment
C-S-bOutlinenav.outline
C-S-eToggle Explorer Focusview.toggle_explorer_focus
C-S-fSearch in Workspacesearch.workspace
C-S-gFind Previousedit.find_prev
C-S-nNewfile.new
C-S-oOpen Recent…file.open_recent
C-S-pCommand Palettetools.palette
C-S-qQuitfile.quit
C-S-rFind & Replaceedit.replace
C-S-sSave As…file.save_as
C-S-tReopen Closed Tabfile.reopen_closed
C-S-wClose All Tabsfile.close_all
C-]Jump to Matching Bracketedit.match_bracket
C-_Commentedit.toggle_comment
C-bToggle Explorerview.explorer
C-eToggle Explorer Focusview.toggle_explorer_focus
C-fFind…edit.find
C-gFind Nextedit.find_next
C-nNewfile.new
C-oOpen…file.open
C-pCommand Palettetools.palette
C-qQuitfile.quit
C-rFind & Replaceedit.replace
C-sSavefile.save
C-tGo to Symbol in Workspacenav.goto_workspace_symbol
C-wClosefile.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

KeyActionAction ID
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-S-\Jump to Matching Bracketedit.match_bracket
C-S-eToggle Explorer Focusview.toggle_explorer_focus
C-S-fSearch in Workspacesearch.workspace
C-S-gFind Previousedit.find_prev
C-S-kCut Linecut_line
C-S-lSelect All Occurrencesedit.select_all_occurrences
C-S-mDiagnostics…lsp.diagnostics
C-S-oGo to Symbolnav.goto_symbol
C-S-pCommand Palettetools.palette
C-S-sSave As…file.save_as
C-S-tReopen Closed Tabfile.reopen_closed
C-S-wClose All Tabsfile.close_all
C-\Verticalview.split_vertical
C-]Jump to Matching Bracketedit.match_bracket
C-_Commentedit.toggle_comment
`C-``Show/Hide Terminaltools.terminal
C-bToggle Explorerview.explorer
C-fFind…edit.find
C-gNumbernav.goto_line
C-jShow/Hide Bottom Dockview.bottom_dock
C-nNewfile.new
C-pOpen…file.open
C-qQuitfile.quit
C-rFind & Replaceedit.replace
C-sSavefile.save
C-tGo to Symbol in Workspacenav.goto_workspace_symbol
C-wClosefile.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

KeyActionAction ID
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-S-\Jump to Matching Bracketedit.match_bracket
C-S-eToggle Explorer Focusview.toggle_explorer_focus
C-S-fSearch in Workspacesearch.workspace
C-S-gFind Previousedit.find_prev
C-S-kCut Linecut_line
C-S-lSelect All Occurrencesedit.select_all_occurrences
C-S-mDiagnostics…lsp.diagnostics
C-S-oGo to Symbolnav.goto_symbol
C-S-pCommand Palettetools.palette
C-S-sSave As…file.save_as
C-S-tReopen Closed Tabfile.reopen_closed
C-S-wClose All Tabsfile.close_all
C-\Verticalview.split_vertical
C-]Jump to Matching Bracketedit.match_bracket
C-_Commentedit.toggle_comment
`C-``Show/Hide Terminaltools.terminal
C-bToggle Explorerview.explorer
C-fFind…edit.find
C-gNumbernav.goto_line
C-jShow/Hide Bottom Dockview.bottom_dock
C-nNewfile.new
C-pOpen…file.open
C-qQuitfile.quit
C-rFind & Replaceedit.replace
C-sSavefile.save
C-tGo to Symbol in Workspacenav.goto_workspace_symbol
C-wClosefile.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

KeyActionAction ID
A-<Startedit.go_first
A->Endedit.go_last
A-bPreviousnav.word_prev
A-fNextnav.word_next
A-tWordsedit.transpose_words
A-vMotion: Page Upmotion.page_up
A-wCopyedit.copy
A-xCommand Palettetools.palette
A-|Pipe Through Command…edit.pipe_selection
C-/Undoedit.undo
C-7Undoedit.undo
C-_Undoedit.undo
C-aMotion: Homemotion.home
C-bCharacter Leftmotion.char_left
C-dDelete Forwardmotion.delete_forward
C-eMotion: Endmotion.end
C-fCharacter Rightmotion.char_right
C-gKeyboard Quitedit.keyboard_quit
C-kCut Linecut_line
C-nLine Downmotion.line_down
C-pLine Upmotion.line_up
C-sFind…edit.find
C-tCharactersedit.transpose_chars
C-vMotion: Page Downmotion.page_down
C-wCutedit.cut
C-yPasteedit.paste

After C-x

KeyActionAction ID
0Unsplitview.unsplit
1Unsplitview.unsplit
2Horizontalview.split_horizontal
3Verticalview.split_vertical
C-bSwitch Buffernav.switch_buffer
C-cQuitfile.quit
C-fOpen…file.open
C-sSavefile.save
bSwitch Buffernav.switch_buffer
kClosefile.close
oOther Paneview.focus_other_pane

After C-c

KeyActionAction ID
!Insert Inactive Timestamporg.timestamp_inactive
'Edit Source Blockorg.edit_src
+Sum Columnorg.table.sum_column
-Insert Horizontal Lineorg.table.insert_hline
.Insert Timestamporg.timestamp
/Sparse Tree Match…org.sparse.match
C-cRefresh Contextorg.ctrl_c_ctrl_c
C-dDeadline…org.deadline
C-lInsert Link…org.link.insert
C-oFollow Linkorg.link.follow
C-qSet Tags…org.set_tags
C-sSchedule Item…org.schedule
C-tCycle TODOorg.cycle_todo
C-wRefile Subtree…org.refile
^Sort Table…org.table.sort
aWeekly/Daily Agendaorg.agenda
lStore Link to Hereorg.link.store
|Create Table from Selectionorg.table.create_from_region

After C-c C-x

KeyActionAction ID
<Set Restriction Lock (This File)org.agenda.lock
>Remove Restriction Lockorg.agenda.unlock
C-cTurn Onorg.column_view
C-iClock Inorg.clock_in
C-oClock Outorg.clock_out
C-sArchive Subtree to Fileorg.archive.subtree
C-uUpdate Dynamic Block at Pointorg.columns.update_dblock
C-wCut Subtreeorg.subtree.cut
C-yPaste Subtreeorg.subtree.paste
aToggle ARCHIVE Tagorg.archive.tag
fFootnote New/Jumporg.footnote

After C-c p c

KeyActionAction ID
.Test at Pointproject.test_at_point
XRepeat Last Taskproject.repeat_last_task
cCompileproject.compile
iInstallproject.install
oConfigureproject.configure
pPackageproject.package
rRunproject.run
tTestproject.test
xRun Task…project.run_task

After C-c p c m

KeyActionAction ID
cCompileproject.subproject.compile
fFind Fileproject.subproject.find_file
iInstallproject.subproject.install
oConfigureproject.subproject.configure
pPackageproject.subproject.package
rRunproject.subproject.run
tTestproject.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

KeyActionAction ID
$Motion: Endmotion.end
%Jump to Matching Bracketedit.match_bracket
/Find…edit.find
0Motion: Homemotion.home
AAppend at End of Linevim.append_end
DownLine Downmotion.line_down
GEndedit.go_last
IInsert at Start of Linevim.insert_line_start
LeftCharacter Leftmotion.char_left
NFind Previousedit.find_prev
OOpen Line Abovevim.open_above
RightCharacter Rightmotion.char_right
UpLine Upmotion.line_up
^Motion: Homemotion.home
aAppend After Cursorvim.append
bPreviousnav.word_prev
hCharacter Leftmotion.char_left
iInsert Before Cursorvim.insert
jLine Downmotion.line_down
kLine Upmotion.line_up
lCharacter Rightmotion.char_right
nFind Nextedit.find_next
oOpen Line Belowvim.open_below
pPasteedit.paste
uUndoedit.undo
wNextnav.word_next
xDelete Forwardmotion.delete_forward

After g

KeyActionAction ID
gStartedit.go_first

After d

KeyActionAction ID
dCut Linecut_line

After y

KeyActionAction ID
yCopy Linecopy_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

KeyActionAction ID
Command Palettetools.palette
;Commentedit.toggle_comment
bdClosefile.close
bnNext Tabtab.next
bpPrevious Tabtab.prev
ffOpen…file.open
fpSwitch Project…file.switch_project
frOpen Recent…file.open_recent
fsSavefile.save
gbBlame Linegit.blame
ggStatus…git.status
gsChanges…git.changes
pfCommand Palettetools.palette
ppSwitch Project…file.switch_project
ptToggle Explorerview.explorer
qqQuitfile.quit
spSearch in Workspacesearch.workspace
ssFind…edit.find
tnShow/Hide Line Numbersview.line_numbers
twShow/Hide Whitespaceview.whitespace
w-Horizontalview.split_horizontal
w/Verticalview.split_vertical
wdUnsplitview.unsplit
wwOther Paneview.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

KeyActionAction ID
C-,Settings…vix.settings
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-A-lFormat Documentlsp.format
C-A-oGo to Symbol in Workspacenav.goto_workspace_symbol
C-S-aCommand Palettetools.palette
C-S-fSearch in Workspacesearch.workspace
C-S-gFind Previousedit.find_prev
C-S-nNewfile.new
C-S-oOpen…file.open
C-S-rSearch and Replace in Workspacesearch.workspace_replace
C-S-sSave As…file.save_as
C-S-wClose All Tabsfile.close_all
C-_Commentedit.toggle_comment
C-bGo to Definitionnav.goto_definition
C-dDuplicate Lineedit.duplicate_line
C-fFind…edit.find
C-gFind Nextedit.find_next
C-lNumbernav.goto_line
C-nNewfile.new
C-oGo to Symbolnav.goto_symbol
C-rFind & Replaceedit.replace
C-sSavefile.save
C-wClosefile.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

KeyActionAction ID
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-A-lFormat Documentlsp.format
C-A-oGo to Symbol in Workspacenav.goto_workspace_symbol
C-S-aCommand Palettetools.palette
C-S-fSearch in Workspacesearch.workspace
C-S-gNumbernav.goto_line
C-S-nOpen…file.open
C-S-rSearch and Replace in Workspacesearch.workspace_replace
C-S-sSave As…file.save_as
C-S-wClose All Tabsfile.close_all
C-_Commentedit.toggle_comment
C-bGo to Definitionnav.goto_definition
C-dDuplicate Lineedit.duplicate_line
C-fFind…edit.find
C-gNumbernav.goto_line
C-nGo to Symbolnav.goto_symbol
C-rFind & Replaceedit.replace
C-sSavefile.save
C-wClosefile.close
C-yDelete Linedelete_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

KeyActionAction ID
A-/Autocomplete Wordautocomplete
C-/Commentedit.toggle_comment
C-3Command Palettetools.palette
C-7Commentedit.toggle_comment
C-S-bToggle Breakpointrun.toggle_breakpoint
C-S-fFormat Documentlsp.format
C-S-kFind Previousedit.find_prev
C-S-rOpen…file.open
C-S-sSave As…file.save_as
C-S-tGo to Symbol in Workspacenav.goto_workspace_symbol
C-S-wClose All Tabsfile.close_all
C-_Commentedit.toggle_comment
C-bRun Teststools.test
C-dDelete Linedelete_line
C-fFind…edit.find
C-hSearch in Workspacesearch.workspace
C-kFind Nextedit.find_next
C-lNumbernav.goto_line
C-nNewfile.new
C-oGo to Symbolnav.goto_symbol
C-rFind & Replaceedit.replace
C-sSavefile.save
C-wClosefile.close
C-yRedoedit.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

KeyActionAction ID
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-S-dDuplicate Lineedit.duplicate_line
C-S-fSearch in Workspacesearch.workspace
C-S-kCut Linecut_line
C-S-pCommand Palettetools.palette
C-S-sSave As…file.save_as
C-S-tReopen Closed Tabfile.reopen_closed
C-S-wClose All Tabsfile.close_all
C-_Commentedit.toggle_comment
`C-``Show/Hide Terminaltools.terminal
C-bRun Teststools.test
C-dSelect All Occurrencesedit.select_all_occurrences
C-fFind…edit.find
C-gNumbernav.goto_line
C-hFind & Replaceedit.replace
C-jJoin Linesedit.join_lines
C-lSelect Lineedit.select_line
C-mJump to Matching Bracketedit.match_bracket
C-nNewfile.new
C-pOpen…file.open
C-rGo to Symbolnav.goto_symbol
C-sSavefile.save
C-wClosefile.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

KeyActionAction ID
A-,Previous Changegit.diff_prev
A-.Next Changegit.diff_next
A-DownMove Downedit.move_line_down
A-UpMove Upedit.move_line_up
C-,Settings…vix.settings
C-.Code Action…lsp.code_action
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-S-dDuplicate Lineedit.duplicate_line
C-S-eToggle Explorer Focusview.toggle_explorer_focus
C-S-fSearch in Workspacesearch.workspace
C-S-gChanges…git.changes
C-S-kCut Linecut_line
C-S-lSelect All Occurrencesedit.select_all_occurrences
C-S-mDiagnostics…lsp.diagnostics
C-S-oGo to Symbolnav.goto_symbol
C-S-pCommand Palettetools.palette
C-S-sSave As…file.save_as
C-S-tReopen Closed Tabfile.reopen_closed
C-S-wClose All Tabsfile.close_all
C-_Commentedit.toggle_comment
`C-``Show/Hide Terminaltools.terminal
C-bToggle Explorerview.explorer
C-eOpen…file.open
C-fFind…edit.find
C-gNumbernav.goto_line
C-hFind & Replaceedit.replace
C-jShow/Hide Bottom Dockview.bottom_dock
C-lSelect Lineedit.select_line
C-mJump to Matching Bracketedit.match_bracket
C-nNewfile.new
C-pOpen…file.open
C-qQuitfile.quit
C-sSavefile.save
C-tGo to Symbol in Workspacenav.goto_workspace_symbol
C-wClosefile.close

After C-k

KeyActionAction ID
C-0Fold Alleditor.fold_all
C-cCommentedit.toggle_comment
C-jUnfold Alleditor.unfold_all
C-lToggle Foldeditor.fold_toggle
C-oOpen Path…file.open_path
C-sKeyboard Shortcutshelp.shortcuts
C-wClose All Tabsfile.close_all
C-zShow/Hide Soft Wrapview.soft_wrap
vMarkdown 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

KeyActionAction ID
A-.Code Action…lsp.code_action
A-/Search in Workspacesearch.workspace
A-DownMove Downedit.move_line_down
A-LeftBacknav.back
A-RightForwardnav.forward
A-UpMove Upedit.move_line_up
C-/Commentedit.toggle_comment
C-7Commentedit.toggle_comment
C-S-nFind Previousedit.find_prev
C-]Jump to Matching Bracketedit.match_bracket
C-_Commentedit.toggle_comment
C-bToggle Explorerview.explorer
C-eToggle Explorer Focusview.toggle_explorer_focus
C-fFind…edit.find
C-gNumbernav.goto_line
C-hDelete Word Leftdelete_word_left
C-kCut to Line Endcut_to_line_end
C-lSelect Lineedit.select_line
C-nNewfile.new
C-oOpen Path…file.open_path
C-pOpen…file.open
C-qQuitfile.quit
C-rFind & Replaceedit.replace
C-sSavefile.save
C-tCharactersedit.transpose_chars
C-wSelect Wordselect_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

KeyActionAction ID
A-,Previous Tabtab.prev
A-.Next Tabtab.next
A-DownMove Downedit.move_line_down
A-UpMove Upedit.move_line_up
C-.Code Action…lsp.code_action
C-/Commentedit.toggle_comment
C-0Toggle Explorer Focusview.toggle_explorer_focus
C-7Commentedit.toggle_comment
C-_Commentedit.toggle_comment
C-bToggle Explorerview.explorer
C-fFind…edit.find
C-gNumbernav.goto_line
C-nNewfile.new
C-pCommand Palettetools.palette
C-qQuitfile.quit
C-rFind & Replaceedit.replace
C-sSavefile.save
C-tShow/Hide Terminaltools.terminal
C-uCompletionlsp.complete
C-wClosefile.close

After C-k

KeyActionAction ID
,Settings…vix.settings
0Fold Alleditor.fold_all
9Unfold Alleditor.unfold_all
[Toggle Foldeditor.fold_toggle
bShow/Hide Bottom Dockview.bottom_dock
cChanges…git.changes
eToggle Explorerview.explorer
fSearch in Workspacesearch.workspace
iHoverlsp.hover
jJoin Linesedit.join_lines
kDelete Linedelete_line
lSelect All Occurrencesedit.select_all_occurrences
mJump to Matching Bracketedit.match_bracket
oSortedit.sort_lines
pOpen…file.open
rSearch and Replace in Workspacesearch.workspace_replace
sSave As…file.save_as
tShow/Hide Terminaltools.terminal
yKeyboard Shortcutshelp.shortcuts

After C-l

KeyActionAction ID
fFormat Documentlsp.format
iGo to Implementationsnav.goto_implementation
oOrganize Importslsp.organize_imports
rGo to Referenceslsp.references
tGo to Type Definitionnav.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

KeyActionAction ID
%Select Alledit.select_all
*Find Selectionsearch.next_selection
,Remove All Multi-Cursorsremove_all_multi_cursors
.Repeat Last Changehelix.repeat_last_change
/Find…edit.find
;Collapse Selectionhelix.collapse
<Outdent Selectionoutdent_selection
>Indent Selectionindent_selection
?Find…edit.find
AAppend at End of Linevim.append_end
BSelect to Previous WORDhelix.select_long_word_prev
CAdd Multi-Cursor Downspawn_multi_cursor_down
DownMove Downhelix.move_down
ESelect to WORD Endhelix.select_long_word_end
IInsert at Start of Linevim.insert_line_start
JJoin Linesedit.join_lines
LeftMove Lefthelix.move_left
NFind Previousedit.find_prev
OOpen Line Abovevim.open_above
PPaste Before Selectionhelix.paste_before
RightMove Righthelix.move_right
URedoedit.redo
UpMove Uphelix.move_up
WSelect to Next WORDhelix.select_long_word_next
aAppend After Selectionhelix.append
bSelect to Previous Wordhelix.select_word_prev
cChange Selectionhelix.change
dDelete Selectionhelix.delete
eSelect to Word Endhelix.select_word_end
hMove Lefthelix.move_left
iInsert Before Selectionhelix.insert
jMove Downhelix.move_down
kMove Uphelix.move_up
lMove Righthelix.move_right
nFind Nextedit.find_next
oOpen Line Belowvim.open_below
pPaste After Selectionhelix.paste_after
sSelect Regex Matches in Selectionedit.select_regex_in_selection
uUndoedit.undo
vToggle Select Modehelix.toggle_select
wSelect to Next Wordhelix.select_word_next
xSelect Linehelix.select_line
yYank Selectionhelix.yank
~Switch Casehelix.switch_case

After g

KeyActionAction ID
DGo to Declarationnav.goto_declaration
dGo to Definitionnav.goto_definition
eEndedit.go_last
gStartedit.go_first
hStartedit.line_start
iGo to Implementationsnav.goto_implementation
lEndedit.line_end
nNext Tabtab.next
pPrevious Tabtab.prev
rGo to Referenceslsp.references
sMotion: Homemotion.home
yGo to Type Definitionnav.goto_type_definition

After m

KeyActionAction ID
mJump to Matching Bracketedit.match_bracket

After Space

KeyActionAction ID
/Search in Workspacesearch.workspace
?Command Palettetools.palette
PPaste Before Selectionhelix.paste_before
SGo to Symbol in Workspacenav.goto_workspace_symbol
aCode Action…lsp.code_action
bSwitch Buffernav.switch_buffer
dDiagnostics…lsp.diagnostics
fOpen…file.open
kHoverlsp.hover
pPaste After Selectionhelix.paste_after
rRename Symbollsp.rename
sGo to Symbolnav.goto_symbol
yYank Selectionhelix.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

  1. Rust, through rustup. The repository’s rust-toolchain.toml pins the toolchain it builds with (1.100.0 today, with clippy, rustfmt and llvm-tools), and rustup installs it the first time you run cargo in the checkout. The minimum supported Rust version for users is rust-version in the root Cargo.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
    
  2. Git: For version control

    # macOS
    brew install git
    
    # Ubuntu/Debian
    sudo apt install git
    
    # Fedora
    sudo dnf install git
    
  3. 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
    
  1. IDE/Editor: any editor with a rust-analyzer client (see IDE Setup below)

  2. 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
  3. Podman: For running Linux builds on macOS (Docker-compatible)

    # macOS
    brew install podman
    
    # Ubuntu/Debian
    sudo apt install podman
    
    # Start Podman machine
    podman machine start
    

    Note: Podman provides a Docker-compatible CLI, so docker commands 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 warnings with clippy::pedantic on 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

  1. Install the rust-analyzer extension
  2. Open the repository root in VS Code
  3. 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

  1. Use RustRover, or IntelliJ IDEA with the Rust plugin
  2. Open the repository root; the IDE detects the Cargo workspace
  3. 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 .rs file is not formatted as cargo fmt would 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 in scripts/secret-patterns, shared with tui/tests/secret_scan.rs); when it adds a file over 1 MiB; and, when a file under tui/src/ or crates/*/src/ is staged, when tui/tests/code_lints.rs fails (compiled alone with rustc, about a second; it reads the working tree).
  • pre-push refuses main and tags without a valid gate attestation (scripts/attest). Another branch can be pushed unattested with VIX_ALLOW_UNATTESTED=1; the hook then runs scripts/check --tier fast first when the pushed commit is HEAD, and refuses the push if it fails.
VariableEffect
VIX_SKIP_PRECOMMIT_FMT=1Skip the format check
VIX_SKIP_PRECOMMIT_LINTS=1Skip the code lints
VIX_MAX_ADD_BYTES=<bytes>Raise the size limit for new files (default 1048576)
VIX_ALLOW_UNATTESTED=1Push 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 issue or help 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 #123 comment 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 --amend or add new commits
  • Push updates with git push
  • Use git rebase -i to 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

DirectoryPurpose
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 grep or rg (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+P then > for command palette
    • Ctrl+Shift+F for workspace search
    • Ctrl+T for 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_case for functions and variables
  • Use PascalCase for types and traits
  • Use SCREAMING_SNAKE_CASE for 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 tests module
  • Integration tests go in the tests directory
  • 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

  1. Sign your commits (optional but recommended)
  2. Run the full quality gate: scripts/check
  3. Push to your fork
  4. Create a pull request
  5. Wait for CI to pass
  6. 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

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-version in Cargo.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 fmt to 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 hooks to 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/field without /// fails the build.
  • No unsafe.
  • clippy::pedantic is 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 (write Arc::clone(&x)), dbg_macro and todo are on too, so every #[allow(..)] needs a reason = "..". unwrap_used and expect_used are on too (tests exempt): prefer let 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_arguments 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 (SearchBar, WorkspaceSearch, DblockParams, both Editors, and finally App and Settings themselves) to a bitflags-based Flags field 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/*.yml file and render it with t!. Data modules store i18n keys; the host translates. See docs/internationalization/.
  • One action, one implementation. Menu items, palette commands, and shortcuts all dispatch through App::run_action using 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 same run_action calls and editor motions rather than duplicating behavior. On macOS, Command is folded into Control first, so every keymap sees a chord it already knows. See crates/vix-keymap-model/spec.
  • One ratatui version. The whole widget stack must agree on ratatui 0.30 / crossterm 0.29. Don’t add a widget crate on a different version.

Where things live

You want to…Go to…
Add or reorder a modal overlaythe OVERLAYS table in tui/src/app/overlays.rs (+ ui::draw_overlay); see spec/overlay-priority/index.md
Return an error from a library fna small #[non_exhaustive] error enum, not Result<_, String> (agents/conventions.md, T610)
Spawn a child processlist the site in tui/tests/spawn_sites.rs (T595) and gate it behind a capability feature
Print to stdout/stderrdon’t, in library code: use the message drawer; a real CLI channel goes in tui/tests/code_lints.rs (T833)
Add/route a commandtui/src/app.rs (run_action, dispatching into tui/src/app/*.rs), crates/vix-menu/, crates/vix-palette/
Change renderingtui/src/ui.rs, usually via one of its tui/src/ui/*.rs submodules
Add/translate UI textcrates/vix-i18n/locales/*.yml (+ t! at the call site)
Add a settingcrates/vix-settings/
Change the editor widgetcrates/vix-editor-core/ (engine reused; widget is Vix’s)
Change soft-wrap / bracket renderingcrates/vix-editor-core/src/wrap.rs, .../brackets.rs
Change theme colors/modelcrates/vix-theme/, crates/vix-theme-model/
Change available UI languagescrates/vix-locale-model/, crates/vix-i18n/
Change keyboard navigation stylescrates/vix-keymap-model/ + keymap dispatch in tui/src/app/keymap.rs
Change the calendarcrates/vix-calendar-panel/
Change spell checkingcrates/vix-spellcheck/ + wiring in tui/src/app.rs / tui/src/ui.rs
Change git status/diff/stagingcrates/vix-git/ + wiring in tui/src/app/git.rs / tui/src/ui/choosers.rs
Change the find/replace enginecrates/vix-find-panel/ (matches/replace_all/unescape/PathFilter)
Change LSP supportcrates/vix-lsp/ (host) + crates/vix-lsp-core/ (protocol)
Change branch review / rebase editorcrates/vix-review/ + tui/src/app/git_review.rs; crates/vix-git/ + tui/src/app/git_rebase.rs
Change the integrated terminalcrates/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 completioncrates/vix-lsp/ (ghost) + crates/vix-ai-core/ (fim) + tui/src/app/ghost.rs, tui/src/ui/ghost.rs
Change the database workbenchcrates/vix-db/ (module tree + crates/vix-db/spec)
Change clipboard accesscrates/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 viewcrates/vix-org-table/, crates/vix-org/src/columns.rs, crates/vix-column-view/
Change file access / process spawning / remote editingcrates/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 timetui/Cargo.toml [features] + tui/src/capability.rs (see spec/cargo-features/index.md)
Change vix --mcpcrates/vix-mcp-server/ (protocol) + tui/src/mcp.rs
Change Cowork / IMcrates/vix-cowork*/, crates/vix-im*/ + tui/src/app/cowork.rs, tui/src/app/im*.rs
Change the Large File Viewercrates/vix-large-file/ + tui/src/app/large_file.rs
Add a benchmark or fuzz targettui/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 by scripts/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 in tui/tests/integration/*.rs exercising the real App. 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 App or 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)

  1. Read the owning crate’s spec/index.md (or the cross-cutting root spec/); update it if intent is changing.
  2. Implement in the owning crate; keep editing logic out of tui/src/ui.rs.
  3. 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).
  4. Document every new public item (deny(missing_docs)).
  5. Add/extend tests (tui/tests/integration/main.rs or a module’s unit tests).
  6. Run the whole scripts/check gate (the local CI-parity gate; it ends with OK: … all passed, or OK (scope changed, …) when cargo doc and 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 and scripts/check-docs catch what clippy and the tests don’t.
  7. Note user-visible changes in CHANGELOG.md.
  8. Spelling: prose/docs are checked with CSpell (cspell.json); add project terms to the external dictionary project-words.txt.
  9. 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 a Co-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).

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.md entry 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" and clippy::pedantic live 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 a reason = "..", and Arc::clone(&x) is used instead of x.clone() on reference-counted pointers. Keep cargo clippy --workspace --all-targets -- -D warnings clean.
  • No blanket allows. There is no #![allow(clippy::pedantic)] and no #![allow(missing_docs)]; fix findings in code (saturating try_from casts, extract helpers for too_many_lines, context structs for too_many_arguments, add # Errors/# Panics, etc.). editor_core’s modules are held to the same workspace clippy::pedantic as 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_arguments allows 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, both editor_core::Editors) has been converted to a bitflags-based Flags field 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): no println!, eprintln!, print!, eprint! or dbg! in library code outside its allowlist (each entry with a count and a reason), and no untranslated literal handed to self.messages.* or self.status. See spec/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 and t!("k", name = value) in code.
  • t! returns Cow<str>; call .to_string() when a String is 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 as crate::menu / crate::palette) reference the same ids.
  • To add a command: add the run_action arm, then reference it from a menu item and/or palette::COMMANDS, and add its i18n label key.

Pure-logic modules

  • Prefer a small pure module (text -> text or (text, cursor) -> …) with unit tests for any non-trivial transform, and keep the App method a thin wrapper that reads the buffer, calls the pure fn, and writes back. Examples: align, emmet, tags, http_client::parse_request, org_table, and textops (whole-text transforms plus the cursor-relative rewrites bump_number_at / smart_toggle_at / transpose_*_at / delete_*_at). A family of related transforms shares its unit builders rather than each re-deriving ranges — see textops’s word_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), or insert_str; all are read-only-aware.

Crate layering

  • A new dependency keeps the five layering rules in docs/architecture: nothing depends on vix-tui; only vix-input and vix-tui use crossterm; a *-core/*-model crate reaches no *-panel/*-picker/*-preview/*-view crate; no GUI depends on another; vix-mcp-server reaches no such UI-surface crate either. tui/tests/crate_layering.rs fails on the offending edge. After changing a crate’s dependencies, regenerate docs/reference/crate-layers.md with cargo 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 (in editor_core); the app just hands it a Rect.
  • Paint the whole frame in the theme background first, then panes, then overlays.
  • Overlays Clear their 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.rs alone: raw mode, mouse capture, bracketed paste, and (on macOS) the kitty keyboard flags that make the Command modifier 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 → Control fold happens once at the top of on_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) or theme::region_* (custom-theme-aware).
  • Reversed video is reserved for selections and the block cursor.

State and modals

  • App holds all state. Overlays are Option<…> fields; every modal layer has one row in the OVERLAYS table in tui/src/app/overlays.rs, ordered bottom to top (see spec/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_keys is 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, its OverlayId variant (enum order is table order) and its arm in ui::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. Avoid unwrap/expect on fallible runtime paths; prefer reporting to the message drawer (self.messages.error(…)) or status line.
  • expect is acceptable for genuinely-infallible invariants, with a message.
  • Library crates return typed errors, not Result<_, String> (T610; no public function in crates/, gui/ or tui/src does any more). Define a small #[non_exhaustive] enum per fallible operation (BaseError, ConvertError, SessionError, …), implement Display and std::error::Error by hand (the tree does not use thiserror), keep Display text 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 keep String.

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 and SECURITY.md with it.
  • Never commit a credential. tui/tests/secret_scan.rs fails on a real-shaped one; a test fixture that needs a full-length fake goes in its ALLOWED list with a reason (build fakes at run time where you can, as its own tests do).

Tests

  • Prefer terminal-independent tests: build an App, feed KeyEvents, assert on state. Render checks use a sized TestBackend.
  • 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 by main), 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 by std::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 under tui/benches/. Run one with cargo +nightly fuzz run <target> (needs cargo install cargo-fuzz; add -- -max_total_time=600 for a fixed-length run rather than fuzzing until Ctrl+C) — it’s a separate workspace (fuzz/Cargo.toml) so cargo build/cargo check --workspace at the repo root never touch it. See fuzz/README.md (target list, reproducing/minimizing a crash) and spec/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.rs instead of a state assertion — pin the locale to en first, since rust_i18n::locale() is process-global. Reviewing a changed snapshot: INSTA_UPDATE=always cargo test --test main snapshots::, then read every line of git diff tui/tests/snapshots/ (or cargo insta review with cargo-insta installed) before committing — a snapshot diff is a signal to explain, not a formality to wave through. See spec/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

  1. Read the spec. Find the owning crate’s spec/index.md (or the relevant root spec/ topic — see the map below). If the change alters intended behavior, edit the spec first so it stays authoritative.
  2. Implement in the smallest fitting module. Keep editing/state logic in the library; keep rendering in tui/src/ui.rs.
  3. Internationalize any new user-facing text: add the key(s) to the right crates/vix-i18n/locales/*.yml file (English at minimum; other locales fall back to English) and render with t!.
  4. Document every new public item (the build denies missing docs).
  5. Test: extend tui/tests/integration/main.rs (its mods: common.rs for 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.
  6. Verify: run the whole scripts/check gate (fmt, build, clippy at pedantic with -D warnings, tests, feature combinations, headless examples, cargo doc with warnings denied, generated reference docs and man page current, semver, scripts/check-docs with CSpell, per-binary licenses). It ends with OK (scope changed, …) by default, because locally cargo doc and semver cover only the crates changed since main plus their dependents (a root, toolchain or lint file change widens this to the whole workspace; --scope all forces it, and CI and the attestation use it), or with OK: … all passed for the whole workspace. It runs in a clean room (T764): no kache/sccache wrapper on PATH or in RUSTC_WRAPPER, HOST_CC=cc, HOST_CXX=c++, set by scripts/check itself (opt out with VIX_CLEAN_ROOM=0), so do not strip them by hand. Give every gate that runs at the same time its own CARGO_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 since main) or --tier push is quicker, but only the default full tier counts as the landing gate; the shorter tiers end in OK (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 and check-docs catch things clippy and the tests never see.
  7. Record user-visible changes in CHANGELOG.md.

Landing a change

  • One branch per change, off main; merge with git merge --no-ff so the feature boundary stays in history, then delete the branch. Push only when the maintainer asks (git push origin main reaches GitHub, GitLab and Codeberg at once).
  • Attest before pushing (T761). scripts/attest runs the full gate on a clean checkout and records a signed note (refs/notes/vix-gate) bound to the tree. make hooks installs a pre-push hook that refuses to push main or a tag without a valid attestation (scripts/attest --verify); a non-main branch may use VIX_ALLOW_UNATTESTED=1 (the hook then runs the fast tier), main and tags never. Its pre-commit hook checks staged files only (format, secrets, new files over 1 MiB, code lints; T833). Push the notes beside main with git push origin refs/notes/vix-gate. Commit signing is never bypassed. See spec/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. Check git status and git log fresh 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; run git commit under a timeout (for example timeout 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. See AI_STATEMENT.md for what an agent may do without asking (it may run cargo 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.

  1. 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.
  2. Read the whole diff, tests included. git diff main...<branch> (three dots: only what the branch added). A changed snapshot under tui/tests/snapshots/ is read line by line; an unexplained moved line is a regression until shown otherwise.
  3. Check what the tools cannot. clippy, the tests and scripts/check-docs catch most mechanical slips. A reviewer looks for what they miss: a user-facing string outside t!, or a key missing from a locale its neighbors have; a new action id without exactly one run_action arm and a menu leaf, palette entry or vix-action-catalog row; an #[allow] without a reason; unwrap/expect on 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).
  4. Check the bookkeeping. A user-visible change has a CHANGELOG.md line under [Unreleased]; a task is ticked in tasks.md with its (Done: …) note; regenerated files (docs/reference/) match their generator.
  5. Check provenance. git log --show-signature main..<branch> shows every commit signed, and an AI-assisted commit ends with its Co-Authored-By: trailer. scripts/attest --verify <rev> says whether that tree passed the full gate; without an attestation, run scripts/check yourself before merging.
  6. 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 adds spec/<topic>/index.md sub-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-docs fails 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.md against the crate it describes (and the root spec/ 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_action arm and an i18n label key, and that no run_action arm is unreachable.
  • Check that user-facing strings go through t!, that every t! key exists in crates/vix-i18n/locales/, and that each call fills exactly the %{name} placeholders its string declares — tui/tests/i18n_keys.rs now gates all three, because all three shipped broken at least once. (locale is reserved by t!: it selects the target locale, so it can never be a placeholder name.)
  • Check that every menu item has a <label>.help tooltip key; show_menu_tooltips is on by default, so a missing one is a blank hover.
  • Run scripts/docs-coverage after adding a user-facing crate: it lists crates with no docs/ page (docs/coverage.md); give the crate a page or add a reasoned EXCLUDE entry.
  • 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:

SpecCovers
spec/indexOverview, dependencies, architecture, status
spec/navigationPosition history, go-to-definition/symbol
spec/overlay-priorityOne table orders overlay drawing and keys
spec/toolsThe Tools menu and which crate owns each item
spec/testTest strategy: unit, integration, fuzz, bench
spec/ciThe gate, and the three forges that run it
spec/rust-clippy-pedanticclippy::pedantic on all targets
spec/rust-msrv-n-minus-2The MSRV policy: current stable minus two
spec/agents-directory-name-is-lowercaseWhy the guidance lives in agents/, lowercase
spec/dependabotDependabot: security updates + scheduled PRs
spec/comparisons, spec/emacs-menusEditor comparisons; Emacs menu parity
spec/cargo-featuresCapability features (full, net, opt-in cowork)
spec/remote-editing, crates/vix-authority/specRemote editing over SSH; the authority slot
spec/cowork, spec/instant-messageReal-time co-editing; the IM menu
spec/mcp-server, spec/jupytervix --mcp; the Jupyter design (spike only)
spec/ide-parity, spec/open-containerIDE-parity features; the OC container menu
spec/worldwideNo feature may favor one country or region
spec/llms-json-and-llms-txt, spec/monorepo-github-pagesAI maps; the website subproject
crates/vix-menu/specMenu bar structure and every item
crates/vix-keymap-model/specThe fourteen keymaps and how keys dispatch
crates/vix-palette/specPalette modes and behavior
crates/vix-editor/specThe editor host: tabs, splits, per-action specs
crates/vix-editor-core/specThe editor widget: buffer, wrap, brackets, history
spec/find-and-replace, crates/vix-find-panel/specFind/replace, workspace search, query-replace
crates/vix-fileops/spec, crates/vix-left-dock/specExplorer tree and file operations
crates/vix-lsp/spec, crates/vix-dap/specLanguage Server Protocol; DAP debugger
crates/vix-git/specGit status/diff/staging/conflicts
spec/git-monoreposLarge-repository costs, measured (T800)
crates/vix-db/specThe database workbench
crates/vix-org/spec, crates/vix-org-table/spec, crates/vix-org-capture/specOrg editing, tables, capture
crates/vix-theme/spec, crates/vix-i18n/specThemes; internationalization
crates/vix-settings/spec, crates/vix-session/specSettings keys; session/workspace restore
crates/vix-clipboard/specClipboard 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:

  1. 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: run cargo semver-checks --workspace (CI’s semver job 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 in Cargo.toml must 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 a version = "X.Y.Z" pin that cargo publish needs. So a bump touches workspace.package.version and every such pin in that one file — plus the few members that keep an explicit path/version line because they set default-features = false (grep -rn 'version = "OLD"' Cargo.toml crates/*/Cargo.toml finds all of them). Check with cargo publish --dry-run -p <a leaf crate>.

  2. CHANGELOG.md is updated — the user-visible changes since the last release are recorded under the right heading, not left in [Unreleased].

  3. The gate is green — scripts/check clean locally, and CI confirmed actually green (not assumed from a local pass) on the forge(s) the release depends on.

  4. Publish order is respected — for the crate(s) being published, every path dependency already has a matching version live on crates.io first; nothing publishes ahead of what it depends on.

  5. 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 vix command (tui/) and every vix-* 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, .rpm and 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 deny flags it here (see Hardening) and the dependency is updated or the advisory is ignored with a dated reason in deny.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, docker and 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

VersionSupported
Latest 3.x releaseYes
Anything olderNo

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.

StepTarget
Acknowledge the reportWithin 7 days
Confirm or decline it, with a severityWithin 14 days
Release a fix for a critical or high severity issueWithin 30 days of confirming it
Release a fix for a medium or low severity issueIn a release within 90 days
  1. 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.
  2. Fix. The fix is developed privately and goes through the same scripts/check gate and CI as every other change. You are offered the chance to check it before release.
  3. Release. A patch release ships the fix to every channel listed under Scope.
  4. 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 audit and cargo deny warn downstream users. CHANGELOG.md records 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_servers in your settings (or a trusted workspace’s). The well-known servers Vix starts on its own when they are on your PATH (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 --mcp speaks 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 ssh and your known_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.toml keeps 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, including localhost and private addresses during API development. Blocking those would break its main use. It does allow only the http and https schemes. 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 check against deny.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. See spec/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 mutants run checks that the small pure crates’ tests catch every behavior change.
  • Secrets. tui/tests/secret_scan.rs fails the tests when a tracked file holds a credential-shaped string, and scripts/secret-scan-history checks 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.xml and 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 with scripts/release-local (so far 2.0.0) also carries a SHA256SUMS signed 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-release checks 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, its node_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.toml and direnv/mise detection, node_modules/.bin/prettier, project Jupyter kernelspecs, ACP agents, the well-known language servers found on PATH (they run the project’s build scripts and macros).
  • Mitigations. One persisted decision per workspace root (tui/src/app/trust.rs, stored as scripts_trusted in crates/vix-session/src/lib.rs; Session::set_workspace carries it across a session save). The prompt needs an explicit y and ignores keys for SCRIPT_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_trust in tui/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.toml and 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 with BatchMode=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 at MAX_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.toml is 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_servers in 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 at SCAN_MAX_ENTRIES and SCAN_MAX_DEPTH (crates/vix-lsp-core/src/file_ops.rs). A document link to a URL opens with open/xdg-open by 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 in tui/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, so import fails (the T134 fix), and set_max_operations and set_max_expr_depths bound 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 by is_secret; reads stop at MAX_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_secret is 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_secret in tui/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 from tui/src/app/ai.rs). Default endpoints are HTTPS (crates/vix-ai-core/src/lib.rs); the local model endpoint defaults to plain HTTP on localhost. Vix quotes the prompt it substitutes into ai_command and 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 imports ai_command or 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 through redact_url_secret before they reach the UI (crates/vix-db/src/session.rs). db_history.toml keeps 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_keyring is 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 sqlx 0.9.1 accepted the fixed libsqlite3-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 is 127.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 says tls = false, and then Vix warns (crates/vix-im-irc/src/net.rs, tui/src/app/im_net.rs). Passwords print as <redacted> in Debug (crates/vix-im-irc/src/client.rs, crates/vix-matrix-protocol/src/protocol.rs). The Matrix password comes from VIX_IM_PASSWORD_<NAME> at connect time, or a keyring session (tui/src/app/im_matrix.rs). Messages are text: a shared path:line reference opens only when you choose it.
  • Open risks. The vix-matrix helper is found beside the vix executable or on PATH (crates/vix-matrix-protocol/src/net.rs), so a hostile PATH entry 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 0700 runtime directory and a 0600 connection 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); a kernel.json over MAX_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 .http file; services on your network.
  • Entry points. .http buffers and their environment files, the responses.
  • Mitigations. Only http and https URLs are sent (crates/vix-http-client/src/lib.rs). A request is sent only when you send it. Azure tokens come from az by 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 # @timeout and # @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.rs fails cargo test when 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 deny checks advisories and licenses (deny.toml); fuzzing and mutation testing are described in SECURITY.md. scripts/secret-scan-history runs 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 by tui/tests/secret_scan.rs on 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).

AreaThe checkThe useBypass?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 rootA 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 againNot 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 overThe resolved fileAnother 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 ~/.bashrcFixed. 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 givenThe temp file is renamed over the linkNone: the link is replaced and its target is never createdNot 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 sawThe atomic writeA change inside the same second with the same length is missed; the local check runs only for a remote workspaceNot 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 existsfs::copy / create_dir_all on the destinationA 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 promptFixed. 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 destinationcp -P / mkdir -p + cp -RPAs above, on the remote hostFixed 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 trashA 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 operandsNot exploitable.
Remote path mapping (crates/vix-authority)None: a remote workspace’s root is where it opens, not a jailThe remote account’s own file systemA 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 itScripts are read after the hash checkThe hash and the load are two reads, but the plugin directory is in your config directoryNot 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 pathfs::read of the canonical pathA 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 passedFixed (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 rootA read of the path; a write becomes a pending diff, saved later by youA dangling link root/planted -> /outside/new cannot be canonicalized, so it was judged by its parent (inside) and acceptedFixed: 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 rejectedwrite_atomic_private (new files 0600) under the data and config directoriesPlanting a link there needs your accountNot exploitable. A restored backup goes into a buffer, not to disk.
Crash reports (tui/src/crash.rs) and interrupted-save copies (recovery_dir)Nonewrite_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 accountNot 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 is 0600; 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.rs and crates/vix-mcp-server/src/workspace.rs are 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.rs passes; 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 check in the root, in matrix/ (its own deny.toml) and with --manifest-path gui/Cargo.toml; cargo audit as a second opinion where it is installed. Every ignore in deny.toml still 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); each ignore in .github/dependabot.yml still needs to be there; new direct dependencies since the last audit (git diff <last-audit>..main -- '**/Cargo.toml') are maintained, licensed per deny.toml and worth what they pull in; cargo tree -d duplicates have not grown without a reason.
  • Secrets in history. scripts/secret-scan-history exits 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 the allow lines in scripts/secret-patterns still 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

DateResult
2026-11-27Checklist 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-reporting shows 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:

  1. Reproduce it on the latest release and on main. Only the latest release is supported.
  2. Judge it against Scope, the Threat model and its accepted risks. A declined report gets the reason, usually a pointer to one of them.
  3. 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.
  4. Fill in the draft advisory: the affected crates (ecosystem Rust, package names as on crates.io, such as vix-tui and the vix-* crate with the bug), the affected versions (< the version that will fix it), the severity, and a weakness (CWE) if one fits.
  5. 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.

  1. 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.
  2. In the same branch, write what the release needs: a Security entry under [Unreleased] in CHANGELOG.md (what was wrong, who it affected, what to do, credit), and the matching changes to SECURITY.md and the threat model if a trust boundary moved.
  3. Run the whole gate locally (scripts/check, or scripts/attest). Do not count on CI: the fix is not on any public branch, so the forges’ CI never sees it before the merge.
  4. 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.

  1. In the private branch, bump the version and cut the changelog: the workspace version and its internal pins (AI_STATEMENT.md §1, checked with cargo semver-checks --workspace), and [Unreleased] becomes a ## [X.Y.Z] section with its Security entry.

  2. Merge the private fork’s pull request from the advisory page. That merges it into main on GitHub. Then bring the other two forges up to date (origin pushes to GitHub, GitLab and Codeberg at once):

    git switch main
    git pull --ff-only
    git push origin main
    
  3. Wait for CI to be green on main. Tag only a commit that is already on main (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 watch
    

    The tag starts each forge’s release: dist on GitHub (archives, installers, the CycloneDX SBOMs, the Homebrew tap, npm, the Linux packages), the release stage on GitLab and the release workflow on Codeberg. scripts/release-local is the local alternative, described on the same page.

  4. 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-db adding the advisory under crates/<crate>/ (the database assigns its RUSTSEC id), so cargo audit and cargo deny warn downstream users.
  • CHANGELOG.md. The Security entry is already in the release section. dist uses 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.md and 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 unsafe code - Vix forbids unsafe Rust 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 check and cargo 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
  • 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


Quick Reference: Security Review Checklist

Before merging any PR that touches security-sensitive code:

  • No unsafe code 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.yml can be run by hand for an existing release (workflow_dispatch with the tag, behind the release-evidence gate), like the Linux packages and Homebrew workflows; 3.1.0’s npm package was published this way, with NPM_TOKEN. It also publishes the package by a ./ path: npm 11 read npm/vix-tui-npm-package.tar.gz as a GitHub user/repo shorthand 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 for stable rather than the toolchain rust-toolchain.toml pins, so 2.1.0 and 3.1.0 shipped no vix-minimal-* archives. And two vix-authority agent 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-fileops denies (clippy::indexing_slicing) and which only a Linux build compiles; the Matrix helper used map(..).unwrap_or_default() where clippy now wants map_or_default.

  • Security policy: deny.toml ignores RUSTSEC-2026-0620 (curve25519-dalek before 5.1.0 can compute wrong results in its AVX-512 backend), reached through Cowork’s Noise transport (snow 0.10, which requires curve25519-dalek 4) and the Matrix helper; Vix builds on stable Rust without that backend, so it is not affected. The Matrix helper also ignores chrono being unmaintained (via matrix-sdk → oauth2). The SQLite advisory (RUSTSEC-2026-0459) and three im notices (via loro) no longer apply after the sqlx 0.9.1 and loro 1.19 updates, and their ignores are removed from the root deny.toml.

  • Contributors: scripts/check no longer lets its self-test scripts write into its check report. Their stub and nested gates inherited VIX_CHECK_REPORT and appended their own lines, including fast-tier clippy and test lines marked skipped, so scripts/attest never produced a release-qualifying record. spec/local-ci.

  • cargo install vix (T883): the crates.io crate vix, until now a 1.7.2 stub that only said Vix had moved to vix-tui, is the real editor again. It installs the vix command by default, and one feature per desktop GUI adds that program: cargo install vix --features egui adds vix-egui, cargo install vix --no-default-features --features iced installs only vix-iced (features gpui, 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-slint and vix-bui are GPL-3.0-only) and build needs, and every install route. cargo install vix-tui still 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, after vix-tui and every GUI, from the release after 3.0.0. To make that possible, the vix command’s body is now the library function vix::entry::run (tui/src/entry.rs) and each GUI’s is vix_<toolkit>::run in a new src/lib.rs; every main.rs only calls it, so behavior is unchanged. scripts/check-binary-licenses checks the crate’s features, binaries and license and that the root workspace holds no GUI package. Spec.

  • Linux packages for vix-bui and vix-zgui (T882): every release now has their .deb, .rpm and Arch packages for x86_64 and aarch64 (sudo apt install ./vix-bui_*_amd64.deb and 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 new scripts/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-zgui needs 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. New scripts/gui-build-deps is the one list of GUI build libraries for the GUI, AppImage and package workflows. Linux packages spec.

  • Linux packages (T881): the .deb, .rpm and Arch packages’ app launcher entries name each desktop app by its package, vix-egui and so on, instead of Vix (egui), matching the Homebrew casks; they also say GenericName=Text Editor. Linux packages spec.

  • apt and dnf repositories for the Linux packages, built but not yet published (T669). New scripts/build-package-repos writes a static, signed APT repository (dists/stable with Packages, Release, InRelease and Release.gpg, written from each .deb’s own control file) and an RPM repository (createrepo_c from PATH or a pinned fedora:41 image via podman or docker, with repomd.xml.asc), the public key as vix-archive-keyring.gpg and vix.asc, and ready-made vix.sources (deb822, Signed-By) and vix.repo files; it keeps the five newest versions of each package. It signs with the key in VIX_PACKAGES_GPG_KEY in a throwaway GNUPGHOME, and with that key set scripts/build-linux-packages now signs every .rpm (nfpm rpm.signature). A new package-repos job in linux-packages.yml publishes the tree to the repository named by VIX_PACKAGES_REPO once the maintainer adds the key, VIX_PACKAGES_TOKEN and that repository; until then it prints a notice. New check step test-build-package-repos. User setup: Linux package repositories. Linux packages spec.

  • Monorepos: when a whole-repository git status takes longer than 200 ms and core.fsmonitor is unset, the Messages dock says so once per repository and names git config core.fsmonitor true and git config core.untrackedCache true (on the 100,000-file fixture of spec/git-monorepos they take status from 359 ms to 38 ms) (T800h). Vix only reads the setting and never changes your git configuration; an explicit core.fsmonitor false is respected. vix-git spec.

  • Monorepos: language servers hear about edits to subproject manifests (T800g). The once-a-second watched-files poll already sent workspace/didChangeWatchedFiles for the workspace root’s Cargo.toml, Cargo.lock, package.json, tsconfig.json, pyproject.toml, go.mod, go.sum and deno.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. Editing services/p20/Cargo.toml in 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 in vix-git: CodeOwners, OwnerRule, OwnerSection, OwnerMatch, codeowners_location and repo_toplevel, with a codeowners fuzz target; new code_owners_row in vix-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 blame before Vix took the next key: about 115 ms per key with j held on the 1,000-commit fixture of spec/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, HEAD revision, buffer revision and line, so going back to a line shows its note at once. New App::inline_blame_busy and App::wait_for_inline_blame; monorepo_probe --blame FILE times a held j. Git spec.

  • Homebrew on Linux (T880): brew install vix-egui (and vix-gpui, vix-iced, vix-slint, vix-bui, vix-zgui) now also works on Linux, x86_64 and aarch64: the cask installs ~/Applications/vix-egui.AppImage and its desktop entry, so the app launcher, app chooser and Open With list the app as vix-egui (for text and common source files; Open With opens the chosen file). Each release carries <name>-x86_64.AppImage and <name>-aarch64.AppImage with a .sha256 each, made from the release’s glibc builds (built in the job for vix-bui and vix-zgui) with pinned, checksum-verified appimagetool, AppImage runtime and linuxdeploy. vix-gtk4 has no AppImage (bundling GTK 4 is not reliable) and its cask stays macOS only. One cask per app, with on_macos and on_linux parts, from the same template; the macOS casks now say depends_on macos: :big_sur (Homebrew deprecated the ">= :big_sur" form). scripts/macos-app and scripts/test-macos-app are now scripts/desktop-apps and scripts/test-desktop-apps (check step test-desktop-apps), packaging/macos/apps.json is packaging/apps.json; new packaging/linux/. Not yet run on a real release. Casks spec.

  • Homebrew (T879): brew install vix (after brew tap vixide/tap, or brew install vixide/tap/vix) installs the vix command; the formula was vix-tui, and the tap’s formula_renames.json maps that name to vix, so brew upgrade moves an existing install over. Each of the seven desktop apps is now also a macOS app bundle, shown as vix-egui, vix-gpui, vix-iced, vix-slint, vix-gtk4, vix-bui or vix-zgui in Finder, Launchpad, Spotlight and Open With (for text and source files), and a Homebrew cask of that name: brew install vix-egui puts vix-egui.app in /Applications and vix-egui on the PATH. vix-gtk4 (which pulls in Homebrew’s GTK 4), vix-bui and vix-zgui are 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 needs brew uninstall before the cask. Open With starts the app but does not open the chosen file yet. New .github/workflows/publish-homebrew.yml replaces dist’s Homebrew job; new scripts/macos-app, scripts/test-macos-app, packaging/macos/ and packaging/homebrew/cask.rb.in; new spec spec/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 real docker for 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-agents is 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.md rounds 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 (<50 for 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’s chore/fold-tui-tests on current main): tui/tests/main.rs (one link step and one process), and tui/tests/authority.rs for the tests that install a fake authority in the process-wide slot, where each takes one shared lock. Run one file with cargo 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 named main__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 of spec/git-monorepos status 359 ms → 23 ms, git grep 1.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, f cycles its filter: whole repository, workspace folder, subproject; Git → Changes… still opens on the whole repository. Each has a palette entry. New in vix-git: PathScope, merge_scoped_status, status_in and workspace_prefix; the monorepo_probe example 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 of spec/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. New App::request_git_refresh and App::wait_for_git_refresh; the monorepo_probe example now times a save.

  • Fixed: Vix’s own git status could make your git add or git commit fail with Unable to create ‘.git/index.lock’ (T800b). Every read-only git run (status, diff, log, blame, show, rev-parse, ls-files and a few more) now sets GIT_OPTIONAL_LOCKS=0, so it never takes the index lock; the writing ones are unchanged. With core.untrackedCache on, the cache is then saved only by your own git commands. New in vix-git: READ_ONLY_SUBCOMMANDS, git_subcommand and is_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/p20 reported 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. New vix_tasks::subproject::marker_paths_above and nearest_subproject_from_markers, and App::palette_file_scope; the monorepo_probe example prints the subproject Find File chose. Tasks spec.

  • Research: what a large git monorepo costs Vix (T800). spec/git-monorepos measures a generated 100,000-file, 40-subproject repository: every save waits on a whole-repository git status on the UI thread (404 ms with git’s defaults, about 50 ms with core.fsmonitor), that status takes git’s optional index.lock and made 8 % of concurrent git add runs fail, Project → Subproject can miss the active file’s subproject until the background file index is complete, and scoping search, git grep and 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 new monorepo_probe example times the real code paths on any checkout.

  • Project → CMake (T799): CMake projects (CMakeLists.txt) get their own submenu. Choose the configure preset from CMakePresets.json/CMakeUserPresets.json (with inherits and ${sourceDir} macros) or none, the build type, the build target (all or 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’s args, cwd and env, and shown in the status bar. Configure asks the CMake File API for the target list (codemodel-v2, cache-v2) and exports compile_commands.json, and the built-in clangd is 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 and C-c p c … chords run the CMake commands in a CMake project. Nested CMakeLists.txt directories are no longer listed as subprojects. New vix_tasks::cmake module and vix_dap::Dap::start_launch_with. Tasks spec.

  • The calendar’s first weekday is configurable (T797). Set calendar_first_weekday in config.toml to 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. New vix-calendar-panel items: month_grid_from, weekday_order, weekday_header, parse_first_weekday, Calendar::grid_from and Calendar::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_YEAR and the rest of the date and time set, $CLIPBOARD, $WORKSPACE_NAME, $RELATIVE_FILEPATH, $UUID, $RANDOM, $LINE_COMMENT and 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, the g, i, m and s options). 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 $NAME meant literally in a snippet file now resolves; write \$NAME ("\\$NAME" in JSON) instead. The one such snippet shipped with Vix, the application/json “JSON Schema” example’s "$schema", is now escaped. New in vix-snippet-tool: parse_with_variables, the Variables trait, NoVariables, VARIABLES and is_known_variable.

  • The desktop app vix-egui is 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 say frontend: 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 scripted space in 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.md is included as a page (T872). They are now absolute, and scripts/check-docs fails 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) and workspace_search_panel; new workspace_search/keystroke, first_result and complete benchmarks and a workspace_search_latency example; numbers in docs/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 DIR checks a downloaded release offline: the SHA256SUMS signature before its lines, then every checksum file, rejecting a changed, missing or uncovered file; --require-signature and --record (version, target, digest). Fixed: SECURITY.md said release artifacts were unsigned; it now says which are (the scripts/release-local manifest, 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 x in 界💡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.rs checks 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_DIR or GIT_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-fileops adds RecoveryRecord, RecoveryFormat, Recovery::read and Recovery::restore_to, and a test-only fault-injection feature.

  • Release: signed gate evidence now names the checks that ran (T866). scripts/check records each check as run, skipped or delegated with its tool version, and scripts/attest signs that list (record format v2); a gate run without cargo-hack, cargo-semver-checks or CSpell still passes and attests for everyday pushes but says it is not release-qualifying. New scripts/attest --verify --release and the always-required scripts/ci release-verify accept only a record for the candidate’s own tree with every release check run; scripts/release-local and every release route on GitHub (release.yml via dist’s local-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.rs fails 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 reads examples/ and benches/ (T863).

  • Security: secret scanning of git history and lower-volume Dependabot (T832, fourth slice). New opt-in scripts/secret-scan-history checks every line any commit added (all refs, or a revision range) against the rules in scripts/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 the gui/ and matrix/ 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 from SECURITY.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/ and tests/, 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 same cargo run --example list_commands -- --write run, and scripts/check fails when it is stale; coverage, mutation score and flakiness stay with cargo tarpaulin, mutants.yml and scripts/flaky-hunt.

  • Tests: property tests for buffer operations and three more parsers (T831, fifth slice). vix-editor-core checks inserts, removes, slices and every character/byte/line/(row, col) conversion against a plain String model, that an insert undone by a remove (and the reverse) changes nothing, that the shared-editing edit log replays to the same text, that Code::changed_since never misses a changed character, and that non-overlapping multi-caret edits give the same text in any order. The .editorconfig reader is checked against a naive model, modelines for bounds and Vim/Emacs round trips, the palette’s path: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’s dist plan; CI’s drift check now covers every dist generate mode, 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 to vix-tui.cdx.xml. dist planned them, but its SBOM step only runs in the root workspace, so they were never written; a new .github/workflows/sbom.yml job writes them with the same pinned cargo-cyclonedx. New incident-response playbook, linked from SECURITY.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 in vix-textops as vix_textops::symbol; vix_palette keeps Symbol, symbols and symbol_in_line as thin wrappers over it, so its API is unchanged. Layering rule 5 now also keeps vix-mcp-server from reaching vix-palette.

  • Contributors: the MCP server no longer depends on the Markdown preview or the outline panel (T860). Its outline tool 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 in tui/tests/crate_layering.rs keeps vix-mcp-server from 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-agents Cargo feature. User guide · spec · demo (recorded with the real claude and codex; scripts/vhs_lite.py gained VHS’s Wait and scripts/cast_to_gif.py renders a cast without agg).

  • 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 new AgentProcess::spawn_isolated writes 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_with and vix_undo_store::hot_exit::BackupStore::write_chunks; numbers in docs/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_BYTES and syntax_off_for_size on Code and Editor; numbers in docs/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). New vix_editor_core::code::Code::changed_since and vix_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 -- --write writes it from cargo metadata with no extra tool, and scripts/check fails when it is stale. tui/tests/crate_layering.rs enforces four rules the graph already keeps (nothing depends on vix-tui; only vix-input and vix-tui use crossterm; no *-core/*-model crate 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 with rg or grep on the remote host.

  • CI and the local gate no longer retry a failing test: .config/nextest.toml sets retries = 0 in 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 with scripts/flaky-hunt, then fix or quarantine it.

  • Tests: flaky-test hunting and quarantine (T831, fourth slice). scripts/flaky-hunt runs 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.rs now 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/adr for five decisions that shape the codebase: writing Vix in Rust, building on ratatui and crossterm, forbidding unsafe, 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 send didClose. 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). New vix_editor_core::editor::HIGHLIGHT_CACHE_ENTRIES.

  • Memory-usage tracking (T830): the VIX_PROFILE frame 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 through sysinfo, which Vix already used. New vix_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). The pre-commit hook checks the staged content in seconds and changes nothing: it refuses unformatted staged Rust files (it used to run cargo fmt on the whole tree and git add -u, staging changes you had left out, and ran prettier on Markdown), staged files holding what looks like a real secret, new files over 1 MiB (VIX_MAX_ADD_BYTES raises it), and, when library code is staged, a failing tui/tests/code_lints.rs, compiled alone with rustc in about a second. The secret rules and allowlist moved from tui/tests/secret_scan.rs into scripts/secret-patterns, read by both the test and the hook, so they cannot drift. The pre-push hook now runs scripts/check --tier fast before an unattested branch push (VIX_ALLOW_UNATTESTED=1) and refuses it when that fails. scripts/test-attest tests 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’s fs.protected_symlinks rule), 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_json accepts it, the tree is read with serde_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 crates vix-editor-core, vix-fileops, vix-git, vix-lsp and vix-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 uploads mutants.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, the cli, anthropic, openai and ollama providers, 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’s org-table-copy-down does 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 in tui/tests/action_catalog.rs finds every dispatcher-shaped function in tui/src and fails until it is scanned or excluded with a reason. Tutorial 14 lists the ollama provider, 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 \u escapes, 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 %5D and so on), which it writes so the file does not reopen. New SaveError::LoneTaggedKey and SaveError::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_highlight bench).

  • Fixed: the JSON/YAML edit surface (Edit → Mode → JSON…/YAML…) no longer loses or corrupts keys that display the same. YAML keys such as 1 and "1", true and 'true', !!str 1 and 1, 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 \u escape is one name (RFC 8259); a document naming it twice is refused on open. New vix_edit_value::Tree::save_text and SaveError (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_highlight bench); 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). New vix_textops::whole_word_matches and vix_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 and vix --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_sentences bench), and vix_textops::sentence_starts scans bytes without a decoded copy (about 1.7–2.3x faster); new vix_textops::sentence_start_from and sentence_start_before find 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 is None or 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_sentences bench).

  • Onboarding: Help → What’s New… shows the release notes for the running version (the [Unreleased] section through this version’s, bundled from CHANGELOG.md at build time) in the welcome overlay, and Vix opens it once on the first start after the version changes, remembering the last version shown as last_seen_version in session.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+P opens a palette with @/: modes, which is Ctrl+Shift+P). Key tables are copied from the generated docs/reference/keybindings-*.md pages, and a new test in tui/tests/keymaps_reference.rs fails when a copied row stops matching. docs/SUMMARY.md now also lists the Fresh and ttt guides.

  • Fixed: Eclipse Ctrl+D, IntelliJ (Windows) Ctrl+Y and ttt Ctrl+K k now delete the line; they were bound to an action id nothing ran. A new test checks that every built-in keymap binding runs an action App::run_action dispatches, 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) and substitute (the Ex :s parser, planner and applier). The .http parser and the JSON/YAML/TOML converters already had targets. Fixed, found by sql_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 by edit_value and recorded as a known limitation in its spec, not fixed: YAML keys that render alike (1 and "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 and History::squash_since (vix-editor-core), the literal :s parser and planner (vix-find-panel), Vi motions on str and 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 new tui/tests/secret_scan.rs fails cargo test when 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 after y; nothing secret is read before that. An untrusted workspace asks every time; a trusted one asks once per .http file 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 N and # @connection-timeout N (seconds, or ms/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_mb or read_only_paths applies 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/b replaces with b as in Vim, while leading blanks and colons are ignored and :w still saves; and Vi r<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 the render_frame/headless_edit examples, rust-lldb with full debug information); its invented RUST_LOG logging and list_keybindings example are gone. The architecture page opens with a crate-layer diagram taken from cargo metadata, its invalid Mermaid diagrams and nonexistent crate names are fixed, the performance guide explains how to profile with symbols ([profile.bench], macOS sample), and the workflow guide gains code-review guidelines. A new tui/tests/docs_crate_graph.rs checks the diagram’s arrows, layers and counts, the crate names on the architecture page and in the crate map, and every “147 vix-* crates” count against cargo 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-R redoes instead of typing an r (no Ctrl- or Alt-held letter types itself in Vi or Spacemacs Normal mode); u, Ctrl-R and the new g-/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} and J are bound, with counts and .; leaving Insert mode steps the cursor back onto the last typed character; V keeps 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.rs fails cargo test on a println!/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 git runs take (fixture repo, this checkout; startup/start_git_refresh, startup/git_refresh_landed benches), 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_mb is 0; 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 new vim-parity CI job, and each place Vix differs is a row that says so. docs/vix-for-vim-users is 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, :cn to the failure, ciw the argument, n., an undo-tree detour, stage the fix) is walked by tui/tests/integration/vim_exercise.rs with the real cargo and git (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_open bench). 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. $x and 9x delete the line’s last character, x takes a letter together with its combining accent, and x on an empty line leaves the register alone; w/b/e/dw treat an identifier, a punctuation run and white space as separate words (dw on pkg::run deletes pkg), dw on a line’s last word keeps the line break, w past the last word rests on the last character, and j/k keep 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=1 adds the first semantic definition and first diagnostic from rust-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) through Esc, so . repeats it, recomputing the word or motion where the cursor is, instead of replaying an older dw; one u undoes the whole change. An edit . cannot repeat (an Insert session with a cursor key, a Visual d/c) now clears . rather than leave an older change behind, and cw keeps 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, {/} and d/c/y with 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 for l/h/w/b in an 8 MiB file went from 12.1 ms to 0.34 ms (median, VIX_PROFILE), and l + h from 17.6 ms to 1.5 µs (editor/vi benches). Results are unchanged (T843).

  • Fixed: Vi Visual operators and counted put. In Visual and Visual Line mode d, x, c and y now 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 before p/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 / :%s substitute literal text on the cursor’s line or the whole buffer with the g and c flags as one undo step. Vim pattern syntax the literal :s does 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 lsp feature. The menu and palette now use the edit.expand_selection and edit.shrink_selection ids, which the LSP capability gate does not catch, so the offline Tree-sitter fallback runs; the lsp.* ids stay as aliases for saved keybindings (T842).

  • Every crate now builds with its default features off, tests included: the vix-jupyter, vix-git-graph and vix-oci tests that drive a process declare required-features = ["process"], a vix-oci unit test, a vix-tui Jupyter image test and the git half of tui/tests/authority_search.rs are gated on their features, and the gate checks both (cargo check --workspace --all-targets --no-default-features, and cargo hack check --each-feature --all-targets instead of --no-dev-deps).

  • Manifests: vix-authority (in vix-dap, vix-git, vix-git-graph), vix-project-env (in vix-lsp), vix-review and vix-matrix-protocol (in vix-tui) are optional and enabled by the feature that uses them, so a build without that feature no longer compiles them. The ten vix-* crates members declared by path now come from [workspace.dependencies] with default-features = false, the unused markdown and walkdir entries are gone, and homepage is the website (https://vixide.github.io/) instead of a copy of repository.

[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.0 in Cargo.toml, the crates.io package, CITATION.cff, llms.json, LICENSE, LICENSE.md and the docs, and the full text moved from LICENSES/cc-by-nc-sa-4.0/ to LICENSES/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: jiff 0.2 to 1.0 (Zoned is now ZonedDateTime, to_zoned is to_zoned_datetime), htmd 0.5 to 0.6, nix 0.31 to 0.32, qrcode 0.14 to 0.15 and tree-sitter-c-sharp 0.23 to 0.24, and 20 more patch and minor updates. The gui, matrix and fuzz lockfiles follow. A release newer than the cargo minimum publish age (scc 3.9.3, htmd 0.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 through vix_fileops::user_dirs, and test builds swap it for a per-process temporary directory through the dev-only isolated-user-dirs feature. 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/vix settings, session or history (VIX_HERMETIC_HOME=0 opts out).
  • Fixed: Org priority on a bare * TODO or * DONE headline 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 End key 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, scopes cargo doc and semver to the changed crates and their dependents by default (--scope all for the whole workspace; CI and the attestation always run the whole workspace) and VIX_PRIVATE_TARGET=1, test builds carry less debug information, and the gate runs tests with cargo nextest by default off macOS (VIX_NEXTEST=1 opts in on macOS). The checks themselves are unchanged. See spec/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’s work_minutes field is now private (read it with work_minutes()), and Timer::adjust_minutes returns a Result: a length outside 1 to 180 minutes is refused with TimerError::OutOfRange instead of being clamped. The calendar panel’s move_days, move_months, move_years, next_month and prev_month return Result<(), MoveError>; a span the date library refuses is MoveError::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_name and selected_slot return Option, and the theme editor’s apply_color returns a Result, when the public selected field is past the end. vix-clock-panel’s datetime_at_offset, active_zone_datetime and Row::value return a Result (ClockError) for an offset jiff rejects, instead of showing UTC. vix-unit-converter-tool’s Converter::cycle returns a Result. vix-ai-diff’s Review::from_texts returns Result<Option<Review>, ReviewError>. vix-locale-model’s visual_order returns a Result (BidiError). vix-fileops’s unique_copy_name returns an Option. vix-format-tool adds PrettierError::BadTimeout for a timeout too long to become a deadline.
  • A git blame entry 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, Ctrl plus a digit or a non-ASCII character now sends that character instead of an arbitrary control byte (Ctrl-1 used to send q).
  • Breaking: the agent refuses a file watch whose 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’s Thread::new returns Option<Thread>, and vix-editor-core’s Editor::set_cursor_line returns bool. 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::new is None and the App says so (new status.im_thread_range message). set_cursor_line on a line the buffer lacks now returns false and leaves the cursor, where it used to jump to the last line.
  • Breaking: vix-civil-date’s civil_from_days returns Option<(i64, i64, i64)> and days_from_civil returns Option<i64>. A month outside 1 to 12, a day outside 1 to 31, or a value too large for the arithmetic is None instead of a meaningless number or an overflow.
  • Breaking: vix-action-catalog’s dispatch_scan::every_dispatchable_action_id returns Result<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’s Tree::to_text returns Result<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’s client::slice_lines returns Result<String, String>. A line of 0 is an error (“line 0 is not a line: lines start at 1”) instead of being read as line 1, and an agent’s fs/read_text_file request with line 0 now gets that error.
  • Breaking: vix-org’s clock_out returns None when the end timestamp is unreadable or before the start. It used to close the clock with a duration of 0: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 an n outside the buffer now gets an error. It used to move the cursor to the nearest end. The error reads set_cursor_offset: <n> is not an offset in 0..=<len> and the cursor stays where it was; offsets from 0 to the buffer’s length are unchanged.
  • Breaking: vix-diff-view’s map_line returns Option<usize>. An inconsistent hunk table is None (the compare view leaves the other pane where it is), and copy_hunk copies nothing for a stale hunk instead of clamping its range.
  • Breaking: the Nerd Font picker’s selected_glyph and selected_name return Option, like the other pickers: a selected past the last glyph is None.
  • Breaking: vix-theme-model’s to_json returns a Result. A theme that cannot be serialized is an error, not an empty file saved as the theme.
  • Breaking: vix-undo-store’s revert_range returns a Result. A range start at the top of usize, or a diff range outside the lines it diffed, is HistoryError::Range instead 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; :qa quits (asking about unsaved tabs) and :qa! force-quits.
  • Healthcare tools keep decimals exactly as received. A synthetic valueQuantity.value of 2.00 was shown as 2.0 in FHIR responses and Bundle entries; numbers now display as sent.
  • FHIR updates need a matching id. An update whose body has no id (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-2 must equal the sent MSH-10; a mismatch is reported, and a commit-only CA says application processing is unconfirmed. The last segment now ends with \r before 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 wait discarded 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/api and main..feature_api shared 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+D incremental 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 says F12 uses the language server when one handles the file and falls back to text matches.
  • DB workbench: schema compare on SQLite no longer reads main under whatever schema name was typed and labels it main. SQLite compares only main (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 NotFound on macOS and the fallback too (they said Other), 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 VIEW statement 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, so and/or, snake_case_name and 2*3*4 stay plain text.
  • Org: shifting a date (S-Up/S-Down on a timestamp) no longer swallows the word after it: only a real weekday abbreviation (Mon..Sun) is rewritten, so 2026-08-05 on the 5th keeps its on.
  • Modal Visual Line: V then j now 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 smallest i128 and 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-arithmetic requires. A selection or page size at the edge of usize no 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, as vix ~/src/app does, instead of the current directory.
  • vix some-folder opens 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 . or vix ~/src/app.
  • Org column view’s TIMESTAMP skips planning lines. TIMESTAMP and TIMESTAMP_IA showed an entry’s SCHEDULED:, DEADLINE: or CLOSED: 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 /var or /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 own lsp_servers entries 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 a Local 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 new modeline_lines setting (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. See spec/ci.
  • A formal security policy. SECURITY.md now 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. See spec/security.
  • Open Remote lists Kubernetes containers and WSL distributions. When kubectl is installed, File → Open Remote… offers Kubernetes container…, which lists the containers of the running pods in the current namespace. When wsl.exe is 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 and vix --doctor output) or a feature request form (the problem first), and the new-issue page links Q&A for questions, Ideas for undecided features and SECURITY.md for security problems. The README and the site link to Discussions. See spec/community (T747).
  • Zed keymap: Alt keys. Alt+Up/Alt+Down move the line and Alt+./Alt+, go to the next and previous Git change, as in Zed.
  • Fresh and ttt keymaps: Alt keys. Alt+Up/Alt+Down move the line in both; ttt’s Alt+./Alt+, switch tabs; Fresh’s Alt+Left/Alt+Right go back and forward, Alt+. opens code actions and Alt+/ searches the project. Alt+letter keeps opening menus.
  • Helix keymap: every selection at once. With several selections (after C or s), the motions (w/b/e, W/B/E, f/t/F/T, x, h/j/k/l) move every one, and d, c (then typing at every cursor), r, ~, >/<, p/P, i/a and . act on every one, as in Helix; ; collapses them all. Each change is one undo step. y copies 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. See docs/keymaps.
  • ttt keymap: fold chords. Ctrl+K [ toggles a fold, Ctrl+K 0 folds all and Ctrl+K 9 unfolds 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 as C-k- and the which-key popup lists its second keys.
  • Zed keymap: Ctrl+K chords. Ctrl+K Ctrl+L toggles a fold, Ctrl+K Ctrl+0/Ctrl+J fold and unfold all, Ctrl+K Ctrl+C comments, Ctrl+K Ctrl+S shows the keyboard shortcuts, Ctrl+K Ctrl+W closes all, Ctrl+K Ctrl+Z toggles soft wrap, Ctrl+K Ctrl+O opens a path and Ctrl+K V opens 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) and select_word (select the word at the cursor), both in the command palette and in keybindings.toml. The Fresh keymap now binds them to Ctrl+K and Ctrl+W, and Ctrl+H to delete the word before the cursor, as in Fresh.
  • Helix keymap: counts and . repeat. A number before a command repeats it, as in Helix: 3w selects the third word (v3w everything through it), 2x two lines, 5j moves down five, 3fx finds the third x, 2p pastes twice, u/U/>/< take a count, and 10gg goes to line 10. . repeats the last change on the current selection: d, c or i/a with the text you typed, r, ~, >/<, and p/P; 3. repeats it three times. See docs/keymaps.
  • Fresh and ttt keymaps. View → Keymap → Fresh binds Fresh’s default keys (Ctrl+P Quick Open, Ctrl+E/Ctrl+B file explorer, Ctrl+] matching bracket, …), and View → Keymap → ttt binds ttt’s, including its two-key Ctrl+K … and Ctrl+L … chords (Ctrl+K P files, Ctrl+K S save as, Ctrl+L F format). Any table-driven keymap can now have such chord prefixes. Vix now has thirteen keymaps; see docs/keymaps.
  • Zed keymap. View → Keymap → Zed binds Zed’s default shortcuts, with Ctrl standing in for Cmd: Ctrl+P file finder, Ctrl+Shift+P command palette, Ctrl+Shift+O outline, Ctrl+T project symbols, Ctrl+. code actions, Ctrl+Shift+G Git panel, Ctrl+B/Ctrl+J docks, Ctrl+D select next occurrence, and more. The full list is in docs/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, x for lines, % for everything) and an action acts on the selection (d, c, y, p/P, r, ~, >/<, u/U). v toggles Select mode, where motions extend; ; collapses, , keeps the primary selection, C adds a cursor below and s selects regex matches. g goto (gg, ge, gh, gl, gd, gr, …), mm, a Space leader (Space f file picker, Space s symbols, Space / global search, Space k/r/a hover, 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. See docs/keymaps and docs/reference/keybindings-helix.md.
  • Docs: Vix for Zed users. A new docs/for-zed-users guide 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 (or vix-gpui, vix-iced, vix-gtk4, vix-slint, vix-bui, vix-zgui) builds that front end from source; 2.0.2 of each is published against vix-tui 2.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 matrix Cargo feature, an [[im.accounts]] entry with protocol = "matrix", a homeserver and a user connects through vix-matrix, a separate helper program on matrix-sdk with end-to-end encryption (vodozemac) and an encrypted SQLite store, so vix itself 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 reads VIX_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). Both vix-matrix and vix-matrix-protocol are 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-zgui opens the whole Vix App in 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-zgui or brew 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 as vix-egui. See gui/vix-zgui/spec and docs/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+C on 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/F7 show 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, a adds a row, d deletes or restores one and u discards a row’s changes; W commits everything in one transaction and rolls it all back unless each statement affects exactly one row. Enum, boolean and CHECK (… IN …) columns offer their values with ↑/↓, generated columns are read only, and =expr values are computed by the server (T777).
  • DB workbench: search rows on the server. F on a table preview builds a WHERE from 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 DROP and TRUNCATE always ask on any connection. Pasting a postgres://, mysql:// or sqlite: URL or a libpq key=value string into the connection form fills it in; a password in it is never saved (T781).
  • DB workbench: Copy for AI. A copies 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 --mcp offers it to AI agents through four new tools: db_connections (name, engine, environment and database; never the host, user or password), db_tables, db_describe and db_query. A query must be one SELECT, WITH, EXPLAIN (not ANALYZE), SHOW or VALUES statement; 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 to mcp-db.log next to the session file. Unshared connections stay invisible (T783).
  • DB workbench: export whole tables. In the schema tree, m marks tables and e exports them, or the table under the cursor: CSV, JSON or NDJSON per table, or one SQL file of INSERTs 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 .sql file. Ctrl+P in 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 \copy is refused before anything runs (T786).
  • DB workbench: relations and aliases. R on a table lists its outgoing and incoming foreign keys and the views that depend on it, and completion after o. now resolves table aliases such as FROM 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 in target/llvm-cov/) and uploads Cobertura, LCOV, JSON summary and HTML reports. make coverage runs 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 existing config.toml keeps its own widths.
  • Minimum Rust is now 1.98 (current stable 1.100 minus two) for the terminal app, gui/ and matrix/; packaging/crates-io-vix keeps its own floor. The repository’s toolchain is pinned to 1.100.0 in rust-toolchain.toml, and the CI jobs that build on the floor set RUSTUP_TOOLCHAIN so the pin does not replace it. [profile.dev] keeps line tables only and no debug information for dependencies, and make test-minimum-supported-rust-version checks 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 chrono is gone from the build. Vix already used jiff for dates; the only chrono left came from the trash crate’s Linux backend, which needs it to write the spec’s DeletionDate. 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 .trashinfo claimed before the move. macOS and Windows still use the trash crate, with its default features off. The desktop GUIs’ chrono comes from gpui and Slint and is unchanged. See crates/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. act runs Vix’s GitHub workflows locally only for jobs without Rust on an Apple silicon Mac: it needs an image fix under Podman, and rustc segfaults under qemu. Nix already passes in CI (verify-nix), and Dagger and Woodpecker would add a second definition of every job. None replaces scripts/check-linux. See spec/local-ci “Tool evaluation” (T768).
  • Makefile targets. make help lists every target, each documented in its own ## block. make release is now make build, and make github-pages is now make publish-github-pages (the script is now bin/publish-github-pages). New: make check-env prints the tools, versions and paths in use, make lint (and make lint-markdown) proofreads the Markdown through the new scripts/lint-markdown.sh, and make test also runs the new bin/test-github-discussions, which checks that GitHub Discussions is on (skipped without a signed-in gh). make check is still the full scripts/check gate.
  • Guides for users of other editors moved from docs/for-*-users/ to docs/vix-for-*-users/ (for example docs/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 install and cargo install for 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’s delete_forward now 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-headless 0.8.0). BUI 0.4.1 is GPL-3.0-or-later instead of GPL-2.0-or-later; vix-bui stays GPL-3.0-only, and scripts/check-binary-licenses now classifies the new id. TypeScript stays on 6 because svelte-check does not support 7 yet. Later: vt100 0.16 → 0.18 (terminal sizes are now non-zero types; a 0 size is still clamped to 1), toml 1.2 and fresh lockfiles; evalexpr stays at 11 (license).
  • Keyring 4. Saved database passwords and AI provider API keys on macOS and Windows now go through keyring 4’s keyring-core with the native apple-native-keyring-store (login Keychain) and windows-native-keyring-store (Credential Manager), replacing keyring 3. 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 uses secret-tool, and a build without sql and ai links 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_mb setting was.
  • A missing rust-analyzer says how to install it. When rust-analyzer on your PATH is 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 run rustup 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 and mise tools, and the built-in language servers never started. It now takes your login shell’s PATH once 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 (>terminal finds 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 on notes/today.org opens 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, .org files 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 in themes/); 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 --exact needs the full path, so a test in mod tests matched nothing. It now builds the path from the file’s place in src/ and the enclosing mod blocks (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_agent covering 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 windows crate inside wgpu-hal (already fixed by the GUI lock refresh). vix-fileops no longer warns about an unused variable on Windows (T791).
  • Release planning with vix-zgui. Making vix-zgui publishable (T791) also made dist try to ship it, so dist plan failed on its missing WiX GUIDs. vix-zgui, vix-gtk4 and vix-bui now opt out of dist explicitly; the release still ships vix-tui, vix-gpui, vix-egui, vix-iced and vix-slint.
  • Git panel: Discard and the smart-commit question answer again. In the Git → Changes panel, d asked to discard a file’s changes but y never discarded them, and with nothing staged c asked whether to stage everything but n or 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-linux runs 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 (--load for 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_JOBS overrides it), uses the host’s rustc version instead of the MSRV so clippy matches the local gate, and installs zip. The push tier now passes in the container. scripts/build-linux-packages also works on Python older than 3.11.4, such as Debian 12’s 3.11.2, which rejects extractall(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 render now retries a .sha256 download 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 < file body, a project-environment detector’s detect entry, and a Cowork guest’s path could name a file outside their folder on Windows: \x (a root with no drive) and C:x (a drive with no root) are not “absolute” there, yet joining them replaced the folder, and a Cowork path’s later C: 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 \\?\ form canonicalize returns, with escaped backslashes); they are file:///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 and resources/read work 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 build stopped 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 delete action 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_query tool no longer fail on a PostgreSQL timestamp, date, interval, numeric, json, uuid, array, inet or enum column, a MySQL DATETIME, DECIMAL, TINYINT or JSON column, or a SQLite column declared BOOLEAN, DATE or DATETIME. Values show as the server writes them: timestamps as ISO 8601, numbers exactly, JSON as JSON. Binary data that is not text shows as \x hex, and PostgreSQL plan trees are read as JSON again (T787).
  • Editor: Delete, Go to Line and trim on save. Delete with 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/vix through 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 vix crate points to vix-tui. A last vix 1.7.2 on crates.io has no editor; its README and its vix command say to run cargo uninstall vix and cargo install vix-tui (T644).
  • Demo scripts run again. The VHS tapes in docs/demos/ changed to a demo-workspace path that no longer exists (it moved under tui/), 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 its path:line reference (T757).
  • Docs and site describe 2.0.2 as released. The documentation, the website and llms.txt no longer call 2.0 unreleased; they say the container image is built but not public yet and that cargo binstall is 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} in ai_command is 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 -wal file expose stale memory. Vix bundles the affected SQLite through the DB workbench’s driver (sqlx 0.9.0 → libsqlite3-sys 0.37.0), and no sqlx release accepts the fixed libsqlite3-sys 0.39.0 yet, so deny.toml ignores 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 for paste (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-musl build 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-bui opens the whole Vix App in a native window drawn by BUI (blenderui 0.4.0): its window, input and canvas painter around the unchanged ui::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, or VIX_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-licenses now classifies that license id). See gui/vix-bui/spec and docs/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/vix has 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-arm runner has no WiX, so the MSI failed at candle and stopped every dist run from reaching the release. The build now installs WiX 3.14, pinned by hash.
  • vix-bui lint off macOS. open_files is 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-14 runner dist asks for, so the job was cancelled before its first step and host never ran. It now builds on macos-latest.
  • vix-oci fake engine tests. Parallel tests could fail with Text file busy when one test forked while another still had its script open for writing. Test-only.
  • vix-slint lint. A test tripped Clippy 1.99’s new assert_is_empty, which failed the advisory GUI job on every platform. Test-only.
  • vix-acp path test on Windows. The test used a Unix-style root, which is not absolute on Windows. Test-only.
  • npm publishing. dist’s npm publish job is on, so a release publishes @vixide/vix (needs the NPM_TOKEN secret); before this, dist built the npm tarball and nothing published it.
  • release.yml drift is caught before a tag. A new dist-workflow CI job runs dist generate --mode ci --check with the pinned dist, so a hand-edited workflow fails on the push instead of on the release.
  • dist release workflow. release.yml is generated by dist and fails its plan job if hand-edited; a dependency pass had bumped its actions/checkout pin, so the first 2.0.0 tag run failed. The file is back to dist’s own output (do not edit it by hand; regenerate it with dist generate).
  • scripts/release-local and CARGO_TARGET_DIR. The script looked for the built binaries under target/ and stopped with “build produced no …” when CARGO_TARGET_DIR was set; it now looks under $CARGO_TARGET_DIR first.
  • ssh tests on Linux. The ssh control directory in vix-authority and vix-tui tests had the same path as the scratch directory where TMPDIR is /tmp, so the 0755 scratch directory failed the control directory’s privacy check and Linux CI failed. The control directory now has a ctl- 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:line references 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 .apk and RHEL/Rocky .rpm packages (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 local kind cluster 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; the nerdctl:// form and the pod and distribution pickers (T718c) are not included.
  • Alpine .apk and RHEL/Rocky .rpm packages. They are built from the static musl binary, but the real nfpm output and the install tests have not run yet (T670a), and the .apk is unsigned.

Changed

  • Dependency refresh. cargo update for the root and gui/ lockfiles (toml 1.2, trash 5.3, ureq 3.5.1, and others), the site’s npm dependencies within their ranges, and one actions/checkout / download-artifact pin 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 confirming y, 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/refresh arrived while a codeLens/resolve was in flight, the refreshed list asked for the same lens again and both replies were added, drawing a title such as 2 references | 2 references. A resolve reply with no matching unresolved lens is now ignored. This was the cause of a one-in-many flake in code_lenses_are_requested_resolved_refreshed_and_run_in_a_live_app. Spec: vix-lsp.
  • musl release build (T670). The x86_64-unknown-linux-musl build is now configured to link statically and without PIE (.cargo/config.toml), and CI checks the result with the new scripts/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::run passes through kubectl exec against a real kind cluster (opt-in VIX_TEST_K8S=namespace/pod/container, test a_real_kubernetes_container_conforms), with no bug found in the shell authority. ExecTransport::lost now also recognizes the messages kubectl printed 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 with command 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 via helm/kind-action, path-filtered to crates/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 .apk and RHEL/Rocky 8 and 9 .rpm (T670). scripts/build-linux-packages now packages the static musl vix-tui as an Alpine .apk and as the x86_64 .rpm (no glibc requirement, so RHEL/Rocky 8 and 9 work); .deb, Arch and the GUIs stay glibc. linux-packages.yml install-tests them on alpine:3 and Rocky 8/9. New scripts/test-build-linux-packages (stub nfpm) is in scripts/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.yml builds vix-tui for x86_64-unknown-linux-musl on an x86_64 runner as the release does, then scripts/check-alpine shows file/ldd, checks the binary is static and runs it in an alpine container with --version and --doctor; nothing is uploaded. scripts/test-check-alpine (Docker-free, in the push tier) tests the script. The job passed on real x86_64 Alpine (binary statically linked, vix --doctor ran). Spec: spec/rust-cargo-config-toml-musl.
  • Clean-room gate environment (T764). scripts/check now runs without any compiler-cache wrapper by default: new scripts/clean-room.sh (sourced) drops kache/sccache directories from PATH, empties RUSTC_WRAPPER, points RUSTDOC at plain rustdoc (config build.rustdoc otherwise still runs the shim), removes wrapper test runners, and sets HOST_CC=cc HOST_CXX=c++; it prints one ==> environment: line and reports CARGO_TARGET_DIR (it never changes it). VIX_CLEAN_ROOM=0 opts out. Decision: retire wrapper caching for the gate, reject a shared target directory and sccache; one private target directory per concurrent gate. scripts/test-clean-room (in the push tier) proves the wrapper is stripped. The root cause inside kache 2.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 by scripts/check-i18n.js (part of pnpm 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 (default push) in a Linux container from a Mac, using the docker CLI 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 official rust:<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 ~/.ssh or any credentials. VIX_CI_DRY_RUN=1 prints the commands. scripts/test-check-linux (in the push tier) 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 VERSION builds the three Makefile targets, writes a .sha256 per asset and a SHA256SUMS, and SSH-signs it (SHA256SUMS.sig, namespace vix-release); --verify-dir DIR verifies a downloaded release. It refuses without a clean tree on main, a valid full-tier attestation, a matching workspace version and changelog section, and the build tools. The default and --dry-run print the exact gh/tea commands 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 --tag makes a local signed one). release.yml stays the manual fallback. scripts/test-release-local is in the push tier. 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_for now takes a tab index and returns PaneView.
  • 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_start now 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 way git add -p edits a hunk (unselected removals become context, unselected additions are dropped, counts recomputed; mirrored for discard) and handing it to git 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 (one git 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, or v in 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 setting review_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 list names 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, docs and verify. 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. verify fetches refs/notes/vix-gate and runs scripts/attest --verify against 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 until VIX_VERIFY_REQUIRED=1. scripts/test-ci (part of the push tier and above) tests the job table, that every forge file names real jobs, and verify against 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 as setInstructionBreakpoints to adapters that report supportsInstructionBreakpoints; 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) and b in the Debug panel send dataBreakpointInfo for the highlighted variable and set or clear a data breakpoint with setDataBreakpoints (writes, when the adapter offers that), for adapters that report supportsDataBreakpoints. 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]] in env.toml may carry an env table of extra variables for its own command only (plain strings, no expansion; names are identifiers, LD_*/DYLD_* are refused, PATH is allowed; one bad entry invalidates the file). The names are shown after Reload Environment. Same workspace-trust gate. Library: vix_project_env::Runner takes 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/attest runs scripts/check --tier full and, only on a pass, records a note under refs/notes/vix-gate bound to the tree hash of HEAD (tier, gate version, toolchain, OS, timing, timestamp), signed with the maintainer’s SSH key via ssh-keygen -Y sign. scripts/attest --verify [rev] is a read-only check (signature against the allowed signers, tree, full tier, gate version) for the hook and for a forge job. make hooks installs scripts/hooks/pre-push, which refuses to push main or a tag without a valid attestation; VIX_ALLOW_UNATTESTED=1 is an explicit escape for non-main branches only. Commit signing is untouched and nothing is pushed automatically. scripts/test-attest (part of the push tier and above) tests it all against a throwaway repository and key. Spec: spec/local-ci.
  • Gate tiers (T760). scripts/check --tier fast|push|full (default full, unchanged): fast runs fmt, clippy and tests of the crates changed since main; push adds the whole workspace, build, cargo doc, generated docs and man page, and scripts/check-docs; full adds 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; fast and push end in distinct OK (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 in ai_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 ACP terminal/* methods: each terminal/create opens a prompt naming the full command line and runs only on y, 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-ci assesses 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.md and tasks.md gain Run T (T760-T768).
  • 2.0 launch kit (T745). A /whats-new/ page on the website, user-facing release notes in docs/whats-new-2-0, and announcement drafts in docs/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 of scripts/check, keeps the winget, Scoop and AUR templates, the cargo binstall metadata and the Nix flake consistent; render <version> rewrites the templates from a release’s .sha256 files, 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 unless PACKAGING_PUBLISH is true and 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). r in 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 one git 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 file marker 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} and DiffLine::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 name instead of custom; a user-level env.toml beside 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 set timeout_secs (1 to 60, default 5). Library: vix_project_env::Runner takes the timeout, resolve/resolve_with/needs_trust take the user file, ProjectEnv gains name and label() and is #[non_exhaustive] (build it with ProjectEnv::new), Detector gains timeout_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]] with name, detect files and a command that prints the same JSON as direnv export json); the status bar shows custom. Detectors run project-controlled code, so they are gated by the workspace-trust decision exactly like direnv/mise. The trust prompt is now also raised for a workspace that has only an .envrc, a mise config or a .vix/env.toml detector (new ScriptTrustPrompt::env; new Source::Custom). Spec: crates/vix-project-env/spec.
  • Debugger leftovers (T617). Run → Function Breakpoint… (run.function_breakpoint) toggles a function breakpoint by name, sent as setFunctionBreakpoints to 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_agents lists several (a number; empty is the first). An agent’s fs/write_text_file may 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 over session/load when 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 = true setting (default off; View → Format on Type, action view.format_on_type), typing a character that the language server lists in documentOnTypeFormattingProvider (for example ;, } or Enter) sends textDocument/onTypeFormatting and 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. See crates/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 for workspace/willRenameFiles, willCreateFiles or willDeleteFiles edits (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 send didRenameFiles, didCreateFiles or didDeleteFiles; an explorer copy sends didCreateFiles. Servers that register **/*.x file 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::WillRenameFiles is renamed LspEvent::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’s textEdit and additionalTextEdits. Library: vix_lsp_core::document_extras::{ColorPresentation, parse_color_presentations, color_presentation_params}, Lsp::request_color_presentation, LspEvent::ColorPresentations; DocColor gains rgba and becomes #[non_exhaustive].
  • Document colors and links (T621; crates/vix-lsp/spec). A language server that offers colorProvider has 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 the document_colors setting; one that offers documentLinkProvider has 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 (#L12 jumps to the line); http(s): and mailto: go to the system opener; other schemes are refused. Library: vix_lsp_core::document_extras, Lsp::refresh_document_extras, LspEvent::{DocumentColors, DocumentLinks} and VirtualTextLayer::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 sends workspace/didRenameFiles. Servers that register file watchers (client/registerCapability for workspace/didChangeWatchedFiles, as rust-analyzer and typescript-language-server do) are told about outside edits: open files that changed on disk plus the workspace-root Cargo.toml, Cargo.lock, package.json, tsconfig.json, pyproject.toml, go.mod, go.sum and deno.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-acp crate 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 new ai_agents setting. 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 answer y; 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’s Content-Length, so vix-lsp-core is 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 new inline_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 actions inline_completion.trigger, .accept, .accept_word and .dismiss do 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 obeys ai = "off". New: vix_lsp_core::inline_completion, vix_lsp::ghost, vix_ai_core::fim, LspEvent::InlineCompletion and Lsp::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-env crate. 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 json and mise env --json run 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 .venv source and says so. New action project.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’s window::compile and window::create return the #[non_exhaustive] WindowError (Compile, MissingComponent, Create, Property) instead of String. Display text is unchanged.
  • Typed MCP server errors (T610, sixth slice): vix_mcp_server::workspace::{resolve, read_text} return the #[non_exhaustive] WorkspaceError, tools::call returns ToolError, and Host::sqlite_schema reports a HostError (a boxed error) instead of String. Display text is unchanged.
  • Typed database session errors (T610, fifth slice): vix_db::session::Session::{connect, send, restart, run} and vix_db::catalog::read_sqlite_schema return the #[non_exhaustive] SessionError (Spawn, Connect, Setup, NotConnected, Query) instead of String. Display text is unchanged.
  • Typed REST body-file errors (T610, fourth slice): vix_http_client::rest::load_body_file returns the #[non_exhaustive] BodyFileError (Outside, Read) instead of String. Display text is unchanged.
  • Typed tool errors (T610, third slice): the small tool crates return #[non_exhaustive] error enums instead of String — vix_base_tool::BaseError, vix_base64_tool::Base64Error, vix_url_tool::UrlError, vix_calculator_tool::CalcError (also carried by Outcome::Err), vix_format_tool::FormatError, vix_jwt_tool::JwtError, vix_edit_value::ParseError (Tree::from_text) and vix_script::CatalogError (Catalog::insert_toml). Display text is unchanged.
  • Typed convert errors (T610, second slice after T673): vix_convert_tabular::json_to_rows and the convert function of every vix-convert-from-*-tool crate return the new #[non_exhaustive] vix_convert_tabular::ConvertError instead of String (Parse, NotArrayOfObjects, ElementNotObject, Render). Its Display text is unchanged. Other Result<_, String> library functions are still to convert.
  • Multiple carets (T622): vix_editor_core::multicursor::CaretMove is #[non_exhaustive] and gains WordLeft, WordRight, LineStart, LineEnd, TextStart, Home, BufferStart and BufferEnd. Carets now keep their add order — the primary is always the newest caret — so add_caret_at, add_caret_above, add_caret_below and column_select make the new caret primary instead of keeping the old one, and edits no longer make the lowest caret primary.
  • EditorBehaviorSettings::auto_save (T628) is a vix_settings::AutoSave (Off, Interval, FocusLost) instead of a bool. Config files are unaffected: auto_save = true/false still load.
  • #[non_exhaustive] on the public types that keep growing: PromptKind, App, Focus, Capability, Tab, vix_editor::Editor, LspEvent, Settings and 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 from Default::default() and assign fields) or matched exhaustively (add a _ arm). Adding a field or variant to them is no longer a breaking change.
  • PromptKind::PipeSelection and PromptKind::InsertCommandOutput replace the private flag the Pipe Through Command prompts used.
  • Removed: the deprecated empty module vix_editor_core::editor_crossterm (use editor_input), the deprecated vix_editor_core::Editor::set_clipboard (use copy_to_clipboard), and LspEvent::Edits / LspEvent::LinkedRanges, which nothing has emitted since T652 (use Lsp::take_edit_replies).
  • vix_fileops::read_text_guarded returns a #[non_exhaustive] TextFile { text, lossy } instead of (String, bool).
  • App’s public surface (T674): 95 of its 114 public fields are now pub(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) for send; and vix_ai_core::AiError (Transport, NotJson, Api, NoContent) for complete and each provider’s parse_response. Each implements Display with 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::open and ssh_args return TunnelError (InvalidField, NoPort, NotInstalled, Spawn, Timeout) instead of String. A missing ssh binary now shows a translated “ssh is not installed” message.
  • CodeLens events (T726): vix_lsp::LspEvent gains CodeLensUpdate, CodeLensResolved and CodeLensRefresh; Lsp gains refresh_code_lens, resolve_code_lens, resolves_code_lens and executes_command; vix-lsp-core gains parse_code_lens_list, parse_code_lens, code_lens_line, parse_code_lens_provider and parse_execute_commands. vix-settings has a new flattened language_features group (code_lens). The TUI’s CodeLensMenu chooser is gone: the lens list uses the shared vix-choice-list overlay.
  • LSP completion types (T612): vix_lsp_core::CompletionItem is #[non_exhaustive] (build one with CompletionItem::new(label, insert_text)) and gains range, additional_edits, filter_text, sort_text, kind and commit_chars; message::parse_completion and LspEvent::Completion carry a new CompletionList { items, is_incomplete } instead of a Vec<CompletionItem>, and LspEvent::Completion is now sent even for an empty reply.
  • Snippet completion items (T613): vix_lsp_core::CompletionItem gains insert_text_format (and is_snippet()), and vix_snippet_tool::parse follows the full LSP/VS Code snippet grammar — nested placeholders, ${1|a,b|} choices, \}/\\ escapes, a repeated tabstop number visited once — with a new parse_with(body, Dialect)/parse_lsp that also resolves $NAME variables. A snippet body’s \ and } must now be escaped to be literal.
  • vix_script::DiscoveredScript is #[non_exhaustive] and gains locales_dir (T735); build one with DiscoveredScript::new(stem, path).
  • vix_terminal::Terminal::open and open_command take a fifth/sixth argument, scrollback (lines kept, clamped to MAX_SCROLLBACK; pass 0 for the old behavior), and vix-terminal now uses vt100 0.16 (T631). In Vix, Tools → Terminal run again and Ctrl+] now hide the terminal, which keeps running; Tools → Terminal → Close Terminal (terminal.close) stops it.
  • vix_git::blame_line takes a fourth argument, contents: Option<&str>: the buffer’s unsaved text to blame instead of the file on disk (T657). Pass None for the old behavior. vix_git::discard is new.
  • vix_tasks::Task and vix_tasks::task::NamedTask gain a matcher: Option<String> field (T632), the task’s problem matcher; struct literals must set it (None means the built-in matchers).
  • Debugger API (T617): vix_dap::Dap::start takes HashMap<String, Vec<SourceBreakpoint>> instead of line numbers, plus a StartMode (Launch/Attach); Dap::set_breakpoints takes &[SourceBreakpoint]. DapEvent is #[non_exhaustive], DapEvent::Variables is now { reference, variables }, and it gains Capabilities, Threads, Scopes and VariableSet. Frame, Variable (which gains variables_reference) and vix_settings::DebugAdapter (which gains attach) are #[non_exhaustive]; build them with Frame::new, Variable::new and DebugAdapter::new. App’s Focus gains Debug, and PromptKind gains the Edit Breakpoint and set-variable prompts.
  • LSP hierarchy and pull diagnostics (T619, T620): vix_lsp::LspEvent::CallHierarchyPrepared carries a HierarchyItem { server, item } (the item tagged with the language id of the server that prepared it) instead of a bare serde_json::Value, and Lsp::request_incoming_calls takes that &HierarchyItem instead of (path, item); incoming calls now arrive as the new LspEvent::Hierarchy { direction, locations } instead of LspEvent::References. vix_lsp_core::message::first_call_hierarchy_item is renamed first_hierarchy_item. vix_workspace_search::WorkspaceSearch gains a title: 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 after y/Enter; deletes follow explorer_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 in initialize, with its defaults ticked, sent as setExceptionBreakpoints. Run → Attach (run.attach) sends attach with a new debug_adapters.attach table instead of launch (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 lazy variables requests, Left collapses, and e sets a value with setVariable when 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}, the vix_dap::view tree model (DebugView, Row, RowKind, Section, Activation), and VirtualTextLayer::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 where p/r/e/s/f/d pick, reword (a prompt for the new message), edit, squash, fix up or drop each one and Alt+↑/Alt+↓ reorder them; Enter runs git rebase -i with that list, and a leading squash or fixup is refused first. No editor opens: git gets the list through GIT_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 an edit or a conflict. Cherry-Pick… asks for a branch and lists its commits the current branch lacks; c cherry-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}; LogScope gains Pick and is now #[non_exhaustive].

  • Per-document pull diagnostics (T619; crates/vix-lsp/spec): a language server that offers diagnosticProvider is 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’s resultId as previousResultId; an unchanged reply keeps the diagnostics, reports for relatedDocuments are merged too, and a server’s workspace/diagnostic/refresh request re-pulls every open document (the client now declares refreshSupport). 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, and Alt+D there 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} and vix_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 bundled textobjects.scm queries 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/aa after an operator or in Visual mode (which also gains i/a for the existing objects, e.g. viw), and ]f/[f (]m/[m), ]c/[c, ]a/[a motions, 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/Kakoune Alt-s) and Select Regex Matches in Selection (edit.select_regex_in_selection, Kakoune/Helix s). The catalog actions now do what their names say: skip_multi_cursor/skip_multi_cursor_back move the newest match on to the next/previous occurrence, remove_multi_cursor removes only the caret added last, and spawn_multi_cursor_select splits 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} and PromptKind::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 the inline_diagnostics setting; and a click on a rustc arrow or Python frame line in the bottom dock jumps to it. A tasks.toml task can choose a matcher, turn matching off, or give its own regular expression with matcher = "…". Paths resolve against the folder the command ran in, and a file is opened only when you go to it. Library: new vix_tasks::matcher (MatcherSpec, Builtin, Scanner, Problem, ProblemList, scan, locate, resolve_path) and VirtualTextLayer::TaskProblems.

  • Terminal-to-editor bridge (T666; crates/vix-terminal/spec): Ctrl+click a path: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, also Ctrl+\; with capture off Ctrl/Alt chords reach the editor and the title says editor keys). A shell that exits no longer closes its tab: it is marked exited, Enter restarts it and any other key closes it. Library: vix_terminal::{Osc7Scanner, paste_bytes, word_in} and Terminal::{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+PgDn switch, and hidden terminals keep running. Each keeps a bounded scrollback (new terminal_scrollback setting, default 2000 lines, at most 50 000): Shift+PgUp/Shift+PgDn page it, Shift+Home/Shift+End jump 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, vim with mouse=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} and Terminal::{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_save is now "off", "interval" or "focus_lost"; an old true/false still loads). Colors now fall back on terminals without truecolor: the depth is decided from COLORTERM, TERM and TERM_PROGRAM (Terminal.app gets 256 colors, the Linux console 16), with no startup terminal query, every frame is downsampled to it, and vix --doctor reports 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, and App::{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 the MIN_PREVIEW_WIDTH/PREVIEW_BYTES/PREVIEW_RADIUS/HISTORY_CAP constants.

  • 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; Enter keeps it, Esc puts 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 crate vix-undo-tree-panel (TreeNode, Row, layout, Panel); vix_editor_core::history::History is Clone and gains nodes() (a new #[non_exhaustive] UndoNode with seq, parent, children, timestamp), current(), path_to() and select_redo_branch(); Code::select_redo_branch and Editor::goto_undo_state are 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.change 2) now gets one ranged didChange per 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 with semanticTokens/range when the server offers it (again when the view scrolls away), else as a full/delta against the last result, and are debounced (150 ms) while typing; a reply for an older version of the document is dropped. Library: new vix_lsp_core::sync (SyncKind, ContentChange, diff, apply, position_at, offset_at) and message::{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_tokens takes the visible range (Option<Range>), and Lsp::semantic_tokens_ranged is 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 with hot_exit = false.

  • Jupyter: Org babel evaluation, images and trust settings (T734e–T734h; docs/jupyter, spec/jupyter), in a build with the opt-in jupyter feature. 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/output and replace/append/silent, :file and :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 :file outside the Org file’s folder is refused. New jupyter_confirm_evaluate setting ("untrusted" by default, "always", "never"); the Org-block confirmation now offers a, “always in this workspace”, remembered in the session file (new WorkspaceSession::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. New vix_jupyter_core::{babel, image}, org::results_append_edit, kernelspec::gate_project_dirs and vix_jupyter::PrivateDir. jupyter adds 0.88 MiB (+3.5%) to a stripped release vix; it stays out of full for now (the recommendation is recorded in spec/jupyter).

  • Jupyter kernels in the editor, opt-in (T734c, T734d; docs/jupyter, spec/jupyter): in a build with the jupyter feature (cargo install vix-tui --features jupyter; not in default or full), the new Run → Jupyter submenu and >jupyter palette 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. New Capability::Jupyter, vix_jupyter_core::cell and ConfirmKind::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): new scripts/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 throwaway HOME, 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-core is 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.json parsing and Jupyter’s kernelspec search path, the output and MIME model, ANSI stripping for tracebacks, and the Org #+RESULTS: formatter. vix-jupyter finds installed kernelspecs and, behind its process feature, launches a kernel with a fresh random key kept only in a 0600 connection file in a private 0700 directory (Unix sockets on Unix, 127.0.0.1 TCP on Windows) and talks to it from a worker thread through the pure-Rust zeromq crate: KernelHandle::{launch, connect, execute, interrupt, restart, shutdown, events} and KernelEvent. 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; a jupyter_wire fuzz target covers the codec. New build feature jupyter, not in default or full; no menu or action uses it yet (T734c). New dependencies: zeromq and hmac.

  • 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, no unsafe), 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; see docs/performance, reproduced by scripts/bench-large-file). New crate vix-large-file. Editing a large file is out of scope.

  • Install-channel templates, not yet published (T742, T743; packaging/): a Nix flake (flake.nix, for nix run github:vixide/vix), cargo binstall metadata in tui/Cargo.toml matching dist’s real release asset names, a container image (docker/Dockerfile: a multi-stage build that runs vix as a non-root user on the demo workspace, plus a container.yml workflow that pushes ghcr.io/vixide/vix on a release tag only), winget manifests, a Scoop manifest, an AUR vix-tui-bin PKGBUILD and the mise commands. None of these channels is published yet; the getting-started page lists them under “Not yet published / unverified”, and packaging/index.md gives the steps to verify and submit each one.

  • AI optional (T730): the new ai setting ("on" by default) turns AI off with ai = "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 the ai_command CLI 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_symbols and outline (Vix’s offline symbol scan, Markdown headings, Org headlines), diagnostics (merge-conflict blocks; no language server in this mode) and db_schema (SQLite files in the workspace, opened read-only) — plus the open buffers as file:// 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 load config.toml). New crate vix-mcp-server; vix_session::Session::load_existing and vix_db::catalog::read_sqlite_schema. See docs/mcp-server/index.md.

  • LSP status and progress (T732): language-server $/progress tasks (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 — and r restarts the highlighted one. New vix_lsp::{ServerStatus, ServerState, ServerError}, Lsp::statuses, Lsp::progress_line, Lsp::restart_language, and vix_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_keep setting; in vix-undo-store), Search Everywhere (one palette box over files, commands and symbols), a Refactor… menu and Organize Imports over LSP codeAction, Code Cleanup, named run configurations in .vix/run.toml (before-launch steps, compounds; in vix-tasks), Peek Definition, CodeLens (T726: lenses drawn as dimmed virtual rows above their lines in vix-editor-core, with soft wrap and folds; refreshed on open, 500 ms after edits, on save and on workspace/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 as workspace/executeCommand and mapping rust-analyzer’s runSingle/showReferences to Vix’s command runner and references list; local Run test lenses from vix-tasks test-at-point where the server has none; code_lens setting and View → Editor → Code Lens), and postfix completion (expr.if + Tab; in vix-snippets). Each is on a menu and in the command palette. New crate vix-choice-list is the shared pick-one overlay.

  • Todo Tree (T682): Tools → Todo Tree groups the project’s TODO/FIXME/HACK/XXX/BUG/NOTE comments under foldable headers, by tag or by file (g), and jumps to the one you pick. The pure model is the new vix-todo-tree crate; the flat TODO Finder shares its scan.

  • Format with your own Prettier (T683): list languages in the new prettier_languages setting (typescript, css, markdown, …) and Format Document and format-on-save run prettier --stdin-filepath for them, honoring .prettierrc* and .prettierignore. It uses the project’s node_modules/.bin/prettier (trusted workspaces only) or one on PATH, times out after 10 seconds, and shows a translated hint when Prettier is missing. Vix never bundles Node. See docs/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 from FHIR_* environment variables rather than the file. Responses open as pretty-printed JSON; an OperationOutcome is shown as readable issue lines first. Tools → FHIR Bundle browses a Bundle one row per entry (Enter opens the resource, n follows the next link). New crate vix-fhir; vix_editor::Editor::new_tab_with_content_as. Nothing is logged or written to disk.

  • REST Client (T680): a .http buffer can hold many requests separated by ###, and Send HTTP Request sends the one at the cursor. Adds @name = value file variables, {{$guid}}/{{$timestamp}}/{{$datetime}}/{{$randomInt}}/{{$processEnv}}/{{$dotenv}}, named-response chaining ({{login.response.body.$.token}}), ?/& query continuation, < file bodies (confined to the file’s folder), Basic-auth shorthand, and Tools → Copy HTTP Request as curl. vix_http_client gains rest and send_response/Response.

  • REST Client environments (T680): .vix/http-env.json (a $shared section 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 dependency roxmltree.

  • Advisory coverage CI job (T607): GitHub CI runs cargo llvm-cov --workspace --cobertura and uploads cobertura.xml, which the coverage gutter can load (see docs/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_modules and site-packages) open locked with a 🔒, so Go to Definition can’t lead to an accidental edit; View → Editor → Read-Only unlocks one. Files under ephemeral_paths (default **/.git/**, e.g. COMMIT_EDITMSG) are left out of the saved session.

  • HL7 v2 view and MLLP send (T685): new vix-hl7 crate 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 delimiters MSH declares, decodes escape sequences, filters as you type and jumps to the field. Send asks for an explicit host: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 the http capability. See docs/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]] in config.toml, with the SASL password read only from VIX_IM_PASSWORD_<NAME>. Enter on a path:line reference opens it, only inside the workspace. Share Selection shows exactly what will be sent and to whom first; Share Location sends path:line:col. The status bar shows IM n unread and @ 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 to history_days; Clear History deletes it after a confirm. Received text is sanitized (controls, escape sequences, bidi overrides). New [im] settings and a new im capability feature (in net and full). Line threads came with T753 (next entry). See docs/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, r resolves 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 (new vix_editor_core::editor::CommentMark and Editor::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 settings oc_engine and oc_mode, a new oc capability feature, and the new vix-oci and vix-oci-panel crates. Registry login, Dev Containers and an App-level fake-engine test are not done. See docs/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: Enter opens the commit as a read-only git show tab, Ctrl+O checks it out, Ctrl+B creates a branch at it, Ctrl+P cherry-picks it (checkout and cherry-pick ask first; a failed pick is undone) and Ctrl+Y copies its hash. History loads 200 commits at a time. The lane algorithm is the new pure vix-git-graph crate, property-tested over random commit DAGs. See docs/git-graph/index.md.

  • Cowork: edit together in real time (T690-T696, spec/cowork, opt-in cowork build 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 in spec/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 (.gitignore honored) and open files themselves, never .env files, .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 crates vix-cowork (the pure core: document, peers, permissions, paths, wire messages, presence, sessions) and vix-cowork-net (the encrypted transport). The wire format reserves room for session chat (T756). Not in the default or full build; build with --features cowork. Not yet: reconnecting after a dropped connection, content search across the shared tree. See docs/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 the terminal level 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 new Channel::Terminal messages 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; cowork build): 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 new Channel::Chat (Chat, ChatMuted, tags 48–49; 50–63 stay reserved and are skipped by older and newer peers alike), carry text, /me actions, 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 N follows 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::new now holds the empty notes document and shared() 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.toml is merged over your config.toml (tables key by key), and a [languages.<id>] table in either file sets tab_width, indent_style, soft_wrap, format_on_save, trim_trailing_whitespace and 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 to config.toml without copying the project’s values into it; saving .vix/settings.toml applies it live. vix-settings gains Settings::languages, Settings::for_language, merge_layer, unmerge, unknown_keys, language_key_problems and project_settings_path; ScriptTrustPrompt is #[non_exhaustive] with a new settings field.

  • 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_provider setting — "auto" (default), "system" or "osc52". With auto, copying over SSH (SSH_TTY/SSH_CONNECTION set), 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 needs allow-passthrough on). Paste under OSC 52 reads Vix’s own last copy. vix-clipboard gains Provider, Environment, select_backend, encode_osc52 and configure.

  • Completion that keeps up with typing (T612): the LSP completion popup now narrows as you type (fuzzy-matched on each item’s filterText, ordered by sortText) 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’s textEdit range and applies its additionalTextEdits, 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 new lsp_auto_complete = false setting to keep Ctrl+Space only. See crates/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_diagnostics setting 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_text adds end-of-line virtual text that several producers can share.

  • Translations in Rhai plugins (T735; docs/scripting): a plugin can ship locales/<code>.toml string tables, and its scripts read them with the new tr(key) / tr(key, #{ name: value }) functions (%{name} placeholders) and locale(), 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. The locales/ folder is data only (a .rhai file there never runs), it is covered by the plugin’s trust digest, and a broken file is reported and skipped. No new capability: tr reads only the plugin’s own strings. New vix_script::Catalog, Runtime::set_locale/locale/load_with_catalog, DiscoveredScript::locales_dir and plugins::LOCALES_DIR.

  • Rhai plugin installer (T637): vix --plugin install <git-url>[@rev], list, update [name] and remove <name> install git repositories of .rhai scripts 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) opens a..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. New vix-review crate and vix_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_base setting (head, index, disk or branch:<name>) and Git → Change Gutter Base… choose the base. index stops marking staged hunks (T657), disk marks exactly the unsaved edits, and a branch marks the whole difference from it. New public vix_git::GutterBase and vix_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::Editor gains set_filler_rows, clear_filler_rows, filler_rows, filler_before and display_row; vix_diff_view::compare::fillers computes them. They are drawn in unwrapped views only.

  • Windows on ARM release (T658): vix now ships an aarch64-pc-windows-msvc .zip and .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 deploy starting #!/usr/bin/env bash, now gets its syntax highlighting and comment prefix from the #! line (shell, Python, JavaScript, TypeScript).

  • View → Fold / Unfold (T658): editor.fold folds the innermost range around the cursor, and editor.unfold opens 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…, Enter opens the selected file’s diff against HEAD and d discards 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 also git 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 vimdiff do/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). See docs/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 the tasks feature leave both out. See crates/vix-editor/spec/pipe-selection/index.md.

  • Linux packages (T668): every release now carries native .deb, .rpm and Arch .pkg.tar.zst packages of vix-tui and the four released desktop GUIs, for x86_64 and aarch64. Install with sudo apt install ./vix-tui_*_amd64.deb, sudo dnf install ./vix-tui-*.x86_64.rpm or sudo 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. See spec/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_all action 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 new scripts/render-theme-gallery.py, which runs the real vix release 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 as EditReply, tied to the document they were requested for and version-checked; LspEvent::Edits and LspEvent::LinkedRanges are no longer emitted. vix-editor gains Editor::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 three keymaps/visual-studio-code-for-{linux,macos,windows}/keybindings.json files were saved GitHub HTML pages, not keybindings. They now hold VS Code 1.144.0’s real default keybindings, downloaded from the raw files of codebling/vs-code-default-keybindings, with the source, commit and date recorded in keymaps/index.md. These files are reference material only (Vix’s VS Code keymap is the hand-written table in vix-keybindings), so the editor’s behavior is unchanged. A new test, tui/tests/keymaps_reference.rs, parses every keymaps/**/*.json as 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 Org C-c | binding) no longer breaks its row in docs/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.tsx no longer also stages app/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-db tests no longer touch the OS keyring (T639). The keyring is now opt-in (vix_db::secret::use_system_keyring), which vix and 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_workspace now 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-egui and vix-iced turn off muda’s default gtk3 feature: muda is macOS-only here, but the feature still put GTK 3 and the unsound glib 0.18 (GHSA-wrw7-89jp-8q8g) into gui/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.yml gained a note that its pipeline is paused by CI-minute quota. Spec: spec/ci.
  • ACP initialize advertises the terminal capability (T635). The client now sends clientCapabilities.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_json no longer claims a # Panics section (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.rs and ui/, the binary and its CLI modules, and the desktop front ends under gui/ 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, plus unicode-script in the GUI workspace), and vix-egui moves to fontique 0.12. evalexpr (AGPL from 12.0), vt100 0.18 and keyring 4 (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 in OVERLAYS (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 Chooser enum (T611, step 2, first slice; spec/overlay-priority): fifteen App::*_chooser Option fields (branch, stash, worktree, task, script, plugin, location, capture, refile, recent, encoding, macro, clipboard, workspace, HTTP environment) became one App::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 InfoPanel enum (T611, step 2, second slice; spec/overlay-priority): seven App::* Option fields (system info, LSP status, file info, text info, media type, Nerd Font palette, ASCII table) became one App::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 EditSurface enum (T611, step 2, last slice). The table, outline, JSON/YAML, byte and SQL editors and the Org Column View are now one App::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; the App fields edit_table, edit_outline, edit_value, edit_bytes, edit_sql and column_view are replaced by App::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 new ssh://… or /ssh:… one, then connects on a background thread (the status bar shows connecting) and makes the folder the workspace. It connects with ssh’s BatchMode, so it never prompts under the UI: a new host key or a locked key fails with a message saying to run ssh host once (or ssh-add), or to start Vix with vix 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_cli returns the SshTarget.
  • Remote workspace trust (T714): a remote workspace is untrusted until you say otherwise. Vix asks once per host and path (y trusts, n keeps 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 are ssh’s business: Vix never passes StrictHostKeyChecking or a password, and a test checks that no secret from the settings reaches ssh’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, so ssh can prompt as usual, then shares that connection (ControlMaster, with sockets in a private 0700 directory) for every file operation and process; your ssh_config applies. Remotely it needs only POSIX sh and coreutils (GNU, BusyBox, BSD or macOS stat), under any login shell, fish and csh included. Saves are atomic (temp file and mv in 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} (ssh feature for the authority), Authority::write_atomic_if_unchanged with WriteConflict and same_version (an mtime+size check before overwriting; in the conformance suite), and vix_fileops::{decode_text, encode_like}.
  • A real-sshd test for remote editing (T719): scripts/test-ssh-local starts a throwaway, non-root sshd on 127.0.0.1 with generated keys and its own client configuration (host-key checking on, ~/.ssh untouched) and runs the SSH authority’s conformance suite over it; the new GitHub-only .github/workflows/ssh.yml runs it when crates/vix-authority changes or on demand. See “Testing against a real host” in docs/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 one rg --json on the remote machine (or grep -rnF for a plain-text query when rg isn’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 without rg falls back to reading each file. vix-git now 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 with cd -P, as a local chdir does. Library: Authority::is_local (true only for LocalAuthority), 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 the ssh channel with the remote paths as their file:// 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 remote PATH first, 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; initialize sends processId: null (this machine’s process id means nothing there); and diagnostics are no longer canonicalized through a round trip on every frame. Tools → Terminal opens ssh -t over 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 runs sh on its POSIX remote. Library: Authority::shell_is_posix, Authority::terminal, vix_authority::can_run, Dap::set_workdir; vix_terminal::Terminal::open_command takes any OsStr program 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’s exec; 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… (w on a running container) and OC → Reopen in Dev Container (asks first, then runs devcontainer up with the devcontainer CLI and opens the container it reports, trusted). Kubernetes and WSL are so far tested against a stand-in only. Library: SshAuthority is now ShellAuthority<SshTransport> (same API), with vix_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_remote takes any Into<RemoteTarget>, new App::{with_exec_options, with_devcontainer_cli}, and vix::remote::connect_cli returns a RemoteTarget.
  • Remote agent (T717; docs/remote-editing, crates/vix-authority/spec/agent): vix --remote-agent serves 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 a vix of the same version already on the remote machine (its PATH, 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 new remote_agent setting: "installed" (default; never writes to the remote machine), "upload" (also copies this vix there 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_cli takes the remote_agent setting and also returns a note for the Messages drawer.
  • Background commands’ no-prompt environment travels with the command (T712): GIT_TERMINAL_PROMPT, GCM_INTERACTIVE and GIT_SSH_COMMAND are now part of the process description, so a remote authority sets them on the remote side; the AI cli provider always runs on this machine; vix-git resolves git on the remote PATH under 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 crate vix-authority: the Authority trait, LocalAuthority (installed by default, doing exactly what Vix did before), a temp-dir-backed FakeAuthority and a shared conformance suite. Opening, saving, the explorer, File → Open, the file finder, tasks, Org and Org-roam, workspace files, .http environment 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 GitHub msrv job, GitLab’s rust:1.97 image and the Codeberg toolchain move together). Manifest bumps: getrandom 0.2 → 0.4 (getrandom::fill), sysinfo 0.39 → 0.40 (System Information now leaves out facts the platform can’t report instead of failing), etcetera 0.10 → 0.11, and the compatible arboard 3.7, rhai 1.27, rust-embed 8.13, tokio 1.54.1, tree-sitter-md 0.5.4; cargo update refreshes the root, gui/ and fuzz/ lockfiles (among them ureq 3.5, uuid 1.29, icu_* 2.4, pest 2.9.5, cc 1.10, wasm-bindgen 0.2.130). Not taken: keyring 4 (a rewrite around separate credential-store crates), vt100 0.18 (NonZeroU16 sizes and String screen dumps through the Cowork terminal mirror), fontique 0.12 (egui, parley and Slint are all on 0.11) and evalexpr 12+ (AGPL). Dependabot no longer ignores getrandom or ureq. GitHub Actions: actions/checkout v7 (not in release.yml: dist generates that file, and it rejects a hand-edited copy), actions/upload-artifact v7, 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-svelte 7.3.1, @lilydesignsystem/svelte-picker-bar 0.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-panel and vix-convert-tabular, and fixed one broken intra-doc link. Documentation only; no behavior change.
  • vix-db documentation pass. Module docs, rustdoc (with runnable examples for the pure functions) and inline comments across crates/vix-db/src; documentation only, no behavior change.
  • Code documentation for the App shell. Rustdoc and inline comments were added across tui/src/app.rs and tui/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-input and 14 smaller crates; no behavior change. Fixed several stale docs (for example vix_roam::slugify, vix-column-view’s Outcome::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-replace and 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) and vix-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 with cargo run --manifest-path gui/Cargo.toml --release -p vix-gpui or -p vix-egui. See gui/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) and vix-slint (Slint, used under the GPLv3, so vix-slint is GPL-3.0-only), each a complete, self-contained front end like the first two. Run with cargo run --manifest-path gui/Cargo.toml --release -p vix-iced (or vix-gtk4, vix-slint); see gui/spec/index.md for how they compare.
  • Desktop GUI distributions (T645, T647): releases now ship vix-gpui, vix-egui, vix-iced and vix-slint alongside the terminal app — brew install vixide/tap/vix-gpui (or vix-egui, vix-iced, vix-slint), shell and PowerShell installers, archives for macOS and Linux (x86_64 and aarch64), and a Windows .zip and .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 (LICENSE in its package) only those its linked code allows. vix, vix-gpui, vix-egui, vix-iced and vix-gtk4 are Apache-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-slint is GPL-3.0-only (Slint). scripts/check-binary-licenses recomputes this on every CI run. The root LICENSE now points at the license texts’ real directory, docs/licenses/.
  • The terminal UI is now the vix-tui package in tui/ (T643), a sibling of the desktop GUIs in gui/; the repository root is a virtual Cargo workspace. The command is still vix and the npm package is still vix; the Homebrew formula becomes vix-tui (brew install vixide/tap/vix-tui, T645), but the crate published to crates.io is now vix-tui (the vix crate stays at 1.7.1), and release archives and installer scripts are named vix-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-input crate’s event types instead of crossterm’s; only the terminal event loop converts crossterm events. No behavior change in the terminal.
  • No unchecked unwrap/expect in shipped code (T603): draw functions now bail out with let … else instead of unwrapping an Option they just checked, and clippy::unwrap_used/expect_used are enforced workspace-wide (tests exempt via clippy.toml; the remaining provably-safe sites carry #[expect(.., reason)]).
  • One lint policy (T599): unsafe_code, missing_docs and clippy::pedantic now live in [workspace.lints], and every crate and target (tests, benches, examples, build scripts) inherits them; allow attributes now need a reason.
  • Editor::set_clipboard is deprecated (T649) in vix-editor-core: use Editor::copy_to_clipboard, which cannot fail and returns nothing. set_clipboard keeps its 1.x signature and will be removed at 2.0.
  • Smaller crate: the published vix package 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): ureq 2 → 3 for the HTTP client and the AI providers. ureq 2 pinned webpki-roots 0.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-webpki 0.103.16 and webpki-roots 1.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.rs fails 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 bidi setting: auto (default; on for a right-to-left UI language), on, off (for terminals that reorder text themselves). New mirror_layout setting (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, 0 never 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, --diff and the TODO finder.

  • A terminal pinentry no longer corrupts the screen on commit (T570): with commit.gpgsign=true and a curses/tty pinentry-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.rs covers 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 with show_scrollbar_markers = false.

  • A chaos monkey for the real App (T575): tui/examples/chaos_monkey.rs feeds seeded random key, mouse, paste and resize streams into the app on a TestBackend, 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 1 replays it. It runs in a sandbox (empty PATH, throwaway HOME), nightly via .github/workflows/chaos.yml, with a tiny smoke in scripts/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), then COLORFGBG, then assumes dark, and applies the new theme_light / theme_dark setting (defaults light / dark). Asked once per launch, and only when theme is "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. New locales/info.yml translates 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 keyring crate’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 ## Demos section: 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 against tui/examples/demo-workspace/. Regenerate with scripts/render-demos.sh (real VHS, needs a headless-capable browser) or the new scripts/render-demos-lite.sh (no browser at all — a real pty, a hand-written asciicast recorder, and agg for the GIF encode; see its own header and tasks.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_edit in 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.follow in particular carried only an Emacs-keymap C-c C-o chord, unreachable under every other keymap including the default. >Stage Hunk, >Follow Link, etc. now work.

  • Multi-root LSP workspaces (improvement plan T123f): initialize now sends every open workspace folder (workspaceFolders), not just one rootUri — 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. See crates/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. See crates/vix-lsp/spec/index.md.

  • LSP semantic tokens (improvement plan T123a): a server’s textDocument/semanticTokens/full response 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’s initialize response advertises semanticTokensProvider, 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 fresh workspace/diagnostic report 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 $/progress update (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 didOpen for every file that was open on it, with each file’s current content.

  • LSP prepareRename and relatedInformation (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 no prepareRename support). 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-core crate 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 — set ai_provider to "anthropic"/"openai"/"ollama" (new settings, alongside ai_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. See crates/vix-ai-core/spec/index.md.

  • TUI snapshot test harness (tui/tests/snapshots.rs, improvement plan T004): boots the real App against a ratatui TestBackend, drives it with scripted key events, and compares the rendered frame to a golden text file with insta::assert_snapshot!. New “Snapshot” test layer documented in spec/test/index.md (writing + reviewing snapshots) and agents/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 new docs/performance/index.md. New [profile.bench] so cargo bench no longer silently inherits the size-optimized, slow-to-link release profile.

  • 4 more fuzz targets (improvement plan T007): query_replace (vix-find-panel search/replace), tabular_convert (the shared CSV/TSV/JSON core), structured_convert (JSON⇄YAML/TOML), macro_tokens (vix-macros token 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-size job that measures the stripped release binary on every push, caches main’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 from README.md, AGENTS.md, docs/index.md, and spec/ci/index.md.

  • Scripting design spec (improvement plan T101, crates/vix-script/spec/index.md): Rhai as the engine, script discovery (~/.config/vix/scripts/*.rhai and project .vix/scripts/), the API v1 surface (register command, bind key, buffer/selection get/set, prompt, message), error handling, and sandboxing. Design-only — the vix-script crate itself is a documented no-op behind a new default-on scripting feature; 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/Spacemacs vim_normal_key binding table (only gg/dd/yy compose; no counts, registers, Visual mode, dot-repeat, or text objects) and designs the v1 replacement — a Mode enum, pure motion functions, d/c/y composing 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 — the vix-modal crate 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-script engine core (improvement plan T102): the Rhai engine wrapper, .rhai script 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 (no App, no terminal). Resource limits (10M operations, expression/statement depth 64, 1M-char strings, 100k-element arrays/maps) catch a runaway script deterministically.

  • vix-script host wiring (improvement plan T103): scripts under Settings::scripts_dir() and <workspace root>/.vix/scripts/ now load at startup and on a new script.reload action; registered commands are namespaced script:<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 same set_content/paste_text paths a real edit or paste uses (one undo step, blocked on a read-only buffer); a script’s prompt() opens a real single-line prompt and answering it re-invokes the handler; message/error reach 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 wire vix- script’s already-recorded bind_key requests into “the existing keymap-model override layer” — an audit found no such layer exists, so this designs it instead: a Binding{key_token, action_id} schema shared by every built-in binding (across all 10 keymap ids) and every override (a new persisted keybindings.toml, plus scripts), one new on_key choke 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 — the vix-keybindings crate 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_key and its five chord-continuation handlers now dispatch through the new vix-keybindings registry instead of hardcoded matches and five ad hoc EMACS_CTRL_* consts. Fixed a real, pre-existing bug found while converting: the old EMACS_CTRL_X const (used only for the which-key popup and F1 help, never actual dispatch) had drifted from the real C-x chord 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 through vix-keybindings instead of its own hardcoded match; 6 new vim.* 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 own SPC-leader is converted too, via a new lookup_sequence query for leader-style multi-character sequences (its matching algorithm — exact/ prefix/neither over whole typed sequences — doesn’t fit the chord-depth shape Emacs’s C-x/C-c families used). Zero intended behavior change.

  • Keybinding registry: VS Code converted (improvement plan T104c): vscode_ctrl_key now dispatches through vix-keybindings too — one shared table for both vscode-macos and vscode-windows. VS Code’s bindings also appear in the F1 help overlay for the first time (a new vscode_key_display renders 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 plain Ctrl+<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 new vscode_ctrl_token encodes that explicitly rather than relying on the shared token encoder’s usual “Shift implicit in an uppercase char” assumption.

  • Keybinding registry: IntelliJ converted (improvement plan T104d): intellij_key now dispatches through vix-keybindings too — but, unlike VS Code, intellij-macos and intellij-windows are 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, renamed modifier_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) and Ctrl+Shift+G (Windows) were never actually distinct from their plain counterparts, and still aren’t.

  • Keybinding registry: Eclipse converted (improvement plan T104e): eclipse_key now dispatches through vix-keybindings too — one flat table, no schema change needed. Eclipse’s bindings also appear in the F1 help overlay for the first time (folded into the shared modifier_token_display match arm). The one real subtlety: Eclipse’s original dispatch has a binding that isn’t a Ctrl chord at all (Alt+/, word completion), examined only when Ctrl is not held — so Ctrl+Alt+/ falls through to plain Ctrl+/’s action (toggle comment), preserved exactly rather than “fixed.” Zero intended behavior change.

  • Keybinding registry: Sublime Text converted (improvement plan T104f): sublime_key now dispatches through vix-keybindings too — 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_key now dispatches through vix-keybindings too, mixing Shift-guarded and Shift-agnostic letters in one table for the first time (the Shift-agnostic ones get an explicit duplicate row, same technique IntelliJ’s conversion used). global_shared_key — called identically by every keymap, not itself keyed on one — is now backed by a new keymap-agnostic SHARED binding 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, since App::focus is 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, mirroring macros_path()) and vix-keybindings::user_bindings (UserBinding, load, upsert) — the macros.toml pattern copied verbatim, upsert keyed on key_token. Not wired into anything yet — no dispatch, no conflict checking, no App changes at all — just the format and the round trip; that wiring is T104i/T104j.

  • Key binding overrides now actually apply (improvement plan T104i): keybindings.toml entries are resolved against the active keymap’s built-ins and each other at startup (and via a new Tools → Reload Keybindings / keybindings.reload action), then take priority over every keymap’s own dispatch through a single new on_key choke 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. Script bind_key requests don’t feed into this yet (T104j).

  • Script key bindings now actually fire — the vix-keybindings epic is complete (improvement plan T104j): a loaded script’s bind_key requests are resolved into the very same choke point keybindings.toml overrides 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.reload now also refreshes key overrides, alongside the existing keybindings.reload. This is the scripting engine’s original “wire key bindings into the real keymap” promise from vix-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 real vix-script runtime, plus docs/scripting/index.md documenting the full API. A new now() -> String script function (today’s date) — v1 had no clock at all, and the timestamp sample needed one. docs/keybindings/index.md also gained an “Overrides” section documenting keybindings.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. New vix-keybinding-editor-panel crate; vix_keybindings::user_bindings::remove (the reset primitive, alongside the existing load/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 known vix-db streaming-session edge case) — previously only in internal notes, now public. Linked from README.md/index.md and AGENTS.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 → Reload always 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::COMMANDS entry — bare editor primitives like cursor_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 new vix-action-catalog crate, translated into every core locale. vix-keyboard-shortcut-panel::ROWS shrank from 17 hand-curated rows (several of which could show the wrong binding — several keymaps don’t actually bind Ctrl P to 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 previously en-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.rs gained a per-locale coverage report and a regression-proof floor for all 14. locales/app.yml also 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 Delete now moves the selection to the OS trash / Recycle Bin by default, undoable from there, instead of removing it outright. New explorer_delete setting ("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 NEW opens a read-only diff of two files directly — the shape a git difftool driver invokes with (docs/cli/index.md has the config snippet); vix - reads standard input into an unsaved scratch buffer; vix --version --json prints {"name","version"} for tooling. git mergetool needs 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>.json and makes it the active theme. Esc without 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.json as 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-coverage crate) 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. New coverage_path setting 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 t inside the preview opens a table of contents of the document’s headings (Enter jumps the preview there, Esc closes 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, Enter opens the highlighted commit’s diff in a read-only tab), File History (the same list scoped to the active file via git log --follow), and Open File at Revision… (prompts for a branch/tag/commit and opens the active file’s content there, read-only, titled file @ 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 any if statement regardless of formatting, with $X capturing one token (or a whole bracketed group) and $$X capturing 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. New vix-structural-replace crate: a token/bracket-based matcher, not tree-sitter (see its spec for why).

  • Docs coverage audit (improvement plan T302): scripts/docs-coverage lists crates with no detected docs/ coverage into docs/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.md organize the existing docs/ 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 from main (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)generates docs/reference/actions.md (every dispatchable action id, resolved title, and source), docs/reference/settings.md (every Settings field: key, type, default, description), and one docs/reference/keybindings-<keymap>.md per 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 (and scripts/check) now regenerate and git diff --exit-code these 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 existing docs/for-visual-studio-code-users/index.md (a claimed Alt+Up/Alt+Down move-line binding that doesn’t exist; Ctrl+Shift+K cuts a line rather than deleting it) and added the honest gaps it was missing (no Ctrl+D incremental multi-select, no F5 one-key debug start). docs/compare/index.md rewritten into a 13-row feature-parity matrix against Vim, Helix, Micro, and Zed.

  • Man page (improvement plan T307): man vix works 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 from index.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-coverage reports 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.md was 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 .http file against httpbin.org, three linked Org-roam notes plus a dailies entry, data/*.csv|tsv, and a seeded demo.sqlite with 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 root Cargo.toml entry; ~76 KB total.

  • vix-tutor spec (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 via vix --tutor or Help → Tutorial (both land in T402). Design-only for now, matching vix-modal’s T111 precedent: an empty crate plus this spec, no functional code yet.

  • vix-tutor engine + chapter 1 (improvement plan T402): vix --tutor and Help → Tutorial now really work. Every chapter’s starter text is copied into a fresh vix-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 as N/3 in the status bar. Chapters 2–6 are T403.

  • vix-tutor chapters 2–6 (improvement plan T403): Editing Basics, Find & Replace, Multi-Cursor & Selection, Files/Tabs/Palette, and Git Basics — all six chapters in tasks.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 in docs/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 new tui/examples/demo-workspace/README.md; a wrong default in docs/language-server-protocol/index.md; a self-contradicting “not yet ported” paragraph in crates/vix-db/spec/ index.md; a stale single-prompt description of Org Capture in docs/org/index.md; and a stale “Base16…” submenu claim in docs/themes/index.md). New # Tutorials section in docs/SUMMARY.md. Also fixes a real, reproducible test flake found in the process: every vix --tutor session shared one vix-tutor-<pid> temp directory, since cargo test runs every test as a thread within one process (identical std::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 with vhs validate, plus scripts/render-demos.sh to regenerate the GIFs and a new README ## Demos section. 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 and scripts/render-demos.sh for 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 ratatui TestBackend, printed as plain text — the same technique tui/tests/snapshots.rs uses), 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 real Editor method pipeline into a pure vix_case function), and macro_replay (parse a macros.toml, decode its tokens, and replay them through a real App::on_key — the exact path the real macro player uses, not a separate one). Each ≤ 60 lines; listed in the README ## Examples section.

  • 6 more library examples, Cargo examples batch 2 (improvement plan T503): query_search (searches a directory of files for a pattern via App::search_workspace_to_dock, the same engine the real UI uses), org_export (Org → Markdown/HTML via vix_org::to_markdown/to_html), vcard_parse (parses Org-contacts, exports to vCard 3.0), lsp_headless (spawns a language server — a tiny mock, reusing tui/tests/lsp_smoke.rs’s technique — opens a document, prints its diagnostics), i18n_lookup (one translation key resolved against all 15 locales via t!(key, locale = ...)), and calculator_eval (evaluates expressions with the same engine Tools → Calculator uses). Found and corrected two real drifts from this task’s own description in tasks.md: vix-query (folded into tui/src/app.rs by T151) was never a directory-search tool — it’s the query-replace confirm-choice enum — so query_search targets the real search engine instead; and vix-org-contacts parses Org contacts and exports to vCard, with no reverse direction, so vcard_parse demonstrates that real direction rather than a “vCard parser” that doesn’t exist. Listed in the README ## Examples section alongside T502’s four.

  • Config examples (improvement plan T504): new tui/examples/config/ — a fully-annotated config.toml covering all 63 settings (each with its real default value and its own doc comment, cross-checked against docs/reference/settings.md), a custom theme.json, a snippets.json, and a macros.toml. Every file is verified by actually round-tripping it through the real loader (Settings::load_from, CustomTheme via serde_json, snippets::parse_json, vix_macros::load/decode), not just hand-typed. Caught a real TOML gotcha while verifying config.toml: a [[array-of-tables]] section silently reparents any scalar key = value line that follows it into the array item instead of the root document, so all three Vec<Struct> settings (lsp_servers, debug_adapters, org_capture_templates) have to come after every plain key, not interleaved in docs/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) and scripts/check now actually run five headless examples (list_commands, headless_edit, render_frame, textops_pipeline, query_search) after cargo test, not just compile them (cargo build --workspace --all-targets already did that). Found and fixed a real pre-existing drift while touching it: spec/ci/index.md’s gate list said “seven” steps but scripts/check already 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 new Settings::modal_engine flag (default off). With the flag on, the Vi and Spacemacs keymaps gain real v/V Visual/Visual Line entry, h j k l/ arrow-key selection extending, and Esc to 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 existing vim_normal_key table unchanged; T113–T115 progressively move more of it onto the new engine. See crates/vix-modal/spec/index.md for the full v1 design.

  • Modal-editing engine, motions + counts (improvement plan T113): with Settings::modal_engine on, Normal mode in the Vi/Spacemacs keymaps now has real h j k l w b e 0 ^ $ gg G { } ( ) f t F T motions and a numeric count prefix (3w, 5j, 2gg, …) — the old table had neither (no counts at all, 0/^ conflated into one toggle, h/l crossing line boundaries). d/c/y/x/p are unaffected, still the old table’s (T114’s job).

  • Modal-editing engine, operators + registers (improvement plan T114): with Settings::modal_engine on, d/c/y now compose with any T113 motion (dw, de, d}, dgg, df., …), x is real sugar for d + one right motion, dd/cc/yy act on the whole current line, and p/P paste 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 same vix_clipboard every other keymap’s Cut/Copy/Paste already uses. 2d3w deletes 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 with d/c/y (diw, daw, di(, da", …). . repeats the last real change — d{motion}, a text object, or p/P — with {count}. overriding its recorded count. Settings::modal_engine is 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. See docs/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 like ce” 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 unmaintained unsafe-libyaml) is replaced by the maintained drop-in serde_norway, so the RUSTSEC-2024-0449 ignore in deny.toml is gone.

  • Bool fields on Settings and App are grouped internally (improvement plan T149, now fully done — 7/7 structs): the 32 on/off preferences on the vix-settings Settings struct now live in 11 small per-topic sub-structs (settings.gutter.line_numbers, settings.save.format_on_save, …) instead of directly on Settings. Your config.toml is 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 of App’s own bools are now typed: 15 UI-surface-visibility bools (show_explorer, show_bottom_dock, pomodoro_open, …) are one App::visible: Visible bitset; 6 mutually-exclusive Emacs-keymap chord-prefix bools are one App::emacs_chord: EmacsChord enum; recording/replaying a keyboard macro is one App::macro_state: MacroState enum; a pending gg/register-select in the modal engine is one App::modal_pending: ModalPending enum; and the last 14 single-purpose, mutually-independent toggles (clip_cut, overwrite, suspend_requested, git_repo, spellcheck, calendar_dailies, should_quit, …) are one App::flags: AppFlags bitset. 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::…)). See crates/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”, and insert/ remove would have silently dropped such an edit from the tree machinery entirely (see crates/vix-editor-core/spec/syntax-highlighting/ index.md for the detail).

  • Startup no longer waits on git before showing the editor (improvement plan T122): measuring cold start (opening this repository itself) found refresh_git — three git subprocesses (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. main now draws the first frame before calling refresh_git rather 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::new scanned 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-core already 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.md rewritten 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 per language_id instead of per-buffer, no crash recovery for an already-open buffer, pull-based workspace/diagnostic, $/progress, prepareRename, relatedInformation parsing, and multi-root workspace propagation.

  • vix-script is now a plain, non-optional dependency of the root vix package — T101’s scripting Cargo 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 for vix-modal.

  • deny.toml: added a dated advisory ignore for RUSTSEC-2026-0249 (smartstring, an unmaintained but mandatory transitive dependency of the new rhai dependency), matching the existing paste/ 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 read Label: N in 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 (clamp with min > 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.toml is 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_transclusion was missing the create_dir_all call its sibling roam_insert_link has, 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 String on 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 sequential HashMap inserts per locale — exactly the shape most likely to trip it), triggered only by [profile.release]’s lto = true, never by cargo test or a debug build. Switched to lto = "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). See Cargo.toml’s own comment on [profile.release] and tasks.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 App bool-to-enum pass): resetting per-keymap state on a keymap switch only ever cleared a pending Ctrl+X prefix, so a pending C-c … or C-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 one EmacsChord enum 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 initialize request’s advertised capabilities didn’t match reality — it claimed "didSave": false while textDocument/didSave is 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-RPC error response 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 as LspEvent::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/ and crates/vix-spellcheck/spec/dictionaries/ were silently uncommitted. .gitignore’s dictionaries/ 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 breaking scripts/check-docs and CI’s lychee link check in a fresh clone (docs/SUMMARY.md’s link to dictionaries/index.md had nothing to resolve to). Root-anchored to /dictionaries/; both directories are now tracked. Also fixes a bad relative link in the new tui/examples/demo-workspace/notes.md (T501, above) caught by the same lychee run.

  • Two bundled themes shared one name. tui/themes/safelight-red.json declared "name": "Phosphor Amber" — the same name as the real phosphor-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 to Safelight Red.

  • cargo build/cargo test stack overflow on App::new(). The fuller locales/ catalog above (T148) pushed rust_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 = 2 in the root Cargo.toml fixes it (a release build was never affected).

  • Flaky sqlite_connect_browse_query_and_filter (improvement plan T009): the recurring ubuntu-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 in vix-db itself. Replaced with a 30-second wall-clock deadline (tui/tests/db_smoke.rs’s drain_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.toml naming 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-state crate’s ensure_visible clamps 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 made import "some_file"; actually load and execute a real .rhai file 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 with engine.set_module_resolver(DummyModuleResolver::new()); import now 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.
  • rustls updated 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 via sqlx/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.toml override, and a per-user resolved-command cache, in that order. Also: Run Task… (the merged tasks.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. See crates/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 pragmatic TBLFM formula evaluation) and an interactive, write-through Column View overlay (Org C-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. See crates/vix-org/spec/index.md and crates/vix-org-table/spec/index.md.

  • macOS: the Command key now drives Vix’s Control bindings. Cmd+S saves, Cmd+F finds, Cmd+Shift+Z redoes — the modifier is folded into Control before 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 way Command can be reported at all; terminals without it (Terminal.app) are unaffected, and terminals that keep a Cmd shortcut 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 and Ctrl+T / Alt+T keys are unchanged.

  • Edit → Wrap (edit.wrap): hard-wrap (fill) the selection, or the paragraph at the cursor when nothing is selected, at the new wrap_column setting (default 80). 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 (and Ctrl+Shift+F) still work for key bindings and the palette. The workspace panel takes Alt+H too, and Alt+I there 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 (LSP Content-Length framing), vcard, conflict (merge markers), and http_request. Each asserts invariants, not just the absence of a panic. See fuzz/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 of scripts/check: fails on a broken documentation link, a crate with no spec, a crate missing from the crate map, or a README.md that has drifted from its index.md twin.

Changed

  • The first-run welcome dialog is now controlled by a show_welcome_dialog setting (default true), replacing the inverted welcomed flag. 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 to true again to see the welcome screen on the next launch. A config file that already had welcomed = true shows 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 like Ctrl+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 new org_table fuzz target.)
  • Switching the UI language showed Language: %{locale}. t! reserves locale for 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_reason string 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_command does 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_tooltips on.
  • The file explorer’s delete confirmation showed confirm.delete. The message had no entry in locales/app.yml, and a missing key renders as the key itself. It is translated now, and tui/tests/i18n_keys.rs fails the build for any t! key the catalog does not define.
  • Ctrl+D is forward delete in the Apple keymap. It now removes the character to the right of the cursor, like the Delete key and every macOS text field, instead of falling through to the editor widget’s add-next-occurrence caret. Ctrl+Shift+D still duplicates the line or selection, and the keymaps modeled on VS Code, IntelliJ, and Sublime keep their own Ctrl+D; in the Apple keymap, add carets with Alt+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 now Ctrl+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 test left whatever a test had cut (usually the word doomed, from a keymap test) on the macOS pasteboard — every later paste, in any app, produced it. The platform clipboard is now opt-in: vix-clipboard keeps an in-memory clipboard until use_system is called, and only the vix binary 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 f semantics), and Edit Source Block: a #+begin_src body opens in a dedicated tab and the same action writes it back (C-c ').
    • Archive ▸ — Archive Subtree to the sibling <file>_archive file (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 *Headline targets; 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 (new org_agenda_files setting) 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-c Org family plus a C-c C-x third-key table, with which-key popups; the Org menu displays the chords in its shortcut column.

Changed

  • Patch-level dependency bumps: ratatui-image 11.0.6, clap 4.6.5, rust-i18n 4.2.1, rust-embed 8.12.

[1.4.1] - 2026-07-26

Fixed

  • evalexpr held at 11.x (licensing). evalexpr 12.0.0 relicensed from MIT to AGPL-3.0-only, and Vix 1.4.0 shipped with evalexpr = "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-pty 0.8 → 0.9, which replaces the unmaintained serial crate (RUSTSEC-2017-0008) with serial2.
  • anyhow, crossbeam-epoch, and spin updated 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.toml sets the policy — RUSTSEC advisories, a permissive license allow-list, wildcard bans, registry sources — and cargo deny --workspace --all-features check enforces it via .github/workflows/security.yml, the deny job in .gitlab-ci.yml, and .forgejo/workflows/security.yml, weekly as well as on every push and pull request. It deliberately sits outside the scripts/check gate: 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 than cargo installed. See spec/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-denied cargo 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 by dist. 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 — pressing t on a task cycles it in its source file and rebuilds the same view. New pure builders org::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+C chord family: C-c C-t cycles a headline’s TODO keyword, C-c C-c runs the context action (toggle the checkbox on the line, else recompute statistics), and C-u C-c C-t (universal argument) marks the headline DONE with a closing note. A new C-c- prefix indicator and which-key list make the chords discoverable.
    • Mark Done with Note… (org.close_note, in the Org menu and C-u C-c C-t): prompts for a note, then marks the headline DONE, stamps CLOSED: [now] under it, and logs the note into its :LOGBOOK: drawer — Emacs org-log-done behavior. New pure org::close_headline.
    • The Agenda Tracker is now interactive: it opens read-only, and pressing t on a task line cycles that task’s TODO state directly in its source .org file, reloads any open buffer for it, and rebuilds the agenda in place. New pure org::agenda_items / org::render_agenda (structured items
      • a line→source map); the agenda now reindexes before compiling so newly added .org files are included.
  • Org drawer folding with Tab. In an .org buffer, 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 helper org::drawer_range and editor method toggle_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 on walkdir): a recursive listing of the workspace root with live search — fuzzy text, *.rs-style globs, and ext:rs / .rs extension filters, all combinable, plus the classic :line[:col] jump suffix. Sort by name, size, date created, or date modified (Ctrl S cycles, Ctrl R flips), toggle hidden files (Alt H), navigate directories (Enter/→ enters, ← goes up), and fall back to the classic type-a-path prompt with Ctrl O (new action file.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 (new vix-org-capture crate; see spec/org/capture/index.md): named templates (the org_capture_templates setting) 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_src block), and Note… (org.capture.note, a plain headline with a %U creation timestamp) — plus Choose Template… (org.capture.select) for any custom templates added to org_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 the org_priority_highest/org_priority_lowest settings (default numeric '0'..'9', '0' = highest), clamped at the bound. New pure org::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_dock default flipped to true). 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 app into crate::textops with their unit tests, and their three identical host wrappers collapsed into one App::rewrite_at_cursor. Behavior unchanged.

  • Media types use clean text/<lang> forms (no x- prefix) for source code — text/rust, text/python, text/typescript, text/java, text/cpp, text/csharp, text/c, text/ruby, text/go, …, application/sql. .ts now maps to text/typescript and .cs to text/csharp (C# added).

  • Snippet directories load every *.json file (not just snippets.json), and media-type snippets also load from the project at config/media-types/<type>/snippets/.

  • Macro commands moved to Edit → Macro and namespaced consistently under macro.*: toggle_macro → macro.record, play_macro → macro.play (joining macro.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 using vim still 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-i18n embeds the translation table at macro-expansion time (rust_i18n::i18n!), which Cargo couldn’t detect as a dependency — editing only locales/app.yml never 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 recompile vix-i18n. Fixed with crates/vix-i18n/build.rs (cargo:rerun-if-changed=../../locales/app.yml); guarded against regressing by a new vix-menu test, every_menu_label_translates, that walks the whole menu tree.
  • Menu navigation. In a dropdown, pressing Right on a submenu now opens it and highlights its first item (was: nothing highlighted). Pressing Up on 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 sqlx Any drivers — 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 CREATE statement; p previews 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 … ON from 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 :name bind 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 (i to stage, W to commit as UPDATEs 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); F8 toggles write mode, and the editor title badges the current access.
    • Async execution — statements and EXPLAIN run off the event loop with a live elapsed indicator and Ctrl+C cancellation; large results stream in batches (capped, with a truncation note).
    • Transactions — a client-side TX badge; the write-confirmation gate is relaxed inside an explicit transaction; DB → Begin / Commit / Rollback.
    • AI SQL assistant — Ctrl+A turns a natural-language question into SQL from the schema only (never row data), validated with EXPLAIN; Ctrl+O optimizes a query from its plan, Ctrl+F fixes the last error, Ctrl+K explains a query, and a leading ? answers a schema question. Uses the configurable ai_command CLI, 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 a password_command or the OS keyring (macOS security, Linux secret-tool) before prompting, with an opt-in save-to-keyring.
  • Sublime Text keymap (View → Keymap → Sublime Text). Ctrl+P Goto Anything, Ctrl+Shift+P Command Palette, Ctrl+R Goto Symbol, Ctrl+G Goto Line, Ctrl+D select occurrences, Ctrl+L select line, Ctrl+J join, Ctrl+M matching bracket, Ctrl+Shift+D/Ctrl+Shift+K duplicate/delete line, Ctrl+H replace, Ctrl+B build, Ctrl+` console. Plus a docs/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/b words, ^, gg/G, dd/yy/p, u, / + n/N, %, I/A, and :N / :e [path] commands. Emacs: M-x palette, word/page/buffer-end Meta motions, kill ring (C-w/M-w/C-y/C-k), transpose, C-/ undo, and C-x window/buffer chords (2/3/1/0/o/b). VS Code: Ctrl+\ split, Ctrl+J panel, Ctrl+` terminal, Ctrl+Shift+K delete line, Ctrl+Shift+L select all occurrences, Ctrl+Shift+M Problems.

  • CSpell config (cspell.json) with an external custom dictionary (project-words.txt) of project/domain terms, so cspell can 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+X or the Spacemacs Space leader — 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 (Emacs M-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: value lines, blank line, body) and send it with the pure-Rust ureq client on a background thread; the response (status, headers, body) opens in a new tab. Pure parser in crate::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 in crate::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 in crate::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. Setting persistent_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 .org file 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 old vscode/intellij-mac/intellij-win ids still load. Dropped the jetbrains-* 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/declaration request 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 (and make check): a one-command local CI-parity gate — build + Clippy (pedantic, -D warnings) + full test suite. Plus Unicode/emoji stress fixtures in test-data/ with a grapheme-width regression test. (Ideas from the zee editor.)

  • .gitignore-aware file finder. The project file index now walks with the ignore crate (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_modules are 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, plus recursive). Pure logic in org::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 in crate::roam; see spec/org/index.md.

  • Org → Roam (Org-roam note-taking). A new submenu for networked, Zettelkasten-style notes over a directory of .org files: 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; see spec/org/index.md.
  • 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 from joelparkerhenderson/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.json for ~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.

  • Base column in the media-type table — each media type is classified text or binary (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, default config/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 \u are omitted. See spec/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 .sql buffer 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-tested edit_sql module. See spec/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.tsv and the media_type module (with for_extension lookup). See spec/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:MM duration (local time via jiff). Feeds the Time Tracker report.

  • Org capture, agenda & time tracking. Org → Capture… logs an idea/task as a * TODO headline via a quick prompt; Agenda Tracker compiles deadlines/scheduled items/TODOs from the project’s .org files into a dated agenda; Time Tracker totals CLOCK: 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-tested org module. See spec/org/index.md.

  • affix helpers — add / drop / toggle a prefix/suffix pair 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. New auto_pair setting (on by default) and a View → Editor → Auto-Pair Brackets toggle.

  • Snippet tabstops. Snippets (Tools → Snippets…) now support $1/$2/$0 and ${1:placeholder} fields: inserting one selects the first field and Tab walks the rest (Esc exits). Several bundled snippets gained fields. See spec/snippets/index.md.

  • Persistent macros. Recorded keyboard macros can be saved by name (Edit → Save Macro…) to macros.toml and replayed in later sessions (Edit → Play Saved Macro…). See spec/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. See spec/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 Space leader for menu-like command sequences (SPC f f open, SPC g s git, SPC w / split, SPC q q quit, …). See spec/keymaps/index.md.

  • Inline git blame (Git → Toggle Inline Blame, inline_blame setting) — shows the cursor line’s blame (author, date · summary) dimmed at the end of the line, following the cursor. See spec/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. See spec/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. New test_command / test_width settings. See spec/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. See spec/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. See spec/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+T opens the last reply in a tab, Alt+C copies it. See spec/vix-agent-panel/index.md and docs/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, Space toggles one, a/r accept/reject all, Enter applies, Esc discards. New ai_diff_review setting (on by default) controls it. See spec/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+Enter inserts a newline, Enter commits — 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 .editorconfig files and applies their indent style/size and trim/final-newline rules per opened file, overriding the global settings. New editorconfig setting (on by default). See spec/editorconfig/index.md.
  • Task runner. A workspace tasks.toml (or .vix/tasks.toml) defines named shell commands; Tools → Tasks… (action tools.tasks) lists and runs them through the async pipeline. See spec/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. See spec/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), with n/Esc to 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. See spec/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 new ai_command setting (default claude -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 local ollama model, or any other assistant CLI. See spec/ai/index.md and 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 the qrcode crate).
  • 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 a Makefile that tests then cross-builds the three targets.
  • Single-crate architecture (edition 2024). Every former vix-* subcrate is now a module under tui/src/; the editor widget is the editor_core module (Tree-sitter highlight queries in langs/, gated behind lang-* features). The workspace has no members. See agents/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 targeted struct_excessive_bools allows 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 via lsp_enabled/lsp_servers (no built-in server); protocol core in src/lsp_core/, process IO in src/lsp.rs. See spec/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_picker module.
  • HTML Characters picker (Tools → HTML Characters) — glyph / entity / code point; clicking a cell inserts that cell’s text. New html_character_picker module.
  • 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 through menu.name.* locale keys.
  • Alt+V now opens the Vix menu (the first menu); View moved to Alt+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_panel module, and the workspace_search module.
  • Renamed the picker crates from -palette/-panel to -picker: ascii_character_picker, html_character_picker, nerd_font_picker, x11_color_picker (the ASCII one was ascii_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+R or Tab to the Replace field).
  • Per-crate specifications moved into each crate’s spec/index.md; the top-level spec/ keeps the app-level specs.
  • Shortcut labels use spaces instead of + (e.g. Ctrl Shift Z rather than Ctrl+Shift+Z) in menus and the keyboard-help overlay.
  • Recent-files count is configurable via the recent_files_max setting (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, and hunspell -D). The dictionaries_dir setting is replaced by dictionary_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 scrollback setting (default 1000 lines, down from a hard-coded 5000); the oldest lines are dropped past the limit.
  • Redo shortcut is now Ctrl+Shift+Z (was Ctrl+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 internal outline_panel module.

  • 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 internal workspace_dashboard_panel module.

  • 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 (Tab cycles to them).

  • Git integration via the new git module, shelling out to the git CLI. 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_dir setting) via the new pure-Rust spellcheck module. 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 sysinfo crate). Enter or a click inserts the highlighted value into the editor; Esc closes. Lives in the new internal system_information_panel module.

  • 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_picker module.

  • 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:col lines — each one click-to-jumps to the match. In the prompt, Alt+C toggles case-sensitivity and Alt+R toggles 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 $ command header 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_height setting), 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, and Home/End scroll its buffer. The mouse wheel scrolls it any time; Esc returns focus to the editor. Clicking a line that names a path: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_dock setting, 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 new bottom_dock module (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_scrollbar setting (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+F3 repeat 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 the show_status_bar setting (default on).

  • Editing comforts. Select All (Ctrl+A, Edit menu, or the palette), Duplicate Line (Ctrl+D or 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 vendored editor_core fork 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); the soft_wrap setting 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, the locale setting, or View → Locale… (a live chooser). English is the fallback. See docs/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…. See docs/themes.md.

  • Configuration via confy, stored as TOML in the platform config directory. New theme and locale settings. See docs/configuration.md.

  • Command-line interface via clap: positional files (with optional path:line:col) and a --locale flag; --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+C to copy).

  • Keymaps (View → Keymap…, module keymap_model): choose the keyboard navigation style, which changes how keys are dispatched. The choice persists (keymap setting); Apple is the default.

    • Apple — modifier shortcuts (e.g. Ctrl+O open, Ctrl+Q quit).
    • Emacs — Ctrl chords and the Ctrl+X prefix: Ctrl+X Ctrl+F open, Ctrl+X Ctrl+S save, Ctrl+X Ctrl+C quit, Ctrl+X k close; cursor motion with Ctrl+F/B/N/P/A/E/V, Ctrl+D delete, Ctrl+S find, Ctrl+G cancel.
    • Vim — modal: a Normal mode (h/j/k/l, 0, $, x, i/a/o/O to enter Insert, Esc back to Normal) and a : command line (:w, :q, :q!, :wq/:x, :Ex). The status bar shows the current mode.
  • View menu with theme, locale, and keymap choosers and the drawer/line-number toggles.

  • Indentation settings — indent_style ("spaces" / "tabs") and tab_width control 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); Enter commits (recording the original position in the jump history) and Esc reverts. (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 — Home jumps 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 the recent_files setting.

  • 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 the show_whitespace setting.

  • 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 cursor color.

  • Custom themes can set per-region font-style (normal/italic) and font-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, and find_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) to right_dock, and the status-bar segment formatting to status_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_core and made theme-aware (configurable text, line-number, selection, and cursor styles, and a settable syntax palette).
  • The calendar logic moved into calendar_panel and 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 persisted theme setting is the theme’s name.
  • Settings moved from hand-rolled JSON to confy TOML.
  • All public items are documented (#![deny(missing_docs)]); the module forbids unsafe.

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 states Tab / click: switch field in 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 affected Ctrl+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. A vix of 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 local kind cluster, 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:line references 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.tsx no 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 vix command and your settings files keep working. For example auto_save = true and false still 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 from Default::default() and assign fields), most Result<_, 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 binstall is 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

  1. Cut the changelog: CHANGELOG.md needs a ## [2.0.2] section (not just [Unreleased]) and the workspace version must match.
  2. Attest the commit to release with scripts/attest (see Contributing) on a machine with cargo-hack, cargo-semver-checks 0.51 or newer and CSpell installed, check it with scripts/attest --verify --release, push it to main with git 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”); the VIX_ALLOWED_SIGNERS secret must be set on GitHub and Codeberg (CI/CD variable VIX_ALLOWED_SIGNERS_DATA on GitLab).
  3. Tag only a commit that is already on main on GitHub. dist’s host job creates the GitHub Release with the tagged commit as its target, and GITHUB_TOKEN gets HTTP 403: Resource not accessible by integration for a commit that is on no branch (see spec/ci). With the maintainer’s say-so, push a signed tag such as 2.0.2.
  4. 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, for vix-tui and each GUI), runs the Homebrew job (the vix formula, the seven macOS app bundles, six Linux AppImages per architecture and their casks, pushed to vixide/homebrew-tap; see spec/brew) and publishes @vixide/vix to npm; the linux-packages workflow then builds and tests the .deb, .rpm and Arch packages. A failed publish job can be re-run on its own once its cause is fixed.
  5. Publish the crates: cargo publish for every workspace crate, in dependency order, after the checklist in AI_STATEMENT.md §1–§5. Then, from gui/, the seven GUI crates (cargo publish -p vix-egui, …), and last the umbrella crate vix (cargo publish -p vix), which depends on vix-tui and 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.

  1. Rehearse: scripts/release-local 2.0.2 --dry-run. This checks the preconditions, runs make build-macos build-windows build-linux, writes target/release-local/2.0.2/, signs it, and prints the exact gh and tea commands an upload would run. It uploads nothing and tags nothing. The default (no flags) behaves the same.
  2. Check the result as a downloader would: scripts/release-local --verify-dir target/release-local/2.0.2.
  3. Decide about the tag. scripts/release-local 2.0.2 --tag makes a signed annotated tag locally and nothing else. Pushing it is the maintainer’s decision, and pushing it also starts release.yml, which builds and creates the full release, so decide which path is the release before you push.
  4. Upload: scripts/release-local 2.0.2 --publish. It refuses unless the tag already exists on both forges, asks you to type publish 2.0.2 to github codeberg exactly, then runs gh release create --verify-tag (or gh release upload --clobber when the release exists) and tea 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 (SHA256SUMS with SHA256SUMS.sig) ties every file it lists to the maintainer’s SSH signing key. Only releases made with scripts/release-local have 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

RouteStatusProducerVerification materialTrust source
Release archivespublished (2.0.1 and later)dist in .github/workflows/release.yml<archive>.sha256, sha256.sumthe GitHub Release page (HTTPS)
Locally signed releasepublished once (2.0.0)scripts/release-localSHA256SUMS, SHA256SUMS.sigthe maintainer’s SSH signing key
Shell and PowerShell installerspublisheddistsha256.sumthe GitHub Release page
Windows MSIpublisheddist (WiX)sha256.sumthe GitHub Release page; the MSI is not code-signed
Linux packagespublished.github/workflows/linux-packages.ymllinux-packages.sha256the GitHub Release page; the packages are not signed
Minimal buildpublished.github/workflows/release-minimal.yml<archive>.sha256the GitHub Release page
Homebrewpublisheddist, pushed to vixide/homebrew-tapthe SHA-256 in the formulathe tap repository
npm (@vixide/vix)published.github/workflows/publish-npm.ymlregistry signature; provenance when published through OIDCthe npm registry
crates.io (source)publishedcargo publish by the maintainerthe index checksum of each .cratecrates.io
SBOMspublisheddist and .github/workflows/sbom.ymlsha256.sum where it lists themthe 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 (.zip on Windows), and the same for each desktop GUI (vix-gpui-<target>.tar.xz and so on).
  • Material: <archive>.sha256 beside each, and sha256.sum for the whole release.
  • Command: sha256sum -c vix-tui-x86_64-unknown-linux-gnu.tar.xz.sha256 (macOS: shasum -a 256 -c), or sha256sum -c --ignore-missing sha256.sum.
  • Expected: vix-tui-x86_64-unknown-linux-gnu.tar.xz: OK; a modified file prints FAILED and the command exits non-zero.

Locally signed release

  • Files: vix-tui-<target>.tar.xz / .zip for the three Makefile targets, their .sha256, SHA256SUMS and SHA256SUMS.sig (see Releasing).

  • Trust source: the maintainer’s SSH signing key, the one that signs commits, in an allowed-signers file (principal key-type key per 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>, then OK for every file. An edited SHA256SUMS, another key or another namespace fails the first command; a modified archive fails the second. scripts/release-local --verify-dir DIR runs the same two checks.

Shell and PowerShell installers

  • Files: vix-tui-installer.sh and vix-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).Hash and compare it with the file’s line in sha256.sum.
  • Expected: the two values are equal (case aside).

Linux packages

  • Files: .deb, .rpm, .apk and .pkg.tar.zst of vix-tui and the GUIs (vix-bui and vix-zgui built by the same workflow, the rest from the release’s archives) (spec/linux-packages). They carry no package signature: the .apk needs --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: OK for 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 --version there; scripts/test-build-linux-packages tests which build each package takes.

Minimal build

  • Files: vix-minimal-<target>.tar.gz (.zip on Windows), uploaded after the rest of the release, so not in sha256.sum.
  • Command: sha256sum -c vix-minimal-x86_64-unknown-linux-musl.tar.gz.sha256.
  • Expected: OK.

Homebrew

  • Producer: dist writes 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 the vixide/homebrew-tap repository (spec/brew).
  • Command: brew fetch --formula vixide/tap/vix (vix-tui up to 3.0.0) downloads the archive and checks it against the formula; brew fetch --cask vixide/tap/vix-egui does the same for an app’s zip (its AppImage on Linux), which also has a <file>.sha256 on the release; brew install does the same.
  • Expected: a SHA256: line equal to the archive’s line in sha256.sum; a mismatch stops with SHA256 mismatch. That check trusts the tap, so comparing with sha256.sum is what ties it to the release.

npm

  • Producer: .github/workflows/publish-npm.yml publishes @vixide/vix with 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-tui builds from source.
  • Material and trust: Cargo checks each downloaded .crate against the SHA-256 in the crates.io index, and --locked holds every dependency to the versions and checksums in the published Cargo.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.xml from dist’s CycloneDX step and one per desktop GUI from .github/workflows/sbom.yml, both made by the same pinned cargo-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-release builds 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 rewritten SHA256SUMS, a missing or foreign signature, a missing or extra file, a name with a directory part.
  • scripts/test-release-local runs the verifier on what scripts/release-local really produces, with --require-signature, and on a tampered copy.
  • scripts/packaging check fails when this page misses a dist installer or a route, lists an unpublished channel as a route, or when SECURITY.md no 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.