[TxMt] question: save hook
Piero D''Ancona
pierodancona at gmail.com
Thu May 31 18:28:52 UTC 2007
I'd like to do a series of things automatically
each time I save a modified file. E.g. change
the name of the file adding a timestamp to it,
etc. What is the simplest way? Probably to
create a command which does all the stuff, and
assign the shortcut CMD-S to it. I do not
like this idea, emacs' hook mechanism sounds
the right way to achieve this, but I could live with it.
Anyway: how can I say TextMate to save the
open (modified) file? I mean, from inside my
command?
Thanks,
Piero
More information about the textmate
mailing list