small medium large xlarge

tmux 2: Productive Mouse-Free Development


Cover image for tmux 2

tmux 2

Productive Mouse-Free Development


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.

Printed in full color.

Choose Your Format(s)

  • $38.90 In Stock

    Save $2.00 on the combo pack.

  • $21.95 In Stock
  • $18.95 In Stock
  • Ebooks are DRM free.

  • Ebook delivery options.

About this Title

Pages: 102
Published: 2016-11-21
Release: P1.0 (2016-11-16)
ISBN: 978-1-68050-221-3

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.

Why Use tmux?

Read the reviews .

What You Need

This book is written for tmux 2.3 or higher. You’ll need a Mac or Linux machine, or a machine running Windows 10 with the Windows Subsystem for Linux installed. You’ll also need some experience running shell commands.

Contents & Extracts

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


Brian P. Hogan is a web developer, author, and editor who loves to learn how software development works so he can explain it to everyone else. He is the author of Exercises for Programmers, Automate with Grunt, HTML5 and CSS3, Second Edition, Build Real-Time Web Apps with Phoenix, and the co-author of Web Development Recipes, Second Edition.