1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00
A post-modern modal text editor. https://helix-editor.com
Go to file
TiredTumblrina 94a9c81eb0
Prevent improper files (like /dev/random) from being used as file arguments (#10733)
* Implement check before adding path to files

* fix problem where directories were removed from args.files

* Revert "Implement check before adding path to files"

This reverts commit c123944d9b2e125cc0e17e61d53aaffe09234baf.

* Dissallow opening of irregular non-symlink files

* Fixed issue with creating new file from command line

* Fixed linting error.

* Optimized regularity check as suggested in review

* Created DocumentOpenError Sum Type to switch on in Application

* Forgot cargo fmt

* Update helix-term/src/application.rs

Accept suggestion in review.

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Moved thiserror version configuration to the workspace instead of the individual packages.

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-06-18 18:14:17 +02:00
.cargo
.github --- (#10798) 2024-05-22 01:22:06 +09:00
book Fix multiple broken links in the documentation (#10953) 2024-06-18 10:43:36 +02:00
contrib
docs
helix-core Add curly single and double quotes to BRACKETS (#10971) 2024-06-18 10:40:19 +02: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
helix-loader Fix logic to update version when HEAD changes. (#10896) 2024-06-07 08:24:33 +09:00
helix-lsp Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
helix-parsec
helix-stdx correctly handle opening helix inside symlinked directory (#10728) 2024-05-20 21:44:53 +09:00
helix-term Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
helix-tui build(deps): bump the rust-dependencies group across 1 directory with 5 updates (#10926) 2024-06-12 01:08:50 +09:00
helix-vcs --- (#10804) 2024-05-24 12:08:20 +09:00
helix-view Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
runtime improve jump colors for github_dark themes (#10946) 2024-06-18 10:39:56 +02:00
xtask
.envrc
.gitattributes
.gitignore
base16_theme.toml
Cargo.lock Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02: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
default.nix
flake.lock
flake.nix in flake mkShell default RUSTFLAGS to an empty string if unset (#10880) 2024-06-10 17:08:39 +02:00
grammars.nix
languages.toml feat(cairo): update tree-sitter grammar and queries (#10919) 2024-06-12 09:20:13 +09:00
LICENSE
logo_dark.svg
logo_light.svg
logo.svg
README.md
rust-toolchain.toml
rustfmt.toml
screenshot.png
shell.nix
theme.toml

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!