maebert/jrnl — pull request #39 by maebert (2012-06-11 18:54:14+00:00)
Title: Multiple journals

Suggestion of an implementation of #34 - in `jrnl_config` there is now a key `journals`, and only at runtime will `config['journal']` be set to whatever journal you want to use.

Readme for this:

### Multiple journal files

You can configure _jrnl_ to use with multiple journals (eg. `private` and `work`) by defining more journals in your `.jrnl_config`, for example:

"journals": {
"default": "~/journal.txt",
"work": "~/work.txt"
},

The `default` journal gets created the first time you start _jrnl_. Now you can access the `work` journal by using `jrnl work` instead of `jrnl`, eg. `jrnl work at 10am: Meeting with @Steve` or `jrnl work -n 3` will use `~/work.txt`, while `jrnl -n 3` will display the last three entries from `~/journal.txt` (and so does `jrnl default -n 3`).