399
Vim > VSCode (lemmy.world)
submitted 2 weeks ago by n3cr0@lemmy.world to c/linuxmemes@lemmy.world
top 50 comments
sorted by: hot top controversial new old
[-] ExLisper@lemmy.curiana.net 55 points 2 weeks ago

The best thing about Vim is that despite having all the features of a modern IDE it starts in 0.1s and you can start editing right away while the code data is loading asynchronously.

The worst thing about Vim is that... just kidding, there's nothing bad about it.

[-] cyberpunk007@lemmy.ca 23 points 2 weeks ago

Vscode I'm always like all right let's code... Ah shit, the "what's new" window has popped up again in the middle of my typing...

[-] Valmond@lemmy.world 7 points 2 weeks ago

I never close my IDE or reboot. Problem solved.

load more comments (1 replies)
[-] nialv7@lemmy.world 12 points 2 weeks ago

0.1s is way too long, you need to optimize your startup time. /s

[-] Flipper@feddit.org 9 points 2 weeks ago

There also IDEs that start instantly.

They don't ship a whole browser though.

[-] silverlose@lemm.ee 8 points 2 weeks ago

It’s a trade off for sure. I think the area editors like Vim totally win in is when you need to ssh into a server and edit something. I think it will always exist because of this use case

load more comments (2 replies)
[-] andros_rex@lemmy.world 7 points 2 weeks ago* (last edited 2 weeks ago)

People meme about “q!” but it is super helpful to have that extra step, because sometimes your fingers are moving faster than your brain is. That quick switch back-n-forth vim - gcc - ./a.out loop and my probably ADHD mean that vim saying, “hey, remember you haven’t saved this yet” is a godsend.

You are right about the best part about vim - you can work as fast you type.

[-] hakunawazo@lemmy.world 30 points 2 weeks ago* (last edited 2 weeks ago)
[-] 0x0@lemmy.dbzer0.com 12 points 2 weeks ago* (last edited 2 weeks ago)

I thought flies use ZZ for the onomatopoeia

[-] tomatoely@sh.itjust.works 5 points 2 weeks ago

So ZQ comes from the sound of a fly being swatted?

[-] FauxLiving@lemmy.world 7 points 2 weeks ago

Recording @q

[-] goldfndr@lemmy.ml 6 points 2 weeks ago

But if you accidentally typed a or i, press ESC first.

[-] scheep@lemmy.world 24 points 2 weeks ago

I like VSCodium, a vscode build without ms telemetry and such

load more comments (2 replies)
[-] electric_nan@lemmy.ml 20 points 2 weeks ago

I remapped the power button of my computer to whatever that series of keypresses is that exits vim.

[-] ArbitraryValue@sh.itjust.works 15 points 2 weeks ago* (last edited 2 weeks ago)

that series of keypresses is that exits vim

One of the great mysteries of the universe. However, I can confirm that my standard power button also exits vim.

[-] pinball_wizard@lemmy.zip 10 points 2 weeks ago

That's really smart. That way if I ever figure out the command to exit Vim, it'll behave the same as my current method (powering off the PC.)

[-] exu@feditown.com 14 points 2 weeks ago
[-] Tuxman@sh.itjust.works 8 points 2 weeks ago

Ah! I loved using Doom EMacs for a while!

… but alas I came back to my initial love with Neovim 😜

[-] Peck@lemmy.world 7 points 2 weeks ago* (last edited 2 weeks ago)

So kind of off topic. Like 15 years ago emacs vs vim split in engineering was like 50-50. Now I see more like like 90-10 with vim winning. What happened? I always assumed they are equivalent more or less.

load more comments (2 replies)
load more comments (2 replies)
[-] hamsda@lemm.ee 13 points 2 weeks ago

vim was such an unimaginable improvement over nano for doing stuff on linux servers. Having an in-shell-editor search-and-replace function alone is worth everything you have to do to learn vim.

And after I was comfortable around vim because of all the "training" on servers, I just switched to vim fulltime. No more GUI editor for me!

[-] Lv_InSaNe_vL@lemmy.world 13 points 2 weeks ago

Nanos search and replace is Alt+R as far as I remember

load more comments (1 replies)
[-] KevinRunforrest@lemmy.world 13 points 2 weeks ago

Vim and VScode are my favorite code editors but I admit that Vim is better :]

[-] LeninOnAPrayer@lemm.ee 6 points 2 weeks ago

Knowing how to actually navigate vim is worth learning. Especially if you work in embedded systems where a lot of the time you're on setup that is running barebones and likely just has vi as a text editor.

But I used VSCode for dev work with the VIM plugin.

[-] sanderium@lemmy.zip 12 points 2 weeks ago
[-] stetech@lemmy.world 5 points 2 weeks ago* (last edited 2 weeks ago)

Helix is “it just works” but it actually does, without having to get lost in the (config) sauce.

It’ll be unstoppable once they finalize and ship the plugin system.

Edit: and I haven’t even mentioned the descriptions above commands, the command palette-like functionality in <Space-?>, nor the tutor yet. It’s just so much more beginner-friendly.

load more comments (1 replies)
load more comments (1 replies)
[-] LovableSidekick@lemmy.world 12 points 2 weeks ago* (last edited 2 weeks ago)

I used to know a developer who wrote all his code in Notepad. This was around 2005 or 6. We had just starting to replace our legacy ASP code with ASP.Net, which he was determined to do in Notepad. I was gone before I could see how that worked out.

[-] milicent_bystandr@lemm.ee 12 points 2 weeks ago

HAHAHAHA I know the secret passcode to escape!

Incidentally, it's ctrl+]. But I remap it to 'kj', and somehow have never typed 'blackjack' in all my years of using Vim!

[-] JuxtaposedJaguar@lemmy.ml 5 points 2 weeks ago

I just use cntrl-z and then kill %1

load more comments (1 replies)
load more comments (1 replies)
[-] fusiono@feddit.uk 11 points 2 weeks ago

You will be tempted to think that by learning how to use (neo)VIM your coding skills will magically improve tenfold.

It won't

[-] moseschrute@lemmy.world 9 points 2 weeks ago

Wait really? Shit I’m like 1 year into learning vim. What editor should I switch to that will magically make me a good coder?

load more comments (2 replies)
[-] fmstrat@lemmy.nowsci.com 9 points 2 weeks ago
[-] cmhe@lemmy.world 6 points 2 weeks ago

When the debate revolved around Emacs vs. Vim, I used Spacemacs. It seem we moved on from that?

Is it now about VScode vs. (Neo)Vim?

Guess that means Vim won the Emacs vs. Vim debate then, when it got into the next round.

load more comments (1 replies)
load more comments (5 replies)
[-] F04118F@feddit.nl 8 points 2 weeks ago

Do you mean Neovim?

Surely you aren't comparing a flat text editor to an IDE that has language server support, debuggers and refactoring tools?

[-] jmcs@discuss.tchncs.de 15 points 2 weeks ago

Vim and VS Code are both text editors that can become IDEs with plugins. You can use vim with language servers if you want, as there are plugins for it.

load more comments (1 replies)
[-] yoshman@lemmy.world 10 points 2 weeks ago

I only use butterfly flaps that move magnetic needles next to my HDD.

[-] DasFaultier@sh.itjust.works 5 points 2 weeks ago

Like a real programmer would.

load more comments (2 replies)
[-] Bishma@discuss.tchncs.de 7 points 2 weeks ago

Wouldn't the one that ops you into telemetry be the trap?

[-] oysterenjoyer@sh.itjust.works 4 points 2 weeks ago
load more comments (3 replies)
load more comments
view more: next ›
this post was submitted on 30 Mar 2025
399 points (96.9% liked)

linuxmemes

24429 readers
1461 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS