Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6015

How can I copy text from a tmux window to the system clipboard? [closed]

$
0
0

I am using Ubuntu 16.04 with tmux 2.1. Mostly I split the screen in two tmux windows split vertically. Frequently, I need to copy long pieces of text from the tmux window and paste it in the sublime text/browser. I have a feeling that xsel/xclip could be used to achieve the same. However, most of the how-to's floating in the Internet are severely bloated, trying to explain intricate configuration option without really explaining:

  • What exactly do I need to configure in tmux.conf?
  • How do I select a piece of text in the tmux window?
  • How do I copy the selected piece of text?
  • How do I paste the text from system clipboard to text editor/browser?

I don't want to be a tmux guru. All I want to get the job done in simplest possible way. Any clue how to do that?


Viewing all articles
Browse latest Browse all 6015

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>