Running command opens new editor