• kattfisk@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      I use macros to solve most of the same problems. You just on-the-fly record a sequence of regular vim commands that you can then replay as many times as you need. Great for formatting a bunch of data without having to deal with the misery of regex

      • nickwitha_k (he/him)
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Also a good choice. Just never had the need since I knew a bit of regex before learning vim.

    • nickwitha_k (he/him)
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      The ability to use a powerful, standardized string query and transformation language if one wants? Yes, I do call it an advantage.