[TxMt] Edit in TM URL associations not working

Graham Ashton graham.ashton at gmail.com
Wed Aug 1 07:15:41 UTC 2007


I may just be being a berk here, but I don't seem to be able to get
the URL associations to play ball. I'm editing text in three different
wikis, each with a different format. My config looks like this:

{
	URLAssociations = {
		'mail.google.com/' = 'mail';
		'macromates.com/blog/' = 'markdown';
		'blacktree.cocoaforge.com/forums/' = 'bbcode';
		
		'trac.' = 'trac';
		'wiki.' = 'twiki';
		'doe.caribou.lan' = 'markdown';
	};
}

Whenever I edit the contents of a textarea in TM it's opened into a
file named title-of-page.safari. I consequently need to manually
switch the syntax highlighting. Is there something wrong with my
config?

I've restarted TM and Safari, to no effect. Do I need to prod
something else to get the input manager to take notice of changes to
the plist file? I'm using the Safari beta (3.0.2).

On a related note, can you use regular expressions in the
URLAssociations setup, or do you have to specify an exact match?

Cheers,

Graham



More information about the textmate mailing list