Sublime Text 2 Shortcuts – Stop using your mouse!



Sublime Text 2 Shortcuts – Stop using your mouse!

0 0


sb2


On Github ScottDalessandro / sb2

Sublime Text 2 Shortcuts

Stop using your mouse!

Created by Scott / @ScottDalessandro

Easy Must Use Shortuts

CMD + /

Comment a Line

Comment a Single Line (no need to highlight)

CMD + OPTION + /

Block Comment

CMD + SHIFT + T

Reopen Closed Tab

CMD + D

Select a Word

Highlight a word and select the next occurence.

CMD + CTRL + G

Select All Occurences

Start using this to get rid of the (ix) in your test cases for Exercism.

CMD + L

Select Current Line

CMD + CTRL + UP/DOWN

Move Current Line Up/Down

CMD + K, CMD + B

Toggle Side Bar

This keybind is a sequence, do CMD + K, then do CMD + B. I changed this keybind to CTRL + S

CMD + OPTION + 2

Split Screen (2 Windows)

This is great for Testing

CTRL + SHIFT + 2

Move Current Window to Second Window

Takes your current file and moves it to the windown next to it.

CTRL + SHIFT + P

Command Pallette

This is your best friend

CMD + SHIFT + P

Command Palette

This is your best friend

CMD + P

Find a File

When you work with more files/folders this will be very handy to locate specific files

CMD + I

Find and Go

Find a word and go right to it on enter "works differently than CMD + F"

Package Control

Allows you to install Plugins

There are some great plugins, check out Wbond.net

Installation Link (For SublimeText2)

Installing a Package

CMD + SHIFT + P

In your command palette, type install then search for your package

Sublime Linter

Shows syntax errors in your javascript

Sublime Linter

Side Bar Enhancements

Adds additional features when you write click your sidebar

Side Bar Enhancements

Emmet

Provides ways to quickly produce html boilerplate code, I don't use many of the features and power of Emmet but I wish I did!

Good Tutorial

Snippet Packages

Find snippets for libraries you use.

Live Reload

Make sure to install the live reload plugin for Chrome and enable the button Allow access

Live Reload Chrome Plugin Link

Bracket Highlighter

When you click or highlight a bracket it will show you where the closing bracket is near the line number field

Bracket Highlighter

Apply Syntax

Displays syntax errors.

Apply Syntax

Alfred

Replaces Spotlight Finder on Mac. Allows you to do things such as search google, dash, and more!

Alfred

Flycut

Shortcut: SHIFT + CMD + V

Saves your past 'Copies' in a clipboard

Flycut

Dash

Dash supplies offline doucmentation

Dash - Documentation