[TxMt] Re: textmate Digest, Vol 73, Issue 3
Gildas Hamel
gweltaz at ucsc.edu
Wed Jun 4 22:11:21 UTC 2014
On 4 Jun 2014, at 11:52, E. Enriquez wrote:
>> to or provide me with the instructions to create snippets for LaTeX
>> in TM2?
>> Further, it is not clear how to enter a snippet into the document.
>>
>> I have got to the "Edit Bundle" menu item but there is nothing like
>> the
>> screenshot from the online TextMate (
>> http://manual.macromates.com/en/snippets). I've attached what I see
>> to
>> this email.
1. Regarding templates: I'm not sure the following method is helpful,
but I keep LaTeX templates in ~/Library/Application
Support/LaTeX/Templates
and in TextMate simply save a new document as file.tex, type temp + tab
to choose one of my templates.
2. For snippets: when you are in "Edit Bundle", hit Command N, choose
snippet, enable the item on the right, name it what you want, scope
selector is text.tex.latex, choose key or tab trigger, write your
template in the window at the bottom, save.
--Gildas
More information about the textmate
mailing list