The amount of time my classmates have spent dealing with vscode crashing, freezing, breaking, etc is way beyond negligible. And yet, I’m the weird guy apparently for preferring vim and GCC.
codium > code
The full name is VScodium. https://vscodium.com/
Codium is a genus of edible green macroalgae.
That sounds tasty, where do I buy it?
(In homer Simpsons voice) Mmmmmm. Macroalgae.
South Korea is the leading consumer and producer of farmed Codium (commonly known as cheonggak)
Search for that.
Ooooh thank you for reminding me I need to make this switch
Hadn’t heard of this, but I’m going to switch now!
If Vim is so good, then why can’t you browse Lemmy from it?
This meme was made by the Emacs gang.
Because unlike emacs gang, we don’t need to build an OS to browse Lemmy.
How bout you go back and let your friends know that if they’re in need of a good editor, try Vim ;)
Vim needs are met by using Evil-Mode. You don’t have to leave Emacs for this.
As a poke at Emacs’ creeping featurism, vi advocates have been known to describe Emacs as “a great operating system, lacking only a decent editor”.
https://en.wikipedia.org/wiki/Editor_war
:P
*stealthily closes nano window and closes laptop lid…
How bout you go back and let your friends know that if they’re in need of a good editor, try Vim ;)
If my friends wanted a good editor, then I wouldn’t recommend a Vimitor, I’d recommend ed, the standard text EDitor :p
Haha, y’all are welcome to try that ;)
helix gang anyone?
:3
Helix is much faster than neovim, but annoyingly it feels so limited. Can’t change anything about it.
But it’s supposed to get plugins at some point.
👋 present!
epic editor :3
Meanwhile, James rocks up with Notepad++
smh real programmers use magnetized needles on tape
Couldn’t help myself
The Fiat Panda of text editors
I always edit my code in microsoft word. Not only can it highlight syntax, it can use different fonts for different function names.
Definitely the most fully featured IDE I’ve ever used.
I use vim btw
I use neovim btw
I use vim, aliased to vi, on Arch btw.
tbh, one of the essential things vim gets right for me is that it’s designed as a text editor, not (only) a code editor. I use it for so much non-code text as well, but it feels weird opening a coding tool for such things.
It’s great to use an editor designed and built when vietnam and leaded gas were all the rage.
Exactly! It’s rare to find such old things that are still excellent today
I plan on moving to a nice Neovim setup eventually, but VSCodium is so convenient out of the box for a baby developer like me.
You’ll be glad to know that the difficulty comes from the syntax and very little from any programming skill level. You learn new ways of writing certain code structures like indented curly braces for example. Programming python might be easier than cpp in vim, not due to the language, but just cpp having more complex syntax to type.
Tldr, almost exactly the same amount of effort whether you’ve been coding for two weeks or two years.
I feel like I’m the only person using KDevelop
laughs in Emacs
Ewww not even vscodium
It always surprises me how complicated some of the editor tooling sounds in threads like this. Obviously once you learn how to use these things they are powerful, but how do people have the patience to deal with all of that in the beginning? This is coming from a guy who writes scripts constantly to avoid doing tedious, error-prone things.
Also I keep seeing people say vscode is slow. One of the reasons I switched to it is that it’s insanely fast compared to other editors I used (even those with far-inferior featuresets) 🤷♂️
but how do people have the patience to deal with all of that in the beginning?
Whenever I was frustrated with a stupid undecipherable error message, I would just tweak my
vim
config a bit.Within a few minutes, my rage at the error would be completely replaced with rage toward
vimscript
.Then I would revert my
vim
config change, and return to the undecipherable error message with a fresh perspective. mainly relief that at least it’s notvimscript
.Joking aside, I really did learn
vim
mostly during coffee breaks or while waiting on some long running build process.
“But guys, gtfomp” - emacs
I would argue that vim is fantastic for a lot of editing and coding tasks, just not all of them.
Where it utterly fails is with deep trees of files in codebases, like you see in Java or some Javascript/Typescript apps. Even with a robust suite of add-ons, you wind up backing into full-bore IDE territory to manage that much filesystem complexity. Only difference is that navigating and managing a large file tree w/o a mouse is kind of torture.
Fuzzy finding really shine for this use case, no need for a mouse.
Once I got used to single-directory filetree browsing plus fuzzy finding, I have never been able to comfortably use a traditional filetree anymore. most of them are not designed for efficient keyboard use (vscode and intellij at least) and don’t really help understanding the structure of the project imo (unless there arent that many files). For massive projects I find it easier to spend the initial effort of learning a few directory names and the vague structure using oil.nvim, and then eventually I can just find what I need almost instantly by fuzzy finding.
File-based navigation is often inefficient anyway (symbolic navigation is much better when you can), but if you do need it, that’s what fuzzy finders are for. Blows any mouse-based navigation out of the water.
The only time a visual structure is useful is when you are actually just interested in learning how things are structured for whatever reason, but for that task,
tree
works just fine anyway.
Just out of interest, what are the reasons someone would move from neovim to helix?
I switched after development ended on the package manager I was using on neovim. I didn’t at that moment want to simplify my vimconfig, so I looked into helix.
Helix highlights the action you take, so if for example, you are deleting 5 lines, you select the lines first then hit delete. Sometimes the vim actions end up taking fewer keystrokes though. And I still prefer some ways vim does things. And I don’t always agree with the kakoune inspiration of helix (I haven’t used kakoune, just going by what the docs say) - for example, movement always selects text which I then have to unhighlight.
But the biggest reason I stuck to helix was sane LSP defaults out of the box with minimal config. I was tired of having to fix LSP related bugs in my vim config after package updates.
TLDR: saner defaults for helix + lazy to fix my bloated vimconfig.
i have sort of done this. the main thing is that the reversed object-verb command model just… latches onto your brain. this is from kakoune of course, but it just makes a lot of sense coming from vimland. multicursor is also nice because it removes some modes, meaning there is less state to keep in your head. finally, the plug-and-play nature of helix means you can have an lsp-enabled environment from the word go, with no configuration.
That’s a good enough excuse for me to try it! Thanks.
Immediately after you install helix, you can start working, no config required. It’s really nice.
It also has OOTB LSP, unlike in neovim where you have to setup manually for each installed LSP, helix just detects it. I also personally think it has better keybinds than neovim.
But it still doesn’t have a plugin system, and it’s quite opinionated. They’re both amazing, and great options. Just depends on what you want in an editor; customizability, or do you want it to just work.
Personally, I love to tinker (especially on my main machine) so I don’t mind the complexities of setting up neovim. However, I do mess around with a bunch of servers, and I like to edit code on those servers, meaning I am often installing/compiling neovim and copying over my config before I can get to work.
What I am liking about helix is the idea that its default setup has what I need to get started straight away.
I am looking forward to giving helix a go.
So do i :) but i think helix is especially powerful with nix, for example. instead of having 5 compilers, lsps and such installed, you can create a nix flake for your project and it’ll install all that stuff for you. But for neovim you’d have to manually configure those LSPs in your config, so it is kind of just pointless anyway. But helix automatically loads all your installed LSPs, no config required. I love that about it, but neovim has grown on me.
Plus, helix’s keybinds are amazing, even better than neovims. God i miss it.
I switched to zed too. It’s not perfect but it’s just nice to use a different editor that is not sluggish.
Zed is amazing