A post-modern modal text editor.
Go to file
Michael Davis 9c108b5486
Support bindings with the Super (Cmd/Win/Meta) modifier
Terminals which support the enhanced keyboard protocol send events for
keys pressed with the Super modifier (Windows/Linux key or the Command
key). The only changes that are needed to support this in Helix are:

* Mapping the modifier from crossterm's KeyModifiers to Helix's
  KeyModifiers.
* Representing and parsing the modifier from the KeyEvent text
  representation.
* Documenting the ability to remap it.

When writing keybindings, use 'Meta-', 'Cmd-' or 'Win-' which are all
synonymous. For example:

    [keys.normal]
    Cmd-s = ":write"

will trigger for the Windows or Linux keys and the Command key plus 's'.
2024-07-06 10:49:27 -04:00
.cargo Add hook/event system 2024-01-23 11:20:19 +09:00
.github --- (#10798) 2024-05-22 01:22:06 +09:00
book Support bindings with the Super (Cmd/Win/Meta) modifier 2024-07-06 10:49:27 -04:00
contrib Make Helix.appdata.xml spec-compliant (#10051) 2024-03-30 19:51:46 +01:00
docs Fix homebrew formula link (#11058) 2024-06-30 16:07:57 +09:00
helix-core build(deps): bump the rust-dependencies group with 4 updates (#11032) 2024-06-25 23:22:20 +09:00
helix-dap Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
helix-event build(deps): bump the rust-dependencies group across 1 directory with 11 updates (#10715) 2024-05-07 21:43:40 +02:00
helix-loader Fix logic to update version when HEAD changes. (#10896) 2024-06-07 08:24:33 +09:00
helix-lsp Tell language servers that Helix can request formatting (#11064) 2024-07-02 09:42:51 +09:00
helix-parsec use workspace inheritance for common version (#8925) 2023-12-05 10:54:18 +09:00
helix-stdx build(deps): bump the rust-dependencies group with 4 updates (#11032) 2024-06-25 23:22:20 +09:00
helix-term Delay auto-save until exiting insert mode (#11047) 2024-06-29 11:08:21 +09:00
helix-tui build(deps): bump the rust-dependencies group with 4 updates (#11032) 2024-06-25 23:22:20 +09:00
helix-vcs --- (#10804) 2024-05-24 12:08:20 +09:00
helix-view Support bindings with the Super (Cmd/Win/Meta) modifier 2024-07-06 10:49:27 -04:00
runtime Override far too dark cursorline (#11071) 2024-07-02 09:56:55 +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 Bump time from broken version (0.3.23) (#11065) 2024-07-02 09:38:30 +09:00
Cargo.toml Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
CHANGELOG.md typo (#10060) 2024-03-31 13:59:46 +02: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 Add hsc filetype to haskell (#11074) 2024-07-02 17:36:29 +09: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.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 Change cursor color per mode for default (#10608) 2024-04-26 16:50:29 -05: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!