Helix: Difference between revisions

Klinger (talk | contribs)
m short example about tree-sitter integration
Kiara (talk | contribs)
rectify statement on lack of plugin system
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[https://helix-editor.com/ Helix] is a modal text-editor inspired by [[Neovim]] and [[Kakoune]], written in Rust. Compared to neovim, it is preconfigured with the functions that most people need (for example tree-sitter for syntax highlighting). It has no plugin system. It uses (neo-)vim motions keybindings, but it uses the object-verb approach (visually highlighting text and then executing a function on it). It is intended for people who like to use a modal text editor but don't want to spend a lot of time configuring it.
[https://helix-editor.com/ Helix] is a modal text-editor inspired by [[Neovim]] and [[Kakoune]], written in Rust. Compared to neovim, it is preconfigured with the functions that most people need (for example tree-sitter for syntax highlighting). There is a [https://github.com/helix-editor/helix/pull/8675 PR] to add [https://helix-plugins.com/ plugins]. It uses (neo-)vim motions keybindings, but it uses the object-verb approach (visually highlighting text and then executing a function on it). It is intended for people who like to use a modal text editor but don't want to spend a lot of time configuring it.


== Installation ==
== Installation ==
Line 5: Line 5:
<syntaxhighlight lang=nix>
<syntaxhighlight lang=nix>
environment.systemPackages = [ pkgs.helix ];
environment.systemPackages = [ pkgs.helix ];
</syntaxhighlight>Depending on the programming languages it is helpful to install additional packages from nixpgks. To show what packages are needed, it is helpful to check <code>hx --health</code>.
</syntaxhighlight>Depending on the programming languages it is helpful to install additional packages from nixpkgs. To show what packages are needed, it is helpful to check <code>hx --health</code>.
=== With Home Manager ===
=== With Home Manager ===
[[Home Manager]] provides a module for configuring helix.
[[Home Manager]] provides a module for configuring helix.
Line 40: Line 40:


[[Category:Applications]]
[[Category:Applications]]
[[Category:CLI Applications]]
[[Category:Text Editor]]
[[Category:Text Editor]]