tmux status bar toggle

rahuldhole

RAHUL DHOLE

Posted on April 24, 2024

tmux status bar toggle

To improve the focus of your nested tmux you may hide the status bar.

Edit ~/.tmux.conf and add the following code and restart the tmux

# Toggle status bar visibility
bind b run-shell "tmux setw -g status \$(tmux show -g -w status | grep -q off && echo on || echo off)"
Enter fullscreen mode Exit fullscreen mode

Now you may use Prefix+b by default it should be ctrl+bb I did it b for bar, you may change it for your convenience.

💖 💪 🙅 🚩
rahuldhole
RAHUL DHOLE

Posted on April 24, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

tmux status bar toggle
tmux tmux status bar toggle

April 24, 2024

I'm switching to vim!
vim I'm switching to vim!

June 15, 2021

Tmux para iniciantes
tmux Tmux para iniciantes

January 26, 2020