# tmux

I learned everything I know at [tmuxcheatsheet.com](https://tmuxcheatsheet.com/) but here's some stuff I always forget:

## Copy and paste large blocks of text
1. Press `CTRL + b` and then `[` to enter copy mode.
2. Use the arrow keys to go to the position from where you want to start copying. 
3. Press `CTRL + SPACE` to start copying.
4. Use arrow keys to go to the end of text you want to copy. 
5. Press `ALT + w` or `CTRL + w` to copy into Tmux buffer.
6. Press `CTRL + b` and then `]` to paste in a possibly different Tmux pane/window.

*Source: [https://www.rushiagr.com/blog/2016/06/16/everything-you-need-to-know-about-tmux-copy-pasting-ubuntu/](https://www.rushiagr.com/blog/2016/06/16/everything-you-need-to-know-about-tmux-copy-pasting-ubuntu/)*
