How to copy and paste with tmux

March 20, 2012 Tagged: how to tmux workflow zsh Comments (View) How to Copy and Paste with Tmux Tmux is becoming pretty popular as of late , but as with any new technology, there are skeptics. I’m here to quell some rumors and outline how to start using Tmux effectively. Out of all the questions I get, the most common is, “Does copying and pasting work in Tmux? I heard it wasn’t possible.” Forget that noise; copying and pasting works wonderfully with a couple of extra steps. Step 1: Install reattach-to-user-namespace If you’re using Homebrew, run: brew install reattach-to-user-namespace If you’re not, head to the repository and follow the instructions to compile yourself. Be sure to check out Chris Johnsen’s great writeup about what reattach-to-user-namespace is actually doing. Step 2: Configure Tmux Open up your Tmux configuration (typically at ~/.tmux.conf) and throw thi...