First time when you ssh into your Linux terminal and you gotta “sudo crontab -e” or something and it’s like “what editor do you want to use?” and nano sounds lame so you choose vim cause the sound is cool when you say it and then you have to wipe the whole comp and start over

      • Kidplayer_666@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        I wanted the rest of the song. I asked Bing to make it, sorry Copilot. I am not disappointed

        You heard there was a secret chord That you could use to meet the Lord 'Cause you don’t care about power safety, do ya? You plugged it in without a thought And then you saw a bright blue spark And from your lips you screamed a loud “Hallelujah!”

        Hallelujah, Hallelujah Hallelujah, Hallelu-u-u-u-jah

        Your room was dark, you smelled some smoke You realized you made a joke Of basic rules of electricity, didn’t ya? You tried to find another plug But all you got was just a shrug And from your phone you heard a low “Hallelujah!”

        Hallelujah, Hallelujah Hallelujah, Hallelu-u-u-u-jah

        You called the landlord right away He said he’d come and fix the fray But he would charge you extra for the labor, yeah You felt a pang of guilt and shame You knew you only had yourself to blame And from your wallet you let out a sigh “Hallelujah!”

        Hallelujah, Hallelujah Hallelujah, Hallelu-u-u-u-jah

  • biscuitswalrus@aussie.zone
    link
    fedilink
    arrow-up
    15
    ·
    9 months ago

    Quitting Vim is called ‘escaping’ because it was designed to be a trap and you’ve escaped. Congratulations to everyone who has.

      • soupuos@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        Maybe it was just me, but I found VSCode’s undo/redo vim trees (u/r) to be kind of awkward when compared to real vim.

    • janabuggs@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Native vim? Or with an elaborate preference file?

      I personally have grown so accustomed to vim that if I have to ssh to a new (to me) server I would rather use stock vi (which in most systems is actually an alias for vim) to any other editor. But honestly I have made an alias for a script that ports over my elaborate vimrc file for every first login to a new server or instance lol. It makes me feel a little like a diva 💁💅

      • Novman@feddit.it
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        Vim with a minimal preference file, but sometimes vim only, i don’t like vi cause it lacks syntax highlighting

    • takeda@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      9 months ago

      Until those are not available.

      This is a pisspoor attitude to have, just fire up vimtutor and you will know how to use it in no time.

      • Sanyanov@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        9 months ago

        Unless you’re a sysadmin who deals with very obscure systems, you’ll always have access to nano, so why bother?

        Vim elitists love to brag about how cool Vim is, but pretty much never properly elaborate. Why should I learn all those obscure commands to just edit some text? What’s the point?

        • Jumuta@sh.itjust.works
          link
          fedilink
          arrow-up
          6
          ·
          9 months ago

          it feels smooth
          the movement is very fast and precise
          you don’t need to move your hand for arrow keys so it’s nice when you’re lazy
          i dont use vim anymore though, i use helix because it’s purple

        • thews@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          9 months ago

          I learned them and basically never use vim.

          I use sed if i need to change things with a pattern, cat the file if i need to see the contents, use head or tail if its too much to fit on the screen.

          If I am writing code, I use a code editor. Emacs and vim can do a lot, but they can also fuck off.

        • Pipoca@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          9 months ago

          Even not being a vim wizard, editing code without vim keybindings feels… slow.

          Yeah, I could grab the mouse, highlight everything between the arguments to a function and hit delete. Or I could just go to the open paren and just hit d%. I could grab the mouse, highlight the line and hit delete, or I could literally just type dd.

          And trying to edit things in nano is positively masochistic.

          • Sanyanov@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            Why would someone edit the actual code (not configs) from the terminal? That by itself sounds like a masochistic endeavor. But I might be missing something.

            • Pipoca@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              9 months ago

              I used to do it more back in college where I’d ssh into the schools computers to work on assignments. It’s still sometimes useful if you’re in the console and want to edit something quickly.

              However, there’s e.g. macvim and gvim which are literally just vim in a gui; they give you menus and the ability to drag panes and click to move your cursor. With a decent LSP setup they can actually be pretty nice.

              And most other decent editors have vim emulation of various quality levels. Emacs is a bit buggy, but it’s really useful if you want to code in agda or clojure. And VS Code has fairly decent vim emulation.

  • phorq@lemmy.ml
    link
    fedilink
    Español
    arrow-up
    9
    ·
    9 months ago

    Who told you to add a job to your root crontab? Vim was just protecting you from yourself

  • zorro@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    I think someone else mentioned this but just run vimtutor in your command line for a pretty exhaustive tutorial.