diff --git a/.tmux.conf b/.tmux.conf index 59a054c..56f0994 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -32,3 +32,8 @@ bind -r L resizep -R 10 # 绑定Ctrl+l为往→调整面板边缘10个单元格 # 设置tmux的延迟,文档说当有干扰的时候可以设置这个参数,比如影响vim编辑的时候 set -s escape-time 1 +# 设置窗口名为当前目录名 +set-option -g status-interval 10 +set-option -g automatic-rename on +set-option -g automatic-rename-format '#{b:pane_current_path}' +