This fork tracks Helix's Steel-enabled line. Native changes are limited to capabilities unavailable to Steel; editor behavior belongs in Steel plugins when its APIs can satisfy the contract.
Nova Helix embeds a default configuration with carbonfox, soft wrapping, a multiple-buffer line, cursorline, colored modes, an insert bar cursor and indent guides. User configuration and trusted workspace configuration override it without rewriting either file; standalone and managed launches use the same base. See configuration.
packages.<system>.yazelix_helix_steel installs the isolated
yazelix/bridge-actions.scm and yazelix/bridge.scm modules. The bridge
validates helix.open_files and helix.open_directory payloads before opening
files or a directory picker in the current instance. The managed workspace and
picker root remain distinct.
The yazelix/transport built-in module provides the native mechanism Steel
cannot own safely. (transport-start token handler) binds an OS-assigned
127.0.0.1 port, (transport-local-addr server) returns that endpoint, and
(transport-stop! server) interrupts any active connection and joins the
listener. Each connection carries one newline-terminated schema-2 JSON request
and response, limited to 64 KiB and authenticated before handoff to the Steel
handler on Helix's editor thread. The handler receives only request_id,
action, and payload; instance selection, token and endpoint publication,
registry state, and managed-session policy remain outside this fork.
(yzx-helix-start token) composes that transport with the Steel action handler
and returns the caller-owned server object.
Steel plugin integration notes record the plugin APIs that worked and the lifecycle gaps that kept the transport in Rust.
The Yazelix Steel Bridge workflow runs one read-only Ubuntu job on main
branch pushes or manual dispatch. It checks lockfile-consistent Steel-enabled
compilation, native transport behavior, filesystem-backed Steel composition,
optional-feature compilation, and formatting. Superseded runs are cancelled,
the job has a 30-minute timeout, and it publishes no artifacts or grammar cache.
The standalone flake pins Nixpkgs at f830e6112b, the upstream change that
uses crates.io's static CDN. Nova consumers make this input follow Nova's root
Nixpkgs instead.
HELIX-GRAMMAR-SOURCES-001: Nix evaluation performs no grammar-source
network fetches. Packaged grammars build from hash-verified source archives owned
by Yazelix, so deleting or losing an upstream grammar repository cannot break a
published pin. languages.toml owns upstream URLs, revisions, subpaths and grammar
selection. grammar-sources/hashes.json records every pinned revision's source
NAR hash and immutable archive URL, including currently disabled grammars.
Missing catalog coverage fails evaluation with the grammar names.
Each build-time fixed-output fetcher tries the owned archive first and the
upstream archive second. Nix can substitute the extracted source from a binary
cache. Every archive preserves the complete source tree, licenses and executable
bits; source subpaths and the grammar compiler stay unchanged. The deleted GitHub
cylc source is retained in the owned archive set. Standalone hx --grammar fetch
retains upstream behavior.
Darwin builds use the pinned Nix build tool for case-aware archive import and NAR restoration, preserving source paths that differ only by letter case. Its private store and download cache are temporary build state; Nix remains a build input.
The 290 source archives occupy 131,002,860 bytes compressed and live in the
immutable grammar-sources-2026-11-02 release assets of this repository, outside
the editor's Git tree and Rust build sources. Retain previous assets when
publishing a grammar update. For each changed revision, use the exact upstream
archive from the fallback URL, or an already verified source copy. Archive the
unmodified tree under one source/ directory with zero timestamps and numeric owners;
record nix hash path for that tree, preserving all files and executable bits.
Create a new source release tag for each update, upload all changed archives to
its draft, then publish it before committing the consuming catalog entries. An
immutable release cannot accept additional assets. Reuse existing immutable URLs
for unchanged revisions.
Run nix build .#checks.x86_64-linux.codeberg_grammars (or the matching system
on macOS). The historical check name covers every selected grammar and rejects direct
builtins.* source fetches in grammars.nix. nix build .#grammar-sources produces a
source-only closure containing every cataloged grammar source, including disabled
ones, for explicit binary-cache publication and retained pins. Publishing the
editor's runtime closure alone does not retain its build-time sources. Consumers
must publish and pin this output in their configured cache.
On Unix, start hx --listen /absolute/private/editor.sock to accept open-file
requests in that editor, including builds without Steel. The caller creates the
private mode-0700 parent directory. See the native listener protocol
for version-1 JSON requests, permissions, deadlines and failure semantics.
Measured against upstream Steel tip 5a8635be and excluding documentation:
| Surface | Added | Removed | Net |
|---|---|---|---|
| Config-directory runtime seam | 19 | 0 | +19 |
| CLI completions | 16 | 4 | +12 |
| Nix package export | 1 | 0 | +1 |
| Steel bridge actions | 15 | 0 | +15 |
| Steel request composition | 39 | 0 | +39 |
| Steel plugin package | 6 | 0 | +6 |
| Steel integration test | 68 | 0 | +68 |
| Native transport and listener | 1060 | 0 | +1060 |
| Native transport/listener tests and fixtures | 895 | 0 | +895 |
| Native listener startup, input cancellation and integration wiring | 78 | 7 | +71 |
| Focused CI workflow | 47 | 0 | +47 |
| Steel component layering | 161 | 50 | +111 |
| Pinned grammar source delivery and check | 1231 | 28 | +1203 |
| Total | 3636 | 89 | +3547 |
Native transport files are split into production and tests at #[cfg(test)];
listener tests also include headless application tests, CLI tests and JSON
fixtures. Listener wiring is the diff from af9acb13 in the existing startup,
argument, prompt-hook, feature and integration-harness files.
The source-delivery row includes 1,162 JSON catalog lines and 69 added Nix lines. Third-party source archives are release assets, counted separately above.
A Kakoune / Neovim inspired editor, written in Rust.
The editing model is very heavily based on Kakoune; during development I found myself agreeing with most of Kakoune's design decisions.
For more information, see the website or documentation.
All shortcuts/keymaps can be found in the documentation on the website.
- Vim-like modal editing
- Multiple selections
- Built-in language server support
- Smart, incremental syntax highlighting and code editing via tree-sitter
Although it's primarily a terminal-based editor, I am interested in exploring a custom renderer (similar to Emacs) using wgpu.
Note: Only certain languages have indentation definitions at the moment. Check
runtime/queries/<lang>/ for indents.scm.
Contributing guidelines can be found here.
Your question might already be answered on the FAQ.
Discuss the project on the community Matrix Space (make sure to join #helix-editor:matrix.org if you're on a client that doesn't support Matrix Spaces yet).
Thanks to @jakenvac for designing the logo!
