[ sublime ] 101

Open subl in terminal

Need to link it first

ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

Sidebar

View > Side bar > show side bar

Short key

Ctrl+/ : toggle comment

Alt+/ : auto complete

Alt+- : Go to > jump back

Alt+Shift+- : Go to > jump forward

Cmd + P : Go to > Go to Anything ( find resources )

EJS Syntax highlight

EJS highlight : https://github.com/subhaze/EJS.tmLanguage

copy to ~/.config/sublime-text-3/Packages/EJS

or install EJS package

on the bottom right > open all with current extension as .. > EJS

Open in New Tab

1 click -> Preview Feature

double click -> open file

Exclude folder from search

/Users/Username/Repositories/myapp/app,-*/assets/*

ref : http://stackoverflow.com/questions/9536280/sublime-text-2-files-not-opening-a-new-tab

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s