1.9 KiB
Executable File
1.9 KiB
Executable File
Agent Guidelines: Aerc Configuration Repository
This repository contains the configuration and customization for aerc, a terminal-based email client. It is optimized for a workflow involving notmuch for indexing, mbsync for synchronization, abook for address management, khal for calendar, and taskwarrior for tasks.
1. Build, Lint, and Test Commands
Sync and Maintenance
- Global Sync: Run
mailsync(bound touinaerc) to perform:mbsync -a(Mail sync)vdirsyncer sync(Calendar sync)caldawarrior sync(Task sync)notmuch newfor all account databases (Indexing)notmuch-abook-sync(Address book population)
Linting
- Permissions:
accounts.confmust be0600. - Dependencies:
w3m,bat,yazi,notmuch,abook,pass,isync,khal,vdirsyncer,task,taskwarrior-tui,caldawarrior.
Testing
- Filters:
cat email.html | w3m -T text/html -dump - Calendar:
khal list - Tasks:
task list
2. Code Style Guidelines
Aerc Configuration
- Notmuch URI: Use absolute triple-slash format:
source = notmuch:///home/liph/Mail/account_name. - Credentials: Use
passviaoutgoing-cred-cmd = pass show mail/account_email. - Sidebar: Use separate
notmuchdatabases per account directory for isolation.
Keybindings
- Leader:
,(comma). - Tab switching:
Alt+n(next) andAlt+p(prev). - Contacts:
,abopensabook. - Calendar:
,caopens unifiedkhal. - Tasks:
,taopenstaskwarrior-tui.
Terminal Tabs (Khal/Taskwarrior)
- Escape: Press
Ctrl+xto release terminal focus and useaerccommands. - Tab Passthrough:
TabandBacktabare passed to terminal apps for internal navigation.
Neovim integration (after/ftplugin/mail.lua)
- Completion: Triggered by
Tabon header lines usingabook --mutt-query. - Fzf: Triggered by
Ctrl+ffor interactive contact selection.