On 12 Jun 2017, at 16:55, Kurt Ruff wrote:

Is it possible to change this behavior, so TextMate always opens the file in a window on the current desktop?

Try calling this:

TM_PROJECT_UUID=$(uuidgen|tr '[0-9A-Z]' 0) mate «file»

By setting TM_PROJECT_UUID to the “null UUID” it will create a new project window for the file (rather than re-use an existing window which’s project folder is an ancestor of the file to be opened).

You can of course alias the above so that you do not have to type it each time.