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
Pascal Kuthe 4c7cdb8fea
Improve line annotation API
The line annotation as implemented in #5420 had two shortcomings:
* It required the height of virtual text lines to be known ahead time
* It checked for line anchors at every grapheme

The first problem made the API impractical to use in practice because
almost all virtual text needs to be softwrapped. For example inline
diagnostics should be softwrapped to avoid cutting off the diagnostic
message (as no scrolling is possible). While more complex virtual text
like side by side diffs must dynamically calculate the number of empty
lines two align two documents (which requires taking account both
softwrap and virtual text). To address this, the API has been
refactored to use a trait.

The second issue caused some performance overhead and unnecessarily
complicated the `DocumentFormatter`. It was addressed by only calling
the trait mentioned above at line breaks (instead of always). This
allows offers additional flexibility to annotations as it offers
the flexibility to align lines (needed for side by side diffs).
4 months ago
.cargo Add hook/event system 10 months ago
.github --- (#10798) 6 months ago
book Picker: Highlight the currently active column 4 months ago
contrib Add changelog notes for 24.07 (#10731) 4 months ago
docs Fix homebrew formula link (#11058) 5 months ago
helix-core Improve line annotation API 4 months ago
helix-dap `&Option<T>` -> `Option<&T>` (#11091) 5 months ago
helix-event Request a UI redraw on Drop of an Injector 4 months ago
helix-loader `&Option<T>` -> `Option<&T>` (#11091) 5 months ago
helix-lsp `&Option<T>` -> `Option<&T>` (#11091) 5 months ago
helix-parsec use workspace inheritance for common version (#8925) 12 months ago
helix-stdx build(deps): bump the rust-dependencies group with 4 updates (#11032) 5 months ago
helix-term track char_idx in DocFormatter 4 months ago
helix-tui build(deps): bump the rust-dependencies group with 4 updates (#11032) 5 months ago
helix-vcs build(deps): bump the rust-dependencies group with 5 updates (#11113) 5 months ago
helix-view Merge pull request #9647 from helix-editor/pickers-v2 4 months ago
runtime Update highlights.scm and injections.scm for blade.php files (#11138) 4 months ago
xtask chore: remove unused xtask themelint (#10294) 8 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 24.07 (#10731) 4 months ago
Cargo.lock Convert LSP URIs into custom URIs 4 months ago
Cargo.toml avoid collecting columns to a temporary vec 4 months ago
LICENSE Add the LICENSE file. 4 years ago
README.md Exclude EOL repos from the Repology badge (#11159) 4 months ago
base16_theme.toml base16_default: add styles to newer unthemed features (#10858) 5 months ago
default.nix Expose all flake outputs through flake-compat (#10673) 7 months ago
flake.lock flake.lock: Bump flake inputs to prevent a warning message (#9816) 9 months ago
flake.nix in flake mkShell default RUSTFLAGS to an empty string if unset (#10880) 5 months ago
grammars.nix Make nix flake respect unused grammars (#9326) 10 months ago
languages.toml Update tree-sitter-todotxt (#11097) 4 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.74.0 7 months 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 Adjust the ruler color of the default theme 4 months 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!