0%

Book Description

Your mouse is slowing you down. The time you spend context switching between your editor and your consoles eats away at your productivity. Take control of your environment with tmux, a terminal multiplexer that you can tailor to your workflow. With this updated second edition for tmux 2.3, you'll customize, script, and leverage tmux's unique abilities to craft a productive terminal environment that lets you keep your fingers on your keyboard's home row.

You have a database console, web server, test runner, and text editor running at the same time, but switching between them and trying to find what you need takes up valuable time and breaks your concentration. By using tmux 2.3, you can improve your productivity and regain your focus. This book will show you how.

This second edition includes many features requested by readers, including how to integrate plugins into your workflow, how to integrate tmux with Vim for seamless navigation - oh, and how to use tmux on Windows 10.

Use tmux to manage multiple terminal sessions in a single window using only your keyboard. Manage and run programs side by side in panes, and create the perfect development environment with custom scripts so that when you're ready to work, your programs are waiting for you. Manipulate text with tmux's copy and paste buffers, so you can move text around freely between applications. Discover how easy it is to use tmux to collaborate remotely with others, and explore more advanced usage as you manage multiple tmux sessions, add custom scripts into the tmux status line, and integrate tmux with your system.

Whether you're an application developer or a system administrator, you'll find many useful tricks and techniques to help you take control of your terminal.

Table of Contents

  1.  Acknowledgments
  2.  Preface
    1. What Is tmux?
    2. Who Should Read This Book
    3. What’s in This Book
    4. Changes in the Second Edition
    5. What You Need
    6. Conventions
    7. Online Resources
  3. 1. Learning the Basics
    1. Installing tmux
    2. Starting tmux
    3. The Command Prefix
    4. Detaching and Attaching Sessions
    5. Working with Windows
    6. Working with Panes
    7. Working with Command Mode
    8. What’s Next?
    9. For Future Reference
  4. 2. Configuring tmux
    1. Introducing the .tmux.conf File
    2. Customizing Keys, Commands, and User Input
    3. Visual Styling
    4. Customizing the Status Line’s Content
    5. What’s Next?
    6. For Future Reference
  5. 3. Scripting Customized tmux Environments
    1. Creating a Custom Setup with tmux Commands
    2. Using tmux Configuration for Setup
    3. Managing Configuration with tmuxinator
    4. What’s Next?
    5. For Future Reference
  6. 4. Working With Text and Buffers
    1. Scrolling Through Output with Copy Mode
    2. Copying and Pasting Text
    3. Working with the Clipboard on Linux
    4. Using macOS Clipboard Commands
    5. What’s Next?
    6. For Future Reference
  7. 5. Pair Programming with tmux
    1. Pairing with a Shared Account
    2. Using a Shared Account and Grouped Sessions
    3. Quickly Pairing with tmate
    4. Pairing with Separate Accounts and Sockets
    5. What’s Next?
    6. For Future Reference
  8. 6. Workflows
    1. Working Effectively with Panes and Windows
    2. Managing Sessions
    3. tmux and Your Operating System
    4. Extending tmux with Plugins
    5. What’s Next?
    6. For Future Reference
  9. A1. Our Configuration
34.231.180.210