Tmux is a terminal multiplexer. Tested with tmux 1.5 and 1.6.
This config has support for tmux-mem-cpu.
Prefix mapped to Ctrl-A for screen users.
Download:
git clone https://github.com/dracco/tmux-config.git ~/.tmuxCopy tmux config to home:
ln -s ~/.tmux/.tmux.conf ~/.tmux.confGo to config dir:
cd ~/.tmuxPrep ourself to download submodule:
git submodule initDownload submodule:
git submodule updateChange dir to tmux-mem-cpu-load:
cd ~/.tmux-tony/vendor/tmux-mem-cpu-loadGeneral make file:
cmake .Compile our binary:
makeInstall our binary to /usr/local/bin/tmux-mem-cpu-load:
sudo make installGo home:
cd ~Update config:
tmux source-file ~/.tmux.confTo start a session:
tmux
To reattach a previous session:
tmux attach
To reload config file
<Control + b>: (which could Ctrl-B or Ctrl-A if you overidden it) then source-file ~/.tmux.conf
Our prefix/leader key is Control + a now (just like the screen multiplexer). This sequence must be typed before any tmux shortcut.
- Control + abefore any command
- Control + athen- ?to bring up list of keyboard shortcuts
- Control + athen- "to split window
- Control + athen- <Space>to change pane arrangement
- Control + athen- oto rotate panes
- Control + athen- h,- j,- k,- lto move left, down, up, right. Respectively. (vim hjkl)
- Control + athen- ;to go to last panel
Beyond your first window:
- Control + athen- cto create a new window
- Control + athen- nto next window
- Control + athen- pto previous window
- Control + athen- [0-9]move to window number
- Control + athen- &to kill window