this post was submitted on 27 Feb 2025
306 points (96.6% liked)

linuxmemes

22855 readers
440 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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.
  • Β 

    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] 3 points 54 minutes ago (2 children)

    The comments on this post went exactly like they have over the past 20 years, with one exception.

    Emacs is all but forgoten.

    Vim wins.

    [–] [email protected] 1 points 8 minutes ago

    Recently, I recommended to a friend that basic vim/vi is worth learning because it's a baseline that you can always trust will be there across different Linux systems.

    They asked me what I used most on my home system, and the answer was emacs, but I was very clear that I was not recommending it. It's a particular kind of person who finds themselves at home in emacs, and for everyone besides those people, selling them on emacs would feel like persuading them to do hard drugs.

    [–] [email protected] 2 points 49 minutes ago

    you have offended all 6 of us, prepare for retribution

    [–] [email protected] 0 points 1 hour ago

    Well, "vi is love" is something I always see as "masochism is related to sex".

    [–] [email protected] 5 points 7 hours ago* (last edited 7 hours ago)

    Op, what do you find more offputting: emacs or neovim?

    [–] [email protected] 11 points 8 hours ago (1 children)

    Bro you forgot the 'm' at the end of vi

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

    And the i, c, r, and o. In fact keep the vi.

    [–] [email protected] 0 points 12 hours ago

    I like micro

    [–] [email protected] 17 points 12 hours ago (1 children)
    [–] [email protected] 8 points 11 hours ago (1 children)

    We don't want a viditor, we want an editor. Why? Because ed is the standard!

    [–] [email protected] 3 points 10 hours ago (1 children)

    On the system I administrate, vi is symlinked to ed

    [–] [email protected] 2 points 10 hours ago

    administrate

    Mike Tyson?

    [–] [email protected] 13 points 13 hours ago (1 children)

    The last one should be

    SQL queries? Believe it or not vi

    Yes, this is my preferred SQL client!

    [–] [email protected] 3 points 13 hours ago (1 children)

    Ah, nice one! Didn't realize it could even be done.

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

    It isn't as dumb as it sounds, honestly! I used to use DBeaver and it is a fantastic project, but I really wanted Vim keybinds to construct my queries as they can sometimes be quite large. There used to be a plugin that added the functionality but it stopped working on my machine. This Vim plugin is essentially a wrapper for the CLI SQL client (psql in my case), so using it actually kind of makes sense, I think.

    The biggest issue I faced was exporting the results, but I just created a function in my ~/.vimrc that copies all the text of the results to a new tab and formats it however I want. CSV, HTML, JSON, XML, Markdown, whatever I need is all there and predefined. All I have to do is call :ExportToMarkdown and off I go.

    [–] [email protected] 5 points 13 hours ago

    in highschool my physics teacher used vim to write stuff, like most times when checking if everyone was in class he'd just open vim and type people's name in there

    load more comments
    view more: next β€Ί