Linux command
hx 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
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
说明
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.
参数
- --tutor
- Open tutorial.
- --health _LANG_
- Check language support.
- -c, --config _FILE_
- Configuration file.
- --grammar
- Fetch/build grammars.
- -v
- Increase verbosity.
- --help
- Display help information.
FAQ
What is the hx command used for?
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.
How do I run a basic hx example?
Run `hx [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --tutor do in hx?
Open tutorial.