src/contains the Rust source:main.rsbootstraps the app,lib.rsexposes core logic.- Key modules live under
src/commands/,src/models/,src/view/,src/input/,src/presenters/, andsrc/util/. - Bundled theme sources and defaults are stored under
themes/andsrc/models/application/preferences/. - Documentation sources live in
documentation/(Zensical/MkDocs content). - Benchmarks live in
benches/. - For a deeper walkthrough of module roles, the event loop, and command/keymap mechanics, see
docs/architecture.md.
just run: run Amp with stderr suppressed (quiet terminal UX).just debug: run withRUST_LOG=debugand tail stderr in a tmux split.just check: fast type-check viacargo check.just test: run the test suite viacargo test.cargo bench: run Criterion benchmarks (seebenches/).just docs: serve docs locally on port 8000 via Docker.just build_docs: build docs intodocumentation/sitevia Docker.- You can also run
cargo checkandcargo testdirectly withoutjust. - Running the app itself uses raw terminal mode (Vim-like), so headless validation is limited.
flake.nixprovidesnix developshells with Rust tooling if you use Nix.
- See
docs/conventions.mdfor coding style, testing, and commit/PR expectations.
- Docs are maintained under
documentation/; update relevant pages when behavior changes. - Keep version bumps aligned with
Cargo.tomlandCHANGELOG.md.