Is there a way to simply create a new document e.g. on the Desktop and open it with e.g. textmate with a simple shortcut or script. I know that the MS Windows approach where you can just create a new empty txt file directly is not working for Mac. I am looking for a method achieving something similar. Any ideas?
You can write this in the terminal:
touch filename.txt
Or as a script:
#!/bin/sh
touch filename.txt