Handy Sublime snippets

Remove line breaks and spaces

  1. Open Search and replace (ALT + CMD + F)
  2. Enable “Regular expression”
  3. Enter \n+ in the search field
  4. Press “Replace All”