General things to know about TMUX
Author: Dimitris Zoakos \
Keystrokes
Ctrl-b ?List all keybindingsCtrl-b cCreate new windowCtrl-b dDetach current clientCtrl-b lMove to previously selected windowCtrl-b nMove to the next windowCtrl-b pMove to the previous window
Kill the current window
Ctrl-b &Ctrl-b ,Rename the current windowCtrl-b %Split Vertically the current window into two panesCtrl-b "Split Horizontally the current window into two panesCtrl-b qShow pane numbers (used to switch between panes)Ctrl-b oSwitch to the next paneCtrl-b qShows the pane numbers where you can choose your working pane
To rerun the config file without restarting the tmux server:
Ctrl-b : source-file ~/.tmux.conf
Usefull Commands
tmux list-sessions(display current sessions)tmux attach -t <session no>(attach to running session)
Tips & Tricks
- Run rtorrent on startup ?
su - rtorrent -c 'tmux new -n a /usr/local/bin/rtorrent \; detach' 2>&1 > /dev/null - Synchronize typing on multiple panes
ctrl+b :set-window-option synchronize-panes [on|off] # or :setw synchronize-panes [on|off]