Helix: A post-modern text editor (helix-editor.com)

314 points by doener a day ago

lofatdairy 4 hours ago

This is only tangentially related, but regarding:

>>Post-modern?!

>It's a joke. If Neovim is the modern Vim, then Helix is post-modern.

It's interesting that postmodern is so often used by people, perhaps less familiar with the arts and the humanities, to mean "an update to modern" or a progression thereof. They use it in a strictly literal sense, eschewing the precise meaning of the term they're referencing by mere addition of discontinuity as incremental difference.

Obviously, there's little impact to this. The term is hardly degraded by engineers advertising to other engineers. It looks a touch unread, but then again we have people like Thiel and Luckey misinterpreting Tolkien, so again it's hardly the most egregious example. I guess it just jumped out to me because I was hoping to see something creative truly postmodern.

ctmnt 4 hours ago

That jumped out at me too the first time I ran into Helix making this joke, and I was also disappointed to find that they meant modern++.

That said, I’m not sure I agree with your assessment that it’s wrong, exactly. Postmodernism did indeed follow modernism and come into being as a reaction to modernism. So I think “postmodernism” has a naive and original sense of being “what follows modernism”. Decades (so many at this point!) of discourse have added layers to that and undermined it and generally made it more complex. But the underlying meaning of the term remains.

(If your instinct is to respond with arguments about how works not limited to late 20th century western culture can be nonetheless classified as postmodern, I hear you, but the fact that the term itself was only coined post modernism remains, and is all I’m pointing to.)

Personally, I get more hung up on people using “modern” to mean “new”. Then to use “postmodern” to mean “more new” while to my ears (eyes) it means “dated af” is even funnier and more jarring.

Helix, the first editor to not believe in grand narratives. Helix, the relativist editor. Helix, now updated with the latest from Foucault and Derrida!

humanizersequel 3 hours ago

>we have people like Thiel and Luckey misinterpreting Tolkien

Could you provide an example / be more specific about this?

ryanlbrown 41 minutes ago

They are Tolkien fans and yet they are building the devices (Palantir, Anduril) which evil will eventually use to dominate. Palantir is well-named but tragic that a fan would build it. Anduril is poorly-named as it is the sword used to combat industrial power rather than represent it.

NERD_ALERT 3 hours ago

Peter Thiel owns a company called Palantir that designs its offices to look like Hobbiton.

It might be less of a misinterpretation and more of an on the nose joke about being overtly evil.

the_hoser 4 hours ago

Blame Perl. As far as I can tell, they started it.

vaylian 4 hours ago

wk_end an hour ago

Curiositry 17 hours 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.

wilkystyle 11 hours ago

Curious to hear your gripes about modal editors! I'm a long time Emacs user (traditional keybindings, not evil-mode), but I also started using Vim in parallel a little over a decade ago. I feel very proficient/productive in both, regularly using many of Vim's more advanced motions and functionality. I generally love the power and composability of Vim text objects, and definitely experience the benefit of using them. But there are some times where I am doing things like many small edits within a line where rapidly changing modes for all of the edits starts to feel cumbersome.

For Emacs, I use multiple cursors and a treesitter-based plug-in for incrementally expanding or reducing the selection by text objects. I also have a collection of my own helper functions for working with text that make my non-modal Emacs approach still feel very comparable to the power of manipulating text in Vim.

Curious to hear if your issues with modal editing are similar.

cassepipe 8 hours ago

My main gripe with modal editors is that they still use the Escape key to go back to normal mode even though Escape was chosen for historical reasons (used to sit much much closer to the home row on older Unix Keyboards) In Linux and MacOs I can change it with just one gui setting but it's still annoying how everyone went with it. It's not mentionned in most vim tutorials. According to a vim reddit poll, at least half of the users are just using Escape where it is now instead of one of the alternatives. This is beyond me, it feels like someone inventing glasses in order to see better but everyone settled on cast iron frames.

grayrest an hour ago

I map caps to ctrl and do ctrl-[ to get to normal mode. The main reason is using Vim bindings in other editors where Esc can get intercepted by other bindings but ctrl-[ has always worked everywhere.

cassepipe 10 minutes ago

andrewl 8 hours ago

Cassepipe, it’s not a great default for sure. What do you have yours mapped to? I mapped jj to return to normal mode and also save my file. So, as I’m typing, I just hit jj, the jj vanishes, and this command is run:

<Esc>:w<CR>

I could just have it escape instead without saving.

If I hadn’t chose jj it would have been ff, which is also always under an index finger. I do wish I’d been clued into the idea when I started with Vim instead of two years later.

cassepipe 8 hours ago

dtj1123 5 hours ago

I have caps remapped to esc when tapped, and ctrl when held. Takes perhaps a weekend to get used to, but once the muscle memory is there it feels incredibly comfortable and natural.

gpvos 2 hours ago

dev-ns8 4 hours ago

cassepipe 4 hours ago

sodapopcan 3 hours ago

I mean... if people don't mind reaching, so what? I purposefully don't remap my leader key, although I don't have many leader mappings so it's not like I'm reaching for it constantly.

bayesianbot 16 hours 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.

small_scombrus 16 hours 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

dcre 10 hours ago

Same!

g947o 7 hours ago

GitHub Copilot, Claude Code and Codex provide fairly good IDE integrations. They don't just edit files behind your back. They actually edit the files you have in the IDEs using editor APIs and even show you a nice diff view. This way you never have content that is out of sync. I find this approach very usable and appealing.

On the other hand, many of the AI tools and their companies think that you should completely ditch IDEs for CLIs only, because "nobody needs to write code anymore". Some of them even stopped maintaining IDE extensions and go all-in in CLIs.

(I call that complete BS)

yonatan8070 5 hours ago

I've noticed that Codex usually uses the native editing tools and shows me a diff, but sometimes it just sidesteps that and does a cat > file << EOF, so I need to rely on Git diffs to tell what it did.

MrJohz 4 hours ago

> This way you never have content that is out of sync.

They can definitely go out of sync, particularly if something that isn't the editor or the AI changes the code (e.g. running shell commands or opening the file in a different editor and making changes there). I've had a whole load of issues with VSCode where there's been spurious edits all over the place that show up again even if I try and revert them, because every time the AI makes an unrelated edit, VSCode tries to reset the file to the version it thinks exists and then play the AI's edits on top.

buzzerbetrayed 7 hours ago

I don’t even open a text editor anymore 90% of the time. Seems clear to me that IDEs, in the traditional sense, don’t really have a place in the future of software creation. They might morph into something that does, but definitely not in their current form, imo.

satvikpendem 6 hours ago

dayjah 14 hours ago

I was feeling this pain also; so I switched my workflow to watching file changes with lazygit, and then switching to helix to make small tweaks.

Another option you may want to try is mux (github.com/coder/mux). It wraps the LLM in a nice interface which has the ability to do line/block comments on changes by the LLM that then goes goes into your next prompt. It’s very early stage though: v0.19.0.

burke 5 hours ago

The latter is pretty easy to vibe-patch in:

https://github.com/burke/helix/pull/1

clouedoc 15 hours ago

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

vaylian 16 hours 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?

potro 14 hours ago

beaker52 13 hours ago

nikita2206 12 hours ago

Just watching filesystem for file changes and updating the in-memory view of the file on any change? This isn’t really relevant to MCP, though one option is to provide a different tool to the AI agent for file modifications, which would make modifications through the file editor itself.

vaylian 11 hours ago

small_scombrus 15 hours ago

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

AFAIK no

logicprog 13 hours ago

semiinfinitely 23 minutes ago

I refuse to take a second look at this project until it has a functioning plugin system

lukaslalinsky 16 hours 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.

Groxx an hour ago

>eventually I just came to the conclusion the bindings are done the way they are due to simpler implementation, not simpler user interface

This was my general feel from using it for a bit too. I don't think that necessarily makes it a worse result (there's a form of user-facing consistency in 'this implements like that', it's just a bit meta), but it's one of the things that constantly pushed me away a bit. Some semi-common actions just didn't feel ergonomic, even after a couple weeks. (not implying that vim is a bastion of perfection, of course)

That said, I HIGHLY recommend people give Helix and/or Kakoune it a try. The different mental model is immediately compelling in some ways, and on balance I think it's a better approach. It's just that you have to weigh the details that might not work for you against all the other IDEs out there that have a heck of a lot more stuff already built for them... and it may mean you don't keep using them. Or you'll be thrilled with the end result.

exidex 15 hours 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/

rfmoz 15 hours ago

Vis editor [0] also has multicursor and powerful sam's structural regular expression

[0]: https://github.com/martanne/vis

rgoulter 13 hours ago

Hadn't heard of this. So I looked at the docs for Ki.

I see the "Why Ki?", and then it has this:

> Being first-class means that it is not an extra or even sidekick; it is the protagonist.

Eh.

I find it quite off putting.

I guess my expectation is that someone enthusiastic enough to write a text editor with a value proposition of "it's got good tree-sitter-based navigation" would want to discuss why they thing syntactic selection is neat.

Seeing cliche LLMisms doesn't signal the same level of care to me.

exidex 13 hours ago

hou32hou 12 hours ago

linsomniac 7 hours ago

I'm a very long time user of vi/vim, and I've gotten tired of maintaining vim configs. I've gotta have my LSPs and treesitters. I decided I wanted to move away from self maintenance and use something opinionated.

But, I found helix a little too opinionated. In particular, when you exit and go back into the file it won't take you back to where you were. I decided I'd start using helix on my "work journal" file which is over 20K lines and I edit somewhere towards but not at the end (done is above the cursor, to do and notes are below). Also, I NEED hard line wrapping for that.

Helix doesn't seem interested in incorporating either of those, which were "must haves" for me.

So I set the LLMs on it and they were able to make those changes, which was pretty cool. But I ended up deciding that I really didn't want to maintain my own helix fork for this, not really a plus over maintaining my vim config.

itsn0tm3 14 hours ago

There is also evil-helix [0] a helix fork with vim bindings. Maybe that‘s something you would enjoy :)

[0] https://github.com/usagi-flow/evil-helix

deafpolygon 14 hours ago

at that point… use vim? genuinely asking. what does this get you?

lukaslalinsky 14 hours ago

itsn0tm3 8 hours ago

beefsack 15 hours ago

The different bindings vs Vim was actually what stopped me using it. I really really wanted to love it and love a lot of the motivation and principles behind it, but unlearning decades of muscle memory is an absolute nightmare.

imjonse 11 hours ago

what do you mean it does not have a simpler user interface? I found the combo of hx for quick edits/terminal work and Zed with hx bindings for everything else great.

haxfn 13 hours ago

Vim is like C, Helix is like C++ and Ki Editor is like Rust.

"Within C++, there is a much smaller and cleaner language struggling to get out."

Helix carries a baggage of ideas from Vim. It does not have consistent and transferable keybinds. It does not have composition of ideas:

You can move to the next line in the buffer editor with `k` but to move down to the next line in the file explorer you have to do `ctrl+n`?

Vim is like C, Helix is like C++ and Ki Editor is like Rust.

efnx 13 hours ago

But how is ki like rust, and why is that significant? Helix is pretty rad, even if what you say is true.

n_kr 11 hours ago

Wait, helix has a file explorer now? The lack of one has been preventing me from using it more

christophilus 10 hours ago

It does, but iirc, it’s only an explorer and isn’t able to delete, rename, or create.

hbbio 8 hours ago

worksonmine 13 hours ago

> You can move to the next line in the buffer editor with `k` but to move down to the next line in the file explorer you have to do `ctrl+n`?

I've never used Helix, but this exists in vim too, but it the autocompletion, because in that context hitting k would type k. Makes sense right? I'm guessing hitting k in Helix file explorer has a similar use, maybe searching?

eviks 12 hours ago

Nope, you'd then do Ctrl+K, not N

worksonmine 10 hours ago

ministryofwarp 13 hours ago

I'm puzzled by the idea that positional constant is good for key bindings. How does the machine I ssh to know my keyboard layout or whether I am using a input with a related positional concept? (I suppose I should say I was puzzled by it, and now I am puzzled why this idea is back yet again.)

hou32hou 12 hours ago

> How does the machine I ssh to know my keyboard layout

Why does it need to? If you are using say, Dvorak, you can just pick the keyboard layout by pressing `*` (a keybinding which is not affected by the chosen keyboard layout)

ministryofwarp 12 hours ago

rw_panic0_0 10 hours ago

it's either ragebait or smth. Helix is not C++ and never would be it. Vim is C, Neovim is C++

redrobein 8 hours ago

People really need to stop making analogies and saying what things really are.

pineaux 9 hours ago

I agree. Helix is more like ruby on rails.

I will try ki editor

theusus 14 hours ago

Using agents to edit code. And Helix doesn’t support live update of files. This is the reason it’s not my first choice.

canistel 19 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 17 hours 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?

kleiba 12 hours ago

> I would press ESC repeatedly in Emacs, three of which are enough close a window.

You can configure every combination of keystrokes in Emacs - just bind M-ESC ESC to something harmless (such as, e.g., not function at all).

One possibility would be the following line in your ~/.emacs file:

    (global-set-key (kbd "M-ESC ESC") 'keyboard-quit)

canistel 6 hours ago

Thank you for mentioning this. I do have something similar...

    (global-unset-key (kbd "ESC ESC ESC"))

ATMLOTTOBEER 10 hours ago

Is this kind of comment not just a tautological rebuttal to any criticism of emacs

lorenzohess 17 hours ago

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

canistel 6 hours ago

I have in fact. I use Emacs for org-mode and markdown. Because of some reason, evil and org-mode did not mix well - for me. There is evil-org, which I did not try.

weinzierl 14 hours ago

"However, I have vim muscle memory built over 25 years of use."

Me too and it took a view attempts but I'm on Helix now and don't regret it. Once you are over the most prominent discrepancies like dd and G it's an uphill battle.

imjonse 12 hours ago

agreed, it wasn't more than a few days/a week. The real annoyance is if you use other coding environments too which do not have hx bindings (VScode, Google Colab) and have to constantly switch between hx and vim keys. Zed has had very good hx keybindings support for a few months now so this became less of an issue.

korantu 12 hours ago

I think Zed editor has helix phylosophy of supporting LSP out of the box while having exact vi bindings if it is important.

[1] https://zed.dev/

kombine 2 hours ago

Neovim supports LSP out of the box since version 0.11. It requires very little configuration to enable and configure it.

imjonse 12 hours ago

It actually has Helix bindings as well which makes the investment in Helix not that risky anymore. I use both.

kubafu 15 hours ago

My default editor for the past couple years. Love the simplicity, speed, and the fact I can navigate comfortably with just the keyboard. Plus Elixir LSP integration is a cherry on top.

debois 3 hours ago

I switched from neovim because plugins and updates kept breaking it, and I never really did feel like I was in control of it anyway. Helix does what it does, no fuzz. Never breaks.

You do start to think “can I get helix keybindings in my shell”, though.

__MatrixMan__ 2 hours ago

At least once a week I daydream about altering nushell so it can run helix as a subprocess for handling the editing parts. Maybe one day I'll go for it. Until then I'll just to make frequent use of the open-in-editor command.

landr0id 3 hours ago

I've always used GUIs and had to basically break my brain to learn vim keybindings (in Sublime Text) some time ago and the helix bindings are just different enough to throw me off. Sucks because I would prefer an out-of-box solution that "just works" and I'm comfortable in across all my machines for terminal text editing.

seg6 13 hours ago

Helix has been my main editor for a few years now. I went from Sublime Text to VS Code to Neovim, and eventually landed on Helix. I’ve shipped a lot of code with it, and my config is still under 50 lines, even with a few extra keybindings to emulate some Vim bindings I still find useful. I didn’t find the keybindings particularly hard to get used to, and switching back and forth between Vim and Helix has never been much of an issue when I’ve had to work on a system without `hx`.

For the curious: https://github.com/seg6/dotfiles/blob/1281626127dfbf584c2939...

kristiandupont 17 hours 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.

klibertp 11 hours ago

> 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.

In Emacs, there's an mc-hide-unmatched-lines command that temporarily hides the lines between the ones with cursors. This makes multiple cursors usable with up to a screen-height number of items (being able to place cursors by searching for a regexp helps).

I agree, though - MCs are most useful for simple, localized edits. They're nice because they don't require you to mentally switch between interactive and batch editing modes, while still giving you some of the batch mode benefits. For larger or more complex edits, a batch-mode tool ("Search and replace", editable occur-mode in Emacs, or even shelling out to sed) is often a better choice.

hou32hou 15 hours ago

> For large edits, most selections will be out of the scroll window and not really helping.

That's why the Ki editor has a feature called Reveal Cursors (https://ki-editor.org/docs/normal-mode/space-menu#-cursor-re...), which is specifically made to solve this issue

eviks 16 hours 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?

qudat 8 hours ago

I learned about kakoune from helix. I played with both of them to figure out which one I preferred and ended up choosing kakoune for simplicity. It’s a fantastic editor and my cfg is 50 LoC which is just fine for me.

As long as helix doesn’t add a plugin system I think both are superior to neovim. Neovim defaults are just awful. I hate that quickfix and loclist are so close to being useful for pickers but it just misses the mark and now there’s lock in on some terrible impl because we don’t want to break backwards compatibility. The select -> action model is superior.

Having an opinionated editor just makes so much sense. We don’t need 10 different picker implementations.

para_parolu 6 hours ago

I was very enthusiastic about helix since it rethinks some of vim complexity. But lack of plugins makes it just an editor for small files only that I can quickly start on server and doesn’t not make it suitable for serious work.

linhns 4 hours ago

Agreed. But very useful for quick editing, and easier to install than vim on Windows.

para_parolu 3 hours ago

That’s a perfectly fine usecase. But all systems I work with have vim installed by default anyway. And vim handles big files better than helix (not sure why)

feelamee 5 hours ago

why? There is LSP support included. Pretty usable. Of course this is not fully IDE, but I don't expect this from "editor"

para_parolu 5 hours ago

Just to be clear: it’s not suitable for me to do work using this editor. There are many features lacking that makes me more efficient. In case of vim that is solved by a few plugins. It’s not about being IDE but rather about being well fitted tool. I wish I would only need LSP but it’s not enough for my work.

level87 7 hours ago

I've used Helix as my main editor over the past few years, I love it, but the speed of development is quite slow.

Would love to see some AI related plug-ins when the plug-in system is finally released.

buzzerbetrayed 7 hours ago

I can’t believe it still doesn’t have plugins. That’s crazy. They’ve been working on that for so many years.

rgoulter 13 hours ago

Helix is a really nice editor. I use it as my go-to for when I'm in the terminal environment.

For sufficiently complex manipulations, I find the "selection-action" ("motion-action") to be more intuitive than "action-motion". Even with vim, I'd often like making use of visual mode.

I think the main limitation to this that I believe is it's probably a bit slower for quick + frequent edits compared to vim.

irusensei 7 hours ago

I love it but the search and replace sequences are too complicated and then I have no idea how to unselect multiple lines without specifying a line.

My vim muscle memory is too strong and stubborn.

fnordlord 7 hours ago

I'm in a similar boat. It's become my primary editor but I still open VSCode everytime I need search-and-replace or an easy git-blame.

For unselect, if I'm understanding correctly, ; will unselect with your cursor at the end of the selection, Alt-; will unselect and move your cursor back to the beginning.

g947o 7 hours ago

This.

I tried it out for a few days, and I cannot justify spending time on this when I am already very productive with vim/VSCodeVim. Helix is nice in many ways but not worth switching over

marcosqanil 6 hours ago

I love helix. Incredibly snappy and minimalistic but still having every feature a serious IDE needs, out of the box.

ctenb 12 hours ago

Worth noting: the plugin system is steadily approaching maturity and will probably be integrated and released soonish™ https://github.com/helix-editor/helix/pull/8675

rw_panic0_0 10 hours ago

I open that pull request from time to time to check the progress. Want them to release it so bad

dalanmiller 17 hours ago

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

bulbar 12 hours ago

I want an editor that's built around language entities.

"Move to end of the scope" or "insert after this expression" and similar.

The overlap between languages should be large enough to make this feasible.

vaylian 8 hours ago

Helix has built-in Tree Sitter support.

> "Move to end of the scope"

You can select the current syntax object under the cursor with alt+o and expand the selection to the enclosing syntax objects with further presses of alt+o. This moves you automatically to the end of the selected syntax object. You can use alt+b to move to the beginning of the selected syntax object.

> "insert after this expression"

Select the expression and after that you can use regular commands like a and p.

srik 12 hours ago

Neo/vim does this with community and built-in “text objects”.

https://neovim.io/doc/user/usr_04/#_text-objects

zer 8 hours ago

These are great. I really have come to love this little plugin that extends and creates a/i textobjects:

https://github.com/nvim-mini/mini.ai

swiftcoder 11 hours ago

I was really hoping this would have a postmodernist aesthetic

small_scombrus 15 hours 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

shnpln 6 hours ago

I have been using helix for over a year now. I love it.

pjmlp 14 hours ago

Up voting, only because it is another native option, away from Atom started trend to ship Chrome alongside every single "modern" application.

rrr_oh_man 15 hours ago

Love the FAQ

  > Post-modern?!

  It's a joke. If Neovim is the modern Vim, then Helix is post-modern.

  > Is it any good?

  Yes.

discommentbad 7 hours ago

Helix deez nuts

messh 5 hours ago

ohh Ki and Helix on the front page today... it's a good day! :)

jiehong 14 hours ago

A new version should arrive this month or the next one. I think it’s worth trying it again then

vaylian 8 hours ago

Cool. Any information on what will be included in the next release?

jqbd 7 hours ago

I want to like it, it's much snappier than vim, but:

I hate selecting lines up. Down xxx is fine. But to go up I have to do x alt; v k. This would be shift+v k in vim.

I often use } { to navigate the file in vim. In hx it's ] p which is very awkward for the fingers. The auto selection makes it hard to read once I use ] p.

Pasting does not behave like vim, often have to click o first then p.

I have to often press ; to unselect just to be able to insert after I navigate to a character with F f t T.

Can't copy from documentation. Can't create files in the explorer.

It feels like much more work to use hx keybindings than vim.

What I love:

Hints whenever you press a key allow you to learn keybinds quickly.

Very quick.

Built in search, file picker, lsp rust out of the box.

shinypants 4 hours ago

this doesn’t address all your concerns but i use “X” to select lines above:

[keys.select] X = "select_line_above"

Panzerschrek 17 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.

hrmtst93837 32 minutes ago

Those huge plugin files result from Rust duplicating libstd into each plugin at link time when crates are built as cdylib or staticlib, and you can prove it with cargo-bloat or by inspecting DT_NEEDED and symbol sizes with readelf -d and ldd.

If you control the build, force shared std linking with RUSTFLAGS='-C prefer-dynamic' and crate-type = ['dylib'] so host and plugins share libstd and accept the need for matching toolchains, or switch to a different plugin model like compiling to WASM and running modules with wasmtime or exposing a small C-ABI shim into a single shared runtime, and use strip plus LTO for quick size wins.

whytevuhuni 16 hours 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".

f311a 15 hours ago

Language grammars are ~200-250MB though. They are in a separate folder, and often they are all bundled to support all the languages. Some of them are HUGE.

  .rwxr-xr-x  4.6M aa    6 Mar 21:52  ocaml-interface.so
  .rwxr-xr-x  4.6M aa    6 Mar 21:52  rpmspec.so
  .rwxr-xr-x  4.9M aa    6 Mar 21:52  tlaplus.so
  .rwxr-xr-x  5.1M aa    6 Mar 21:52  ocaml.so
  .rwxr-xr-x  5.1M aa    6 Mar 21:52  c-sharp.so
  .rwxr-xr-x  5.3M aa    6 Mar 21:52  kotlin.so
  .rwxr-xr-x  5.4M aa    6 Mar 21:52  ponylang.so
  .rwxr-xr-x  5.5M aa    6 Mar 21:52  slang.so
  .rwxr-xr-x  6.1M aa    6 Mar 21:52  crystal.so
  .rwxr-xr-x  6.8M aa    6 Mar 21:52  fortran.so
  .rwxr-xr-x  9.2M aa    6 Mar 21:52  nim.so
  .rwxr-xr-x  9.5M aa    6 Mar 21:52  julia.so
  .rwxr-xr-x  9.9M aa    6 Mar 21:52  sql.so
  .rwxr-xr-x   16M aa    6 Mar 21:52  lean.so
  .rwxr-xr-x   18M aa    6 Mar 21:52  verilog.so
  .rwxr-xr-x   22M aa    6 Mar 21:52  systemverilog.so

Panzerschrek 15 hours ago

small_scombrus 15 hours ago

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

assbuttbuttass 5 hours ago

I really want to like Helix, but I wish the developers paid more attention to performance, or were more receptive to outside contributions. Helix can really chug, even on small files, and the perception in the community seems to be "it's written in Rust so therefore it's blazingly fast :rocket-ship-emoji:"

nurettin 17 hours 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.