• Anna
    link
    fedilink
    3
    edit-2
    3 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

    • Anna
      link
      fedilink
      2
      edit-2
      3 months ago

      You write Ansible playbooks to automate infrastructure management. But calling it a coding language might be a stretch it is just yaml

  • Black Xanthus
    link
    fedilink
    English
    133 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.

    • @[email protected]
      link
      fedilink
      English
      23 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…)

    • Drew
      link
      fedilink
      53 months ago

      you have offended all 6 of us, prepare for retribution

    • @[email protected]
      link
      fedilink
      English
      113 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.

    • @[email protected]
      link
      fedilink
      4
      edit-2
      3 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.

  • @[email protected]
    link
    fedilink
    73 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

      • Radioactive Butthole
        link
        fedilink
        English
        43 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.

  • Mose13
    link
    fedilink
    7
    edit-2
    3 months ago

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

  • @[email protected]
    link
    fedilink
    263 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.

      • @[email protected]
        link
        fedilink
        93 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.

    • Possibly linux
      link
      fedilink
      English
      23 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
        link
        fedilink
        7
        edit-2
        3 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

    • Eager Eagle
      link
      fedilink
      English
      9
      edit-2
      3 months ago

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

      • @[email protected]
        link
        fedilink
        153 months ago

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

        • @[email protected]
          link
          fedilink
          English
          53 months 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.

        • lime!
          link
          fedilink
          English
          83 months ago

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

          • @[email protected]
            link
            fedilink
            23 months 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!
              link
              fedilink
              English
              33 months ago

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

  • TimeSquirrel
    link
    fedilink
    173 months ago

    VI is life

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

    • @[email protected]
      link
      fedilink
      53 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.