← 返回命令列表

Linux command

helix 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Open file

hx [file]

Open at specific line

hx [file]:[line]

Open multiple files

hx [file1] [file2]

Check health

hx --health

Open tutor

hx --tutor

说明

Helix is a post-modern modal text editor inspired by Kakoune and Vim. It features multiple selections, built-in LSP support, and tree-sitter integration. The editor provides syntax highlighting, auto-completion, and diagnostics out of the box. It uses selection-action model instead of verb-object.

参数

--health _LANG_
Check health for language.
--tutor
Open interactive tutorial.
--grammar
Fetch and build grammars.
-c, --config _FILE_
Configuration file.
--log _FILE_
Log file path.
-v
Increase verbosity.
--help
Display help information.

FAQ

What is the helix command used for?

Helix is a post-modern modal text editor inspired by Kakoune and Vim. It features multiple selections, built-in LSP support, and tree-sitter integration. The editor provides syntax highlighting, auto-completion, and diagnostics out of the box. It uses selection-action model instead of verb-object.

How do I run a basic helix example?

Run `hx [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --health _LANG_ do in helix?

Check health for language.