--
You received this message because you are subscribed to the Google Groups "YASnippet Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smart-snippet+unsubscribe@googlegroups.com.
To post to this group, send email to smart-...@googlegroups.com.
Visit this group at https://groups.google.com/group/smart-snippet.
For more options, visit https://groups.google.com/d/optout.
Interesting question. Maybe another trick worth trying might be a (.*) prefix that you just put back in the expansion? So foo#bar matches (.*)#bar and expanded to foo#bar, which the behaviour you wanted, right?
On Tue, Oct 17, 2017 at 4:40 PM, <quwa...@gmail.com> wrote:
Hi,I have a question (similar to this thread, which did not get any repsonse):How can I achieve snippet expansion even if the trigger-key is in the middle of a word (no space)?For example, let's say that I have a snippet for zah with the key #bar. If I then type foo#bar and hit TAB, I want the result to be foozah.I am looking for exactly this behavior, not typing foo #bar and the snippet then erasing the space upon expansion.Currently, I can only expand the snippets if I put them as separate words, i.e. foo #bar to foo zah.Is there any way to write a snippet that does this or any other type of workaround to achieve what I want?Thank you
--
You received this message because you are subscribed to the Google Groups "YASnippet Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smart-snippe...@googlegroups.com.