this post was submitted on 09 Jan 2025
526 points (100.0% liked)

linuxmemes

23841 readers
456 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. Even if you watch it on a Linux machine.
  • 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
    [–] [email protected] 97 points 2 months ago (3 children)
    [–] [email protected] 13 points 2 months ago (3 children)

    The full name is VScodium. https://vscodium.com/

    Codium is a genus of edible green macroalgae.

    load more comments (3 replies)
    [–] [email protected] 8 points 2 months ago (2 children)

    Ooooh thank you for reminding me I need to make this switch

    load more comments (2 replies)
    load more comments (1 replies)
    [–] [email protected] 51 points 2 months ago* (last edited 2 months ago) (4 children)
    [–] [email protected] 8 points 2 months ago* (last edited 2 months ago) (1 children)

    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.

    load more comments (1 replies)
    [–] [email protected] 7 points 2 months ago

    πŸ‘‹ present!

    load more comments (1 replies)
    [–] [email protected] 34 points 2 months ago (3 children)

    Meanwhile, James rocks up with Notepad++

    [–] [email protected] 12 points 2 months ago (1 children)

    smh real programmers use magnetized needles on tape

    [–] [email protected] 19 points 2 months ago
    [–] [email protected] 7 points 2 months ago

    The Fiat Panda of text editors

    [–] [email protected] 5 points 2 months ago

    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.

    [–] [email protected] 31 points 2 months ago (2 children)
    [–] [email protected] 37 points 2 months ago

    I use neovim btw

    [–] [email protected] 15 points 2 months ago

    I use vim, aliased to vi, on Arch btw.

    [–] [email protected] 22 points 2 months ago (1 children)

    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.

    [–] [email protected] 6 points 2 months ago* (last edited 2 months ago) (1 children)

    It's great to use an editor designed and built when vietnam and leaded gas were all the rage.

    [–] [email protected] 8 points 2 months ago

    Exactly! It's rare to find such old things that are still excellent today

    [–] [email protected] 22 points 2 months ago (5 children)

    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).

    [–] [email protected] 30 points 2 months ago* (last edited 2 months ago)

    I've been 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.

    edit: Removed typo.

    [–] [email protected] 21 points 2 months ago

    Professional software engineer here, using vim as my primary editor.

    [–] [email protected] 13 points 2 months ago

    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. ;-)

    [–] [email protected] 6 points 2 months ago (2 children)

    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.

    [–] [email protected] 10 points 2 months ago (1 children)

    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.

    [–] [email protected] 6 points 2 months ago

    I've also used sshfs to mount a remote directory and edit using my local editor/env.

    [–] [email protected] 5 points 2 months ago (2 children)

    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.

    load more comments (2 replies)
    [–] [email protected] 5 points 2 months ago

    Fair. But to a sysadmin or devops engineer availability is pretty important.

    [–] [email protected] 14 points 2 months ago (1 children)

    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.

    [–] [email protected] 6 points 2 months ago* (last edited 2 months ago)

    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.

    [–] [email protected] 11 points 2 months ago

    I feel like I’m the only person using KDevelop

    [–] [email protected] 11 points 2 months ago

    laughs in Emacs

    [–] [email protected] 11 points 2 months ago (2 children)
    [–] [email protected] 5 points 2 months ago

    I switched to zed too. It's not perfect but it's just nice to use a different editor that is not sluggish.

    load more comments (1 replies)
    [–] [email protected] 11 points 2 months ago

    Ewww not even vscodium

    [–] [email protected] 11 points 2 months ago (3 children)

    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.

    [–] [email protected] 13 points 2 months ago

    Fuzzy finding really shine for this use case, no need for a mouse.

    [–] [email protected] 6 points 2 months ago

    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.

    load more comments (1 replies)
    [–] [email protected] 10 points 2 months ago* (last edited 2 months ago) (2 children)

    My professor was always trying to get us to use vim or eMacs over an IDE to write our C programs. I’m sorry, I like using a mouse. I know, I know, blasphemy. I’m taking a shortcut. I’m a noob.

    When I absolutely have to, I go for vim, mostly because I know a few of the key bindings for it, but otherwise avoid it.

    [–] [email protected] 7 points 2 months ago (1 children)

    I’m taking a shortcut

    more like a longcut. I save so much time and effort not having to switch my right hand between the mouse and keyboard constantly

    [–] [email protected] 8 points 2 months ago (1 children)

    I keep my hands on my laptop and use my thumb on the track pad. My hands don’t leave the keyboard. I actually never use extra mice or extra keyboards.

    [–] [email protected] 12 points 2 months ago (1 children)

    track pad

    it's okay, we're gonna make a plan and get you to safety. Pretend you're ordering a pizza. How many people are currently holding you captive?

    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 9 points 2 months ago

    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.

    [–] [email protected] 9 points 2 months ago (1 children)

    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) πŸ€·β€β™‚οΈ

    load more comments (1 replies)
    [–] [email protected] 9 points 2 months ago

    "But guys, gtfomp" - emacs

    [–] [email protected] 8 points 2 months ago (3 children)

    Code and intellij have plugins available to use vim keybindings on them. I like this approach to get the best of both worlds

    [–] [email protected] 9 points 2 months ago (1 children)

    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

    [–] [email protected] 10 points 2 months ago* (last edited 2 months ago) (1 children)

    The neovim plugin for VSCode uses the actual nvim binary as a backend and supports all features.

    [–] [email protected] 6 points 2 months ago

    that's a pretty neat solution

    [–] [email protected] 8 points 2 months ago

    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.

    load more comments (1 replies)
    [–] [email protected] 8 points 2 months ago* (last edited 2 months ago)

    That can't be right, the red car has a service manual and too many functioning assemblies for it to be VS.

    load more comments
    view more: next β€Ί