From cccf5fd750ac2d26314bf11e33830cbecfaf46e9 Mon Sep 17 00:00:00 2001 From: laily Date: Wed, 27 May 2026 09:50:02 +0800 Subject: [PATCH] feat: move windows --- tmux/.tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 42fea48..7137b0b 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -47,6 +47,9 @@ set -s escape-time 1 # 返回上一个窗口 bind L switch-client -l +# 移动当前窗口的位置 +bind M command-prompt -p "移动窗口到位置:" "move-window -t '%%'" # 移动到指定索引 + # 设置窗口名为当前目录名 set -g status-interval 10 set -g automatic-rename on