Delete blank lines in TextMate
Archived
Written in October 2011. Kept as it was, so versions, links and details may be out of date.
Switching to Mac OS X I have noticed opening text files that were created in Windows will add spaces after every line. In TextMate you can create a macro to get rid of the extra lines very easily. In the Bundle Editor add the following command and tie it to a key combination.
sed /^$/d