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
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.
1 year ago
.cargo enable rendering in integration tests (#5819) 2 years ago
.github CI: Remove the aarch64 appimage build steps from release (#7832) 1 year ago
book Rename reset to default (#8114) 1 year ago
contrib Add 23.05 to the AppData 1 year ago
docs remove mention of Wasm from `vision.md` (#7395) 1 year ago
helix-core transition to nucleo for fuzzy matching (#7814) 1 year ago
helix-dap Fix unwrap bug in DAP (#6786) 2 years ago
helix-event transition to nucleo for fuzzy matching (#7814) 1 year ago
helix-loader build(deps): bump tempfile from 3.7.1 to 3.8.0 (#8038) 1 year ago
helix-lsp build(deps): bump tokio from 1.31.0 to 1.32.0 (#8105) 1 year ago
helix-parsec revamped snippet text element parsing 2 years ago
helix-term Clear completion when switching windows via click (#8118) 1 year ago
helix-tui crossterm: Handle 'hidden' modifier (#8120) 1 year ago
helix-vcs transition to nucleo for fuzzy matching (#7814) 1 year ago
helix-view use which on formatter command (#8064) 1 year ago
runtime Sync latest catppuccin theme changes (#8102) 1 year ago
xtask Fix docgen again 1 year ago
.envrc Work around a nix-direnv issue 3 years ago
.gitattributes Add .gitattributes (#3318) 2 years ago
.gitignore Remove vale from .gitignore 2 years ago
.ignore docs: Update mdBook theme and improve maintainability (#7524) 1 year ago
CHANGELOG.md misc doc fixes/improvements (#7282) 1 year ago
Cargo.lock transition to nucleo for fuzzy matching (#7814) 1 year ago
Cargo.toml transition to nucleo for fuzzy matching (#7814) 1 year ago
LICENSE Add the LICENSE file. 4 years ago
README.md Update my name README.md (#7656) 1 year ago
VERSION Bump the version to 23.05 1 year ago
base16_theme.toml Set ui.text.inactive for official themes 2 years ago
default.nix build(nix): update flake deps, add default.nix file 2 years ago
flake.lock Refactor Nix flake to use crane (#7763) 1 year ago
flake.nix Copy desktop and icon files to Nix output (#7979) 1 year ago
grammars.nix nix: replace `runCommandNoCC` with `runCommand` (#3992) 2 years ago
languages.toml Update tree-sitter-gleam, enable auto-format (#8085) 1 year ago
logo.svg Add the new logo! 2 years ago
logo_dark.svg Add logo with text included (#4973) 2 years ago
logo_light.svg Add logo with text included (#4973) 2 years ago
rust-toolchain.toml update MSRV to 1.65 2 years 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 feat(debug): highlight current line (#5957) 2 years 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

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!