Using TMUX as Terminal Multiplexer
Copy tmux.conf into your home directory
copy tmux.conf ${HOME}/.tmux.conf
$ git cone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Add new plugin to "~/.tmux.conf" with "set -g @plugin ...".
Press prefix + I (capital i, as in Install) to fetch the plugin.
tmux new-session -s <sessions-name>
tmux attach-session -t <session-name>
tmux ls
<C> Ctrl Key
<M> Alt Key
Prefix for all commands : <C-a>
Detach Session : <Prefix> d
Reload Configuration : <Prefix> r
Create Window : <Prefix> c
Next Window : <Prefix> n
Previous Window : <Prefix> p
Swap Window Next : <Prefix> <C-n>
Swap Window Previous : <Prefix> <C-p>
Split Window (horzontal): <Prefix> -
Split Window (vertical) : <Prefix> |
Select Pane Up : <Prefix> Up
Select Pane Down : <Prefix> Down
Select Pane Left : <Prefix> Left
Select Pane Rigth : <Prefix> Rigth
Swap Pane Next : <Prefix> <M-n>
Swap Pane Previous : <Prefix> <M-p>
Swap Panes : <Prefix> Space
Resize Pane Up : <Prefix> <C-Up>
Resize Pane Down : <Prefix> <C-Down>
Resize Pane Left : <Prefix> <C-Left>
Resize Pane Right : <Prefix> <C-Right>
Zoom Pane : <Prefix> z
Synchronize Panes : <Prefix> <C-s>
List Sessions : <Prefix> s
List Windows : <Prefix> w
List Panes : <Prefix> q