Helix: Difference between revisions

imported>Mbwk
Initial article on Helix
 
Klinger (talk | contribs)
Category and sentence to explain what it is. hx --health.
Line 1: Line 1:
[https://helix-editor.com/ Helix] is a modal text-editor inspired by [[Neovim]] and [[Kakoune]], written in Rust.
[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. 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.


== Installation ==
== Installation ==
Line 5: Line 5:
<syntaxhighlight lang=nix>
<syntaxhighlight lang=nix>
environment.systemPackages = [ pkgs.helix ];
environment.systemPackages = [ pkgs.helix ];
</syntaxhighlight>
</syntaxhighlight>Depending on the programming languages it is helpful to install additional packages from nixpgks. To show what packages are needed, it is necessary to run Helix:
 
hx --health 


=== With Home Manager ===
=== With Home Manager ===
Line 33: Line 35:
};
};
</syntaxhighlight>
</syntaxhighlight>
== Configuration ==
The configuration is stored in two files: ./.config/helix/config.toml and ./.config/helix/language.toml
* The full configuration options are described on the [https://docs.helix-editor.com/ Helix documentation].
* For programming languages (LSP, formatter, ..) see the [https://github.com/helix-editor/helix/wiki/Language-Server-Configurations Helix wiki].
[[Category:Applications]]