• polle@feddit.deOP
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    emacs

    I actually don’t know what emacs means. I only remember having struggles in understanding anyone who likes vim, because it mostly just confused me. But Probably its just what you are used to. The Meme is still funny, though.

    • r00ty@kbin.life
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      Don’t discount the possibility that some people that use vim, are old enough to remember using vi, over a modem connection. When you know the keyboard shortcuts it can be a lot quicker too even now.

      • Gork@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Vi is incredibly snappy when it came to commands.

        Want to save? :w

        Want to quit? :q

        Want to save and quit? :wq

        Very elegant. GUI WYSIWYG doesn’t come close when it comes to commands.

        • tool@r.rosettast0ned.com
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Man, this comment made me feel a little embarrassed at myself. I saw the shortcuts and thought about how I have a tradition of going to the top of the file when I’m done editing and about to save/quit. I always hit the shortcut for it and think “gg boys! Good game” and then quit out of vim.

          Stop judging me.

        • r00ty@kbin.life
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          A lot of the things I’m using are generally hangovers from those low bandwidth days. I’ve opened a file and I know what I want is a way down? Not a problem 10-Page down to move 10 pages down the file without sending all that to the terminal.

          What to cut the next 5 lines into the buffer? 5dd. Move to the line you want to paste to. Want to remove the next 5 characters? 5x. Often on a slow link moving your cursor along had a delay. But if you knew how far you needed to go you could do 30+arrow right to get the cursor to move directly there.

          I think most are obsolete now, but I’m still used to using them out of habit mostly.

      • Jo Miran@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        That would be me. I still call it “vi”, default to it, and use “less” to preview files because I do almost everything on CLI. Vi is incredibly fast and powerful once you know it like second nature. I prefer vi over most, but the learning curve is a beast.

        • r00ty@kbin.life
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Well it is. But back on unix proper it was just called vi, not vim (aliased to vi)

      • HuntressHimbo@lemmy.fmhy.ml
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        It gives me a little burst of glee every time I ci" or ct in a clever way. If I ever spend the time to learn registers I’ll be unstoppable

    • flux@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      It comes from the words “Eight Megs And Constantly Swapping”.

      Yeah, the name hasn’t aged well…

      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        It’s about 80MB on my machine right now… What is an absurd amount of memory for an empty editor, but I had to sort top by process name because there are some 10 pages of stuff that reserve no memory at all, 2 where it goes from non-zero to 100MB, and a fucking lot of pages of stuff using more than 100MB.

        WTF is my computer doing with all that?

        • flux@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Just keeping a single frame buffer image can take tens of megabytes nowadays, so 100MB isn’t all that much. Also 64-bit can easily double the memory consumption, given how pointer-happy the ELISP data structures can be (this is somewhat based on my assumptions, I don’t actually know the memory layouts of the different Emacs data structures ;)).

          But I don’t truly know, though. If I start a terminal-only Emacs without any additional lisp code it takes “only” 59232 kilobytes of resident memory. Still more than I’d expect. I’d expect something like 2 MB. But I’ll survive.

    • toofarapart@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      For my vim journey it was the draw of being able to quickly navigate and manipulate text without ever needing my hands to move away from the home row on the keyboard, and being willing to put in the time and effort to push past the learning curve.

      • tool@r.rosettast0ned.com
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        I first settled on vim as a teenager because I was a fan of… performing surprise penetration tests.

        It defaults to opening files read-only, so you don’t have to worry about the access/modified time on the file changing if you open one for… science reasons.

    • N3Cr0@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      vim is a little hard to get into, but from there its benefits pay off with lots of features. On the other hand there is emacs, with an even steeper learning curve (*cough* long inconvenient button combos!), but it’s considered so powerful, some say it’s a separate operating system.