80

I want to disable the default status bar on tmux. I prefer to treat screen/tmux as persistant session managers, and deprecate the menu/window stuff in favor of my system window manager. I suspect Tmux could be better for this role than screen.

And if that's possible, can I do it at runtime with a chord?

clord
  • 903

1 Answers1

106
set -g status off

You can enter it with Prefix (Ctrl+b by default) :set ..., or from shell with tmux set ..., or bind a key with bind-key x set ....

u1686_grawity
  • 452,512
  • 3
    I would only add to you answer the detail that to enter a command you don't have to press "Ctrl + Prefix", but only "Prefix". Prefix is the whole key combination that has to be followed by ":".

    By the way, to some "prefix" doesn't even include the CTRL key at all (for instance, my prefix is Alt-e).

    – Dakatine Jun 25 '12 at 08:43
  • 6
    +1. @grawity is there a way to enable the status bar automatically when there are multiple tabs? – Yang Jul 23 '13 at 15:36
  • 2
    Is it possible to set this in the ~/.tmux.conf file? If yes, how? – Andrei Mar 05 '15 at 23:45
  • Found the problem. I was using powerline and loading the powerline specific settings for tmux after setting the status to off. This overrode the settings (stupid mistake on my part) – Andrei Mar 06 '15 at 14:35
  • @Yang This is possible using tmux hooks (if you have a recent enough tmux version). Check the man page. – Sudo Bash Mar 21 '19 at 22:02
  • 3
    That's confusing wording. To try to clarify: with the Ctrl+b prefix, this is what to type: Ctrl+b: set -g status off including the colon (:). – kristianp May 24 '22 at 00:06