4[](https://github.com/helix-editor/helix/actions)
6
8A kakoune / neovim inspired editor, written in Rust.
10The editing model is very heavily based on kakoune; during development I found
11myself agreeing with most of kakoune's design decisions.
13For more information, see the [website](https://helix-editor.com) or
14[documentation](https://docs.helix-editor.com/).
16All shortcuts/keymaps can be found [in the documentation on the website](https://docs.helix-editor.com/keymap.html).
18[Troubleshooting](https://github.com/helix-editor/helix/wiki/Troubleshooting)
22- Vim-like modal editing
24- Built-in language server support
25- Smart, incremental syntax highlighting and code editing via tree-sitter
27It's a terminal-based editor first, but I'd like to explore a custom renderer
28(similar to emacs) in wgpu or skulpin.
30Note: Only certain languages have indentation definitions at the moment. Check
31`runtime/queries/<lang>/` for `indents.scm`.
35Packages are available for various distributions (see [Installation docs](https://docs.helix-editor.com/install.html)).
37If you would like to build from source:
40git clone https://github.com/helix-editor/helix
42cargo install --path helix-term
45This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars.
46If you want to customize your `languages.toml` config,
47tree-sitter grammars may be manually fetched and built with `hx --grammar fetch` and `hx --grammar build`.
49Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
50config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows).
53|-----------|-----------|
54|windows |`xcopy runtime %AppData%/helix/runtime`|
55|linux/macos|`ln -s $PWD/runtime ~/.config/helix/runtime`
57This location can be overridden via the `HELIX_RUNTIME` environment variable.
59Packages already solve this for you by wrapping the `hx` binary with a wrapper
60that sets the variable to the install dir.
62> NOTE: running via cargo also doesn't require setting explicit `HELIX_RUNTIME` path, it will automatically
63> detect the `runtime` directory in the project root.
65In order to use LSP features like auto-complete, you will need to
66[install the appropriate Language Server](https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers)
69[](https://repology.org/project/helix/versions)
73Helix can be installed on MacOS through homebrew via:
76brew tap helix-editor/helix
82Contributing guidelines can be found [here](./docs/CONTRIBUTING.md).
86Your question might already be answered on the [FAQ](https://github.com/helix-editor/helix/wiki/FAQ).
88Discuss the project on the community [Matrix Space](https://matrix.to/#/#helix-community:matrix.org) (make sure to join `#helix-editor:matrix.org` if you're on a client that doesn't support Matrix Spaces yet).
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list