Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Useful packages, themes and settings for the popular code editor.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Additions
Backup
Installed Packages
Packages
Pristine Packages
Settings
README.md

README.md

Sublime Text 2

Clone this repository into Library > Application Support > Sublime Text 2.

git clone git@github.com:appsunited/sublime-text.git

Themes

I have created 2 themes, find them in Additions > Cream.tmTheme and Additions > Matrix.tmTheme based on Soda Theme.

Shortcuts

cmd + ä               # Indent
cmd + ö               # Deindent
ctrl + <              # Wrap selection with HTML tag
cmd + 1               # Focus Group/View 1
cmd + 2               # Focus Group/View 2
cmd + shift + 1       # Move file to Group/View 1
cmd + shift + 2       # Move file to Group/View 2
cmd + shift + p       # Show Command Palette
cmd + ctrl + j        # Pretty JSON
ctrl+u + ctrl+o       # Upload all open files (SFTP)
ctrl+u + ctrl+p       # Show SFTP panel
ctrl+u + ctrl+c       # Cancel upload (SFTP)

Snippets

html                  # HTML5 doctype and skeleton
table                 # Create table skeleton

Set Syntax for Files

On OS X you can change the "fileTypes" dictionary in the Library/Application Support/Sublime Text 2/Packages/HTML/HTML.tmLanguage file. Simply add a new entry for the file types you're interested in:

<key>fileTypes</key>
   <array>
      <string>html</string>
      <string>htm</string>
      <string>xhtml</string>
      <string>phtml</string>
      <string>tmpl</string>
      <string>tpl</string>
   </array>

Useful Packages

  1. Package Control: http://wbond.net/sublime_packages/package_control
  2. SFTP: http://wbond.net/sublime_packages/sftp
  3. Alignment: http://wbond.net/sublime_packages/alignment
  4. Pretty JSON: https://sublime.wbond.net/packages/Pretty%20JSON
  5. JS Lint: https://sublime.wbond.net/packages/sublime-jslint
  6. FileDiffs: https://sublime.wbond.net/packages/FileDiffs

Syntax Highlighters and Code Snippets

  1. NodeJS: https://github.com/tanepiper/SublimeText-Nodejs
  2. Less: https://github.com/danro/LESS-sublime
  3. Sass: https://github.com/n00ge/sublime-text-haml-sass
  4. Jade: https://github.com/miksago/jade-tmbundle
  5. Stylus: https://github.com/billymoon/Stylus

Links

  1. Reasons for Sublime Text: http://bit.ly/v35Z6I
  2. Coding with Sublime Text: http://bit.ly/vPpUn7
  3. Sublime tips and tricks: http://bit.ly/tos5am
Something went wrong with that request. Please try again.