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?

  • 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 Jul 8 at 23:49
  • in the middle of the sentence, to avoid retype long words/sentences – GP. Jul 9 at 12:25

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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