hx
command for Helix editor
TLDR
Open file
$ hx [file]
Open at line$ hx [file]:[line]
Open multiple files$ hx [file1] [file2]
Check language support$ hx --health [language]
Open tutor$ hx --tutor
Split all given files into vertical windows$ hx --vsplit [file1] [file2]
SYNOPSIS
hx [options] [files]...
DESCRIPTION
hx is the command for Helix editor. Helix is a post-modern modal editor with built-in LSP support and tree-sitter integration.The editor uses selection-first editing model inspired by Kakoune. It provides syntax highlighting, completions, and diagnostics out of the box.
PARAMETERS
FILES
Files to edit, optionally suffixed with :LINE or :LINE:COLUMN.+N
Open the first given file at line N.--tutor
Open the interactive tutorial.--health [CATEGORY]
Check for setup problems; CATEGORY can be a language name, or clipboard, languages, all-languages, all.-c, --config FILE
Configuration file to use.-g, --grammar {fetch|build}
Fetch or build tree-sitter grammars.-w, --working-dir PATH
Initial working directory.--vsplit / --hsplit
Split all given files vertically / horizontally into separate windows.--strict
Bail with an error for commands that can fail.--log FILE
File to use for logging.-v
Increase logging verbosity (repeatable).-h, --help
Display help information.-V, --version
Print version information.
INSTALL
sudo apt install hx
sudo dnf install helix
sudo pacman -S helix
sudo apk add helix
sudo zypper install helix
brew install hx
nix profile install nixpkgs#helix
CAVEATS
Different model than Vim. Learning curve for new users. Rust-based.
HISTORY
Helix was created as a modern terminal editor, taking inspiration from Kakoune and Neovim.
