Skip to content

Instantly share code, notes, and snippets.

@chris2cant
Last active September 12, 2019 15:41
Show Gist options
  • Save chris2cant/ce72add239b878b3949d534fc7448a3c to your computer and use it in GitHub Desktop.
Save chris2cant/ce72add239b878b3949d534fc7448a3c to your computer and use it in GitHub Desktop.

Sublime text Tips

Convert file in one line

Before

export const myFunc = () => {
	console.log('Hello');
}

After

export const myFunc = () => {console.log('Hello');}
  1. Cmd + F
  2. Find by regex .*
  3. ^.*
  4. Find All
  5. Cmd + ⬅️
  6. Cmd + shift + ➡️
  7. delete delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment