GitHub 儲存庫

tmux Nexus

開發者優先的 tmux 指令中心,乾淨、極速、直覺的終端機指令查詢工具

42commands
5categories

Sessions

9

新建 Session

tmux new -s <name>tmux new -s mysession

列出所有 Session

tmux lstmux ls

連接 Session

tmux attach -t <name>tmux attach -t mysession

離開 Session

Ctrl+b + dtmux detach

關閉 Session

tmux kill-session -t <name>tmux kill-session -t mysession

重新命名 Session

Ctrl+b + $tmux rename-session <newname>

上一個 Session

Ctrl+b + (

下一個 Session

Ctrl+b + )

切換 Session

Ctrl+b + s

Windows

8

新建視窗

Ctrl+b + ctmux new-window

關閉視窗

Ctrl+b + &tmux kill-window

重新命名視窗

Ctrl+b + ,tmux rename-window <newname>

上一個視窗

Ctrl+b + p

下一個視窗

Ctrl+b + n

選擇視窗編號

Ctrl+b + 0-9

列出所有視窗

Ctrl+b + w

搜尋視窗

Ctrl+b + f

Panes

10

垂直分割

Ctrl+b + %tmux split-window -h

水平分割

Ctrl+b + "tmux split-window -v

切換窗格

Ctrl+b + o

依方向切換窗格

Ctrl+b + Arrow Keys

切換放大

Ctrl+b + ztmux resize-pane -Z

關閉窗格

Ctrl+b + xtmux kill-pane

調整窗格大小

Ctrl+b + Ctrl + Arrow Keys

顯示窗格編號

Ctrl+b + q

交換窗格

Ctrl+b + { or Ctrl+b + }

轉換為視窗

Ctrl+b + !

Copy Mode

9

進入複製模式

Ctrl+b + [

離開複製模式

q or Esc

開始選取

Space

複製選取內容

Enter

貼上緩衝區

Ctrl+b + ]

向上捲動

Ctrl + u

向下捲動

Ctrl + d

向前搜尋

/

向後搜尋

?

Misc

6

顯示時間

Ctrl+b + t

列出快捷鍵

Ctrl+b + ?

指令提示

Ctrl+b + :

重新載入設定

tmux source-file ~/.tmux.conftmux source-file ~/.tmux.conf

關閉伺服器

tmux kill-servertmux kill-server

同步窗格輸入

Ctrl+b + : + setw synchronize-panestmux setw synchronize-panes