• @puppy
    link
    810 months ago

    Buffers are great. Comes very handy when creating macros in vim.

    • @[email protected]
      link
      fedilink
      510 months ago

      I think you mean registers not buffers. buffers are file(s) loaded in memory while registers contain text yanked/deleted/last command/last search, etc.

      • @puppy
        link
        310 months ago

        Yeah sorry, I meant registers.

      • @puppy
        link
        310 months ago

        What do you mean by regular target? I am either yanking from the OS buffer or yanking things from 2 different buffers. Or I have 2 macros where they yank from different buffers.

    • @chonglibloodsport
      link
      110 months ago

      What’s annoying about them is that there isn’t a simple way to clear a register which means you have to use both “r and “R in macros.