My mods of a post-modern modal text editor.
Find a file
Sampo Siltanen 2e90868a37
Update fsharp tree sitter repo reference (#11061)
The repository reference used here was a fork from the actual
repository, which has now been moved under ionide organization, where it is
in active maintenance and development.

The commit SHA is the currently latest commit from main branch.

The injections.scm is copied as is from the fsharp treesitter repo
[queries](https://github.com/ionide/tree-sitter-fsharp/blame/main/queries).

The locals.scm is copied from the repo and the capture names are to follow
the standard names:
- Replace @local.definition.var @local.definition.function, and @local.definition.parameter with @local.definition
- Remove (#set! "definition.function.scope" "parent")

The highlights.scm is copied as well from the fsharp
treesitter repo, but modified here to match helix highlight scopes based
on my best guesstimates. The changes made:

- Remove @spell scopes
- Split @comment into @comment.line and @comment.block
- Replace @comment.documentation with @comment.block.documentation
- Replace @character.special with @special
- Replace @variable.member with @variable.other.member
- Replace @type.definition with @type
- Replace @function.member with @function.method
- Replace @module with @namespace
- Replace @constant.macro with @function.macro
- Replace @property with @variable.other.member
- Replace @variable.member with @variable.other.member
- Replace @variable.parameter.builtin with @variable.builtin
- Replace @function.call with @function
- Replace @number with @constant.numeric.integer and @constant.numeric.float
- Replace @boolean with @constant.builtin.boolean
- Replace @keyword.conditional with @keyword.control.conditional
- Replace @keyword.return with @keyword.control.return
- Replace @keyword.repeate with @keyword.control.repeat
- Replace @keyword.import with @keyword.control.import
- Replace @keyword.modifier with @keyword.storage.modifier
- Replace @keyword.type with @keyword.storage.type
- Replace @keyword.exception with @keyword.control.exception
- Replace @module.builtin with @namespace
2024-08-10 00:34:08 +09:00
.cargo Add hook/event system 2024-01-23 11:20:19 +09:00
.github fix: usage of node12 which is deprecated (#11277) 2024-07-22 20:23:16 +02:00
book feat: add thrift hightlight (#11367) 2024-08-10 00:26:58 +09:00
contrib contrib: nushell: also complete available languages with --health (#11346) 2024-07-28 16:52:20 +02:00
docs Merge pull request #11355 from helix-editor/helix-lsp-types 2024-07-31 02:02:15 +02:00
helix-core Add commands for movement by subwords (#8147) 2024-08-08 13:57:59 -05:00
helix-dap &Option<T> -> Option<&T> (#11091) 2024-07-09 18:34:28 +09:00
helix-event gracefully handle lack of tokio runtime 2024-07-15 16:36:33 +02:00
helix-loader Add .svn as workspace root marker (#11429) 2024-08-10 00:23:27 +09:00
helix-lsp Merge pull request #11355 from helix-editor/helix-lsp-types 2024-07-31 02:02:15 +02:00
helix-lsp-types build(deps): bump the rust-dependencies group with 9 updates 2024-08-07 04:27:05 +09:00
helix-parsec use workspace inheritance for common version (#8925) 2023-12-05 10:54:18 +09:00
helix-stdx stdx: ...and this cast is now unnecessary 2024-08-07 07:29:35 +09:00
helix-term fix(picker): no longer trim search pattern (#11406) 2024-08-10 00:26:09 +09:00
helix-tui tui: Port improvement from ratatui on crossterm 0.28 (https://github.com/ratatui-org/ratatui/pull/1072) 2024-08-07 04:30:38 +09:00
helix-vcs Use try_lock in diff_handle for Diff gutter (#11092) 2024-08-10 00:32:46 +09:00
helix-view build(deps): bump the rust-dependencies group with 9 updates 2024-08-07 04:27:05 +09:00
runtime Update fsharp tree sitter repo reference (#11061) 2024-08-10 00:34:08 +09:00
xtask chore: remove unused xtask themelint (#10294) 2024-04-08 18:15:31 +02: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 base16_default: add styles to newer unthemed features (#10858) 2024-06-23 10:07:13 +09:00
Cargo.lock Fix crossterm compilation on macOS 2024-08-07 06:46:59 +09:00
Cargo.toml Add helix-lsp-types to workspace 2024-07-28 10:41:29 -04:00
CHANGELOG.md Fix select_all_children command (#11195) 2024-07-16 12:30:45 +09:00
default.nix Expose all flake outputs through flake-compat (#10673) 2024-05-07 01:33:59 +09:00
flake.lock flake.lock: Bump flake inputs to prevent a warning message (#9816) 2024-03-06 00:00:34 +09:00
flake.nix in flake mkShell default RUSTFLAGS to an empty string if unset (#10880) 2024-06-10 17:08:39 +02:00
grammars.nix Make nix flake respect unused grammars (#9326) 2024-01-14 15:11:40 +01:00
languages.toml Update fsharp tree sitter repo reference (#11061) 2024-08-10 00:34:08 +09:00
LICENSE Add the LICENSE file. 2021-05-11 01:44:00 +09:00
logo.svg Reduce logo sizes even more (#9211) 2024-01-02 23:16:37 +01: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
README.md Exclude EOL repos from the Repology badge (#11159) 2024-07-14 11:31:33 +09:00
rust-toolchain.toml Bump MSRV to 1.74.0 2024-05-07 15:15:52 -04: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 Adjust the ruler color of the default theme 2024-07-15 01:19:09 +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!