Mastering Sublime Text

Mastering Sublime Text
eBook: $17.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 44%!
Print + free eBook + free PacktLib access to the book: $47.98    Print cover: $29.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Discover efficient, keyboard-driven text editing
  • Recognize the latest build of Sublime Text 3
  • Full of illustrations and diagrams, with clear, step-by-step instructions and practical examples that will help you in building cross-platform applications using Sublime Text

Book Details

Language : English
Paperback : 110 pages [ 235mm x 191mm ]
Release Date : December 2013
ISBN : 1849698422
ISBN 13 : 9781849698429
Author(s) : Dan Peleg
Topics and Technologies : All Books, Application Development, Other

Table of Contents

Chapter 1: Installing Sublime Text
Chapter 2: Code Editing
Chapter 3: Snippets, Macros, and Key Bindings
Chapter 4: Customization and Theme Development
Chapter 5: Unravelling Vintage Mode
Chapter 6: Testing Using Sublime
Chapter 7: Debugging Using Sublime
Chapter 8: Developing Your Own Plugin
  • Chapter 1: Installing Sublime Text
    • Preparing for Sublime Text Installation
    • Installing Sublime Text on OS X
      • Working with Sublime CLI
    • Installing Sublime Text on Windows 32/64 bit
      • Adding Sublime to the environment
    • Installing Sublime Text on Linux
      • Installing Sublime Text on Ubuntu 32/64 bit
      • Setting Sublime Text as the default editor
      • Installing Sublime Text on other Linux distributions
        • Adding a desktop file
    • Getting to know the Data and Packages directories
      • The Data directory
        • The Packages directory
      • Delving into packages, plugins, snippets, and macros
    • Running Sublime for the first time
      • Simple navigation
      • Sublime's command palette
      • The Python console
    • Installing the Package Control ASAP
    • Summary
  • Chapter 2: Code Editing
    • Discovering Search and Replace
      • Regular Expressions
      • Search and Replace – a single file
        • The incremental search
      • Search and Replace – multiple files
    • Mastering Column and Multiple Selection
      • Column Selection
    • Navigating through everything
      • Go To Anything
      • Symbol search
      • Projects
        • Folders
        • Settings
        • Build systems
        • Navigating between projects
    • Using the must-have SublimeCodeIntel
      • Installing SublimeCodeIntel
      • Using SublimeCodeIntel
      • Configuring SublimeCodeIntel
    • Linting with SublimeLinter
      • Installing SublimeLinter
      • Using SublimeLinter
      • Configuring SublimeLinter
    • The must-know shortcuts map
      • General
      • Tabs
      • Bookmarks
      • Editing
    • Summary
  • Chapter 3: Snippets, Macros, and Key Bindings
    • Getting to know a snippet
    • Understanding your first snippet
      • How do snippets work?
        • File format and syntax
        • Knowing about snippets' features
      • Creating our first snippet
    • Using Package Control snippets
    • Recording, editing, and using macros
      • Recording a macro
      • Playing a macro
      • Saving and editing
      • Binding a saved macro
    • New key bindings
    • Summary
  • Chapter 4: Customization and Theme Development
    • Overriding and maintaining key bindings
      • Platform-specific key bindings
      • Key map file structure
        • Bindable keys
        • Advanced key bindings
      • Keeping our key bindings organized
    • Understanding Sublime's base settings
      • The types of settings' files
      • Customization walkthrough
        • Adding packages
        • Tabs and spaces
    • Beautifying Sublime with colors and themes
      • Visual settings
      • Sublime themes
      • Color schemes
    • Mastering Split Windows
    • Summary
  • Chapter 5: Unravelling Vintage Mode
    • Understanding Vintage Mode
      • Discovering vi
    • Setting up Vintage Mode
    • Experiencing Vintage Mode features
      • Vintage editing modes
      • Vintage Mode commands
        • Commands for changing modes
        • Movement commands
        • Editing commands
    • Knowing about Vintageous
    • Summary
  • Chapter 6: Testing Using Sublime
    • Introduction to testing in Sublime Text
    • Testing in PHP development
      • Knowing about PHPUnit
      • Using PHPUnit plugin for Sublime
        • Helpful PHPUnit snippets
    • Testing in Python development
      • Using unittest for Sublime
    • Testing in Ruby development
      • Using RubyTest for Sublime
        • Supporting bundler
    • Summary
  • Chapter 7: Debugging Using Sublime
    • Introduction to debugging in Sublime Text
    • Debugging PHP with Xdebug
      • Using Xdebug for Sublime
    • Debugging JavaScript with Web Inspector
      • Installing Sublime Web Inspector
      • Using Sublime Web Inspector (SWI)
    • Debugging C/C++ with GDB
      • Using SublimeGDB
    • Summary

Dan Peleg

Dan Peleg is an accomplished software engineer. As a former developer in the Israeli Intelligence Force, he holds extensive experience in both defense and robotic industries, and has previously lectured at DefCon conventions. Dan has developed unique algorithms for robotic platforms, specializes in a variety of software platforms, and currently works as the CTO for an American startup company.

Sorry, we don't have any reviews for this title yet.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Mastering Sublime Text +    Learning Joomla! 3 Extension Development-Third Edition =
50% Off
the second eBook
Price for both: £22.80

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Understand the concepts of advanced search and replace techniques
  • Exercise the use of Code Intelligence in Sublime
  • Apply and control live Linting in Sublime
  • Discover overriding and maintaining key shortcuts
  • Learn to test and debug PHP, JavaScript, Python, and Ruby code using Sublime
  • Develop plugins and publish them

In Detail

Sublime is the leading platform for developing websites, applications, and software. Sublime Text is a sophisticated, cross-platform text and source code editor. It supports a number of different programming languages and is extremely efficient and feature rich. With Sublime Text, programmers can develop their web applications faster and with more efficiency.

This book will put you at the frontier of modern software development. It will teach you how to leverage Sublime for anything from mobile games to missile protection. Above all, this book will help you harness the power of other Sublime users and always stay on top.

This book will show you how to get started, from basic installation through lightning fast code navigation and up to the development of your own plugins. It takes you from the early stages of navigating through the platform and moves on by teaching you how to fully customize your platform, test, debug, and eventually create and share your own plugins to help and lead this community forward.

The book will then teach you how to efficiently edit text, primarily by using the keyboard. You will learn how to interact with the Sublime Text community using the mailing lists and IRC.


Mastering Sublime Text is an easy-to-understand, step-by-step guide for learning all of the features of Sublime Text, including author tips and tricks. Every topic includes code examples and highlighted screenshots to make it easier to understand.

Who this book is for

This book is for developers with experience in any type of programming language, and for those who want to start using Sublime Text or perfect their existing skills. No knowledge of Sublime Text or any other code editor or IDE is expected.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software