• barsquid@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    7 months ago

    I only know how to use them with q. I hope that’s a register, otherwise I will look foolish.

    • suy@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      7 months ago

      They are. Registers are just “named boxes” where you can store some text and/or keystrokes. When yanking and pasting, the unnamed register is used if you don’t specify a name (you can still see or edit it explicitly). For recording a macro there is no default register, though. You need to give it a name.