Move all windows of application to external monitor

I constantly plug and unplug my external monitor from my Macbook, so it's not unusual to have all the screens of one app (for instance, Sublime Text Editor) grouped in the macbook's screen. An action that would allow me to move, for instance, 8 windows of sublime text simultaneously to the external monitor would be a godsend.

Imprint | Privacy Policy