This does the job but I think we need yet another editor command for opening a directory in a new window.