"Learn Tmux in Ten Minutes" "Layouts 佈局" "Window 視窗" "Pane 窗格" "CONFIGURATION" Learn Tmux in Ten Minutes Layouts 佈局 1. Server 服務 2. Session 會話 3. Wind ...
Learn Tmux in Ten Minutes
Layouts 佈局
- Server 服務
- Session 會話
- Window 視窗
- Pane 窗格
Window 視窗
- c - new a window 新建視窗
- & - close current window 關閉視窗
l - switch to last window 切換視窗
- n - next window 切換到下一個視窗
p - previous window 切換到上一下視窗
w - show window menu list 視窗的菜單列表
Pane 窗格
- % - horizontal split 水平分屏
" - vertical split 垂直分屏
x - close current pane 關閉窗格
; - switch to last pane 切換窗格
- o - move clockwise 順時針切換窗格
- C-o - swap pane anti-clockwise 逆時針轉換窗格
M-o - swap pane clockwise 順時針轉換窗格
CONFIGURATION
~/.tmux.conf
unbind C-b
set-option -g prefix C-j
set-option -g -q mouse on
bind h split-window -h
bind v split-window -v
unbind '"'
unbind %