My mods of a post-modern modal text editor.
Find a file
Michael Davis 48373d4a2b
Clear completion when switching windows via click (#8118)
The completion component assumes that it operates on the same View but
it's possible to break this assumption by switching windows through
left-clicking. I believe we should clear the completion menu when
switching windows to fix this.

This change fixes a panic for this scenario:

* Open a buffer with LSP completion available
* Split the window (for example '<C-w>v')
* Enter insert mode and trigger the completion menu
* Select a completion candidate (for example with '<C-n>')
* Switch to the original window by left-clicking in its area
* Enter insert mode and make edits (for example 'o<backspace>')

This will trip the 'assert_eq' in Document::restore.
2023-08-31 15:12:32 +09:00
.cargo enable rendering in integration tests (#5819) 2023-02-04 13:20:23 -08:00
.github CI: Remove the aarch64 appimage build steps from release (#7832) 2023-08-08 03:16:05 +09:00
book Rename reset to default (#8114) 2023-08-30 16:38:29 +09:00
contrib Add 23.05 to the AppData 2023-05-18 16:01:26 +09:00
docs remove mention of Wasm from vision.md (#7395) 2023-06-19 23:10:50 -05:00
helix-core transition to nucleo for fuzzy matching (#7814) 2023-08-30 13:26:21 +09:00
helix-dap Fix unwrap bug in DAP (#6786) 2023-04-17 15:36:04 -05:00
helix-event transition to nucleo for fuzzy matching (#7814) 2023-08-30 13:26:21 +09:00
helix-loader build(deps): bump tempfile from 3.7.1 to 3.8.0 (#8038) 2023-08-22 12:49:15 +09:00
helix-lsp build(deps): bump tokio from 1.31.0 to 1.32.0 (#8105) 2023-08-29 13:12:00 +09:00
helix-parsec revamped snippet text element parsing 2023-03-16 15:46:08 +09:00
helix-term Clear completion when switching windows via click (#8118) 2023-08-31 15:12:32 +09:00
helix-tui crossterm: Handle 'hidden' modifier (#8120) 2023-08-31 15:11:01 +09:00
helix-vcs transition to nucleo for fuzzy matching (#7814) 2023-08-30 13:26:21 +09:00
helix-view use which on formatter command (#8064) 2023-08-30 16:51:03 +02:00
runtime Sync latest catppuccin theme changes (#8102) 2023-08-29 01:03:54 +02:00
xtask Fix docgen again 2023-05-18 21:58:17 +02:00
.envrc Work around a nix-direnv issue 2022-02-25 18:01:47 +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
.ignore docs: Update mdBook theme and improve maintainability (#7524) 2023-07-09 19:20:38 +02:00
base16_theme.toml Set ui.text.inactive for official themes 2022-12-17 13:59:05 -06:00
Cargo.lock transition to nucleo for fuzzy matching (#7814) 2023-08-30 13:26:21 +09:00
Cargo.toml transition to nucleo for fuzzy matching (#7814) 2023-08-30 13:26:21 +09:00
CHANGELOG.md misc doc fixes/improvements (#7282) 2023-06-08 13:27:58 +09:00
default.nix build(nix): update flake deps, add default.nix file 2022-06-21 17:39:30 -05:00
flake.lock Refactor Nix flake to use crane (#7763) 2023-07-28 13:30:26 +09:00
flake.nix Copy desktop and icon files to Nix output (#7979) 2023-08-29 16:22:03 +09:00
grammars.nix nix: replace runCommandNoCC with runCommand (#3992) 2022-09-27 08:01:58 -05:00
languages.toml Update tree-sitter-gleam, enable auto-format (#8085) 2023-08-28 18:44:49 +09:00
LICENSE Add the LICENSE file. 2021-05-11 01:44:00 +09:00
logo.svg Add the new logo! 2022-12-02 12:06:17 +09:00
logo_dark.svg Add logo with text included (#4973) 2022-12-03 11:05:15 +09:00
logo_light.svg Add logo with text included (#4973) 2022-12-03 11:05:15 +09:00
README.md Update my name README.md (#7656) 2023-07-17 14:09:19 +09:00
rust-toolchain.toml update MSRV to 1.65 2023-03-05 15:54:02 +09: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 feat(debug): highlight current line (#5957) 2023-03-29 12:52:19 +09:00
VERSION Bump the version to 23.05 2023-05-18 16:01:26 +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!