this question (to my knowledge) has not been asked before, yet would benefit anyone that uses tmux! I tried searching github too for plugins etc, but no luck yet.
What I'd like to achieve:
- Cycle between windows of the same name.
Why?
Imagine you have 6 tmux windows, in the following order, status bar would look similar to this:
[0:zsh][1:vim][2:zsh][3:vim][4:zsh][5:vim]
If Im currently in window 0 (zsh):
- I would like to cycle between the 3 'zsh' windows (0,2,4)
If Im currently in window 1 (vim):
- I would like to cycle between the 3 'vim' windows (1,3,5)
This would allow you to cycle windows of the same type without having to re-order all your windows first (vim next to vim, zsh next zsh etc). bliss!
I have tried myself, but no success :(