Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hylobates@jlai.lu to linuxmemes@lemmy.worldEnglish · 2 months ago

VI is love, VI is life

jlai.lu

message-square
89
link
fedilink
492

VI is love, VI is life

jlai.lu

hylobates@jlai.lu to linuxmemes@lemmy.worldEnglish · 2 months ago
message-square
89
link
fedilink
alert-triangle
You must log in or register to comment.
  • unalivejoy@lemm.ee
    link
    fedilink
    English
    arrow-up
    73
    ·
    2 months ago

    What makes 6 so popular?

    • zorro@lemmy.world
      link
      fedilink
      English
      arrow-up
      57
      ·
      2 months ago

      Because vii viii ix

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        38
        ·
        2 months ago

        • Cenzorrll@lemmy.world
          link
          fedilink
          arrow-up
          17
          ·
          2 months 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
        link
        fedilink
        English
        arrow-up
        26
        ·
        2 months ago

        * laughs in Latin *

  • geoff@lemm.ee
    link
    fedilink
    arrow-up
    47
    ·
    2 months ago

    Emacs

    (ducks)

    • mazzilius_marsti@lemmy.world
      link
      fedilink
      arrow-up
      18
      ·
      2 months ago

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

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        15
        ·
        2 months ago

        bro tryin’ to summon a demon… /s

    • Amon@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      2 months ago

      Emacs is what the unified linux desktop should be

    • 9point6@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      2 months ago

      Evil

      • coldsideofyourpillow@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 months ago

        I dislike Evil, and would never recommend it to anyone looking for a modal editing solution for Emacs. I would rather break my pinky with the modifiers than use Evil.

        • Evil is SLOOWWW: its startup time is 10x longer than other modal editing packages.
        • It has high cost of integration with other packages; editing-related packages rarely play well with Evil unless specifically designed for it.
        • We can do better than vi. Nowadays, there are some more modern alternatives to vi, like Kakoune that fix some of the fundamental problems with vi. One such problem is the fact that you cannot know what you are acting on until after the command completes: Kakoune solves this by having a unique noun verb syntax rather than vi’s verb noun syntax. This means that you get constant feedback about what you’re acting on before you act on it, since objects are always highlighted.

        Instead, for anyone looking for a serious and actually good modal editing, I would suggest them to try out meow. It fixes all of the problems I mentioned above, and makes more improvements to the vi experience that I didn’t mention.

    • Semperverus@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 months ago

      Emacs

      • littleomid@feddit.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        EMACS. It’s the superior text editor.

        • nickwitha_k (he/him)@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          I’d say it’s a superior text editor.

          • Semperverus@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            It’s a text editor?

            • nickwitha_k (he/him)@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              2 months ago

              I suppose I tend to think of it more as a Lisp interpreter that’s capable of self-extension.

    • fayoh@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      This is the way.

    • festnt@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      link the vi command to emacs, and you’ll be able to say you use vi

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      No

    • nickwitha_k (he/him)@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      Emacs

      It’s a sound choice. I don’t like to use it, personally, because I want to use something that uses same motions and syntax as editors on servers that I don’t own (ex. customers). And, I’m not a fan of Lisp. It’s a great and (self-)extensible text editor/lisp interpreter, though.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    40
    ·
    2 months ago

    Editing excel spreadsheet? VI

    • vrighter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      21
      ·
      2 months ago

      here you go

  • mogoh@lemmy.ml
    link
    fedilink
    arrow-up
    30
    ·
    2 months ago

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

    /s

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      2 months ago

      BMP? vi and control-v!
      WAV? There’s probably a plugin for that!

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      7
      ·
      2 months ago

      SVG, unironically yes. There’s a few times where I found a library or WYSIWYG editor making some strange choices for its SVG output, and I had to fix it manually.

  • GissaMittJobb@lemmy.ml
    link
    fedilink
    arrow-up
    30
    ·
    2 months ago

    Ed is the standard editor

    • AnUnusualRelic@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      2 months ago

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

      • GissaMittJobb@lemmy.ml
        link
        fedilink
        arrow-up
        8
        ·
        2 months ago

        On the system I administrate, vi is symlinked to ed

  • kata1yst@sh.itjust.works
    link
    fedilink
    arrow-up
    29
    ·
    2 months ago

    Everyone at work is using Cursor these days, except for me using neovim and my emacs loving coworker. When we present during pair programming our coworkers go nuts over watching our workflows and trying to figure out if they can do similar things in Cursor lol.

    • someacnt@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 months ago

      What is Cursor, another AI-infested slop?

      • kata1yst@sh.itjust.works
        link
        fedilink
        arrow-up
        11
        ·
        2 months ago

        It’s a version of VSCode with deep AI integration. I’ll say, it’s pretty good from a workflow perspective. But I just use Avante to similar effect.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      2 months ago

      tbh they probably can, it’s just more ctrl involved

      • kata1yst@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        Probably!

      • Sage1918@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        I’d like to see them do visual-block/rectangle selection.

        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          multi-line cursor gets close enough

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Neovim and emacs are both incredibly heavy. I would rather just use something like VScodium.

      Nano and Vim are small and quick.

      • Drew@sopuli.xyz
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        2 months ago

        I would like you to open the same file in neovim, Emacs, and vscodium and see the ram usage.

        Matter of fact I’ve done this for you (230 line json):

        heavily customised emacs: 34 MB
        heavily customised neovim: 32 MB
        Newly installed vscodium: 300 MB+

        both emacs and neovim have syntax highlighting, completion, mouse support, terminal support, window management, and so on

        • SwordInStone@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          Debugger?

          • Drew@sopuli.xyz
            link
            fedilink
            arrow-up
            7
            ·
            2 months ago

            Yea they can attach to debuggers via dap

            • SwordInStone@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              2 months ago

              great

  • Black Xanthus@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    ·
    2 months ago

    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.

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 months 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.

      • driving_crooner@lemmy.eco.br
        link
        fedilink
        arrow-up
        5
        ·
        2 months ago

        Didn’t even macs have vi?

        • AbsentBird@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 months ago

          Basically every Unix-derived OS comes with vi. Emacs came out in 1976, macs didn’t exist until 1984.

        • Rusty@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          Yes and it’s better than TextEdit that is bundled with MacOs

    • enumerator4829@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 months ago

      Be real fukin careful now. You’ll tear my enacs from my cold dead hands

      (But yeah, I use evil-mode. Also I edit files on remote servers with vim. I’m a traitor…)

    • sunshine@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      2 months ago

      I don’t know, I used vim for like 6 years and then discovered, thanks to the power of evil and doom, how much better the vi experience is inside the context of emacs. With all the utilities and packages, it’s worth the small additional burden of troubleshooting that it imposes.

    • Drew@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      2 months ago

      you have offended all 6 of us, prepare for retribution

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      2 months ago

      I think there’s a good reason for that. If you’re not as concerned about resource consumption (Emacs used to be called “Eight Megabytes and Constantly Swapping”, back when 8MB was a lot), then there’s no reason to avoid even more complex and resource intensive IDEs. People who wanted a complex editor, but in a relatively small footprint, stuck with some variant of vi.

      Thus, vi found a stable evolutionary niche. It’s a tardigrade.

    • geoff@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      2 months ago

      When people are free to choose the best editor for them, we ALL win.

      • mvirts@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 months ago

        Unless it happens to be Ms word, in which case we all lose

    • Black Xanthus@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      There we are. Now all is right with the world.

      What would an editor discuss be without those that support Emacs?

      I noticed we even got some doom evil advocates! Lemmy truly has come off age!

      (Note: as tone is hard on text: I’m genuinely pleased, and agree that the joy of Linux/Unix is it’s variety. Thank you everyone)

  • Radioactive Butthole@reddthat.com
    link
    fedilink
    English
    arrow-up
    21
    ·
    2 months ago

    The last one should be

    SQL queries? Believe it or not vi

    Yes, this is my preferred SQL client!

    • hylobates@jlai.luOP
      link
      fedilink
      arrow-up
      6
      ·
      2 months ago

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

      • Radioactive Butthole@reddthat.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 months 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.

  • TimeSquirrel@kbin.melroy.org
    link
    fedilink
    arrow-up
    18
    ·
    2 months ago

    VI is life

    If you don’t have one to begin with, sure, I guess. For everyone else, there’s Nano.

    • ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
      link
      fedilink
      arrow-up
      7
      ·
      2 months ago

      Skill issue

      • ne0n@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        Vi has a shit design issue

  • SynopsisTantilize@lemm.ee
    link
    fedilink
    arrow-up
    14
    ·
    2 months ago

    Sorry maybe I’m dumb. But does this mean VIM and Obsidian are Vi?

    • gwilikers@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      2 months ago

      Vi is actually a predecessor to Vim but many people, myself included, will alias Nvim or Vim to Vi. And I’ve seen people use Vi as a catch all too.

    • sunshine@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 months ago

      I usually refer to im as “vi” just to make people think I’m old school and cool save time typing that last character.

      But Obsidian??

      • SynopsisTantilize@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        Oh yes. My “excell isn’t a database” program. Obsidian.

        • sunshine@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          I want to understand this comment!

          • SynopsisTantilize@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            Obsidian the note taking program, I use it for storing my code, and also a KB at work. It’s made for note taking, but I use it like it’s my git, and wiki for an IT team.

            • FiskFisk33@startrek.website
              link
              fedilink
              arrow-up
              3
              ·
              2 months ago

  • festnt@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    ·
    2 months 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

  • kboy101222@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 months ago

    Nano is just better and I’ll happily die on this hill

    • smiletolerantly@awful.systems
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      2 months ago

      No

      Nano is easier to get into, but far more limited.

      • EffortlessEffluvium@lemm.ee
        link
        fedilink
        arrow-up
        22
        ·
        2 months ago

        And easier to get out of…

        • smiletolerantly@awful.systems
          link
          fedilink
          arrow-up
          11
          ·
          2 months ago

          Is it? If it wasn’t printed on the bottom, would you really be able to guess Ctrl+X, Y, Enter any easier than colon, q, Enter?

          • kboy101222@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            10
            ·
            2 months ago

            The key difference here is “it’s printed at the bottom”.

            I don’t immediately need a user guide to tell me how to save and exit the program

            • smiletolerantly@awful.systems
              link
              fedilink
              arrow-up
              2
              ·
              2 months ago

              skill issue

          • Radioactive Butthole@reddthat.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 months ago

            xoff ignored mumble mumble

    • Diplomjodler@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      I use nano for editing config files in the terminal. For everything else I use VSCodium. Roast me.

      • SpongeBorgCubePants@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 months ago

        You already did that yourself

        • Diplomjodler@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          I use Mint, BTW.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      It is very fast

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      OK, I can see the whites of your eyes.

    • MrFoenBox@startrek.website
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      We will die together brother…

      NANO FOR LIFE

  • Mose13@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    2 months ago

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

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    2 months ago

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

    • Shapillon@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 months ago

      How would you categorize masochism as not sex? :o

      • throwback3090@lemmy.nz
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        Everything is sex, except sex, which is power

        • Shapillon@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 months ago
          • Not Oscar Wild
          • throwback3090@lemmy.nz
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            2 months ago

            Oscar wild is pure sex and resting in power, so…maybe both

            I know it from the Janelle monet song which apparently quotes a book from 2002 but I find it hard to believe that’s the first time the phrase was said.

      • Treczoks@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Well, using vi without being forced at gunpoint.

        And before you accuse me of being an Emacs fanatic - nope, they exist on the same level of masochism.

  • Anna@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 months ago

    Is no one gonna talk about neovim or are we all just like set the alias and forgot that we are inside neovim and not vim or vi

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 figures

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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 212 users / day
  • 2.05K users / week
  • 8.58K users / month
  • 17.2K users / 6 months
  • 609 local subscribers
  • 24.9K subscribers
  • 1.56K Posts
  • 76.5K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org