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?– TylerCommented 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.– coffeepenbitCommented Apr 5, 2021 at 20:12
Add a comment
|
1 Answer
I think the right tool to use in this case is yasnippet
: https://joaotavora.github.io/yasnippet/