da261724d1
This allows using multiple distinct state histories. By default, all history is also cleared any time a view's selection is set, unless explicitly told to save the state. This way, we can have control over when selection history is saved. They are also cleared on any text edit, since an edit could invalidate the previous selection, potentially causing a panic. Additionally, the object selections have been moved into `Document` so that it is easier to manipulate them when changes to the document happen. They have been put into a wrapper struct named `ViewData`, where the intention is that any further fields that we want to add in the future that must be associated with a view, but are more convenient to store in a document, can be added here, instead of further polluting the core `Document` type. |
3 weeks ago | |
---|---|---|
.cargo | 10 months ago | |
.github | 2 months ago | |
book | 4 weeks ago | |
contrib | 4 months ago | |
docs | 4 months ago | |
helix-core | 3 weeks ago | |
helix-dap | 1 month ago | |
helix-event | 1 month ago | |
helix-loader | 2 months ago | |
helix-lsp | 3 months ago | |
helix-lsp-types | 1 month ago | |
helix-parsec | 12 months ago | |
helix-stdx | 2 months ago | |
helix-term | 3 weeks ago | |
helix-tui | 2 months ago | |
helix-vcs | 2 months ago | |
helix-view | 3 weeks ago | |
runtime | 4 weeks ago | |
xtask | 2 months ago | |
.envrc | 1 year ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
CHANGELOG.md | 4 months ago | |
Cargo.lock | 1 month ago | |
Cargo.toml | 4 months ago | |
LICENSE | 4 years ago | |
README.md | 1 month ago | |
base16_theme.toml | 5 months ago | |
default.nix | 7 months ago | |
flake.lock | 1 month ago | |
flake.nix | 1 month ago | |
grammars.nix | 11 months ago | |
languages.toml | 4 weeks ago | |
logo.svg | 11 months ago | |
logo_dark.svg | 11 months ago | |
logo_light.svg | 11 months ago | |
rust-toolchain.toml | 7 months ago | |
rustfmt.toml | 3 years ago | |
screenshot.png | 3 years ago | |
shell.nix | 2 years ago | |
theme.toml | 4 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
Although it's primarily a terminal-based editor, I am interested in exploring a custom renderer (similar to Emacs) using 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!