Copy and Paste in Tmux Aka Copy Mode in Tmux
- Enter ‘copy mode’ by pressing
CTRL+b,[. - Use the arrow keys to go to the position from where you want to start copying. Press
CTRL+SPACEto start copying. - Use arrow keys to go to the end of text you want to copy. Press
ALT+worCTRL+wto copy into Tmux buffer. - Press
CTRL+b,]to paste in a possibly different Tmux pane/window.