0

tempo-define-template allows defining a custom template, and one can use it with <key + TAB; however, this works only in the beginning of the line, it there a way to do that in middle of a sentence?

3
  • do you want the template inserted in the middle of the sentence, or you want it to start at the beginning of the next line?
    – Tyler
    Commented Jul 8, 2020 at 23:49
  • in the middle of the sentence, to avoid retype long words/sentences
    – GP.
    Commented Jul 9, 2020 at 12:25
  • I'm struggling to see what this wold look like. Can you show me? The only use case I could think of was to wrap the current line in the template, but your comment says in the middle of the sentence. Commented Apr 5, 2021 at 20:12

1 Answer 1

1

I think the right tool to use in this case is yasnippet: https://joaotavora.github.io/yasnippet/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.