In Linux we trust!

HowTo: tmux copy and paste

How to copy and paste screen buffer content in tmux?

In order to copy content:

  • Ctrl + A + [ to enter copy mode
  • navigate to start position
  • Ctrl + Space to start selection
  • go to end position
  • Alt + W to copy selected content

To paste press Ctrl + A + ].

BTW, my ~/.tmux.conf:

set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
bind r source-file ~/.tmux.conf
bind l send-keys C-l \; clear-history
set-option -g allow-rename off
set-option -g history-limit 100000

Good luck with terminal multiplexing!