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.

  • JustBrian7872@feddit.de
    link
    fedilink
    arrow-up
    18
    ·
    6 months ago

    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!

  • lightningstorms@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    6 months ago

    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!

    • segmentation_fault@programming.devOP
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      6 months ago

      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
        link
        fedilink
        arrow-up
        3
        ·
        6 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.

  • adr1an@programming.dev
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    6 months ago

    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
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 months ago

      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
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        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
          link
          fedilink
          arrow-up
          1
          ·
          5 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