this post was submitted on 27 Feb 2025
270 points (95.9% liked)

linuxmemes

22838 readers
597 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
    [–] moseschrute@lemmy.world 3 points 4 hours ago* (last edited 4 hours ago)

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

    [–] Shady_Shiroe@lemmy.world 5 points 5 hours ago (1 children)

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

    [–] caseyweederman@lemmy.ca 1 points 5 hours ago

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

    [–] GissaMittJobb@lemmy.ml 12 points 9 hours ago (1 children)
    [–] AnUnusualRelic@lemmy.world 8 points 8 hours ago (1 children)

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

    [–] GissaMittJobb@lemmy.ml 3 points 7 hours ago (1 children)

    On the system I administrate, vi is symlinked to ed

    [–] corsicanguppy@lemmy.ca 2 points 7 hours ago

    administrate

    Mike Tyson?

    [–] Earflap@reddthat.com 11 points 10 hours ago (1 children)

    The last one should be

    SQL queries? Believe it or not vi

    Yes, this is my preferred SQL client!

    [–] hylobates@jlai.lu 3 points 10 hours ago (1 children)

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

    [–] Earflap@reddthat.com 2 points 5 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.

    [–] joyjoy@lemm.ee 44 points 15 hours ago (1 children)
    [–] zorro@lemmy.world 42 points 14 hours ago (2 children)
    [–] eager_eagle@lemmy.world 12 points 10 hours ago (1 children)
    [–] Cenzorrll@lemmy.world 2 points 4 hours ago

    LXIX my balls! Haha got'em.

    Believe it or not, this is the second time I got to make that joke within an hour.

    [–] dohpaz42@lemmy.world 17 points 14 hours ago

    * laughs in Latin *

    [–] AntY@lemmy.world 28 points 14 hours ago (2 children)

    Vi hasn’t been updated since 2005. Aren’t everyone just using vim or neovim?

    [–] Xanza@lemm.ee 6 points 8 hours ago

    Not to imply that Vi is perfect, but Vi is perfect. What do you need an update for? /s

    [–] smeg@feddit.uk 25 points 14 hours ago (1 children)

    I use whatever the machine gives me when I type vi, I assume it's usually vim

    [–] communism@lemmy.ml 9 points 12 hours ago (3 children)

    Huh, vi for me has always been actual vi, not vim. Didn't know some systems symlink vi to vim.

    [–] lime@feddit.nu 5 points 7 hours ago (1 children)

    vim has a limited "vi-mode" that it uses if you call it as vi. so it could still be vim.

    [–] communism@lemmy.ml 1 points 7 hours ago (1 children)

    Ohh that makes more sense. Yeah perhaps, although come to think of it I still need to install vim from the package manager even if vi works fresh out of the box so maybe not?

    [–] lime@feddit.nu 1 points 7 hours ago

    i think there's also a vim-mini that gets installed by default in some debian-based distros.

    [–] toynbee@lemmy.world 13 points 11 hours ago

    A long time ago, someone posted advocating symlinking vi to emacs. Evil, but entertaining.

    [–] Xanza@lemm.ee 3 points 8 hours ago

    Vim is the preferred experience, so it's for end users. Unless you have a system with no real addons and classic *nix environment, you're almost always going to be using Vim. Alpine linux is a good example of a stripped down environment that still uses Vi.

    [–] geoff@lemm.ee 25 points 14 hours ago (10 children)
    [–] amon@lemmy.world 7 points 10 hours ago

    Emacs is what the unified linux desktop should be

    [–] mazzilius_marsti@lemmy.world 5 points 9 hours ago (1 children)

    I use vi from an Emacs Shell, which was spawned from an Emacs GUI.

    [–] Xanza@lemm.ee 5 points 8 hours ago

    bro tryin' to summon a demon... /s

    load more comments (8 replies)
    [–] slazer2au@lemmy.world 29 points 15 hours ago (2 children)

    Editing excel spreadsheet? VI

    [–] hemko@lemmy.dbzer0.com 7 points 12 hours ago

    Excel files (.xlsx) is just an archive of some XML files and whatnot, so sure you could edit them in vim.

    Though I'd rather edit them in CSV format

    load more comments (1 replies)
    [–] mogoh@lemmy.ml 21 points 14 hours ago (1 children)

    Java? vi!
    COBOL? vi!
    SVG? Believe it or not, vi!

    /s

    load more comments (1 replies)
    [–] festnt@sh.itjust.works 4 points 10 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 β€Ί