如何增加 tmux 窗格数量显示时间`ctrl-b q`

ary*_*ing 12 tmux

如何增加用 看到的窗格编号的显示时间ctrl-b q

当有很多窗格时,有时没有足够的时间来键入我想切换到的窗格。

Hoo*_*oov 24

例如,您可以在现有会话中将其设置ctrl-b :set display-panes-time 2000为 2 秒。要坚持下去,请将命令放入您的~/.tmux.conf

set -g display-panes-time 2000
Run Code Online (Sandbox Code Playgroud)

这在 tmux 联机帮助页 ( man tmux) 中的 OPTIONS 下进行了记录:

 display-panes-time time
    Set the time in milliseconds for which the indicators shown by the display-panes command appear.
Run Code Online (Sandbox Code Playgroud)

  • 您可以将其添加到您的 `.tmux.conf` 以显示数字,直到您选择一个窗格:`bind -T prefix q display-panes -d 0` (3认同)