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
Thomas Schafer 668f1239a9
Fix jump_backwards behaviour when jumplist is at capacity (#10968)
* Fix jump_backwards behaviour when jumplist is at capacity

* Decrement self.current while popping from front

* Fix issue with conflicting updates to self.current

* Realised that truncate is intentional

* Use saturating_sub when decrementing current

* Fix naming of previous jump, and remove unneeded comment change

* Remove unnecessary changes in push

* Return num elements removed from front, and use in backward method

* Hide num_removed from public interface and tidy up jump location check
5 months ago
.cargo Add hook/event system 10 months ago
.github --- (#10798) 6 months ago
book Auto Save All Buffers After A Delay (#10899) 5 months ago
contrib Make Helix.appdata.xml spec-compliant (#10051) 8 months ago
docs use workspace inheritance for common version (#8925) 12 months ago
helix-core Add curly single and double quotes to BRACKETS (#10971) 5 months ago
helix-dap DAP: Deserialize number IDs (#10943) 5 months ago
helix-event build(deps): bump the rust-dependencies group across 1 directory with 11 updates (#10715) 6 months ago
helix-loader Fix logic to update version when HEAD changes. (#10896) 5 months ago
helix-lsp build(deps): bump the rust-dependencies group across 1 directory with 10 updates (#10871) 6 months ago
helix-parsec use workspace inheritance for common version (#8925) 12 months ago
helix-stdx correctly handle opening helix inside symlinked directory (#10728) 6 months ago
helix-term Make prompt use cursor set for Insert mode (#10945) 5 months ago
helix-tui build(deps): bump the rust-dependencies group across 1 directory with 5 updates (#10926) 5 months ago
helix-vcs --- (#10804) 6 months ago
helix-view Fix jump_backwards behaviour when jumplist is at capacity (#10968) 5 months ago
runtime improve jump colors for github_dark themes (#10946) 5 months ago
xtask chore: remove unused xtask themelint (#10294) 7 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 typo (#10060) 8 months ago
Cargo.lock Downgrade unicode-width to 0.1.12 (#10963) 5 months ago
Cargo.toml use newtype parttern for langauge server id 7 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 feat(themes): add `ui.virtual.ruler` for `base16_default` 7 months ago
default.nix Expose all flake outputs through flake-compat (#10673) 6 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 feat(cairo): update tree-sitter grammar and queries (#10919) 5 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 6 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 Change cursor color per mode for default (#10608) 7 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!