I do a lot of text editing for work and there are some phrases that I have to type frequently. What’s the best way to quickly paste those phrases into a document using a shortcut or keyword? I mainly use Kwrite and Kate as i prefer plain text editors and need no formatting.

    • ouch@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      10 months ago

      Besides macros, I think vim had some other relevant feature for this. Just can’t remember it right now.

          • overkill@feddit.de
            link
            fedilink
            arrow-up
            2
            ·
            10 months ago

            Yeah with its flags / regex / python support UltiSnips is really the gold standard of a snippet engine. In many other environments “snippets” really just means “substitute one string for another”, where UltiSnips is so much more!

      • sloppy_diffuser
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Might be a plugin. I think I’m using friendly-snippets (whatever is in LazyVim). There is also LuaSnip. They feed into my auto completion plugin as one of several sources.