855568fa34
fsync(2) is a somewhat expensive operation that flushes writes to the underlying disk/SSD. It's typically used by databases to ensure that writes survive very hard failure scenarios like your cat kicking the plug out of the wall. Synchronizing isn't automatically done by `flush`ing (from the `std::io::Write` or `tokio::io::AsyncWriteExt` traits). From the [`tokio::fs::File`] moduledocs: > To ensure that a file is closed immediately when it is dropped, you > should call `flush` before dropping it. Note that this does not ensure > that the file has been fully written to disk; the operating system > might keep the changes around in an in-memory buffer. See the > `sync_all` method for telling the OS to write the data to disk. [`tokio::fs::File`]: https://docs.rs/tokio/latest/tokio/fs/struct.File.html |
6 months ago | |
---|---|---|
.cargo | 10 months ago | |
.github | 7 months ago | |
book | 6 months ago | |
contrib | 7 months ago | |
docs | 11 months ago | |
helix-core | 6 months ago | |
helix-dap | 7 months ago | |
helix-event | 6 months ago | |
helix-loader | 7 months ago | |
helix-lsp | 6 months ago | |
helix-parsec | 11 months ago | |
helix-stdx | 7 months ago | |
helix-term | 6 months ago | |
helix-tui | 7 months ago | |
helix-vcs | 6 months ago | |
helix-view | 6 months ago | |
runtime | 6 months ago | |
xtask | 7 months ago | |
.envrc | 12 months ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
CHANGELOG.md | 7 months ago | |
Cargo.lock | 6 months ago | |
Cargo.toml | 7 months ago | |
LICENSE | 4 years ago | |
README.md | 11 months ago | |
base16_theme.toml | 7 months ago | |
default.nix | 6 months ago | |
flake.lock | 8 months ago | |
flake.nix | 11 months ago | |
grammars.nix | 10 months ago | |
languages.toml | 6 months ago | |
logo.svg | 10 months ago | |
logo_dark.svg | 10 months ago | |
logo_light.svg | 10 months ago | |
rust-toolchain.toml | 6 months ago | |
rustfmt.toml | 3 years ago | |
screenshot.png | 3 years ago | |
shell.nix | 2 years ago | |
theme.toml | 7 months ago |
README.md
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.
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
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!