Sublime Edit

Save your settings

Since you can purchase this on a per user basis, and it takes so much effort customise it every time, here’s how to do it once with Dropbox.

http://andrew.hedges.name/blog/2012/01/19/sublime-text-2-more-sublime-with-a-drop-of-dropbox

Useful shortcuts

Control spacebar – code hints + more

BracketHighlighting

Put this into your themes file, in my case Monokai.tmTheme

<!-- BEGIN bracket highlight pluging color modfiications -->
<dict>
 <key>name</key>
 <string>Unmatched</string>
 <key>scope</key>
 <string>brackethighlighter.unmatched</string>
 <key>settings</key>
 <dict>
 <key>foreground</key>
 <string>#FD971F</string>
 </dict>
 </dict>
<dict>
 <key>name</key>
 <string>Bracket Curly</string>
 <key>scope</key>
 <string>brackethighlighter.curly</string>
 <key>settings</key>
 <dict>
 <key>foreground</key>
 <string>#cc0000</string>
 </dict>
 </dict>
<dict>
 <key>name</key>
 <string>Bracket Round</string>
 <key>scope</key>
 <string>brackethighlighter.round</string>
 <key>settings</key>
 <dict>
 <key>foreground</key>
 <string>#0000FF</string>
 </dict>
 </dict>
<dict>
 <key>name</key>
 <string>Bracket Square</string>
 <key>scope</key>
 <string>brackethighlighter.square</string>
 <key>settings</key>
 <dict>
 <key>foreground</key>
 <string>#00ff00</string>
 </dict>
 </dict>
<dict>
 <key>name</key>
 <string>Bracket Angle</string>
 <key>scope</key>
 <string>brackethighlighter.angle</string>
 <key>settings</key>
 <dict>
 <key>foreground</key>
 <string>#AE81FF</string>
 </dict>
 </dict>
<dict>
 <key>name</key>
 <string>Bracket Tag</string>
 <key>scope</key>
 <string>brackethighlighter.tag</string>
 <key>settings</key>
 <dict>
 <key>foreground</key>
 <string>#FD971F</string>
 </dict>
 </dict>
<dict>
 <key>name</key>
 <string>Single Quote | Double Quote | Regex</string>
 <key>scope</key>
 <string>brackethighlighter.quote</string>
 <key>settings</key>
 <dict>
 <key>foreground</key>
 <string>blue</string>
 </dict>
 </dict>
<!-- END bracket highlight pluging color modfiications -->

The best workflow ever

 FTP and syncing local to remote testing server on save

install the SFTP package.  It will be $US20 well spent.

Set up a remote testing server and autosave files there when saving locally.

  1. Download the most recent copy of your site.  Preferably using Git
  2. Open the folder. In Mac Cmd-O and select the folder.
  3. Right click on the folder you want and SFTP  > Set up Remote Server
  4. Edit and save the file that opens
  5. “save_before_upload”: true,
    “upload_on_save”: true,
    is the key to saving to the remote automatically
  6. Work on your local files, test on your remote testing server
  7. When completed commit all changes to your Github/Bitbucket/whatever repo.

 

http://www.brentmountford.com/tutorials/sublime-text-2-sftp-setup-usage/

Save all your settings on dropbox

http://andrew.hedges.name/blog/2012/01/19/sublime-text-2-more-sublime-with-a-drop-of-dropbox

Favorite packages

Emmet

SFTP

BracketHighlighter