PROSAIC REFERENCE

A writer-first terminal writing app.


CONFIGURATION
-------------

Config location (in order of priority):

  1. PROSAIC_CONFIG_DIR env var
  2. $XDG_CONFIG_HOME/prosaic/
  3. ~/.config/prosaic/

Override with environment variable:

  PROSAIC_CONFIG_DIR=~/custom/path prosaic


GIT INTEGRATION
---------------

If your archive directory contains a git repository:

  - Existing .git directory is detected
  - Repository is inherited (no re-init)
  - Remote URL is read if configured
  - Prompts for remote if none exists


ARCHIVE STRUCTURE
-----------------

  ~/Prosaic/
    pieces/         Dated markdown with frontmatter
    books/          Long-form projects
    *.md            Drafts (loose files in root)
    notes.md        Quick notes with date headers
    metrics.json    Daily writing statistics
    .git/           Version control


PROFILES
--------

Maintain separate workspaces for different projects.

  prosaic --profiles          List all profiles
  prosaic --profile <name>    Use specific profile

Each profile has its own archive, git remote, and theme.
Manage from dashboard (m key) or edit settings.json.


PANE DEFAULTS
-------------

  Mode               Tree    Outline
  ----               ----    -------
  write a piece      shown   hidden
  start writing      shown   shown
  add a note         hidden  shown
  read notes         hidden  shown
  work on a book     hidden  shown
  focus mode         hidden  hidden
  reader mode        hidden  hidden
