title: How to copy text from tmux window to system clipboard?
body: <p>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 tmux window and paste in 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:</p>
  
  <ul>
  <li>What exactly do I need to configure in <code>tmux.conf</code>?</li>
  <li>How do I select a piece of text in tmux window?</li>
  <li>How do I copy the selected piece of text?</li>
  <li>How do I paste the text from system clipboard to text editor/browser?</li>
  </ul>
  
  <p>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?</p>