From: Paul Pichaureau <paul.pichaur...@gmail.com>
Date: Mon, 23 Jul 2012 01:57:27 -0700 (PDT)
Local: Mon, Jul 23 2012 4:57 am
Subject: Re: How to insert conditionnal text
> I've polished a little the snippet, since I prefer to have some > # -*- mode: snippet -*-
Not very important, but if you have an advice, it will be welcomed !
> Le dimanche 22 juillet 2012 20:33:27 UTC+2, Joao a écrit :
>> This is the answer I was going to recommend, but I believe you can >> I'll test the recursive case when I find the time. Meanwhile maybe you >> João >> On Sun, Jul 22, 2012 at 5:55 PM, OMF <obsessivemathsfr...@gmail.com> >> > # -*- mode: snippet -*- >> > However, there is a problem with calling this recursively, but that is >> > On Sunday, July 22, 2012 10:42:24 AM UTC+1, Paul Pichaureau wrote: >> >> Hi, >> >> I'm a new user of yasnippet, and I really enjoy it! It helps me *a >> >> I use a lot of command on LaTeX with key syntax. I would like to make >> >> test<Tab> >> >> will produce >> >> \test[title={_}] >> >> (the underscore is the cursor) >> >> Now if I type <Tab>, the resulting text in the buffer should be >> >> \test >> >> But if i type 'doo', I would like to see >> >> \test[title={doo}] >> >> Do you know if it's possible ? >> >> Thank you very much ! >> >> -- >> > -- >> > To post to this group, send email to smart-snippet@googlegroups.com. >> -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||