Sublime Productivity cover page
Sublime Productivity

Sublime Productivity

Code Like a Pro with Today's Premier Text Editor


You fell in love with Sublime, and it changed the way you code. But the newness is wearing off, and you're wondering: "What else am I missing?"
Sublime Productivity Edit
This book is 62% complete

Updated

About the Book

Remember that time you had to build a whole page of HTML links from a .csv file, and you wound up copying and pasting the opening and closing anchor tags 300 times?

Or when you transferred that list of names into an Excel spreadsheet just to sort it alphabetically?

Isn’t it a pain to hit Delete three dozen times just because you decided that you want to join the line you’re editing with the line below it?

You already have a powerful ally in the fight against tedium: your text editor. And Sublime Text is a heavyweight—just the partner you want to have in your corner.

But all that power doesn’t do you any good if you don’t know it’s there. If you haven’t taken the time to learn Sublime’s advanced features, you’re wasting time every day.

Sublime Productivity is packed with tips and tricks that turn painful editing chores into trivial tasks. You’ll smile inside every time you fire off a keyboard shortcut instead of groping for the mouse, or use a couple of quick commands to shave off dozens of clumsy keystrokes.

Proficiency with your text editor won’t make you a rock star programmer. But Sublime Productivity will help you learn to quickly complete those boring-but-necessary tasks and get back to doing what you do best: solving problems.

What’s included?

Sublime Productivity includes more than 100 pages of examples, walkthroughs and keyboard mappings, including in-depth coverage of:

  • Common editing tasks like sorting items, joining lines, transposing words and commenting code
  • Precision selection with Sublime’s multi-select and quick add and quick skip features
  • Navigating among project files and jumping around in the current file
  • Organizing your work into projects

What version of Sublime does this book cover?

The final version of this book will target Sublime Text 3. Although I started writing the book before the ST3 beta went public, I've already added sections that cover most of the important changes in Sublime Text 3, and I'm in the process of incorporating the less significant changes into what I've already written.

What's planned for future versions?

There are a ton of Sublime features that I haven’t covered yet. Among the topics I’m planning to include in the near future:

  • Introduction to vintage mode
  • Extending Sublime with the best plugins
  • Integrating Sublime into your version control workflow
  • Writing plugins
  • Configuring Sublime for an optimal experience while coding

Wait, the book's not done?

Sublime Productivity is a work in progress. There’s a lot to cover, and the Sublime Text team is constantly adding features. Rather than waiting until I have the entire book “done,” I decided to release it in a partially complete state, then publish regular updates until the book is finished.

For you, as a reader, this means a lower price if you’re willing to overlook the occasional formatting glitch or misspelling. Once you buy the book, you’re entitled to receive all future updates for free.

You also have an opportunity to influence the direction this book takes. Did I miss a great feature that you think other readers should know about? Is my organization of the book completely whacked? Is there a topic you’d like to see addressed next? Send me an email at josh@sublimeproductivity.com, or let me know on Twitter or in the comments on this page. I’m eager to incorporate reader feedback into future revisions.

Read More

Table of Contents

    • Contact Me
    • Free Weekly Productivity Tips
    • About this Book
      • Which version of Sublime Text does this book cover?
        • The short answer
        • That awkward phase
      • Conventions
        • Why are you telling me to click stuff in menus?
        • Hey, where are the keyboard shortcuts?
        • Formatting notes
    • Did you get this book for “free”?
  • I Editor Features
    • 1. Side Bar
      • Toggling the Side Bar
      • Previewing Files
      • Opening Folders
      • Toggling the Open Files Section
      • Menus
    • 2. Command Palette
      • Keyboard Shortcuts
    • 3. Minimap
    • 4. Sessions
      • Viewing the Session File
      • Tweaking Session Preferences
        • Disabling Hot Exit
        • Disabling Remember Open Files
    • 5. Projects
      • How Projects Work
      • Creating Projects
      • Adding Folders
      • Opening Projects
      • Multiple workspaces per project
      • Navigating in Projects
      • Editing Project Files
      • Project-Specific Settings
        • Including folders
        • Excluding files and folders
        • Overriding settings
      • Project File Example
    • 6. Tabs
      • Opening Tabs
      • Closing Tabs
      • Tearing Tabs Off
      • Reopening Closed Tabs
      • Switching Tabs
    • 7. Panes
      • Layouts vs. groups
        • Layouts
        • Groups
      • Managing layouts
      • Managing groups
        • Creating groups
        • Arranging groups
        • Closing groups
      • Rearranging tabs
        • Move to Next Group
        • Move to Previous Group
        • Move to numbered group
      • Navigating between panes
        • Focus Previous Group / Focus Next Group
        • Focus Numbered Group
        • Panes: Separate or not?
      • Moving files between panes
      • Resizing panes
      • Saving and restoring multi-pane configurations
      • Split View of a Single File
  • II Using the Editor
    • 8. Editing Text
      • Paste and Indent
      • Paste from History
      • Indent, Unindent, Reindent
      • Insert Line Before/Insert Line After
      • Delete to End/Delete to Beginning
      • Delete Word Forward/Delete Word Backward
      • Soft Undo/Soft Redo
      • Transposing Letters and Words
      • Changing Capitalization
      • Joining Lines
      • Swapping Lines
      • Deleting Lines
      • Duplicating Lines
      • Wrapping Paragraphs
      • Commenting and Uncommenting
      • Sorting and Reordering Lines
      • Sorting and Reordering Selected Items
    • 9. Selecting Text
      • Multi-Select
      • Split Selection into Lines
      • Quick Add Next
      • Quick Skip Next
      • Column Selection
      • Invert Selection
        • Cleaning up CSV data
        • Filter unwanted lines
        • Strip HTML tags
      • Scoped Selection
        • Words
        • Lines
        • Paragraphs
        • Brackets
        • Indentation Levels
        • Tags
        • Expand to Scope
    • 10. Navigation
      • Goto
        • Goto Anything
        • Goto Definition
        • When does indexing run?
        • What’s include in the index?
        • Limitations
        • Goto Line
        • Goto Symbol
        • Goto Symbol in Project
          • What symbols are included?
          • Limitations
        • Combining Goto commands
      • Jump Forward, Jump Back
        • Limitations
      • Scrolling
      • Code Folding
        • Fold
        • Fold Level
        • Fold All
        • Fold Tag Attributes
        • Unfold
        • Unfold All
      • Bookmarks
      • Reveal in Side Bar
      • Open Containing Folder
    • 11. Find and Replace
      • What are modes and settings?
      • Modes
        • Find, Find Next, Find Previous, Find All
          • Shortcuts
        • Incremental Find
        • Replace
          • Preserve Case
          • Shortcuts
        • Quick Find
        • Find in Files
      • Regular Expressions
        • Enabling Regular Expressions
        • Using Regular Expressions
      • Special Scenarios
        • Line Breaks
          • Shortcuts
    • 12. Autocomplete
      • Basic Usage
      • Suggestions List
      • Disabling Auto Complete
      • Wrap Selection with Tag
      • Close Tag
          • Shortcuts
    • 13. Vintage mode
  • III Automation
    • 14. Snippets
      • Inserting Snippets
      • Viewing Available Snippets
      • Wrapping Existing Text
      • Creating Custom Snippets
        • File Format
          • Scope
          • Content
          • Fields
          • Placeholders
          • Environment Variables
        • Implementing the Custom Snippet
        • Installing Snippets
    • 15. Macros
      • What are macros?
      • What are they good for?
      • Creating macros
        • Recording macros
        • Saving
        • Playback
        • Editing
        • Creating keyboard shortcuts for macros
      • Limitations
        • No find and replace support
        • One tab, one macro buffer
        • Some commands are ignored
  • IV Customizing the Editor
    • 16. Command Palette Tweaks
      • Configuration Files
      • Adding Commands
    • 17. Menu Enhancements
      • Configuration Files
      • Customizing the Context Menu
    • 18. Key Bindings
      • Configuration files
      • Creating custom key bindings
      • Context-specific key bindings
    • 19. Managing Plugins
      • Package Control
      • Installing Packages
      • View Installed Packages
      • Disabling Packages
      • Troubleshooting Packages
    • 20. Writing Plugins
      • What is a plugin?
      • The Command Logger plugin
      • Creating a new plugin
      • Installing the plugin
      • Testing the example plugin
      • Implementing CommandLogger
      • Integrating with the command palette
      • Learning more
  • V Recipes
    • 21. Essential Plugins
      • Extend Menus for the Sidebar
      • File Creation
      • HTML Generation
      • Blogging
    • 22. Cross-Platform Syncing of Settings and Plugins
    • 23. PHP
      • Setting up a New Project
        • Fetch Installs Libraries for You
        • Installing Fetch
        • Configuring Fetch
        • Using Fetch
      • Code Checking
        • Setup
        • Linting
          • Configuration
          • Basic Commands
          • Usage
        • Code Sniffing
          • Configuration
          • Usage
      • Documenting Your Code
        • Setup
        • Usage
        • Building Documentation
      • Getting Help
        • Goto Documentation
        • Stack Overflow
    • 24. SASS and SCSS
      • Preliminaries
      • Syntax Highlighting
      • Compiling
        • Changing the Output Directory
        • Preventing Compiled Output from Appearing in Project
        • Automating Compilation
    • Keyboard Shortcuts
      • Windows
        • Side Bar
      • OS X
        • Side Bar
      • Linux
        • Side Bar

Read More

About the Author

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks. We process the refunds manually, so they may take a few days to show up.
See full terms