Melissa's Sublime Color Scheme & Tips
The color scheme I use when demonstrating code: melissa WeaveDreamer
Color Scheme Features
- Optimized for PHP, HTML, CSS
- Hilighted PHP blocks (the default colorschemes do not all do this)
How to install
- Download, Extract, and place the color scheme files in your Sublime Text 2\Packages\User\Color Schemes folder
Tips for NEW Sublime Text 2 Users
Tutorials
- Nettuts+ Tutorial by individual lessons http://net.tutsplus.com/articles/news/perfect-workflow-in-sublime-text-free-course/
- Nettuts+ Tutorial all in one video (2 hour course) http://www.youtube.com/watch?v=TZ-bgcJ6fQo
Must-Have Packages
I Highly recommend all these 3rd party plugins!
- Package Control http://wbond.net/sublime_packages/package_control (install this first)
- Color Picker http://weslly.github.io/ColorPicker/
- Hex to RGBA https://github.com/aroscoe/Hex-to-RGBA ( ctrl + shift + R )
- WordPress snippets and autocomplete https://github.com/purplefish32/sublime-text-2-wordpress
- Sidebar Enhancements (adds preview in browser, delete, etc) https://github.com/titoBouzout/SideBarEnhancements
Cool Built-in features
- Reindent Lines (ctrl + shift + p ‘indent’)
- Automatic comments with Ctrl + /
- Projects (Use them! save projects to your name folder)
Key Commands
navigating between and within files
- Ctrl + Shift + P => Command Pallette (install plugins, run scripts...)
- * ctrl + P => GO TO ANYTHING open any recent file or jump to tab
- @ jump to symbol
- # search within file
- : line number
- Ctrl + G => go to line number
Making selections quickly
- Ctrl + D => Select next
- Alt + F3 => Select same (all) (faster than Find + replace)
- Ctrl + Shift + L => Expand to Lines
HTML
- alt + shift + W => Wrap with Tag