Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Chapter 4. Manipulating Text

There are two important components of tmux that we are yet to discuss in more detail, namely, Copy mode and paste buffers.

Copy mode is a mode in tmux that we can switch to; it allows us to select the text that already appears on the screen and copy it. Also, it allows us to move our cursor anywhere on the screen, even to places that have moved off the screen.

When an item is copied from Copy mode, it ends up in the paste buffer. As its name implies, this is a buffer that exists to hold anything that is copied so it can be pasted later.

Here is a quick summary of the features we will cover in this chapter:

  • Window history and how tmux handles text that has moved off screen
  • Explaining the two tmux modes
    • Scrolling up through the Window history
    • Jumping by search or line
    • Copying text into the paste buffer
  • Interacting with the paste buffer
    • Pasting the last copied item
    • Viewing the whole paste buffer stack
    • Choosing an item to paste interactively

By the end of this chapter...

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 €18.99/month. Cancel anytime