Book Image

Getting Started with tmux

By : Victor Quinn
Book Image

Getting Started with tmux

By: Victor Quinn

Overview of this book

Table of Contents (16 chapters)
Getting Started with tmux
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
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, we will...