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

linuxmemes

24192 readers
1684 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
    [–] JigglySackles@lemmy.world 1 points 16 hours ago

    I've enjoyed JetBrains over either so far.

    [–] jaemo@sh.itjust.works 4 points 23 hours ago

    Laughs in Zed

    [–] hamsda@lemm.ee 13 points 1 day 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 1 day ago (1 children)

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

    [–] hamsda@lemm.ee 4 points 1 day 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 :)

    [–] scheep@lemmy.world 22 points 1 day ago (1 children)

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

    [–] dwnldKpr@lemmy.dbzer0.com 1 points 23 hours ago (1 children)

    sounds interesting enough to try, thanks! :D

    [–] scheep@lemmy.world 1 points 23 hours ago

    it’s identical to vscode, except that a few extensions don’t work (notably, intellicode and the ms c/c++ extensions)

    [–] fusiono@feddit.uk 11 points 1 day 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 1 day 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?

    [–] Sauerkraut@discuss.tchncs.de 2 points 1 day ago* (last edited 1 day ago)

    Jokes aside, all of my favorite IDEs have an option to use VIM key bindings so learning VIM makes it easier to learn other IDEs.

    That alone was enough to convince me to learn VIM

    [–] ExLisper@lemmy.curiana.net 62 points 2 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 1 day 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 6 points 1 day ago

    I never close my IDE or reboot. Problem solved.

    [–] lightnsfw@reddthat.com 3 points 1 day ago

    Also had to update virtually every time I touched it and half the time those updates would break it so I had to reinstall. I didn't use it on a daily basis or anything and it's been a few years so maybe they fixed that but it's why I don't currently use it (along with the fact that it's a microsoft product and I'm trying to stay away from all their shit as much as possible).

    [–] andros_rex@lemmy.world 7 points 1 day ago* (last edited 1 day 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 2 days ago

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

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

    There also IDEs that start instantly.

    They don't ship a whole browser though.

    [–] silverlose@lemm.ee 7 points 2 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 1 day 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 107 points 2 days ago* (last edited 2 days ago) (3 children)
    [–] FauxLiving@lemmy.world 37 points 2 days ago

    Recording @q

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

    I thought flies use ZZ for the onomatopoeia

    load more comments (2 replies)
    load more comments (1 replies)
    [–] electric_nan@lemmy.ml 54 points 2 days ago (2 children)

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

    [–] pinball_wizard@lemmy.zip 10 points 2 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.)

    [–] ArbitraryValue@sh.itjust.works 43 points 2 days ago* (last edited 2 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.

    [–] sanderium@lemmy.zip 12 points 2 days ago (2 children)

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

    [–] stetech@lemmy.world 5 points 1 day ago* (last edited 1 day 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.

    [–] sanderium@lemmy.zip 2 points 1 day ago

    Yeah, so many things are so easy to configure with less moving parts, plus the window splitting is amazing.

    [–] milicent_bystandr@lemm.ee 21 points 2 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 1 day ago (1 children)

    I just use cntrl-z and then kill %1

    [–] milicent_bystandr@lemm.ee 1 points 1 day ago

    Seems like overkill to escape from insert mode. Then you just have to open vi again!

    load more comments (1 replies)
    [–] KevinRunforrest@lemmy.world 14 points 2 days ago (1 children)

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

    load more comments (1 replies)
    [–] exu@feditown.com 29 points 2 days ago (4 children)
    [–] Peck@lemmy.world 7 points 2 days ago* (last edited 1 day 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.

    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 (3 replies)
    [–] fmstrat@lemmy.nowsci.com 9 points 2 days ago (6 children)
    [–] moseschrute@lemmy.world 2 points 1 day ago

    Hmmm there seems to be a vscode in my vim.

    [–] cmhe@lemmy.world 6 points 1 day 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.

    It was never really a competition - just some misguided people who liked Emacs

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

    [–] F04118F@feddit.nl 28 points 2 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 2 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 2 days ago (3 children)

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

    load more comments (3 replies)
    load more comments
    view more: next β€Ί