Julio Biason wrote: > Ah, cool. Now... is there a way to automate this? Like cleaning the > document before saving (or better yet, prevent textmate to leave the > lines empty.) Make a new macro. Run the “remove trailing spaces” command. Then save. Save your macro, and give it a shortcut of ⌘S -Jacob