I'm trying to improve my workflow when working on certain projects. Depending on what kind of work I'm doing, I'll want certain apps open with certain configurations.
For a web development project, I'll want to open iTerm 2, have 2 horizontal panes. The upper pane will go into the frontend folder, the other one will go into the backend folder. Then, I want to have both folders also open up in Sublime Text.
Ideally, I'd like to have an app or a file or a script or something, that does this for me so that I don't have to do this every time I want to work on whatever project:
- Launch iTerm - Hit CMD-ENTER for fullscreen - Hit CMD-SHIFT-D for two horizontal panes - Run "cd to/project/backend" - Run "subl src" to open "src" folder in Sublime Text - Run "vagrant up" - Close Sublime windows I had open last time I quit it - Hit CMD-ALT-UP to go to upper pane - Run "cd to/project/frontend" - Run "subl ." to open new Sublime window here - Launch Chrome and open up my frontend in a new tab
That's just one example. When I'm working on something else, I might want Sketch and Keynote open with certain files (no terminal at all).
I'm looking for a way to automate these processes. Grateful for any suggestions. Thank you! :)