Archive for the ‘SublimeText’ Category

Getting Started With Sublime Text 2

Tuesday, December 24th, 2013

Download and Install

Install Package Control

Installing Package Control is probably the first thing to do. Then just do Command + Shift + P then type “install” + enter and type the package you want to install.

Note: below, when we say “install _plugin_name_” it means type “Command + Shift + P” for the command palette, then “‘install’ + Enter” to start the Package Control menu and then type type the _plugin_name_ and enter

Install AdvancedNewFile

Super quick way to create new files with folder structure

Install Netstus Fetch

Easily fetch common files and folder/file packages.

Install SideBarEnhancement

Nice sidebar additional contextual menu

Open With Sublime from Command Line

sudo ln -s "/Applications/Sublime Text" /bin/subl

Then, from terminal:

# Open file
$ subl somefile.css
# Open current folder:
$ subl ./
# Open and add folder to current window
$ subl -a ./


Git commit with sublime text 2

git config --global core.editor "subl -n -w"

Install SyncSideBar

Always from the “Package Control,” install SyncSideBar which will keep your selected tab in sync with your sideBar.

You can also disable the auto sync by typing “Command + Shift + P” and type something like “SideBar Disable Syncing” and then, you can still sync by must typing in the palette “Reveal File” for “SideBar: Reveal File” so that you can just show in the side bar when you need it.

Install Git

Nice Git Plugins

Install Emmet (ex-Zen coding) for ultra-fast HTML coding

emmet is probably the defacto standard for ultra-fast HTML coding. See Intro to emmet

Install Prefixr

Allows to add the appropriate “-webkit…” to generic css rules.

Usage: Select a full CSS rule, and type Control + Command + x

Open Sublime Text 2 from Finder

Download the “open in”, unzip, copy it in Application, and drag and drop it to the folder tool bar (tip: On the latest OSX 10.9 (Maverick) press “Command + Option” before dragging to the “open in” in the folder

Useful Links