this post was submitted on 27 Feb 2025
266 points (96.2% liked)

linuxmemes

22838 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 4 hours ago* (last edited 4 hours ago)

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

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

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

    [–] [email protected] 1 points 4 hours ago

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

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

    I like micro

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

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

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

    On the system I administrate, vi is symlinked to ed

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

    administrate

    Mike Tyson?

    [–] [email protected] 11 points 9 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 9 hours ago (1 children)

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

    [–] [email protected] 2 points 4 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] 4 points 9 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 β€Ί