abo-abo / plain-org-wiki

Simple jump-to-org-files in a directory package
53 stars 7 forks source link

Feature request: client support #14

Open chongchonghe opened 3 years ago

chongchonghe commented 3 years ago

Currently plain-org-wiki is based on 'projects', org files in plain-org-wiki-files. It would be nice if it can support multiple 'clients', e.g. wiki, work, daily, etc. That's like multiple folders under ~/org. It's different from plain-org-wiki-extra-dirs in that you don't need to add a prefix to every org file in order to easily navigate through various projects in various clients.

Possible solution

When plain-org-wiki is called, ask the user to choose from a list of clients. For instance, 1. wiki, 2. work, 3. daily, 4. finance. After choosing the clients, it works exactly like what it is now.

Work around

This is my current workaround. I defined another function plain-org-academic similar to plain-org-wiki but searches files from plain-org-academic-files instead of plain-org-wiki-files.