<div>Hey everyone,</div><div><br></div><div>While developing the textmatevim plugin, I've been editing the plugin's source in one instance of textmate launching/debugging the plugin in another instance of textmate. I'm wondering if there's a cleaner, standard way of launching two textmate instances such that there are no side effects.</div>
<div><br></div><div>This is what I'm currently doing:</div><div><br></div><div># Create a second instance of textmate</div><div>cp -R /Applications/TextMate /Applications/DevTextMate</div><div>mv /Applications/DevTextMate.app/Contents/MacOS/TextMate /Applications/DevTextMate.app/Contents/MacOS/DevTextMate</div>
<div>cp -R cp ~/Library/Application\ Support/TextMate ~/Library/Application\ Support/DevTextMate</div><div><br></div><div># Launch</div><div>/Applications/DevTextMate.app/Contents/MacOS/DevTextMate</div><div><br></div><div>
This approach has some side effects. At one point "DevTextMate" somehow became registered to open all code files. Often one or the other textmate instance will also open the release notes, as if it's the first time it's being run.</div>
<div><br></div><div>Let me know if you have any suggestions. Thanks,</div><div><br></div><div>-Phil Crosby</div>