
Productive Mouse-Free Development
Brian P. Hogan
Brian P. Hogan
简介
It’s pretty common for a modern developer to have a database console, web server, and a text editor running at the same time. Switching between these with the mouse takes up valuable time and can break your concentration. By using tmux, you can improve your productivity and regain your focus. This book will show you how.
You’ll learn how to manage multiple terminal sessions within tmux using only your keyboard. You’ll see how to manage and run programs side-by-side in panes, and you’ll learn how to create the perfect development environment with custom scripts so that when you’re ready to work, your programs are waiting for you. Then you’ll discover how to manipulate text with tmux’s copy and paste buffers. Once you’ve got the basics down, you’ll discover how easy it is to use tmux to collaborate remotely with others. Finally, you’ll 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.
contents
Acknowledgments
Preface
Learning The Basics
Installing tmux
Starting tmux
Detaching and Attaching Sessions excerpt
Working with Windows
Working with Panes
Working with Command Mode
What’s Next?
Configuring tmux
Introducing the .tmux.conf File
Customizing Keys, Commands, and User Input
Visual Styling
Customizing the Status Bar excerpt
What’s Next?
Scripting Customized tmux Environments
Creating a Custom Setup with tmux Commands
Using tmux Configuration for Setup
Managing Configuration with tmuxinator
What’s Next?
Working With Text and Buffers
Scrolling Through Output with Copy Mode
Copying and Pasting Text
Working with the Clipboard on Linux
Using OS X Clipboard Commands
What’s Next?
Pair Programming with tmux
Pairing with a Shared Account
Using a Shared Account and Grouped Sessions
Pairing with Separate Accounts and Sockets
What’s Next?
Workflows
Working Effectively with Panes and Windows
Managing Sessions
tmux and Your Operating System
What’s Next?
Our Configuration