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.

Customer Reviews

A must-have book for anyone that uses the command line daily. This is a book I
have been recommending since it was first published, and I will definitely recommend
it again!

- Jeff Holland

Senior software engineer, Ackmann & Dickenson

The tricks mentioned in this book completely changed my workflow. I recommend
this book to anyone who is looking to improve their workflow on the command line.

- Jacob Chae

Software engineer, Assurant

The author always has something amazing in store for you: custom commands
to fire up your development environment, customizing it, pair programming, and
many use cases. This book makes you step up your game in becoming a more
efficient developer.

- Peter Perlepes

Software engineer, adaplo

I had zero tmux experience before picking up the book, and I could use tmux in
my day-to-day routine after reading the book.

- Nick McGinness

Software engineer, Direct Supply

See All Reviews

Choose Your Format(s)

  • $18.95 In Stock
  • Ebooks are DRM free.

  • Ebook delivery options.

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.