Helix: A post-modern text editor

(helix-editor.com)

66 points | by doener 7 hours ago ago

19 comments

  • lukaslalinsky 20 minutes ago

    I really wanted to like Helix, it's a great software, works out of the box. I dedicated energy to unlearn my vim habits and learn the helix way. I'm now able to use it fairly effectively, but eventually I just came to the conclusion the bindings are done the way they are due to simpler implementation, not simpler user interface. I'm back to neovim for small updates and zed in vim mode for larger code editing.

    • exidex 5 minutes ago

      Have you tried Ki Editor[0]? It seems to be more into direction that you are looking for. It is not as mature as the rest of the editors but the editing model is definitely an improvement from ux perspective

      [0]: https://ki-editor.org/

  • small_scombrus 8 minutes ago

    I desperately wish Helix would support virtual text (code folder, markdown links just showing the text when not selected), but the default keybinds and the way that selecting and editing text work just works too well in my brain to go anywhere else

  • bayesianbot an hour ago

    Tried it again few days ago. I kinda get that currently you can only use AI on Helix through LSP, but on top of that it does not have auto-refreshing files when changed outside - makes it really hard to work with external AIs, as I'm just constantly worrying if I'm editing a stale file.

    • clouedoc 6 minutes ago

      With time I actually came to get accustomed to it and to enjoy my files not reloading automatically with Claude Code changes.

    • vaylian 17 minutes ago

      > you can only use AI on Helix through LSP

      How do other editors do this, if they don't use LSPs? Helix specifically choses LSP as the integration mechanism (in combination with TreeSitter) for supporting different programming languages, because it is a language-agnostic protocol and therefore only needs to be implemented once. Is there some established AI-agnostic protocol/interface? I don't think MCP would work here?

      • small_scombrus 7 minutes ago

        > Is there some established AI-agnostic protocol/interface?

        AFAIK no

    • small_scombrus 42 minutes ago

      I know it's not a proper fix, but helix does have `:reload` and `:reload-all` commands

      I have reload-all bound to Ctrl-r

  • Curiositry an hour ago

    This has been my main editor for prose and code for a few years now (Sublime Text -> Atom -> Vim -> Helix). Overall, it has been great. Many LSPs work almost out-of-the-box, and my config is a fraction the size of my old .vimrc.

    Surprisingly, it didn’t take that long to update my Vim muscle memory. Days or weeks, maybe? However, I still have mixed feelings about modal editors in general, and most of my gripes with Helix are actually about modal editors and/or console editors in general.

    Code folding is a feature I’m still waiting for.

  • canistel 3 hours ago

    Do have a look at the second question in the FAQ :).

    I do find Helix very impressive. I remember the Python LSP working without any configuration whatsoever.

    However, I have vim muscle memory built over 25 years of use. I already struggle switching between Emacs and vim (or its equivalents) - for example, after a period of vim usage, I would press ESC repeatedly in Emacs, three of which are enough close a window. While Helix borrows modal editing from vim, it introduces subtle (and meaningful - I have to admit) variations, which unfortunately wreaks havoc with my muscle memory. Maybe the worst part about muscle memory is that unlearning is almost impossible. My dilemma, not Helix's fault...

    • dilawar an hour ago

      I have been using an ergonomics keyboard for a while and find it impossible to go back to normal keyboard.

      For the last two weeks, I was forced to work at a normal keyboard. After initial pain for one day, I got back to typing at normal speed. Without losing my comfort with the ergonomic one. I can now just context switch. It wasn't easy though.

      Perhaps you will also become comfortable with both vim and helix after the initial struggle?

    • lorenzohess an hour ago

      Have you tried Emacs' Extensible Vi Layer ("Evil" mode)? My muscle memory switched almost seamlessly from Vim to Emacs with Evil mode

  • kristiandupont an hour ago

    I wrote my own modal-mode extension for vscode/cursor because couldn't get the VIM-ones to function like I wanted. During that time, I thought that I should look into Kakoune and Helix as those seemed to represent a true iteration on the paradigm. Being able to see what you're about to change makes complete sense, as does the "multi-cursor first" approach.

    However, after a few weeks, I ended up rewriting things to be more classic VIM-like after all. This might have just been muscle memory refusing to yield, I am not sure. One thing I remember though, was that the multi-cursor+selection approach only really helps when you can see everything you're about to change on the screen. For large edits, most selections will be out of the scroll window and not really helping.

    I still haven't written it off completely, though with AI I increasingly find myself writing more prose than keywords and brackets, so I am not sure it's going to feel worth it.

    • eviks an hour ago

      > only really helps when you can see everything you're about to change on the screen

      Which is still a net positive over the alternative?

  • dalanmiller an hour ago

    Love `hx`, vim never really clicked for me and the batteries-included nature of helix is one of its best selling points.

  • Panzerschrek 2 hours ago

    I tried using it once by compiling it from sources. Even a release build is several hundred megabytes in size, which I find pretty wasteful. After a little investigation I found, that it has many plugins in form of a shared library, and each of them has pretty huge size, presumably because the whole Rust standard library is statically linked.

    • small_scombrus 4 minutes ago

      My local build of helix is 20MB, did you use the suggested flags on the install guide page?

    • whytevuhuni 31 minutes ago

      Interesting, although I checked and on NixOS the binary is just 29MB. It was statically linked, with just libc left as dynamic.

      I think 29MB is still huge for a terminal text editor, but nevertheless not "hundreds".

  • nurettin an hour ago

    I haven't opened a text editor to code in months and probably won't need to anymore. Goodbye vim and intellij, nice knowing you. It was a good while it lasted. Glad I haven't invested decades into emacs like some of my colleagues.