Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with tmux

You're reading from   Getting Started with tmux Maximize your productivity by accessing several terminal sessions from a single window using tmux

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher Packt
ISBN-13 9781783985166
Length 148 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Victor Quinn Victor Quinn
Author Profile Icon Victor Quinn
Victor Quinn
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Jump Right In 2. Configuring tmux FREE CHAPTER 3. Sessions, Windows, and Panes 4. Manipulating Text 5. Diving Deeper 6. tmux for SSH, Pair Programming, and More 7. Using Other Tools with tmux A. Appendix Index

Switching between panes by number


Now that we have so many panes, switching between them can get a bit unwieldy. The arrow keys are pretty nice but can still be a tad annoying. Thankfully, there is an easier way. Press <Prefix>, q and you will see a number appear in each pane and then disappear shortly thereafter.

The currently active pane will be of a different color than the other panes. This will also show the dimensions of each pane.

Just as each window was assigned a unique number, so also each pane is assigned with a unique number in every window. If you press <Prefix>, q again and, before the numbers disappear, type the number that appears in that pane, you'll automatically switch to it.

By default, the duration for these numbers to remain on the screen is 1 second, but you can change that by adding the following option to your .tmux.conf file:

set-option -g display-panes-time 3000

This will extend the time that the pane numbers are displayed on screen to 3000 ms or 3 seconds...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime