I want to further add, how do I delete old snippets/commands/bundles as well. This does not seem possible within the TextMate Edit Bundle item.
E
On Wed, Jun 4, 2014 at 2:47 PM, textmate-request@lists.macromates.com wrote:
Send textmate mailing list submissions to textmate@lists.macromates.com
To subscribe or unsubscribe via the World Wide Web, visit http://lists.macromates.com/listinfo/textmate or, via email, send a message with subject or body 'help' to textmate-request@lists.macromates.com
You can reach the person managing the list at textmate-owner@lists.macromates.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of textmate digest..."
Today's Topics:
- How to Create a Snippet to Replace a LaTeX Template (E. Enriquez)
---------- Forwarded message ---------- From: "E. Enriquez" enriquez.elaine@gmail.com To: textmate@lists.macromates.com Cc: Date: Wed, 4 Jun 2014 14:47:07 -0400 Subject: [TxMt] How to Create a Snippet to Replace a LaTeX Template Hello,
I'm suffering without the ability to immediately insert a LaTeX template. I understand the recommended practice is to create a snippet (which, in this case, will be quite large). Could someone point me to the instructions 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.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
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