No description
Find a file
2022-01-09 00:28:56 +09:00
.cargo
.github
book capture markdown link text as markup.link.text () 2022-01-09 00:27:50 +09:00
contrib
docs
helix-core feat(commands): shrink_selection () 2022-01-06 11:12:02 +09:00
helix-lsp Release 0.6 2022-01-04 18:54:37 +09:00
helix-syntax Upgrade and reenable tree-sitter-haskell 2022-01-09 00:28:56 +09:00
helix-term feat(commands): shrink_selection () 2022-01-06 11:12:02 +09:00
helix-tui
helix-view feat(commands): shrink_selection () 2022-01-06 11:12:02 +09:00
runtime Add fixity keywords to haskell's highlights.scm 2022-01-09 00:28:56 +09:00
xtask
.envrc
.gitignore
.gitmodules add tree-sitter-regex () 2022-01-06 23:00:00 +08:00
base16_theme.toml add diff.{plus,minus,delta} to themes 2021-12-26 00:12:49 +09:00
Cargo.lock
Cargo.toml docs: Auto generate command list 2021-12-08 10:23:50 +09:00
CHANGELOG.md
flake.lock nix: Update flake.lock 2021-12-19 13:46:00 +09:00
flake.nix
languages.toml Add default language server for JavaScript () 2022-01-09 00:27:10 +09:00
LICENSE
README.md
rust-toolchain.toml Switch rust-toolchain.toml over to stable 2021-09-08 16:34:04 +09:00
rustfmt.toml
screenshot.png
shell.nix
theme.toml capture markdown link text as markup.link.text () 2022-01-09 00:27:50 +09:00
TODO.md Remove some old TODOs 2021-10-27 12:25:00 +09:00

Helix

Build status

Screenshot

A kakoune / neovim inspired editor, written in Rust.

The editing model is very heavily based on kakoune; during development I found myself agreeing with most of kakoune's design decisions.

For more information, see the website or documentation.

All shortcuts/keymaps can be found in the documentation on the website.

Troubleshooting

Features

  • Vim-like modal editing
  • Multiple selections
  • Built-in language server support
  • Smart, incremental syntax highlighting and code editing via tree-sitter

It's a terminal-based editor first, but I'd like to explore a custom renderer (similar to emacs) in wgpu or skulpin.

Note: Only certain languages have indentation definitions at the moment. Check runtime/queries/<lang>/ for indents.toml.

Installation

We provide packaging for various distributions, but here's a quick method to build from source.

git clone --recurse-submodules --shallow-submodules -j8 https://github.com/helix-editor/helix
cd helix
cargo install --path helix-term

This will install the hx binary to $HOME/.cargo/bin.

Helix also needs its runtime files so make sure to copy/symlink the runtime/ directory into the config directory (for example ~/.config/helix/runtime on Linux/macOS, or %AppData%/helix/runtime on Windows). This location can be overriden via the HELIX_RUNTIME environment variable.

Packages already solve this for you by wrapping the hx binary with a wrapper that sets the variable to the install dir.

NOTE: running via cargo also doesn't require setting explicit HELIX_RUNTIME path, it will automatically detect the runtime directory in the project root.

Packaging status

MacOS

Helix can be installed on MacOS through homebrew via:

brew tap helix-editor/helix
brew install helix

Contributing

Contributing guidelines can be found here.

Getting help

Your question might already be answered on the FAQ.

Discuss the project on the community Matrix Space (make sure to join #helix-editor:matrix.org if you're on a client that doesn't support Matrix Spaces yet).