# tmux
## Quick and Easy Guide to [[tmux]]
https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/
### Commands
- See all commands: `C-b ?`
- Vertical split: `C-b %`
- Horizontal split: `C-b "`
- Navigate pane: `C-b <arrow key>`
- Close window: `exit` or `C-d`
- Full screen: `C-b z` (do again to shrink it back)
- `C-b C-<arrow key>` Resize pane in direction of arrow key
- `C-b ,` Rename the curretn window
But you’re missing out. There are a couple of reasons why I favor tmux over iTerm et al.:
- session handling: detaching from and attaching to sessions helps me with context switching and remote working
- platform independence: I can use tmux on my Macbook, my Linux notebook, Cloud servers, Raspberry Pis, BeagleBones, etc.
- customizable: there are many ways I can customize the look and behavior of my tmux environment. And I can sync this across different platforms using a simple dotfile
- street credibility: you don’t want others to call you a lamer, do you? :P
### Invoke [[tmux]] from [[iTerm2]]: `tmux -CC`