Sublime Forum

Textmate macro to Sublime

#1

Hey all,

I have a project that was handed to me by a former developer at my company. They wrote a number of macros for textmate that apply to this project and I was wondering if there was a way to get these working on subilme text? (Also I should note that I’m on windows, hence no textmate)

The macros look like this:

argument = { action = 'replaceAll'; findString = '<title>(.*)</title>'; ignoreCase = :true; regularExpression = :true; replaceString = '<title><![CDATA[$1]]></title>'; wrapAround = :true; }; command = 'findWithOptions:';

I tried recording a macro by doing a find & replace with similar regex & wrap, but the saved macro file is only this:

	{
		"args":
		{
			"close_panel": true
		},
		"command": "replace_all"
	}
]
0 Likes