Automatically open file types in same pane


I have searched but could not find a package offering this. For example i’d like all HTML files to open in a left pane, and all LESS in a right hand pane.

Does anyone know of an quick solution?


Has anyone had any luck with getting something like this to work yet?

I am interested in this as well.


I think it would be tedious for the user to have to configure this per project (enough that it seems easier to organize the tabs manually), but it might be possible to have a package that scans the files in each pane and decides where to send new opened files based on what’s already open. So if you have more HTML files on the right-hand side, then additional HTML files might “magnetically” open on the right by default.