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?