this post was submitted on 20 May 2024
65 points (98.5% liked)

Programming

17025 readers
97 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Some of you may have come across Helix - a very fast editor/IDE. Unfortunately, Helix has its own set of keybindings, modeled after Kakoune.

This was the one problem holding me back from using this excellent editor, so I soft-forked the peoject to add Vim keybindings. Now, two years later, I realize this might interest others as well, so here we go:

https://github.com/usagi-flow/evil-helix

I‘d be happy to polish the fork - which I carefully keep up-to-date with Helix‘s master branch for now. So let me know what you think!

And yes, I‘m also looking for a more original name.

top 18 comments
sorted by: hot top controversial new old
[–] JustBrian7872@feddit.de 18 points 4 months ago (1 children)

Nice! I started using helix before vim and often I find the helix bindings more logical (like shift for the reverse action e.g. u for undo and U for redo). However often the vim bindings feel quicker (c-i-w vs m-i-w-c). Will definitely give it a go!

[–] sik0fewl@lemmy.ca 3 points 4 months ago (1 children)
[–] somegeek@programming.dev 1 points 3 months ago

Unhinged behavior

[–] lightningstorms@programming.dev 10 points 4 months ago (1 children)

At first I liked the new bindings, but later realised the Vim bindings felt more reliable and dropped helix even though I really liked the editor itself. This might make me try it again. Thanks!

Cool! Let me know should you find anything missing. :)

[–] sandalbucket@lemmy.world 8 points 4 months ago (1 children)

Helix + vim => Helim => Helium?

Vim + helix => velix / vimix / vix / velimix?

[–] segmentation_fault@programming.dev 6 points 4 months ago* (last edited 4 months ago) (2 children)

Hmm, helium would‘ve been amazing, but that‘d be an SEO nightmare. My wife told me „velimix“ sounds like a kitchen appliance. Not sure if that’s a good thing haha…

[–] Solemarc@lemmy.world 3 points 4 months ago

I feel like helium works as well as helix. When I search Helix I don't get the editor but if I search Helix Editor I will get what I'm looking for.

When I search Helium editor I don't get any exact matches, but of course SEO is a dark and mystical art so your mileage may vary.

[–] yogsototh@programming.dev 1 points 4 months ago

I would suggest Helvix or Helvim

[–] anzo@programming.dev 6 points 4 months ago (1 children)

Neither project allows to set keybindings by a simple json or yaml file? Yet, these are highly customizable editors! That's a surprise.

[–] trevor@lemmy.blahaj.zone 5 points 4 months ago (1 children)

As someone that never really clicked with Vim, but has been enjoying Helix, I've been looking for the opposite: something that makes Neovim follow the selection-action paradigm, along with all of the Helix keybindings.

[–] scrawdaddy@lemmy.world 2 points 3 months ago* (last edited 3 months ago) (1 children)

I feel the same way. I’ve been using helix for about a month now and really like its paradigm. But I’m missing some of the neovim features. And I’ve run into some lsp issues that I don’t think are present in neovim

[–] trevor@lemmy.blahaj.zone 2 points 3 months ago (1 children)

Yeah. I hope as Helix grows more popular, our problems will solve themselves in both directions: where Helix can address them directly, and people start hacking Neovim to work more like it.

Out of curiosity: what issues with the LSP are you having and what distro do you run? I've found that most of my issues could be resolved by running Helix's health checks and making sure that the binaries needed by the LSP are available in $PATH.

Unfortunately, I did start having issues with Go where it seems like the LSP might be crashing and I've yet to resolve that one for myself.

[–] scrawdaddy@lemmy.world 1 points 3 months ago

I may have been wrong about helix being the cause of my LSP issues. One large typescript project I have will have performance issues but it may just be that project. I just found the same issue in neovim. Vscode is the only editor that doesn’t seem to have any problem with it.

I was originally hoping it would be resolved by this PR https://github.com/helix-editor/helix/pull/10539

[–] xav@programming.dev 4 points 4 months ago (1 children)

I love you. That's exactly what I was looking for. Long live Hevilix !

Thank you! \o/

I just published evil-helix-bin to the AUR, for those of you who Use Arch Btw. :)