You are previewing TextMate How-To.
O'Reilly logo
TextMate How-To

Book Description

Over 20 fast and furious time-saving recipes for using TextMate efficiently and effectively

  • Hit the ground running using the powerfully versatile text and code editor — TextMate from Macromates

  • Attention on keyboard shortcuts and multiple routes to actions to satisfy anyone’s preferred coding style

  • Installing and use several extremely helpful bundles such as Todo, Zen Coding, Markdown, and more

  • Extensive coverage on navigating and searching one or many files, in and out of projects

  • Learn skills on utilizing the shell command-line and macros to boost your productivity

  • In Detail

    Not all text editors are created equal. TextMate was created with versatility and power to the developer. Whether you want to organize your files in projects, utilize the efficiency of code completion, take advantage of the thousands of publicly available bundles, or gain insight using powerful regular expression searching, TextMate is an essential and easy-to-use tool you need in your development arsenal.

    "TextMate How-to" is a practical guide filled with conventional recipes on using one of the most popular text editors on the OS X platform. It is a great resource for anyone who wants to learn how to code more efficiently and effectively, no matter what programming or scripting language you use.

    This book will guide the reader through using TextMate for practical purposes. It will start with configuring the application, then cover navigation and editing of files, and finish with bundles and advanced features. Throughout the book, the reader will quickly master the key features of the application through easy to follow tasks.

    Using this book, the reader will learn the most common text editing and coding tasks including navigation through the document and searching of text. The reader will then learn about working with and navigating between files and projects as well as utilizing bundles to greatly speed up development. Finally, explore the ability to use shell commands and macros to increase productivity.

    With just a few hours, "TextMate How-to" will teach the reader everything necessary to hit the ground running with this powerful text editor.

    Table of Contents

    1. TextMate How-To
      1. TextMate How-To
      2. Credits
      3. About the Author
      4. About the Reviewers
      5. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      6. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      7. 1. TextMate How-To
        1. Configuring TextMate (Must know)
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Enhanced Terminal Usage
            2. Keyboard shortcuts
        2. Installing themes (Must know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Solarized theme
            2. More themes!
        3. Quickly navigating to text (Must know)
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Cursor movement
            2. Scrolling the document without moving the cursor
        4. Converting text (Must know)
          1. How to do it...
          2. How it works...
        5. Moving and aligning text (Should know)
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Moving text with the mouse/track pad
            2. Tip for moving entire lines of text
        6. Manipulating multiple lines and columns of text (Should know)
          1. Getting ready
          2. How to do it...
          3. How it works...
        7. Finding and replacing text (Must know)
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Find and Replace history
            2. Expanded Find and Replace
        8. Folding (Should know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Language keyboard shortcuts
        9. Bookmarking (Should know)
          1. How to do it...
          2. How it works...
        10. Creating projects (Must know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Excluding files
        11. Utilizing tabs (Must know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Moving tabs
            2. Closing tabs
            3. Showing other open tabs
        12. Traversing files (Should know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Show/Hide Project Drawer
            2. Treating files as binary
        13. Finding text in a project (Must know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Hiding find occurrences
            2. Tips to speed up searching
        14. Installing bundles with GetBundles (Must know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Installing bundles via Github or SVN
        15. Learning and loving bundles (Must know)
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Exploring bundles
        16. Making a TODO list (Should know)
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Setting other preferences
            2. Tasks bundle
            3. More information on official TextMate bundles
        17. Becoming a Zen Coding master (Should know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. More information about Zen Coding
            2. Zen CSS
        18. Blogging more efficiently (Should know)
          1. Getting ready
          2. How to do it...
          3. How it works...
        19. Markdown and Textile (Should know)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more…
            1. Which should I use?
        20. Using macros (Should know)
          1. How to do it...
          2. How it works...
            1. Temporary macros
          3. There's more...
            1. Editing macros
        21. Executing shell commands (Become an expert)
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Executing lines and inserting results
            2. More on environment variables