Hi,

After using Screen for many years as a sort of text-mode window
manager, I've decided to take the leap and see about switching over
to tmux. One functionality I've always wanted in Screen is to display
in the status line the total number of windows...now I'm wondering if
there might be a way to accomplish this in tmux. So that, for example,
if I were in the 7th window in a session with 13 windows, there'd be
something like this in the status line:

  7/13 : vim ~/.mutt/temp/mutt-1000-25786-33

With a line in ~/.tmux.conf like:

    set -g status-left '#I/#N : #W'

With #N shown here to represent "total number of windows in a session"
just for the sake of illustration, as there doesn't seem to be a
character pair for this. I tried playing with the session_windows
variable, but I'm still working my way through how to configure tmux,
and am not sure if that makes any sense.

Thanks for any help,

John

-- 
John Magolske
http://B79.net/contact

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to