On 20. Oct 2004, at 19:02, kumar mcmillan wrote:
- are snippets stored anywhere on the system? Looked in the Library
but couldn't find anything. Was wondering if they are in XML files somewhere to be backed up or shared/
Yes, they are in: ~/Library/Application Support/TextMate/Bundles/Custom.tmbundle/Snippets/
- is there a way to use TM variables in snippets? specifically, I
was hoping to insert $TM_DATE in the snippet somwhere.
The TM_DATE is not among the default variables.
But in a snippet you can execute normal shell commands by embedding them in back-ticks (if you're running one of the betas).
So e.g. do: »(c) `date +%Y` Your name« to get the year.
Kind regards Allan