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.
“But guys, gtfomp” - emacs
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
Code and intellij have plugins available to use vim keybindings on them. I like this approach to get the best of both worlds
the vim plugins are so bad… they only support the super basic stuff, as soon as you want flags with your search or chaining of commands they are useless
The neovim plugin for VSCode uses the actual nvim binary as a backend and supports all features.
that’s a pretty neat solution
It’s not the same. Granted it’s been years since I used the vim plugin but last time I tried it couldn’t even do standard find and replace.
This is the way
I switched to zed too. It’s not perfect but it’s just nice to use a different editor that is not sluggish.
Just out of interest, what are the reasons someone would move from neovim to helix?
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 I’ll also nice because it removes some modes, meaning there in less state to keep in your head. finally, the plug-and-play nature of helix meats 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.
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.
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.
Zed is amazing
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.
This is sarcasm right? Right?
Nah. As a die hard Vim user, I can explain all day long why a flexible shared common editing experience across a team is a great idea, and why VSCodium is the obvious choice.
And I’ll explain and agree in principle all day long from the familiar beloved comfort of my Vim editor.
If by any chance here’s someone else using vis, I salute you!
vis is such a neat idea, i followed it years ago. any good plugins yet? i really love the structural regex workflow but since kakoune/helix hijacked my muscle memory i would need more support for external tools to go full vis…
The thing about good plugins is relative - I just have vis-pairs, but I am not a seasoned developer (I’m not even a formal developer/CS person, just a graphic designer doing frontend and a tiny bit of backend!) so I don’t really miss anything else. vis’ phylosophy relies on the unix-as-ide concept, though. Still I do know that there is stuff like a LSP plugin.
What I really miss from vim is buffers. vis still does not have a client/server feature so you still have to rely in its allegedly temporary split panes kinda solution. It seems vis’ main developer got some personal issues going on so volunteers are doing some little changes here and there but with so few manpower it doesn’t seem like those needed big changes are happening anytime soon. Hence why I’m trying to spread its gospel in hopes to get people interested in contributing to it.
i thought vis specifically wanted to remain single-file?
I feel like I’m the only person using KDevelop
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.
Have been a professional software engineer for 8 years now. Have yet to find a reason to use vim for anything (other than availability of course, but if nano isn’t installed for some godforsaken reason I have other problems lol).
I’ve been a in various forms of coding and administration for around fifteen years now. Despite trying lots of editors, I have yet to find a reason to use anything but vim.
I do like obsidian for note taking.
Vim is a way more competent editor than nano. If you spend a lot of time editing files via ssh, vim is amazing. And when you get bitten by it, you’re infected. ;-)
I used to think this way. Until I found that with emacs you can edit any file on an SSH enabled computer remotely. Meaning that not only are you no longer constrained by what the computer has installed. But you can use your personality configured editor while editing that file. It’s called tramp.
BTW, with Emacs you can use vim key bindings evil-mode, so don’t stress about that.
Tramp is more featured, but if all one cares about is being able to edit remote files using a local editor, vim can edit remote files with scp too: scp://user@server[:port]//remote/file.txt
I tried tramp-mode at some point, but I seem to remember some gotchas with LSP and pretty bleh latency, which didn’t make it all that useful to me… But I admittedly didn’t spend much time in emacs land.
I’ve also used sshfs to mount a remote directory and edit using my local editor/env.
You can do that with vscode too. And probably many IDEs.
The only real reason for which you would need to use vim in such cases is if the target computer can’t run the vscode server, which I’ve never encountered yet.
I’m talking about not needing anything installed on the server though. Like you don’t need sudo. If the server has ssh then you can use Emacs to edit a file on it
Don’t need sudo or anything pre installed for vscode either. It will send the server to the machine via SSH and then run it automagically.
Fair. But to a sysadmin or devops engineer availability is pretty important.
Professional software engineer here, using vim as my primary editor.
Ewww not even vscodium
codium > code
Hadn’t heard of this, but I’m going to switch now!
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
To you, @toothpaste_ostrich@feddit.nl, and anyone else planning to do the switch:
Back when I was still a VSC(odium) user, you needed to perform a small tweak to regain access to the quite useful extensions marketplace (in the sense of, paste the extension ID, see the same results as a M$ VSCode user*): There is a file named
product.json
which allows you to “regain” access if you populate it with the following values:{ "extensionsGallery": { "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", "itemUrl": "https://marketplace.visualstudio.com/items", "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index", "controlUrl": "" } }
(Taken from my old dotfiles, so this may be outdated, not sure. Also, you’ll have to look up the location of this file, it will differ depending on OS. On macOS it goes in
~/Library/Application Support/VSCodium
.)*If you do not need this 1:1 identical functionality, you may try the Open VSX marketplace. But especially in a class setting, I found this very useful, since all the tutorials/instructions will work without needing adaptation.
Good to know, thanks for passing this on!
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 ;)
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 ;)
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…