Pimpin Your Sublime Text – Tips, tricks and awesomeness – Shortcuts



Pimpin Your Sublime Text – Tips, tricks and awesomeness – Shortcuts

0 0


sublime-text-talk

Discover the awesomeness that is Sublime Text Editor

On Github nroviw / sublime-text-talk

Pimpin Your Sublime Text

Tips, tricks and awesomeness

Created by Will / @wchowat

Let's Get started

Don't have Sublime Text 3?

Download here:

http://www.sublimetext.com/3

Agenda

  • Shortcuts
  • Packages
  • User Settings
  • Theme
  • Other Features

Shortcuts

⌘ ⇧ ⌥ ⌃

Navigation (Global)

  • Goto Anything

    ⌘ + P

  • Goto Line (:)

    Ctrl + G

  • Goto Symbol (@)

    ⌘ + R

  • Search within file (#)

Navigation (Local)

  • Start/End of Line

    ⌘ + ← / →

  • Start/End of File

    ⌘ + ↑ / ↓

  • Opening / Close Tag

    Ctrl + Shift + T

Comment

⌘ + /

⌘ + ⇧ + /

Indent

⌘ + [

⌘ + ]

Paste with indent

⌘ + ⇧ + V

Selection

  • Select Line

    ⌘ + L

  • Move Line

    ⌘ + Ctrl + ▲

    ⌘ + Ctrl + ▼

Selection

  • Select to Bracket

    Ctrl + ⇧ + M

  • Select to Tag

    ⌘ + ⇧ + A

  • Select to Block

    ⌘ + ⇧ + J

Selection

  • Multi Select

    ⌘ + D

    ⌘ + Ctrl + G

    ⌘ + ⇧ + L

    ⌘ + click

Workflow

  • Switch Tab

    ⌘ + (num)

  • Toggle Sidebar

    ⌘ + K + B

  • Distraction Free

    ⌘ + Ctrl + ⇧ + F

Panel

  • Create

    ⌘ + Opt + (num)

  • Switch

    Ctrl + (num)

  • Move file into panel

    Ctrl + ⇧ + (num)

User Settings

⌘ + ,

Font Options

"font_face" : "source_code_pro"

"font_size" : "15"

"font_options" : "subpixel_antialias"

Visual Indicators

"highlight_line" : true

"bold_folder_labels" : true

"highlight_modified_tabs" : true

Whitespace

"trim_trailing_white_space_on_save" : true

"translate_tabs_to_spaces" : true

"tab_size" : 2

Other

"save_on_focus_lost" : true

Command Palette

⌘ + ⇧ + P

Package Install

https://sublime.wbond.net/

import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

Utility

  • Git
  • Sidebar Enhancements

Visual Indicators

  • Bracket Highlighter
  • Gitgutter
  • Color Highlighter
  • Syntax highlighting (LESS, Sass, CSS3 etc.)

Workflow

  • Emmet
  • Autofilename
  • Docblockr
  • HTML-CSS-JS Prettify
  • Prefixr
  • SublimeLinter

Themes

Color Schemes

  • Tomorrow Color

  • Base 16

Themes

  • Spacegray

Themes

  • Soda

Themes

  • Predawn

Custom Theme

  • theme.sublime-theme
  • theme assets
  • custom icon
  • ~/Library/Application Support/Sublime Text 3/Packages

Other Great Features

  • Project

    ⌘ + Ctrl + P

  • Bookmark

    ⌘ + fn + F2

    fn + F2

  • Snippet

Awesome Links

LA FIN

BY Will C.