this post was submitted on 30 Mar 2025
1132 points (96.6% liked)

linuxmemes

24211 readers
1366 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
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] scheep@lemmy.world 24 points 3 days ago (2 children)

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

    load more comments (2 replies)
    [–] ExLisper@lemmy.curiana.net 62 points 3 days ago (5 children)

    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 3 days ago (2 children)

    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 3 days ago

    I never close my IDE or reboot. Problem solved.

    load more comments (1 replies)
    [–] andros_rex@lemmy.world 7 points 3 days ago* (last edited 3 days 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.

    [–] nialv7@lemmy.world 12 points 3 days ago

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

    [–] Flipper@feddit.org 9 points 3 days ago

    There also IDEs that start instantly.

    They don't ship a whole browser though.

    [–] silverlose@lemm.ee 7 points 3 days ago (2 children)

    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

    [–] zarkanian@sh.itjust.works 3 points 3 days ago

    I can ssh in with Krusader and edit from Krusader's GUI editor. I would probably still do it from the terminal because it's faster, but it's good to have more than one way to do things.

    load more comments (1 replies)
    [–] hakunawazo@lemmy.world 108 points 4 days ago* (last edited 4 days ago) (3 children)
    [–] FauxLiving@lemmy.world 37 points 4 days ago

    Recording @q

    [–] 0x0@lemmy.dbzer0.com 31 points 4 days ago* (last edited 4 days ago) (2 children)

    I thought flies use ZZ for the onomatopoeia

    [–] goldfndr@lemmy.ml 10 points 3 days ago

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

    [–] hamsda@lemm.ee 13 points 3 days ago (1 children)

    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 3 days ago (1 children)

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

    [–] hamsda@lemm.ee 4 points 3 days ago

    Ha, that would've helped me a few times. Good to know!

    Still, I wouldn't switch vim for nano ever again. nano is a good and easy start, but I think if you do more than just basic editing of a few files every now and then, learning vim is the way to go.

    vim is pretty customizable, widespread and it has been around for quite some time after all. If you think you need it, somebody most likely already made it as a vim-plugin :)

    [–] jaemo@sh.itjust.works 4 points 2 days ago

    Laughs in Zed

    [–] fusiono@feddit.uk 11 points 3 days ago (1 children)

    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 8 points 3 days ago (1 children)

    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 (1 replies)
    [–] electric_nan@lemmy.ml 54 points 4 days ago (2 children)

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

    [–] ArbitraryValue@sh.itjust.works 43 points 4 days ago* (last edited 4 days 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 3 days 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 29 points 4 days ago (4 children)
    [–] Tuxman@sh.itjust.works 9 points 3 days 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 3 days ago* (last edited 3 days ago) (2 children)

    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.

    [–] AnUnusualRelic@lemmy.world 4 points 3 days ago

    Emacs has scripts that can do almost anything. If you wanted to, you could pretty much replace your graphical desktop with Emacs and still do pretty much everything you do. vi is an editor.

    load more comments (1 replies)
    load more comments (2 replies)
    [–] milicent_bystandr@lemm.ee 21 points 4 days ago (3 children)

    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 3 days ago (1 children)

    I just use cntrl-z and then kill %1

    load more comments (1 replies)
    load more comments (1 replies)
    [–] F04118F@feddit.nl 28 points 4 days ago (2 children)

    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 49 points 4 days ago (1 children)

    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 33 points 4 days ago (3 children)

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

    [–] DasFaultier@sh.itjust.works 21 points 4 days ago

    Like a real programmer would.

    load more comments (2 replies)
    [–] sanderium@lemmy.zip 12 points 3 days ago (2 children)

    When the pluggings system drops it's going to be wild.

    [–] stetech@lemmy.world 5 points 3 days ago* (last edited 3 days ago) (1 children)

    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)
    [–] KevinRunforrest@lemmy.world 14 points 3 days ago (1 children)

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

    load more comments (1 replies)
    [–] LovableSidekick@lemmy.world 17 points 3 days ago* (last edited 3 days 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.

    [–] JigglySackles@lemmy.world 1 points 2 days ago

    I've enjoyed JetBrains over either so far.

    [–] Bishma@discuss.tchncs.de 20 points 4 days ago

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

    [–] fmstrat@lemmy.nowsci.com 9 points 3 days ago (6 children)
    [–] cmhe@lemmy.world 6 points 3 days ago (1 children)

    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)
    [–] oysterenjoyer@sh.itjust.works 17 points 4 days ago (3 children)
    load more comments (3 replies)
    [–] mossberg590@lemmy.world 14 points 4 days ago (12 children)

    The trap is that you should use vi. Don't wuss out.

    load more comments
    view more: next β€Ί