$linuxjunkies
>

helix(1)

Helix is a post-modern text editor written in Rust with built-in LSP support, tree-sitter syntax highlighting, and modal editing.

UbuntuDebianFedoraArch

Synopsis

hx [OPTIONS] [FILE]...

Description

Helix is a modern modal text editor inspired by Vim and Kakoune, featuring first-class language server protocol (LSP) integration, tree-sitter-based syntax highlighting, and multi-cursor editing. It provides an intuitive command palette, sensible defaults without requiring extensive configuration, and built-in theming support.

The editor uses modal editing (normal, insert, and select modes) and combines the best aspects of Vim's command structure with more accessible keybindings. Helix includes features like fuzzy file finding, project-wide search and replace, and inline diagnostics from language servers.

Common options

FlagWhat it does
-c, --configspecify a custom configuration file path
-g, --grammarfetch or build tree-sitter grammars
-v, --versionprint version information and exit
-h, --helpdisplay help message and exit
--healthcheck LSP and language support configuration
--tutorstart interactive tutorial for learning Helix

Examples

open a Rust file in Helix for editing

hx myfile.rs

open all Python files in the current directory

hx *.py

check LSP configuration and language support status

hx --health

launch the interactive tutorial to learn Helix basics

hx --tutor

open script.sh and jump to line 10, column 5

hx +10:5 script.sh

open Helix with no file; use :open command inside to load files

hx

Related commands