this post was submitted on 05 Feb 2024
62 points (89.7% liked)

Linux

48186 readers
1505 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] folkrav@lemmy.ca 13 points 9 months ago* (last edited 9 months ago) (4 children)

I’m surprised the author is both a long-time vim user and defends the idea that everything being built in to the editor and config being purely declarative as positives. In my mind, vim being as slim or bulky as I want it to is a strength, not a weakness, and its config being a full language (especially since neovim/lua) is a superpower. I’ve yet to have my config just randomly break in almost a decade of tweaking it from vim to neovim, across multiple distros and package managers, for what it’s worth.

Helix does look pretty intersting though, but man does the idea of relearning everything after how long it took me to build that vim muscle memory sound very daunting. vim bindings being available almost everywhere, including other editors, some websites and third party apps, and my browser as an extension, is also a big part of why I hesitate to even give it a try…

[–] Celediel@slrpnk.net 6 points 9 months ago

You can configure Helix to behave a lot more like vim quite easily, beyond the default keybinds which are already quite similar. You can even revert to vim-style normal/visual modes, rather than Helix's "select by moving approach" if you really can't stand that.

After being a vim then neovim user for many years, I fully made the switch to Helix, using some options from the config I linked, and there are only a few minor things I miss.

[–] mac@infosec.pub 6 points 9 months ago* (last edited 9 months ago) (1 children)

Yeah I agree NeoVim being extensible is wonderful, and I believe Helix has the goal of adding a plugin system. It's also super lightweight while including a lot of these core features we see repeated in nearly every NeoVim setup, the kind of thing like LSP & Tree Sitter which shows up so often it begs the question: Should this be built into the editor.

I am also terrified of relearning all the minds after years of vim use, although a lot of the base bindings are the same or similar. I guess if I could relearn the system keyboard shortcuts when I switched OS I can do the same here.

[–] folkrav@lemmy.ca 5 points 9 months ago (2 children)

Yeah, I won’t pretend like Neovim is perfect at all either. I do agree that setting up LSP & TreeSitter is needlessly convoluted as is. lspconfig+mason.nvim+mason-lspconfig+null-ls.nvim just to get a couple linters/formatters and decent completion... I’d love it if I could just open a file, and… it just… worked, you know.

[–] ScreaminOctopus@sh.itjust.works 1 points 9 months ago

That's what config distributions like lunarvim are for

[–] mac@infosec.pub 1 points 9 months ago

Yeah I'm guessing that's Helix's approach. Maybe the bind relearning is worth it or maybe it inspires NeoVim or other Vim-like editors to come with more of the consistently repeated stuff enabled by default.

I think Helix is nice for people who are starting out with an editor. I'm not using vim because I can configure the hell out and turn it into a full-blown IDE. vim isn't my main editor. I am using vim keybindings because they are supported widely and that means I don't have to remember any specifics of the actual editor I am using. For me, there is zero incentive to switch to Helix.

[–] ScreaminOctopus@sh.itjust.works 1 points 9 months ago

He was the writer of This Week in Neovim for a while. I think he might have been adding tons of plugins to his setup and not all of them were well maintained or behaved. I've been quick to drop plugins that break more than once or twice, and I've never really had issues with stuff breaking update to update. Plus with Lazy's commit locking for plugins it's easy to restore your config to a working state.