Tmux
$ git clone git@github.com:WGZ-W/dotfiles.git
Installation
# Arch Linux
$ sudo pacman -S tmux
# Ubuntu
$ sudo apt install tmux
Basics
Attaching and detaching
C-b d
$ tmux attach
or
$ tmux attach -tmysession
$ tmux ls
Creating new windows
C-b c
Splitting the window
C-b %
C-b "
Changing the current window
C-b 0
Choosing sessions, windows and panes
C-b s
C-b w
Using the mouse
:set -g mouse on
Configuring tmux
.tmux.conf
See also
- tmux wiki
- Arch wiki
- Tmux 使用教程
- powerline, a dynamic statusbar for tmux
- Practical Tmux