The Helix package provides a modern text editor written in Rust. It is based on Kakoune and Neovim.
A network connection is needed for building this package. The system certificate store may need to be set up with make-ca before building this package.
wl-clipboard, xsel, xclip, and several language servers for different languages [6]
Fix a link to one of the repositories that will get cloned:
sed -i 's/dannylongeuay/ngalaiko/g' languages.toml
Install Helix by running the following commands:
HELIX_DEFAULT_RUNTIME=/usr/lib/helix \ cargo build --release
Now, as the root user:
install -vDm755 target/release/hx \
-t /usr/bin/ &&
install -vdm755 /usr/lib/helix &&
cp -vR runtime/* /usr/lib/helix &&
rm -rf /usr/lib/helix/grammars/sources &&
install -vDm644 contrib/Helix.desktop \
-t /usr/share/applications/ &&
install -vDm644 contrib/Helix.appdata.xml \
-t /usr/share/metainfo/ &&
install -vDm644 contrib/helix.png \
-t /usr/share/icons/hicolor/256x256/apps/
Guides on how to use and configure Helix can be found here.
[6] See Helix's Language Support for more details on language servers. Some are already in BLFS and may even be on your system.