7

How can I increase the display time of the pane numbers seen with ctrl-b q?

When having lots of panes, it is sometimes not enough time to key in the one I want to switch to.

13

You can set it in an existing session with ctrl-b :set display-panes-time 2000 for 2 seconds for example. To persist it, put the command into your ~/.tmux.conf

set -g display-panes-time 2000

This is documented in the tmux manpage (man tmux) under OPTIONS:

 display-panes-time time
    Set the time in milliseconds for which the indicators shown by the display-panes command appear.
  • 1
    Thanks for the quick answer. I tried it and due to the error I received, I believe that there must be a -g after set right? – aryzing Sep 3 '16 at 18:54
  • You're right. I forgot to include it in my answer. – Hoov Sep 3 '16 at 19:17
  • You can add this to your .tmux.conf to make the numbers appear until you select a pane: bind -T prefix q display-panes -d 0 – Mark Stosberg Sep 6 at 1:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.