Backbrain   Archive

Copy and Paste in Tmux Aka Copy Mode in Tmux

  1. Enter ‘copy mode’ by pressing CTRL+b, [.
  2. Use the arrow keys to go to the position from where you want to start copying. Press CTRL+SPACE to start copying.
  3. Use arrow keys to go to the end of text you want to copy. Press ALT+w or CTRL+w to copy into Tmux buffer.
  4. Press CTRL+b, ] to paste in a possibly different Tmux pane/window.