Live data from Hacker News

Helix: A Neovim inspired editor, written in Rust

github.com

281–290 of 321 posts

Re: Helix: A Neovim inspired editor, written in Rust

#281
post #10

I fully expect Helix to replace Vim, Neovim, and Kakoune for most users in the long run. Helix is built from the ground up around Tree-Sitter and LSP. This means you get the best syntax highlighting available, and IDE-like functionality, with zero configuration required other than installing the appropriate language server. Those are by far the most important features for a text editor to have, and crucially, they ar…

> Those are by far the most important features for a text editor to have To you, maybe. The most important features of an editor for me, and for many people, is that it is stable, dependable, and ubiquitous. There is no way I am going to re-learn years of muscle memory for a "post-modern" editor. Cool and trendy is the exact opposite of what I want in my tools. What happens with the authors get bored and move on to t…

Exactly. The features OP described are IDE like features that many vim users like myself don't want in my basic text editor. Adding extra features via plugins is not an afterthought but design. He clearly doesn't understand the vim/neovim crowd and the design philosophy.

Small correction though, vi is available on every machine, not vim. But indeed this is big reason why I use vim for my own stuff.

Re: Helix: A Neovim inspired editor, written in Rust

#282

Glad they had the nerve to diverge from the standard vim keybinds. (For those who like the traditional vim binds, I salute you, but I have craved an upgrade for a while now)

Their absolutely should be more iteration/experimentation on modal editing, its still the right paradigm for coding to me

Re: Helix: A Neovim inspired editor, written in Rust

#283
post #10

I fully expect Helix to replace Vim, Neovim, and Kakoune for most users in the long run. Helix is built from the ground up around Tree-Sitter and LSP. This means you get the best syntax highlighting available, and IDE-like functionality, with zero configuration required other than installing the appropriate language server. Those are by far the most important features for a text editor to have, and crucially, they ar…

I fully expect Helix to replace Vim, Neovim, and Kakoune for most users in the long run. Yeah, that’s not going to happen. It’s cool to have choices, but you wouldn’t be the first person to think a new editor is going to replace Vim/Neovim. Vim is literally on every Unix/Linux server; every sysadmin can count on it being there. I’ve been super impressed with the progress of Neovim and the team behind it. It’s only at…

>>And there are several Neovim distributions (LunarVim, Nvchad, etc.) that have all of the bells and whistles included.

Problem with distributions is as the contributions decrease they start becoming abandonware with time.

Leaving you with with vim and having to work through the configuration hell on the long term for yourself.

>>Again, Neovim gives you choices: you can configure and tweak it to your heart’s content

Trust me this is negative thing, not exactly something most programmers want. Most programmers don't enjoy configuring their IDE/Editors as a full time project together with your regular day job.

Re: Helix: A Neovim inspired editor, written in Rust

#284

Low contrast default color scheme = non-starter

I got you. Put this in your ~/.config/helix/config.toml. theme = "bogster" Or type `:theme` and use tab to cycle through the themes (it'll apply the theme to the current file while you cycle, no need to hit enter).

Thanks. One theme (autumn_night) has a black background.

Next up: keys suck. I often use dw or d/something and these fail. Any quick way to resolve?

Re: Helix: A Neovim inspired editor, written in Rust

#285
post #114

I've used Helix for all my recreational programming projects (in Rust) for about 6 months and I've written about 10kLOC of code with it. Still using vim at $WORK for a variety of reasons (giant c++ codebase that does not easily plug in to clangd/LSP), but I might be doing the switch soon. Installation was easy and the default configuration is good. Plugging in rust-analyzer still needed a line or two of config file e…

My personal deal breaker is the lack of snippets support. Is there a workaround or don't you use snippets at all?

Re: Helix: A Neovim inspired editor, written in Rust

#286
post #114

I've used Helix for all my recreational programming projects (in Rust) for about 6 months and I've written about 10kLOC of code with it. Still using vim at $WORK for a variety of reasons (giant c++ codebase that does not easily plug in to clangd/LSP), but I might be doing the switch soon. Installation was easy and the default configuration is good. Plugging in rust-analyzer still needed a line or two of config file e…

My personal deal breaker is the lack of snippets support. Is there a workaround or don't you use snippets at all?

We're working on snippets! It'll take a while longer to get there though.

Re: Helix: A Neovim inspired editor, written in Rust

#287
post #162
post #143

Earlier quoted context omitted.

You can use tramp in emacs?

Tramp in all honesty was not that seamless, its just that these are great editors, but they were not invented in the context of the overall changes in how programming is done today. To me the biggest plus of emacs/vim is they make it easy to navigate and manipulate text, that's pretty much it. Every other feature seems to be an after thought therefore is not subject to the same experience the modern editors have. The…

Emacs is completely programmable so I don't think it needed to be invented for these specific use cases. The entire point is that you can program it to do what you want it to do!

Emacs can certainly be a little clunky at times though which can put a lot of people off. It does take some configuration and tuning for your personal preferences to feel good, but the upside is that it can do way more than the alternatives can do if someone/yourself puts in the effort to implement it. Magit is a great example of such a thing, the interface and functionality is extremely nice, even compared to something like Intelli-j's git GUI which is a pretty impressive feat!

With that being said it's not for everyone (and that's okay)!

Re: Helix: A Neovim inspired editor, written in Rust

#288
post #143
post #142

Earlier quoted context omitted.

vscode is very good at this, and is the primary reason why I even use it. Frankly speaking the vim/emacs lines are yet to catch up with this sort of thinking. vscode feels like you are editing on the local machine. The experience is seamless and feels magical.

You can use tramp in emacs?

[deleted]

Re: Helix: A Neovim inspired editor, written in Rust

#289
post #118

Earlier quoted context omitted.

Make sure you have rust-analyzer installed, and check `hx --health` to see that Helix finds it. Not sure if this is still necessary, but I needed this workaround in ~/.config/helix/languages.toml: language-server = { command = "rustup", args = ["run", "nightly", "rust-analyzer"]} This should not be necessary when rust-analyzer is stabilized (may be already), but last time I tried it still needed nightly.

Thanks. Hadn't realised I needed to have the lsp server binary on the path. I think nvim-lspconfig takes care of that for me in nvim. From a brief experiment basic lsp usage seems to work in helix without any config changes, so perhaps that's changed since you set it up.

I'm sure that nvim-lspconfig doesn't take care of installing binaries for LSP servers like this. You either set the path to the binary in your config, or you are using another neovom plugin to make sure LSP server binaries are installed
Post reply on HN