Tmux 配置文件

Tmux 是我最喜欢的终端复用软件,允许随时随地断开或重新接入会话(Session),所以最大的作用就是在远程服务器上持久地保存工作状态。

Tmux支持分屏的功能也很棒,能让我们在使用 SSH 等工具连接服务器时,方便的把屏幕分开,分别执行不同的任务。

我的 tmux 配置文件(/etc/tmux.conf)如下:

# Turn off the status line
set -g status off

# Change the prefix form C-b to Alt-x
unbind C-b
set -g prefix M-x

unbind %
bind - splitw -v
unbind ' " '
bind \ splitw -h

set-window-option -g mode-keys vi
set-window-option -g utf8 on

猜你喜欢

转载自my.oschina.net/u/260165/blog/1622085