Documentation
README
Project Switching
Switch between git repositories without restarting sidecar. Press @ to open the project switcher modal.
Architecture Overview
The project switcher uses the app's declarative modal library (internal/modal/) for rendering and mouse handling.
Key Files
| File | Contents |
|---|---|
internal/app/model.go |
State, init, reset, filter, switch, theme preview |
internal/app/update.go |
Keyboard and mouse handlers |
internal/app/view.go |
Modal building and section rendering |
internal/modal/ |
Modal library (builder, sections, layout) |
internal/config/types.go |
ProjectConfig struct |
internal/config/loader.go |
Config loading with path validation |
Model State
This is the opening of the README. Read the full README on GitHub.