Creating a project
Often, you will be doing some work in a single directory, like a Git repository. cy comes with a way to create a new group of panes for exactly this purpose. To use it, navigate to a directory and type ctrl+a n [?].
This creates two panes:
/projects/[base-name]/editor: A pane running the program specified by the$EDITORenvironment variable./projects/[base-name]/shell: A pane running your default shell (or the value of$SHELL).
[base-name] is the basename (a la the Bash basename command) of the directory in which you opened the project.
For example, if you type ctrl+a n [?] while in a pane with the working directory /tmp/test-dir, [base-name] would be test-dir and the node tree would have the following structure:
/ (group)
├── /shells (group)
│ └── [...]
├── /projects (group)
│ └── /test-dir (group)
│ ├── /editor (pane) <- attached here
│ └── /shell (pane)
└── /logs (pane)