Helix Mirror
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Michael Davis 12e7d126b6
Mark query_captures function as unsafe
It's easy to mistakenly use-after-free the cursor and captures iterator
here because of the transmute. Ideally this could be fixed upstream in
tree-sitter by introducing an API with lifetimes/types that reflect the
lifetimes of the underlying data.

Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
9 months ago
.cargo Add hook/event system 10 months ago
.github Don't run scheduled builds on forks (#9718) 9 months ago
book Add Groovy grammar (#9350) 9 months ago
contrib Completely fix bash autocomplete handling of filenames with spaces (#9708) 9 months ago
docs use workspace inheritance for common version (#8925) 12 months ago
helix-core Mark query_captures function as unsafe 9 months ago
helix-dap Improve error handling for `which::which` failures 10 months ago
helix-event Add hook/event system 10 months ago
helix-loader Optimization of tilde expansion (#9709) 9 months ago
helix-lsp Use a hook for resolving completion items 9 months ago
helix-parsec use workspace inheritance for common version (#8925) 12 months ago
helix-stdx switch to regex-cursor (#9422) 9 months ago
helix-term switch to regex-cursor (#9422) 9 months ago
helix-tui build(deps): bump unicode-segmentation from 1.10.1 to 1.11.0 (#9617) 9 months ago
helix-vcs build(deps): bump tempfile from 3.9.0 to 3.10.0 (#9538) 9 months ago
helix-view LSP: Key diagnostics off file path instead of URI 9 months ago
runtime Fix colors of tokyonight diagnostic undercurls (#9724) 9 months ago
xtask build(deps): bump toml from 0.7.6 to 0.8.10 (#9539) 9 months ago
.envrc direnv: Watch the rust-toolchain file (#8921) 12 months ago
.gitattributes Add .gitattributes (#3318) 2 years ago
.gitignore Remove vale from .gitignore 2 years ago
CHANGELOG.md Add changelog notes for 23.10 (#8086) 1 year ago
Cargo.lock switch to regex-cursor (#9422) 9 months ago
Cargo.toml Create helix-stdx crate for stdlib extensions 10 months ago
LICENSE Add the LICENSE file. 4 years ago
README.md Update README.md to add link to Kakoune and Neovim (#9119) 11 months ago
base16_theme.toml Set ui.text.inactive for official themes 2 years ago
default.nix build(nix): update flake deps, add default.nix file 2 years ago
flake.lock nix: update flake inputs (#8943) 12 months ago
flake.nix Fix version of Nix package (#9013) 12 months ago
grammars.nix Make nix flake respect unused grammars (#9326) 10 months ago
languages.toml slint: Update SHA of tree-sitter parser (#9698) 9 months ago
logo.svg Reduce logo sizes even more (#9211) 11 months ago
logo_dark.svg Reduce logo sizes even more (#9211) 11 months ago
logo_light.svg Reduce logo sizes even more (#9211) 11 months ago
rust-toolchain.toml bump MSRV to 1.70.0 (#8877) 1 year ago
rustfmt.toml Add rustfmt.toml to force formatting to use rustfmt defaults 3 years ago
screenshot.png update screenshot (#1879) 3 years ago
shell.nix build(nix): update flake deps, add default.nix file 2 years ago
theme.toml feat(debug): highlight current line (#5957) 2 years ago

README.md

Helix

Build status GitHub Release Documentation GitHub contributors Matrix Space

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.scm.

Installation

Installation documentation.

Packaging status

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).

Credits

Thanks to @jakenvac for designing the logo!