To install, run
git clone git://github.com/sidnair/tmux-config.git ~/.tmux
cd ~/.tmux
make install
To update the repository, run
make update
For OS X, you may need to enable:
- "Profiles -> Keys -> Left Option Key -> Esc+"
- "General -> Selection -> Applications in terminal may access clipboard
Alt + E
Prefix (you probably won't need it)
The following key bindings do not require you to send the prefix keystroke:
Alt + |
Split vertically
Alt + -
Split horizontally
Alt + H
Go to the left pane
Alt + J
Go to the bottom pane
Alt + K
Go to the top pane
Alt + L
Go to the right pane
Alt + Arrow
Resize pane
Alt + U
Copy mode
Alt + I
Paste
Alt + B
Toggle status bar globally
Alt + 8
Choose a session to attach
Alt + 9
Cycle left through sessions
Alt + 0
Cycle right through sessions
Alt + M
New window
Alt + N
Next window
Alt + P
Previous window
Alt + Q
Swap window left
Alt + W
Swap window right
You can use tmux-login
as a login shell to always run your favorite shell
inside a tmux session.
Important: It's nearly impossible to get a terminal without a tmux session,
so attaching to a remote tmux session (e.g. doing pair programing) can be challenging.
Running konsole zsh
or xterm zsh
(replace with your terminal) spawns a
terminal without tmux.