Published on

Helix vs Vim: A Modern Take on Modal Editing

Authors
  • avatar
    Name
    Mike Schmitt
    Twitter

Helix is a modal, keyboard-focused code editor, much like Vim—but with a fresh perspective.

Vim and Helix are both modal editors, but they differ in editing model and implementation. Vim is written in C and Helix in Rust; Helix draws on ideas from other modal editors, including Kakoune and Neovim, rather than being a Vim reimplementation.


🔭 Big Picture Differences

FeatureVimHelix
Editing ModelModal; commonly action + motion, with visual mode and text objectsModal with selection-first editing
Core / ConfigurationC core; VimscriptRust core; TOML configuration
ExtensibilityEstablished plugin ecosystemNo plugin system documented in current docs
Language SupportDepends on Vim version and installed toolingBuilt-in LSP client; install a language server and check support
InterfaceTerminal or GUI buildsPrimarily terminal-based
Target AudienceUsers who want a configurable modal editorUsers who want a modal editor with built-in features

Helix commands and language support can change; this comparison was checked against the keymap, text-object, and language configuration documentation on 2026-09-25.


🧠 Modal Mental Model: Selection First vs Command First

Helix and Vim both use modes, but the way you think about editing is flipped.

📘 Vim:

  • Modes: Normal, Insert, Visual, Command-line

  • Editing model: Action + Motion

    • d (delete) + w (motion to the next word) → dw

🟢 Helix:

  • Modes: Normal, Insert, Select

  • Editing model: Selection First, Then Action

    • m i w → select the word under the cursor
    • d → delete it
    • y → yank (copy) it

🧭 Mental Flip:

In Vim's common operator-and-motion pattern, you describe what to do and then where. In Helix, you define where first, then what to do.


🌲 Syntax-Aware Editing (Tree-sitter)

Helix uses Tree-sitter grammars and queries for syntax-aware selections where support is available. That is structural information, not a complete understanding of a program's meaning.

🚀 Syntax-Aware Selections:

  • Select syntax nodes with Alt-o (expand to a parent node) and Alt-i (shrink the selection), when the language grammar supports it.
  • Use function text objects such as maf (around a function) when the relevant grammar and query are available.
  • Edit structurally, without assuming full semantic understanding.

✂️ Example:

maf    # Select around a function, when grammar/query support is available
d      # Delete the whole function

This makes structural code manipulation feel natural and frictionless.


⚙️ Configuration & Extensibility

FeatureVimHelix
Config file~/.vimrc~/.config/helix/config.toml
ScriptingVimscriptTOML configuration; no general scripting language
PluginsEstablished plugin ecosystemNo plugin system documented in current docs
LSP setupDepends on Vim version and installed toolingBuilt-in client and default language configs; install the server

💡 Helix favors sane defaults over infinite customization. It’s more of a complete editor than a toolkit.


🧭 Navigation Comparison

TaskVimHelix
Move by wordw, e, bSame
Select wordviwmiw
Select syntax elementBuilt-in text objects; syntax-aware code objects vary by setupmaf, mif when grammar/query support is available
Switch file:edit file, :bnext:open, buffer picker
File / symbol pickerDepends on installed setupSpace f / Space s (symbols need an active LSP)

Helix includes several workflows that Vim users may add through plugins or other tooling.


🧪 When to Use Helix Over Vim?

✅ Use Helix if:

  • You want a modal editor with many features available without a plugin system
  • You prefer selection-first editing (like VS Code, but modal)
  • You want syntax-aware text objects when language support is available
  • You prefer TOML configuration to Vimscript
  • You prefer a built-in LSP client, smart defaults, and are comfortable installing language servers

💡 Use Vim/Neovim if:

  • You enjoy scripting, plugins, and building your own setup
  • You already have years invested in Vim muscle memory
  • You rely on mature plugins or external integrations
  • Your workflow spans tmux, Neovim GUIs, and shell scripts

For a first-person example of a Neovim workflow, see my Arch and Neovim setup.


🚀 Getting Started

If you're on an Arch-based OS, you can get started immediately:

sudo pacman -Syu helix
hx  # Launch Helix

You’ll be in a familiar modal environment—with a fresh, structured perspective.


The choice comes down to the editing model and how much configuration you want to own.

Get new articles by email

After confirming your address, you’ll receive an email whenever I publish a new blog article. Unsubscribe anytime.