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
Pantos 3f528493d3 add `anchored` movement commands
Commands added:
* `move_anchored_line_up`
* `move_anchored_line_down`
* `move_anchored_visual_line_up`
* `move_anchored_visual_line_down`
* `extend_anchored_line_up`
* `extend_anchored_line_down`
* `extend_anchored_visual_line_up`
* `extend_anchored_visual_line_down`

These new commands move cursors vertically. A cursor will move depending
on its position:

* If it is on a newline character of a non-empty line, the cursor will
  stay on newlines (i.e. on a line's last character).

* If it is on a non-newline character of a non-empty line, the cursor
  will try to avoid newline characters. It will move normally, but if
  it would end up on a newline, instead it will be moved one position
  left of it (i.e. the line's second to last character).

* If it is on the newline character of an empty line (that contains
  nothing except the newline character), the cursor will continue to
  move like before: If it stayed on newline before, it will continue to
  do so. Otherwise it will try to avoid them (except on empty lines).
3 days ago
.cargo Add hook/event system 10 months ago
.github build(deps): bump cachix/install-nix-action from 29 to 30 (#11852) 2 months ago
book Add support for Amber-lang (#12021) 3 days ago
contrib contrib: nushell: also complete available languages with --health (#11346) 4 months ago
docs Merge pull request #11355 from helix-editor/helix-lsp-types 4 months ago
helix-core add `anchored` movement commands 3 days ago
helix-dap build(deps): bump the rust-dependencies group with 6 updates (#11924) 1 month ago
helix-event build(deps): bump the rust-dependencies group with 4 updates (#11850) 1 month ago
helix-loader build(deps): bump the rust-dependencies group across 1 directory with 11 updates 2 weeks ago
helix-lsp build(deps): bump the rust-dependencies group across 1 directory with 11 updates 2 weeks ago
helix-lsp-types build(deps): bump the rust-dependencies group with 5 updates (#12088) 4 days ago
helix-parsec use workspace inheritance for common version (#8925) 12 months ago
helix-stdx build(deps): bump which from 6.0.3 to 7.0.0 (#12090) 4 days ago
helix-term add `anchored` movement commands 3 days ago
helix-tui build(deps): bump the rust-dependencies group with 5 updates (#11805) 2 months ago
helix-vcs Fix breaking change in gix Tree::loop_entry_by_path 2 weeks ago
helix-view Add default-yank-register option (#11430) 4 days ago
runtime Add support for Amber-lang (#12021) 3 days ago
xtask Add: validation of bundled themes in build workflow (#11627) 2 months ago
.envrc direnv: Watch the rust-toolchain file (#8921) 1 year ago
.gitattributes Add .gitattributes (#3318) 2 years ago
.gitignore fix: added .DS_Store to gitignore 4 days ago
CHANGELOG.md Fix `select_all_children` command (#11195) 4 months ago
Cargo.lock build(deps): bump the rust-dependencies group with 5 updates (#12088) 4 days ago
Cargo.toml build(deps): bump thiserror from 1.0.64 to 2.0.3 4 days ago
LICENSE Add the LICENSE file. 4 years ago
README.md Fix repology badge (#11895) 1 month 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 Bump flake dependencies 1 month ago
flake.nix Bump flake dependencies 1 month ago
grammars.nix Make nix flake respect unused grammars (#9326) 11 months ago
languages.toml Add support for Amber-lang (#12021) 3 days 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
pr.md Add spade support (#11448) 4 days 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

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

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!