9267343830
1. Create a document containing `{A}` 1. C-w v # vsplit 1. gl # goto_line_end 1. b # move_prev_word_start 1. ` # switch_to_lowercase 1. mrm( # surround replace 1. C-w v # vsplit In the debug build surround_replace/delete will immedately assert with `assertion failed: last <= from', transaction.rs:597:13`. The splits and lowercase conversion are not needed to trigger the bug. In the release build the surround becomes `)a(` and the last vsplit causes the transaction to panic. `internal error: entered unreachable code: (Some(Retain(18446744073709551573)))', transaction.rs:185:46` Since the selection direction is backwards get_surround_pos returns the pairs reversed but the downstream code assumes they are in the forward direction. |
8 months ago | |
---|---|---|
.cargo | 10 months ago | |
.github | 8 months ago | |
book | 8 months ago | |
contrib | 9 months ago | |
docs | 11 months ago | |
helix-core | 8 months ago | |
helix-dap | 10 months ago | |
helix-event | 8 months ago | |
helix-loader | 8 months ago | |
helix-lsp | 8 months ago | |
helix-parsec | 11 months ago | |
helix-stdx | 8 months ago | |
helix-term | 8 months ago | |
helix-tui | 8 months ago | |
helix-vcs | 9 months ago | |
helix-view | 8 months ago | |
runtime | 8 months ago | |
xtask | 9 months ago | |
.envrc | 11 months ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
CHANGELOG.md | 1 year ago | |
Cargo.lock | 8 months ago | |
Cargo.toml | 10 months ago | |
LICENSE | 4 years ago | |
README.md | 11 months ago | |
base16_theme.toml | 2 years ago | |
default.nix | 2 years ago | |
flake.lock | 11 months ago | |
flake.nix | 11 months ago | |
grammars.nix | 10 months ago | |
languages.toml | 8 months ago | |
logo.svg | 10 months ago | |
logo_dark.svg | 10 months ago | |
logo_light.svg | 10 months ago | |
rust-toolchain.toml | 12 months ago | |
rustfmt.toml | 3 years ago | |
screenshot.png | 3 years ago | |
shell.nix | 2 years ago | |
theme.toml | 8 months ago |
README.md
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.
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
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!