This is actually already implemented, in the “Window Management” plugin. Windows get added as child items of the indexed applications, and you can use the “focus” action on either the window or the application to raise windows.
For example, ‘Terminal’ <tab> ‘Focus’ will raise all terminal windows, whereas ‘Terminal’ <right arrow> will get you a list of open terminal windows, which you can select and then <tab> ‘Focus’.
This is actually already implemented, in the “Window Management” plugin. Windows get added as child items of the indexed applications, and you can use the “focus” action on either the window or the application to raise windows.
For example, ‘Terminal’ <tab> ‘Focus’ will raise all terminal windows, whereas ‘Terminal’ <right arrow> will get you a list of open terminal windows, which you can select and then <tab> ‘Focus’.
Is this about what you were thinking?