From 6786e485b11926ad6f05c3cecb1ca5b56aa63a3a Mon Sep 17 00:00:00 2001 From: Micah Ellison <4383304+micahellison@users.noreply.github.com> Date: Mon, 25 Nov 2019 21:13:00 -0800 Subject: [PATCH] Deployed 4ecaf19 with MkDocs version: 1.0.4 --- advanced/index.html | 76 +++++++++++++-------------------------- encryption/index.html | 35 ++++++++++-------- index.html | 5 --- installation/index.html | 14 +------- overview/index.html | 3 -- recipes/index.html | 49 ++++++++++++------------- search/search_index.json | 2 +- sitemap.xml | 14 ++++---- sitemap.xml.gz | Bin 199 -> 200 bytes theme/index.html | 5 --- usage/index.html | 30 ++++------------ 11 files changed, 82 insertions(+), 151 deletions(-) diff --git a/advanced/index.html b/advanced/index.html index e952909a..ddfc4ded 100755 --- a/advanced/index.html +++ b/advanced/index.html @@ -87,8 +87,6 @@
  • Configuration File
  • -
  • DayOne Integration
  • -
  • Multiple journal files
  • Known Issues
  • @@ -142,15 +140,20 @@

    Advanced Usage

    Configuration File

    You can configure the way jrnl behaves in a configuration file. By -default, this is ~/.jrnl_config. If you have the XDG_CONFIG_HOME +default, this is ~/.config/jrnl/jrnl.yaml. If you have the XDG_CONFIG_HOME variable set, the configuration file will be saved as -$XDG_CONFIG_HOME/jrnl/.jrnl_config.

    +$XDG_CONFIG_HOME/jrnl/jrnl.yaml.

    Note

    -

    On Windows, The configuration file is typically found at C:\Users\[Your Username]\.jrnl_config.

    +

    On Windows, the configuration file is typically found at %USERPROFILE%\.config\jrnl\jrnl.yaml.

    +
    +

    The configuration file is a YAML file with the following options +and can be edited with a plain text editor.

    +
    +

    Note

    +

    Backup your config file before editing. Changes to the config file +have destructive effects on your journal!

    -

    The configuration file is a simple JSON file with the following options -and can be edited with any plain text editor.

    Note

    +

    Just make sure that the asterisk sign is not surrounded by whitespaces, e.g. jrnl Best day of my life! * will not work (the reason being that the * sign has a special meaning on most shells).

    -

    Viewing

    jrnl -n 10
     
    @@ -243,15 +243,15 @@ You can change which symbols you'd like to use for tagging in the configuration.

    Note

    +

    jrnl @pinkie @WorldDomination will switch to viewing mode because although no command line arguments are given, all the input strings look like tags - jrnl will assume you want to filter by tag.

    -

    Editing older entries

    You can edit selected entries after you wrote them. This is particularly -useful when your journal file is encrypted or if you're using a DayOne -journal. To use this feature, you need to have an editor configured in -your journal configuration file (see advanced usage <advanced>)

    +useful when your journal file is encrypted. To use this feature, you need +to have an editor configured in your journal configuration file (see +advanced usage <advanced>)

    jrnl -until 1950 @texas -and @history --edit
     
    @@ -267,24 +267,6 @@ encrypt) your edited journal after you save and exit the editor.

    Just select all text, press delete, and everything is gone...

    -

    Editing DayOne Journals

    -

    DayOne journals can be edited exactly the same way, however the output -looks a little bit different because of the way DayOne stores its -entries:

    -
    # af8dbd0d43fb55458f11aad586ea2abf
    -2013-05-02 15:30 I told everyone I built my @robot wife for sex.
    -But late at night when we're alone we mostly play Battleship.
    -
    -# 2391048fe24111e1983ed49a20be6f9e
    -2013-08-10 03:22 I had all kinds of plans in case of a @zombie attack.
    -I just figured I'd be on the other side.
    -
    - -

    The long strings starting with hash symbol are the so-called UUIDs, -unique identifiers for each entry. Don't touch them. If you do, then the -old entry would get deleted and a new one written, which means that you -could lose DayOne data that jrnl can't handle (such as as the entry's -geolocation).