Tmux

导言

默认安装了ohmytmux时的常见命令。

常用命令

默认的tmux快捷键

  • 退出 :输入 exit 或按下 Ctrl + D 关闭当前的 tmux 窗口或面板。
1
2
3
4
5
tmux new -t $NAME

tmux attach -t $NAME

tmux list-sessions

Useful to copy

<prefix> + maximizes the current pane to a new window

源码安装

依赖

1
2
3
4
5
6
sudo yum install -y \
ncurses-devel \
libevent-devel \
openssl-devel \
git \
bison

运行

1
2
3
4
5
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make -j
sudo make install

参考文献

Author

Shaojie Tan

Posted on

2023-10-12

Updated on

2025-01-30

Licensed under