How can I move tmux's status bar to the top? Can't find it on the man page.
2 Answers
Add set-option -g status-position top
to ~/.tmux.conf
. (See @ChrisJohnsen's comment above)
-
2FYI - if you're using
byobu
(which in turn uses tmux) then edit~/.byobu/.tmux.conf
if it exists– STWMar 27, 2015 at 17:32 -
I had to use
set-window-option
instead ofset-option
for it to work Jun 14, 2018 at 7:16
The feature request Michael Mrozek mentioned has been closed with the feature being available in the next release (1.7). The request says you can test it out now by building from SVN. If you use Homebrew on Mac OS X you could (theoretically) just do brew upgrade --HEAD tmux
. Unfortunately I upgrade to Xcode 4.3 which seems to be missing autoconf/automake.
-
22This is how it would look in
~/.tmux.conf
:set-option -g status-position top
(the default isbottom
). Mar 6, 2012 at 7:33