• stochastictrebuchet@sh.itjust.works
    link
    fedilink
    arrow-up
    47
    arrow-down
    1
    ·
    17 hours ago

    The interface is modal editing, which, yes, takes some getting used to. The payoff is that you get a kind of programming language for text editing. Rather than memorizing ctrl+shift+alt-style keybinds, you decompose stuff into chainable actions.

    Have you ever played a video game, be it with kbd+mouse or gamepad, and realize you’re doing a bunch of stuff without actually consciously thinking about what buttons you’re pressing? That’s what working in editors like Vim or (my fav) Helix feels like.

    • merc@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      Rather than memorizing ctrl+shift+alt-style keybinds, you decompose stuff into chainable actions.

      By memorizing something else that’s equally or more obscure.

      • stochastictrebuchet@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Just in case you’re not trolling, here’s a simple example: yi) means yank inside )-parentheses. It copies the contents of round brackets. Core commands like these are relatively easy to remember

        • merc@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          Which is something you have to memorize. Do you honestly think that that is somehow easier to memorize than say “Ctrl-Shift-5”?

          • stochastictrebuchet@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            2 hours ago

            Yes. It’s mnemonic and composable whereas your key chord isn’t. It’s fine if you don’t care for it. Each to their own. I’m just explaining the appeal of modal editing

        • T156@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          They’re also fairly versatile. y-i takes any symbol after. Space, comma, the letter p, you name it. If you can type it, it’ll generally work.

          Which can be a bit faster than some graphical editors at times, where you might have to find and select the contents by hand. That can be a bother if there’s a lot.