From 2577ab6f4a691533f8489dd6f1e5a7edc5150294 Mon Sep 17 00:00:00 2001 From: Laily Date: Sun, 8 Sep 2019 17:35:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tmux=20=E7=AA=97=E5=8F=A3=E5=90=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=BD=93=E5=89=8D=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) 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}' +