# tmux

## Key Bindings

`M-\` prefix key

## Session Handling

`tmux ls` list sessions `tmux attach -t #` attach to session `tmux name -s session_name` create a named session `tmux rename-session -t # session_name` rename session

## Common Problems

### Borders drawn with dashed lines

For terminal in OS X, the origin of the problem is the font. Changing the font from the default *Monaco* to *Menlo* fixes the problem. ([stack**overflow**](http://stackoverflow.com/questions/9821973/tmux-borders-are-drawn-with-dashed-lines-how-can-i-change-them-to-continuous-li))

### Errors with binding keys

Sometimes an error is encountered when binding keys to non-standard characters, such as the backslash (/) key. The solution is to use single-quotes around the key-combination. For example, use `'M-\'` instead of `M-\`.
