In this video Alan and Miquel get you started with their personal favourite code editor, SublimeText! sublimetext.com/2

Grab a coffee and sit down with us as we go through some of its great features. :)

--------------

NOTES:

Package Control can be installed from here:
wbond.net/sublime_packages/package_control/installation

To install a Sublime "package" with PackageControl:
1. Ctrl+Shift+P
2. Start typing "pack inst", and from the list choose "Package Control: Install Package".
3. Wait a moment and it will list non-installed packages. Select the one you want, press Enter and wait a few seconds. (Press Esc or click away to cancel.)

-------------------------------------------------------------------------

Alan's favorite packages in alphabetic order:
[links provided to read more but you should install them from PackageControl.]

- ALIGNMENT:
wbond.net/sublime_packages/alignment
Aligns your text so your multi-cursors form a straight line. Good if you have alignment OCD.

- BRACKETHIGHLIGHTER:
github.com/facelessuser/BracketHighlighter
Highlights brackets while you're typing between them. Super useful!

- CHANGEQUOTES:
github.com/colinta/SublimeChangeQuotes
Easy, quick way to change single quotes to double quotes and vice-versa.

- CODE FOO:
github.com/markandey/codefoo
Type a question, highlight it, Ctrl+Alt+R and it will search Stackoverflow,
take the first match, find the best rated response's code snippet and paste that back
into where you typed the question. Pure magic!! :p

- FILEDIFFS:
github.com/colinta/SublimeFileDiffs
Fantastic diff'ing tools, all accessible from the rightclick menu and command panel. (Ctrl+Shift+P)

- FILESYSTEM AUTOCOMPLETION:
github.com/lingo/sublime-fscompletion
If you're typing text to a real path and press Tab, it will autocomplete it. Handy sometimes.

- GIT:
github.com/kemayo/sublime-text-2-git/wiki
There are many git packages; this one works for me. You may need to install Git beforehand.

- GITGUTTER:
github.com/jisaacks/GitGutter
Shows markers to show changes against the git HEAD state, in realtime! Best invention since sliced bread. I love this thing.

- INDENT XML:
github.com/alek-sys/sublimetext_indentxml
Indents XML nicely, so us humans can read it better.

- PRETTY JSON:
github.com/dzhibas/SublimePrettyJson
Indents JSON nicely. Accessible from command panel. (Ctrl+Shift+P)

- SNAKE:
github.com/jf8073/sublime-snake
Teach your code a lesson by playing a round of Snake all over it. (Don't worry, your actual code won't be ruined.)

- SUBLIME-TWEET:
github.com/rozboris/Sublime-Tweet
Twitter from Sublime.

- SUBLIMELINTER:
github.com/SublimeLinter/SublimeLinter
Nice self-contained "linter", to point out syntactic errors and style suggestions next to the line numbers.

- SUPER CALCULATOR:
github.com/Pephers/Super-Calculator
Type some math in your code and type Alt+c to select it and again to calculate it.

- TRAILINGSPACES:
github.com/SublimeText/TrailingSpaces
Highlights and can also delete trailing empty space.

-------------------------------------------------------------------------

*** USEFUL HOTKEYS:

Ctrl + ` = open Sublime's own Python console
Ctrl + Shift + P = command panel
Ctrl + G = go to line
Ctrl + R = go to function
Ctrl + P = go to anything

Ctrl + L = select line
Ctrl + Shift + L = expand the selected lines to multiple cursors
Ctrl + Shift + D = duplicate line(s)
Ctrl + / = comment line(s)
Ctrl + D = select next substring
Ctrl + Shift + J = select by indentation level

Ctrl + up/down arrow = scroll line up/down
Ctrl + K followed by Ctrl + C = center at cursor
Ctrl + [ or ] = move tab level in/out

Ctrl + J = join lines
Ctrl + K followed by Ctrl + U or L = upper/lower-case selected text
Ctrl + K twice = delete from cursor until end of line

F9 = sort selected lines
F6 = spell check ON/OFF
F11 = fullscreen
Shift + F11 = fullscreen "zen" mode

Alt + numbers(1, 2, 3...) = change to specific tab
Ctrl + pgUp/Down = go to next/previous tab

-------------------------------------------------------------------------
-------------------------------------------------------------------------

Got any comments or Sublime tips? Let us know! :)

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…