A post-modern modal text editor.
Go to file
Skyler Hawthorne f5991657f4
Factor out line ending handling in integration tests (#9921)
Prior to this change, every integration test which wanted its line
endings to be handled transparently across platforms, i.e. test with
the same input that has its platform's line feed characters, converting
the line endings was up to each individual test by calling the
`platform_line` helper function. This significantly increases the amount
of boilerplate one has to copy between all the tests.

However, there are some test cases that need to exert strict control
over the exact input text without being manipulated behind the scenes by
the test framework.

So, with this change, the line feed conversions are factored into
the `TestCase` struct. By default, line endings of the input text
are converted to the platform's native line feed ending, but one can
explicitly specify in their test case when the input text should be left
alone and tested as is.
2024-03-31 07:12:17 -05:00
.cargo Add hook/event system 2024-01-23 11:20:19 +09:00
.github ci: Group minor rust dependency dependabot updates 2024-03-19 14:28:15 +09:00
book doc: small formatting corrections (#9986) 2024-03-26 01:08:42 +01:00
contrib Make Helix.appdata.xml spec-compliant (#10051) 2024-03-30 19:51:46 +01:00
docs use workspace inheritance for common version (#8925) 2023-12-05 10:54:18 +09:00
helix-core build(deps): bump the rust-dependencies group with 6 updates (#10007) 2024-03-26 12:55:58 +09:00
helix-dap Improve error handling for which::which failures 2024-01-24 15:47:49 +09:00
helix-event build(deps): bump ahash from 0.8.9 to 0.8.11 (#9813) 2024-03-06 11:09:13 +09:00
helix-loader build(deps): bump tempfile from 3.10.0 to 3.10.1 (#9733) 2024-02-27 01:25:17 +01:00
helix-lsp build(deps): bump tokio-stream from 0.1.14 to 0.1.15 (#9926) 2024-03-19 14:14:09 +09:00
helix-parsec use workspace inheritance for common version (#8925) 2023-12-05 10:54:18 +09:00
helix-stdx Use the OS path separator instead of / (#10000) 2024-03-26 00:59:33 +09:00
helix-term Factor out line ending handling in integration tests (#9921) 2024-03-31 07:12:17 -05:00
helix-tui Add narrow no-break space support (#9604) 2024-03-25 10:29:36 +09:00
helix-vcs Factor out line ending handling in integration tests (#9921) 2024-03-31 07:12:17 -05:00
helix-view build(deps): bump the rust-dependencies group with 6 updates (#10007) 2024-03-26 12:55:58 +09:00
runtime Add jump-label (#10058) 2024-03-31 00:49:49 +01:00
xtask Bump tree-sitter to 0.22.2 2024-03-18 10:34:53 +09:00
.envrc direnv: Watch the rust-toolchain file (#8921) 2023-11-29 11:01:12 +09:00
.gitattributes Add .gitattributes (#3318) 2022-08-03 08:21:51 -05:00
.gitignore Remove vale from .gitignore 2022-07-26 10:22:28 +09:00
base16_theme.toml Set ui.text.inactive for official themes 2022-12-17 13:59:05 -06:00
Cargo.lock Add changelog notes for 24.03 (#9946) 2024-03-30 22:28:02 +09:00
Cargo.toml Add changelog notes for 24.03 (#9946) 2024-03-30 22:28:02 +09:00
CHANGELOG.md typo (#10060) 2024-03-31 13:59:46 +02:00
default.nix build(nix): update flake deps, add default.nix file 2022-06-21 17:39:30 -05:00
flake.lock flake.lock: Bump flake inputs to prevent a warning message (#9816) 2024-03-06 00:00:34 +09:00
flake.nix Fix version of Nix package (#9013) 2023-12-09 03:04:09 +09:00
grammars.nix Make nix flake respect unused grammars (#9326) 2024-01-14 15:11:40 +01:00
languages.toml feat(languages): .mkdn as markdown extension (#10065) 2024-03-31 07:03:05 -05:00
LICENSE Add the LICENSE file. 2021-05-11 01:44:00 +09:00
logo_dark.svg Reduce logo sizes even more (#9211) 2024-01-02 23:16:37 +01:00
logo_light.svg Reduce logo sizes even more (#9211) 2024-01-02 23:16:37 +01:00
logo.svg Reduce logo sizes even more (#9211) 2024-01-02 23:16:37 +01:00
README.md Update README.md to add link to Kakoune and Neovim (#9119) 2023-12-19 15:50:39 +01:00
rust-toolchain.toml bump MSRV to 1.70.0 (#8877) 2023-11-25 13:55:49 +01:00
rustfmt.toml Add rustfmt.toml to force formatting to use rustfmt defaults 2021-07-23 18:11:22 +09:00
screenshot.png update screenshot (#1879) 2022-03-30 00:16:57 +09:00
shell.nix build(nix): update flake deps, add default.nix file 2022-06-21 17:39:30 -05:00
theme.toml Add an Amp-like jump command 2024-03-23 15:35:25 +09:00

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!