[TxMt] Re: textmate Digest, Vol 45, Issue 13

David Linse davidlinse at gmail.com
Fri Feb 10 18:40:20 UTC 2012


this link helped me at least with saving by "Cmd+S"  ...
http://blogobaggins.com/2009/03/31/waging-war-on-whitespace.html

david

> What I'm looking for is a way of hooking the Save command so that the whitespace stripper is run just before saving, regardless of whether I pressed Cmd-S, chose Save from the File menu, or selected Save in the dialog when closing a document with unsaved changes.
>
> I'm sure I read something on a blog which suggested it was possible, but the article unfortunately assumed a greater familiarity with bundle writing than I have :)
>
> --
> John Yeates


More information about the textmate mailing list