News for hackers. Stuff that matters.
Re:Notes on Switching to Helix from Vim by thefaux on Friday October 10, 2025 @02:37PM (#45542270)
I cannot express how liberating it feels to opt out of "advanced" editor tools like lsp. I program in neovim with no plugins, no syntax highlighting and no autocomplete of any kind. There is a discipline that this imposes that I believe leads to better quality programs. It's not for everyone I suppose, but I really recommend trying it.
Re:Notes on Switching to Helix from Vim by b00ty4breakfast on Friday October 10, 2025 @03:36PM (#45542872)
I can see no plugins, I can even see no autocomplete but no syntax highlighting is just making things difficult for the sake of it
Re:Notes on Switching to Helix from Vim by GalaxyNova on Friday October 10, 2025 @03:40PM (#45542922)
The true Plan9 aesthetic
Re:Notes on Switching to Helix from Vim by ratrocket on Friday October 10, 2025 @05:14PM (#45543851)
To each their own. I quit using syntax highlighting about 10 years ago and won't ever go back (been programming for 25 years, vim/neovim user for 24 years). I just like it better, it works for me. It definitely does not make things "difficult for the sake of it" (for me). There are dozens of us! :)

(As to the rest: I use a pretty minimal set of plugins and I use the built in nvim C-o/C-p or C-x C-o/p "dumb" autocomplete. At least I think it's built in...)

Re:Notes on Switching to Helix from Vim by wycy on Friday October 10, 2025 @07:24PM (#45544952)
How is no syntax highlighting better, specifically?
Re:Notes on Switching to Helix from Vim by bobnamob on Saturday October 11, 2025 @05:31AM (#45547780)
Not op, but in my case a lifetime of colourblindness has desensitised me to colour as an indicator.

I have my editor configured with zero highlighting for keywords and syntactic elements. Admittedly, I have compilation/lint/syntax/type check errors set to invert the erroneous block, black background white text.

Syntax and keyword highlighting is just noise given I’ve been trained by decades of colourblind unfriendly interfaces

Re:Notes on Switching to Helix from Vim by b00ty4breakfast on Saturday October 11, 2025 @07:48AM (#45548402)
that's a very good reason to not use syntax highlighting. If that is what the other guys are dealing with, I withdraw my critique but I don't get the impression that is the case
Re:Notes on Switching to Helix from Vim by int_19h on Monday October 13, 2025 @08:04PM (#45574715)
Syntax highlighting doesn't necessarily mean color, though. Using boldface to highlight keywords is another option that is traditional in some circles (e.g. Delphi has been doing that for 30 years now).
Re:Notes on Switching to Helix from Vim by ratrocket on Monday October 13, 2025 @12:02PM (#45569874)
(To address sibling comment: If I were colorblind, I would lead with that in any conversation about syntax highlighting; I am not colorblind.)

To answer the question: it's a feeling, like lots of things in software development. I tried "no syntax highlighting", found that I liked it, and I no longer use syntax highlighting. To say "specifically" how it's "better"... I'm not even saying it's better. "I like no-syntax-highlighting" is the statement I'm making (which, when it comes to syntax highlighting, is a statement a lot of people have issues with). So, from my personal experience, I take issue with the statement that no-syntax-highlighting is making things "difficult for the sake of it".

Try this out for analogy: I ate Red Baron pizzas every Friday night for 15 years, then I heard about homemade pizza 10 years ago. I tried making homemade pizza. It was good! ("I tried it and liked it") Now I only eat homemade pizza on Fridays. How is homemade pizza specifically better? It's better because I like it more. That's all there is to it. It's a preference.

(For the analogy to work, you have to like or at some point have liked Red Baron frozen pizzas. I happen to like them... the analogy is flawed though, I admit!)

(Let me preempt criticism that I'm comparing Red Baron frozen pizzas to syntax highlighting. I am not. It's only about the preference, not the object of the preference.)

Re:Notes on Switching to Helix from Vim by skydhash on Friday October 10, 2025 @05:20PM (#45543911)
You kinda get used to it. I often `cat` and `less` code in the terminal and my $EDITOR is `mg`. I know about bat, but it's never in base.

And I'm using more my mental idea of the code and direct line:column navigation. My context is often less than 10 lines of code.

Re:Notes on Switching to Helix from Vim by dtj1123 on Friday October 10, 2025 @03:45PM (#45542981)
I recently found out that Mitchell Hashimoto has a setup like this, which blew apart my belief that you need modern tooling to be productive. Do you not find that you fatigue more quickly as a result of having to actively recall everything though? I can't understand how doing things like this would actually result in better code.
Re:Notes on Switching to Helix from Vim by skydhash on Friday October 10, 2025 @05:29PM (#45543992)
Not GP, but I can add my two cents.

The trick is to avoid idle browsing of the code. Be intentional about what you need to do.

I use tools like grep/ripgrep to get a more focused of the code. Then with the line number, I can jump directly to where I need to be. Same with tools like linters and compilers.

In the same file, I often use search instead of line/character movement. You search for a symbols and you just cycle through their location.

I don't think it leads to a better code. But badly organized code will make this harder, so you tend to think about organization.

Re:Notes on Switching to Helix from Vim by scuff3d on Friday October 10, 2025 @06:39PM (#45544647)
I'm not sure that's true. I've heard him talk in several interviews about using AI tools, including in his editor. Definitely not a minimalist setup.
Re:Notes on Switching to Helix from Vim by dtj1123 on Saturday October 11, 2025 @02:15AM (#45547023)
Re:Notes on Switching to Helix from Vim by efxhoy on Friday October 10, 2025 @02:56PM (#45542469)
I had a few periods of doing the same in sublime text, I did use syntax highlighting though. It’s a really great feeling and very liberating, especially in a greenfield project.

Can’t really justify it at work though, projects are too big to and gnarly keep in my head.

Re:Notes on Switching to Helix from Vim by chongli on Friday October 10, 2025 @03:22PM (#45542721)
Why neovim for this? Why not nvi? Even less distractions that way!
Re:Notes on Switching to Helix from Vim by yacthing on Friday October 10, 2025 @02:55PM (#45542457)
Most people optimize for productivity and not raw quality of code. I can't imagine that your productivity is higher for removing autocomplete.

I'm not saying you need every plugin ever, but autocomplete?

Maybe you haven't tried "advanced" editors in a while, and it was a lot worse last time you tried?

Re:Notes on Switching to Helix from Vim by scuff3d on Friday October 10, 2025 @06:41PM (#45544659)
I do this when working on personal projects. I don't go this far though. I still like having syntax highlighting, and I have an LSP on to try in editor feedback on syntax errors, but I don't use auto completete or in editor documentation.
Re:Notes on Switching to Helix from Vim by wycy on Friday October 10, 2025 @07:23PM (#45544948)
I agree and don’t use any of that stuff—-except syntax highlighting. Why wouldn’t you? Color is a whole extra dimension it adds to the code that lets the eye notice errors more quickly and jump around faster.
Re:Notes on Switching to Helix from Vim by sph on Saturday October 11, 2025 @01:51AM (#45546923)
I haven’t made the jump yet but I believe you. My autocomplete has been broken on Emacs for a year, and I rarely miss it. I never use code actions, nor goto definition. I do enjoy real time errors but they often pop up with such a lag I’ve ran the compiler and it has shown me the error itself. So I dream of just turning off LSP — it’s not like it makes me such a better programmer than 20 years ago.

Re: syntax highlighting, I don’t know how people can work with their harlequin-on-LSD themes that are a constant distraction with no semantic benefit. I have gravitated around mostly mono or duochromatic themes, while 99% are a vomit of colours. I still don’t get why variables or function names need a distinct colour.

Re:Notes on Switching to Helix from Vim by ivanjermakov on Saturday October 11, 2025 @11:51AM (#45550086)
What autocomplete and highlighting has to do with code quality? I would write the same output with and without "assists" anyway.
Re:Notes on Switching to Helix from Vim by hombre_fatal on Saturday October 11, 2025 @02:10PM (#45551285)
Wasting your time hunting down a missing string delimiter forces you to read the whole file line by line maybe, so they write better software having read it.
Re:Notes on Switching to Helix from Vim by not-so-darkstar on Sunday October 12, 2025 @04:55PM (#45561823)
what do you think about ctags? i think when trying to understand a codebase for the first time a tool to quickly look up definitions, etc. helps immensively