Beginning Linux user: “Ctrl-Z is undo, right?”

Advanced Linux user: “Ctrl-Z dammit fg”

  • tal@lemmy.today
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    edit-2
    1 year ago

    In emacs, C-_ is undo. If you perform a non-undo operation, then undo it, then do a non-undo operation, then two undos will undo the undo.

    Unless you’re using one of emacs’s alternate undo systems, like undo-fu, undo-tree, or vundo, which may have their own ways of doing things.

    I use undo-tree, and with the default bindings there, there’s an undo on C-_ and a redo on M-_; undo doesn’t undo undos there.

      • sping@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Bizarre that you’ve hated it for 30 years yet didn’t know one of the earliest things users learn about it (that actually is fine to use). Perhaps you should examine why you hate something you’re almost completely ignorant of.

        Though most jokes and criticisms about Emacs betray complete ignorance of it, so you’re hardly unusual.

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

          I don’t need all the overhead. Vi has always worked for me. It’s ubiquitous. I’m fast with it. It suits my needs fully.

          • sping@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            You must truly loathe vscode etc then if you hate emacs for overhead. I can’t really see why you should hate something just because it uses a slightly less small amount of resources. I don’t even know how you’d notice on any machine from the last 20 years.

              • sping@lemmy.sdf.org
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                Seems pretty reasonable that if you want to tell the world you hate something, you might want the world to understand why you hate it, or else perhaps we might assume it’s not a reasoned position. That’s certainly the conclusion I’m coming to.