Book Image

Mastering Sublime Text

By : Dan Peleg
Book Image

Mastering Sublime Text

By: Dan Peleg

Overview of this book

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.
Table of Contents (15 chapters)
Mastering Sublime Text
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding Vintage Mode


Vintage Mode is a package that gives Sublime the editing features of vi. It allows us to use vi's commands while also having the advantage of Sublime's features, such as multiple selections that we learned before. Vintage Mode is an open source project and can be found at http://github.com/sublimehq/Vintage.

Discovering vi

vi is a an old but still very popular text editor. vi was originally created for Unix operating systems. The original vi was written in 1976 as an open source project. Surprisingly, it's still being used today because of its speed, small size, and portability. It is a popular command line editor (for example, in server environments) because it does not require a mouse.

Many different vi ports have been developed since its original release. One of the most popular of them is vim (vi improved), which supports customization like Sublime does, with macros, plugins, and key mappings.

The following is a screenshot of a spilt-windowed vi screen, which is...