Integrating tmux with System Clipboards
As you integrate tmux into your development workflow, you’ll find that you’ll have to work with text from other programs. When you copy text in tmux, it ends up in its own buffers, separate from your system clipboard that other applications can access. But with some helper apps and some custom keybindings, you can share the system clipboard with tmux.
Working with the Clipboard on Linux
You can integrate your buffers with the Linux system clipboard so you can more easily copy and paste between programs. The method you use depends on whether or not your distribution uses Xorg or Wayland for the display system.
If your system uses Xorg, you’ll need the xclip utility,[10] On Ubuntu, use the apt command ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access