[TxMt] Automate new file creation and Save As not working
ksolomon at gmail.com
Tue Aug 26 13:21:27 UTC 2008
Let me start by saying that I couldn't live without TextMate...it's the
one program that made my switch from the Windows world (a year and
counting! :) ) permanent. I have just a couple of issues I am looking
for guidance on however.
Firstly, when building Wordpress themes for clients, I generally start
with three files, for which I have my own custom TextMate templates. I
was wondering if there is a way to automatically create these three
files (with correct filenames if possible) from my templates. Ideally,
this would be bound to a keystroke string (command-shift-N would be
nice, since the muscle memory is already there for that string), but
mousing it from the menu would work too.
I had first thought of using a macro, but apparently, you can't use a
macro to create a new file.
Second, the keyboard shortcut for Save As stopped working some time
ago. I thought it might be an issue with a buggy install of Tiger, but
even after upgrading to Leopard (via a clean install), I still don't
have the ability to use the keyboard shortcut. I'm pretty sure it's not
a conflict with the keystroke string being redefined by a bundle or
anything (I've gone through all the bundles I have active, and nothing
is using it), so I'm at a loss.
Keith Solomon - ksolomon at gmail.com
My Blog - http://reciprocity.be/
My Flickr - http://www.flickr.com/photos/zarath0s/
More information about the textmate