Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SublimeText2 raegquit

SublimeText2 raegquit

Talk from UofU raegquit 2013

Jeff Sandberg

March 25, 2013
Tweet

Other Decks in Programming

Transcript

  1. Why not VIM/Emacs? • Why Vim/Emacs? • Computers have mice

    • Computers have GUIs • Try something different
  2. Why not VIM/Emacs? • Why Vim/Emacs? • Computers have mice

    • Computers have GUIs • Try something different • Keep what you know!
  3. Getting Started • Download SublimeText 2 at http://www.sublimetext.com/2 • “Free”

    • $70 • Install package manager • Access via Command Palette
  4. Goto Palette • Accessed via ⌘P • Quickly navigate project

    files • Open files first • Auto-complete • Symbol, line, and fuzzy search available
  5. Goto Palette • @ for symbol search • # for

    fuzzy search • : to go to line number
  6. Other built-in features • Powerful find-and-replace • regular expressions with

    feedback • Projects allow you to save your workstate
  7. Other built-in features • Powerful find-and-replace • regular expressions with

    feedback • Projects allow you to save your workstate • Multiple columns
  8. Other built-in features • Powerful find-and-replace • regular expressions with

    feedback • Projects allow you to save your workstate • Multiple columns • Minimap
  9. Packages • Allow you to augment the functions of ST2

    • Turn it from a good editor to an insane editor
  10. Packages • Allow you to augment the functions of ST2

    • Turn it from a good editor to an insane editor • Generally free and open-source
  11. Packages • Allow you to augment the functions of ST2

    • Turn it from a good editor to an insane editor • Generally free and open-source • Package control and Central Repo
  12. Get a new look • Default ST2 is kind of

    ugly • Easy to change! • Use package control to find a new theme • Search for “theme” • I recommend SodaStyle Dark • Color schemes too • Ships with a few out of the box • Uses TextMate schemes • My custom fork of TomorrowNight: http://goo.gl/EiDtQ
  13. 10 super-useful packages 1. Mark-and-move 2. Sublime CodeIntel 3. SublimeLinter

    4. Alignment 5. Sidebar Enhancements 6. Git, GitGutter, GitSidebar, and Gist 7. Origami 8. Bracket Highlighter 9. AdvancedNewFile 10. QuickFileMove
  14. • Greatly aids in the usage of ST2 multi- select

    • Move through the document, leaving behind cursors, then use multi-select to use every selection Mark-and-Move
  15. SublimeCodeIntel • Greatly enhances auto-complete • Saves a ton of

    time • Adds symbols and descriptions to auto- complete
  16. SublimeLinter • Highlight linter warnings • Clean up your code

    • Watch out for errors • Works with minimap!
  17. Sidebar Enhancements • Adds tons of commands to the right-click

    menu of sidebar • File moving, renaming, deleting, etc
  18. Git, GitGutter, GitSidebar, Gist • All git related plugins. •

    Fully integrate git into your workflow • Save time by not having to jump to command-line every single change
  19. Git • Adds git commands to palette • Commit, view

    logs, push, pull, branch, and more
  20. Git • Adds git commands to palette • Commit, view

    logs, push, pull, branch, and more • Git syntax styles
  21. GitGutter • Show line-by-line status in the gutter • View

    new, deleted, or modified lines inline
  22. GitGutter • Show line-by-line status in the gutter • View

    new, deleted, or modified lines inline • No need to use annotation then!
  23. GitSidebar and Gist • GitSidebar adds git commands to the

    sidebar • Gist lets you create, edit, update, delete, and manage gists
  24. Origami • Better pane management • Split windows into any

    configuration imaginable • Quickly merge panes
  25. Origami • Better pane management • Split windows into any

    configuration imaginable • Quickly merge panes • Horizontal, Vertical, and Mixed
  26. Bracket Highligher • Augments the built in bracket highlighting •

    Lets you customize which brackets are highlighted
  27. Bracket Highligher • Augments the built in bracket highlighting •

    Lets you customize which brackets are highlighted • Customize style of highlights
  28. QuickFileMove • The counterpart to AdvancedFileCreation • Lets you quickly

    move or rename a file • Analogous to the “mv” command, but in- editor!