19

I know you can turn the status bar on and off with

set -g status off

But I would like to bind a key to toggle the visibility of this status bar. Is there some way to toggle this setting?

37

Boolean options can be toggled when no value is given:

set -g status
| improve this answer | |
  • 1
    Remove -g to toggle locally. – ideasman42 Oct 9 '17 at 4:34
5

If you want to bind a key add to you .tmuxrc

bind-key -n C-F3 set-option -g status #Ctrl+F3 Combo
| improve this answer | |

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.