Helix — A Post-Modern Modal Text Editor
Helix is a post-modern modal text editor inspired by Kakoune. Written in Rust with batteries-included defaults: Tree-sitter, LSP, multi-cursor, selection-first editing, and beautiful themes. Zero-config replacement for Vim for most users.
Instalación con revisión previa
Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.
npx -y tokrepo@latest install 6ed079cf-35cb-11f1-9bc6-00163e2b0d79 --target codexPrimero dry-run, confirma las escrituras y luego ejecuta este comando.
What it is
Helix is a post-modern modal text editor inspired by Kakoune. Written in Rust with batteries-included defaults: Tree-sitter for syntax highlighting and structural editing, LSP for code intelligence, multi-cursor editing, and a selection-first editing model.
Helix targets developers who want a terminal-based editor with modern features but without the plugin management overhead of Vim or Neovim. It works on Linux, macOS, and Windows with zero configuration needed for most programming languages.
How it saves time or tokens
Helix eliminates the setup time that Vim and Neovim require. Tree-sitter grammars and LSP configurations ship with the editor. You get syntax highlighting, code completion, go-to-definition, and diagnostics immediately after installing. The selection-first model (select text, then act on it) provides visual feedback before making changes, reducing edit errors. Multi-cursor support handles repetitive edits that would require macros in Vim.
How to use
- Install Helix:
brew install helix # macOS
sudo apt install helix # Debian/Ubuntu
cargo install --locked helix-term # From source
- Open a file:
hx file.rs
- Configure in ~/.config/helix/config.toml:
theme = 'onedark'
[editor]
line-number = 'relative'
cursorline = true
auto-format = true
[editor.cursor-shape]
insert = 'bar'
normal = 'block'
select = 'underline'
Example
Common Helix keybindings compared to Vim:
# Selection-first editing model
# In Vim: d3w (delete 3 words) - action first
# In Helix: 3w then d (select 3 words, then delete) - select first
# Multi-cursor workflow
C # Add cursor below
Alt-C # Add cursor above
s # Select matches within selection
& # Align cursors
# Structural editing with Tree-sitter
Alt-o # Expand selection to parent syntax node
Alt-i # Shrink selection to child syntax node
Alt-n # Select next sibling syntax node
Alt-p # Select previous sibling syntax node
# LSP actions (zero config needed)
space-a # Code actions
gd # Go to definition
space-r # Rename symbol
space-k # Hover documentation
Related on TokRepo
- Coding tools — More developer tools and editors on TokRepo.
- Featured workflows — Discover curated developer tools.
Common pitfalls
- Muscle memory from Vim does not transfer directly. Helix uses a selection-first model (select then act) instead of Vim's action-first model (act then motion). Give yourself a few days to adapt.
- Not all LSP servers auto-install. Check hx --health to see which languages have LSP support configured and install missing language servers manually.
- Helix does not support a plugin system yet. If you rely on specific Vim plugins, evaluate whether Helix's built-in features cover your needs before switching.
Preguntas frecuentes
Helix uses a selection-first editing model inspired by Kakoune: you select text first, then apply an action. Vim uses action-first: you specify the action, then the motion. Helix also ships with Tree-sitter and LSP built in, while Vim requires plugins.
Not yet. Helix includes many features that require plugins in other editors (Tree-sitter, LSP, multi-cursor, file picker, fuzzy finder). A plugin system is planned but not implemented as of the current version.
Helix ships with Tree-sitter grammars for 150+ languages and LSP configuration for most popular languages. Run hx --health to check support status for specific languages.
For many users, yes. Helix provides syntax highlighting, code intelligence, multi-cursor, and a file picker without any configuration. If you rely heavily on Neovim plugins (telescope, nvim-cmp, etc.), evaluate whether Helix's built-ins cover your workflow.
Yes. Written in Rust, Helix starts instantly and handles large files efficiently. Tree-sitter provides incremental parsing, so syntax highlighting stays fast even in files with thousands of lines.
Referencias (3)
- Helix GitHub— Helix is a post-modern modal text editor in Rust
- Helix Documentation— Helix documentation and keybindings
- Tree-sitter— Tree-sitter incremental parsing for editors
Relacionados en TokRepo
Discusión
Activos relacionados
micro — A Modern Terminal Text Editor That Just Works
micro is a terminal-based text editor with familiar shortcuts (Ctrl+S, Ctrl+C, Ctrl+V). No Vim/Emacs learning curve, mouse support, plugin system, syntax highlighting for 100+ languages — the modern alternative to nano.
Beekeeper Studio — Modern SQL Editor and Database Manager
Beekeeper Studio is a free, open-source SQL editor and database management GUI. It connects to MySQL, PostgreSQL, SQLite, SQL Server, CockroachDB, and more with a clean modern interface.
Notepad++ — Powerful Free Source Code Editor for Windows
Notepad++ is a free, open-source text and source code editor for Windows. Built on the Scintilla editing component, it supports syntax highlighting for over 80 languages, macro recording, and a rich plugin ecosystem.
eza — A Modern Colorful Replacement for ls
eza is a modern replacement for the venerable ls command. Adds colors, Git status, file type icons, tree view, and long-format improvements. Actively maintained fork of the archived exa project.