Skip to content

A post-modern modal text editor. This fork is meant for compiling a package compatible for an `armv6l` CPU. I wanted to use `helix-editor` on my legacy Raspberry Pi Zero Wireless.

License

Notifications You must be signed in to change notification settings

NeilPandya/helix-armv6l

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Although it's primarily a terminal-based editor, I am interested in exploring a custom renderer (similar to Emacs) using 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

ARMv6l Support

This fork is my (@NeilPandya) attempt to get Helix working on my Raspberry Pi Zero Wireless. I'm not sure if there're pre-existing branches dedicated towards legacy 32-bit ARM support, but I'm not aware of any. After some poking around, I'm not sure if this will ever be merged upstream, but I'm documenting my progress here.

Building for 32-bit ARM

I'm using a Raspberry Pi Zero Wireless, which is a 32-bit ARMv6l device. I'm not sure if this will work on other devices; this is fork is solely meant for Raspberry Pi Zero Wireless devices.

Prerequisites

I'm using buildx to build the container. I've included the Dockerfile and some convenience bash scripts to help with the build process. They will install the necessary packages and 32-bit libraries to build Helix.

Building

# Clone the repo
git clone https://github.com/NeilPandya/helix-armv6l.git

# Change into the directory
cd helix-armv6l

# Change the -t argument to whatever you want to name the image; I have helix here, but you can use nano or any editor of your choice to change it.
hx ./build-image.sh

# Build the image
./build-image.sh

# Alter the ./run-container.sh script to use the image you just built.
hx ./run-container.sh

# Run the container
./run-container.sh
# Once inside the container, build Helix
./build-helix-armv6l.sh
# Once Helix is built, you can exit the container and copy the binary to your device.
exit

# Copy the binary to your device
scp ./target/arm-unknown-linux-gnueabi/release/hx <your-username>@<your-device-ip>:/home/<your-username>/hx

# SSH into your device
ssh <your-username>@<your-device-ip>

# Change permissions and ownership of the binary
chmod 755 -v./hx && chown root:root ./hx

# Move the binary to /usr/local/bin
sudo mv -v ./hx /usr/local/bin/hx

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!

About

A post-modern modal text editor. This fork is meant for compiling a package compatible for an `armv6l` CPU. I wanted to use `helix-editor` on my legacy Raspberry Pi Zero Wireless.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 82.7%
  • Scheme 16.1%
  • Handlebars 0.4%
  • Nix 0.3%
  • Shell 0.2%
  • CSS 0.1%
  • Other 0.2%