[TxMt] export bundle and drag command

salvo salvo at scicli.com
Mon Oct 17 19:12:56 UTC 2005


17/ott/05 19:42, Allan Odgaard wrote:

>
> Custom bundles are stored in ~/Library/Application Support/TextMate/ 
> Bundles

ok
>
> It's probably best to make a new bundle (inside TextMate) and move  
> your stuff to that, for sharing. I.e. you don't want to share a  
> partial “Perl” bundle, but instead a “Salvo's Perl Snippets”  
> bundle, or similar.

ok, thanks
If someone is interested I can try to create a personal bundle and  
then share these snippets.
>
>
>> And another question: how to use "Drag commands" (i.e. in html)?
>>
>
> Create a new one, set the extension to those you want to catch  
> (e.g. png), the scope to which scopes it should apply to (e.g.  
> text.html) and then it's just a normal command which produce the  
> snippet that gets inserted, when you drop (in this case) png files  
> in HTML documents....

Very well, many thanks. Now I try with all those in html bundle!

regards

Salvo




More information about the textmate mailing list