• sunshine@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      55 minutes 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??

    • gwilikers@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      5 hours 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.

  • Black Xanthus@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    14 hours 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.

    • sunshine@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      52 minutes 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.

    • enumerator4829@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours 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…)

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

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

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      8 hours 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.

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      10
      ·
      13 hours 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.

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    15 hours ago

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

      • Treczoks@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 hours 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.

          • throwback3090@lemmy.nz
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            6 hours 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.

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

  • AntY@lemmy.world
    link
    fedilink
    arrow-up
    35
    arrow-down
    1
    ·
    1 day ago

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

    • smeg@feddit.uk
      link
      fedilink
      English
      arrow-up
      33
      ·
      1 day ago

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

      • communism@lemmy.ml
        link
        fedilink
        arrow-up
        15
        ·
        1 day ago

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

        • toynbee@lemmy.world
          link
          fedilink
          arrow-up
          20
          ·
          1 day ago

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

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          8
          ·
          24 hours ago

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

          • communism@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            23 hours ago

            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
              link
              fedilink
              English
              arrow-up
              3
              ·
              23 hours ago

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

        • Xanza@lemm.ee
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 day 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.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

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

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      4
      ·
      7 hours 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.

  • kata1yst@sh.itjust.works
    link
    fedilink
    arrow-up
    26
    ·
    1 day 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.

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

  • NocturnalMorning@lemmy.world
    link
    fedilink
    arrow-up
    24
    arrow-down
    12
    ·
    1 day ago

    I know this is supposed to be a joke. But, VI is awful, and i can’t believe anybody would use that over a modern editor. But, I know some people who like it.

      • Jumuta@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        arrow-down
        3
        ·
        1 day ago

        how do you tolerate the 0 and $ to jump to the ends? it’s so painfully inconvenient and made me switch to helix where it’s g->h and g->l. do you not use the default keymap?

            • hinterlufer@lemmy.world
              link
              fedilink
              arrow-up
              6
              arrow-down
              1
              ·
              1 day ago

              Most nvim users I know have their setup very much customized. That takes time, effort and is a pita. But afterwards you have a tool that just works like you want it to work, and is super fast (at least compared to VSCode).

              • KeenFlame@feddit.nu
                link
                fedilink
                arrow-up
                2
                ·
                9 hours ago

                I don’t understand why you compare it to vs code, it’s not a text editor and besides, it has vim too?

                • hinterlufer@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  8 hours ago

                  They’re both code/text editors, or what would you call VSCode instead? An IDE? you can make an IDE out of nvim if you want.

                  Yes, there is a vim mode in VSCode, but in some cases it can be very slow (like editing a few thousand columns at once), and is not as tightly integrated.

        • LastYearsIrritant@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          11
          ·
          1 day ago

          Shift-A and Shift-I to append at the end or insert at the start.

          Once you know the system, it’s much easier to do everything without having to take your hands off the keyboard to use a mouse.

        • notabot@lemm.ee
          link
          fedilink
          arrow-up
          4
          ·
          1 day ago

          Muscle memory mostly. I miss vim keybinding when I have to type in anything else, including Lemmy.

        • Petter1@lemm.ee
          link
          fedilink
          arrow-up
          8
          arrow-down
          1
          ·
          1 day ago

          Imagine thinking modern IDE are more efficient than vi 😯

          Curser is more intuitive, I agree, but you will never win a code race against similar skilled coder on vi…

            • Petter1@lemm.ee
              link
              fedilink
              arrow-up
              6
              ·
              15 hours ago

              Umm, there are regularly coding race events here where I live…

              Coding can be hobby as well, you know.

              Not all of this world is pure capitalism, some have some free time doing stuff they want how they want.

              Coding is not my profession (right now)

              • NocturnalMorning@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                44 minutes ago

                Coding is a team sport bcz it takes a lot of people to maintain large complex systems, has nothing to do with capitalism. Hell, I make video games in my spare time, and can barely manage a half asked attempt at a game for fun when working alon (unless I want to spend a lot of time on it). Alternatively, I can make a decently playable game with a few more people helping me. Coding is just a lot of work if you want to make anything substantial, just how it is.

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 day ago

      Modern “vi” is typically a symlink to vim, and as long as compatibility is disabled it’s very useful; especially when working over ssh or quick and dirty config editing that doesn’t warrant a full blown ide to be started up.

        • Petter1@lemm.ee
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          1 day ago

          Nano is for people that are too lazy to learn vi if they much time (ergo not needing it)or have too less time to learn it (even tho, they would get so much time back in return, if they would learn vi)

          This applies only to people that regularly work with GUIless headless machines

          • hemko@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 day ago

            Okay I kinda get it if you regularly write scripts or configs on headless machines, though even then I’d think using just vscode remote development plugin would be my tool of choice.

            Usually I use nano if I just need to do a quick change to a file, or even on my personal device if it requires sudo (such as apt sources or fstab) and I do it just once so don’t bother thinking how to use sed for it

    • andros_rex@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      1 day ago

      I prefer vim, but vi is nice too. (I miss Vimperator for Firefox)

      It’s just so fast when you get it down. It works well with a cli-only work flow. Why use mouse when type very fast?

      There’s immense pleasure and honor in writing C the way our ancestors did.