Tmux is a terminal multiplexer. Tested with tmux 1.9.
This config has support for tmux-mem-cpu.
Prefix mapped to Ctrl-A for screen
users.
Download:
git clone https://github.com/davidodenwald/tmux-conf.git ~/.tmux
Copy tmux config to home:
ln -s ~/.tmux/.tmux.conf ~/.tmux.conf
ln -s ~/.tmux/.tmux-copy.conf ~/.tmux-copy.conf
Update config:
tmux source-file ~/.tmux.conf
To 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 + a
before any commandControl + a
then?
to bring up list of keyboard shortcutsControl + a
thenv
to split window verticalControl + a
thenb
to split window horizontalControl + a
then<Space>
to change pane arrangementControl + a
theno
to rotate panesControl + a
thenh
,j
,k
,l
to move left, down, up, right.Control + a
then;
to go to last panelControl + a
thene
to load the tmux.copy.conf in which you are able to copy
Beyond your first window:
Control + a
thenc
to create a new windowControl + a
thenn
to next windowControl + a
thenp
to previous windowControl + a
then[0-9]
move to window numberControl + a
thenx
to kill window