diff --git a/logseq/.config.edn.swp b/logseq/.config.edn.swp index 3f0fb1259..f030bdbb6 100644 Binary files a/logseq/.config.edn.swp and b/logseq/.config.edn.swp differ diff --git a/logseq/bak/logseq_config.edn.2022-01-25T17_49_49.588Z b/logseq/bak/logseq_config.edn.2022-01-25T17_49_49.588Z new file mode 100644 index 000000000..252400788 --- /dev/null +++ b/logseq/bak/logseq_config.edn.2022-01-25T17_49_49.588Z @@ -0,0 +1,89 @@ + + {:journal-basis "daily" + + :project { + ;; Selected public notes can be published to https://logseq.com/your-project-or-your-username. + :name "" + :alias "" + ;; your twitter handle + :twitter "" + ;; description supports both hiccup and html + :description ""} + + ;; Currently, we support either "Markdown" or "Org". + ;; This can overwrite your global preference so that + ;; maybe your personal preferred format is Org but you'd + ;; need to use Markdown for some projects. + ;; :preferred-format "" + + ;; Git settings + :git-pull-secs 60 + :git-push-secs 10 + :git-auto-push true + + ;; The app will ignore those directories or files. + ;; E.g. "/archived" "/test.md" + :hidden [] + + ;; When creating the new journal page, the app will use your template content here. + ;; Example for Markdown users: "## [[Work]]\n###\n## [[Family]]\n###\n + ;; Example for Org mode users: "** [[Work]]\n***\n** [[Family]]\n***\n + :default-templates + {:journals ""} + + :pages-directory "" + :journals-directory "journal" + + ;; The app will show those queries in today's journal page, + ;; the "NOW" query asks the tasks which need to be finished "now", + ;; the "NEXT" query asks the future tasks. + :default-queries + {:journals + [{:title "🔨 NOW" + :query [:find (pull ?h [*]) + :in $ ?start ?today + :where + [?h :block/marker ?marker] + [?h :block/page ?p] + [?p :page/journal? true] + [?p :page/journal-day ?d] + [(>= ?d ?start)] + [(<= ?d ?today)] + [(contains? #{"NOW" "DOING"} ?marker)]] + :inputs [:14d :today] + :result-transform (fn [result] + (sort-by (fn [h] + (get h :block/priority "Z")) result)) + :collapsed? false} + {:title "📅 NEXT" + :query [:find (pull ?h [*]) + :in $ ?start ?next + :where + [?h :block/marker ?marker] + [?h :block/ref-pages ?p] + [?p :page/journal? true] + [?p :page/journal-day ?d] + [(> ?d ?start)] + [(< ?d ?next)] + [(contains? #{"NOW" "LATER" "TODO"} ?marker)]] + :inputs [:today :7d-after] + :collapsed? false}]} + + ;; Add your own commands to speedup. + ;; E.g. [["js" "Javascript"]] + :commands + [] + + ;; Macros replace texts and will make you more productive. + ;; For example: + ;; Add this to the macros below: + ;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."} + ;; input "{{{poem(red,blue)}}}" + ;; becomes + ;; Rose is red, violet's blue. Life's ordered: Org assists you. + :macros {} + :markdown/version 2 + :date-formatter "yyyy-MM-dd" + :editor/logical-outdenting? false + + :journal/page-title-format "yyyy-MM-dd"} diff --git a/logseq/config.edn b/logseq/config.edn index 252400788..069a1fe93 100644 --- a/logseq/config.edn +++ b/logseq/config.edn @@ -1,89 +1,89 @@ +{:journal-basis "daily" - {:journal-basis "daily" +:project { + ;; Selected public notes can be published to https://logseq.com/your-project-or-your-username. + :name "" + :alias "" + ;; your twitter handle + :twitter "" + ;; description supports both hiccup and html + :description ""} - :project { - ;; Selected public notes can be published to https://logseq.com/your-project-or-your-username. - :name "" - :alias "" - ;; your twitter handle - :twitter "" - ;; description supports both hiccup and html - :description ""} +;; Currently, we support either "Markdown" or "Org". +;; This can overwrite your global preference so that +;; maybe your personal preferred format is Org but you'd +;; need to use Markdown for some projects. +;; :preferred-format "" - ;; Currently, we support either "Markdown" or "Org". - ;; This can overwrite your global preference so that - ;; maybe your personal preferred format is Org but you'd - ;; need to use Markdown for some projects. - ;; :preferred-format "" +;; Git settings +:git-pull-secs 60 +:git-push-secs 10 +:git-auto-push true - ;; Git settings - :git-pull-secs 60 - :git-push-secs 10 - :git-auto-push true +;; The app will ignore those directories or files. +;; E.g. "/archived" "/test.md" +:hidden [] - ;; The app will ignore those directories or files. - ;; E.g. "/archived" "/test.md" - :hidden [] +;; When creating the new journal page, the app will use your template content here. +;; Example for Markdown users: "## [[Work]]\n###\n## [[Family]]\n###\n +;; Example for Org mode users: "** [[Work]]\n***\n** [[Family]]\n***\n +:default-templates +{:journals ""} - ;; When creating the new journal page, the app will use your template content here. - ;; Example for Markdown users: "## [[Work]]\n###\n## [[Family]]\n###\n - ;; Example for Org mode users: "** [[Work]]\n***\n** [[Family]]\n***\n - :default-templates - {:journals ""} - :pages-directory "" - :journals-directory "journal" +;; The app will show those queries in today's journal page, +;; the "NOW" query asks the tasks which need to be finished "now", +;; the "NEXT" query asks the future tasks. +:default-queries +{:journals + [{:title "🔨 NOW" + :query [:find (pull ?h [*]) + :in $ ?start ?today + :where + [?h :block/marker ?marker] + [?h :block/page ?p] + [?p :page/journal? true] + [?p :page/journal-day ?d] + [(>= ?d ?start)] + [(<= ?d ?today)] + [(contains? #{"NOW" "DOING"} ?marker)]] + :inputs [:14d :today] + :result-transform (fn [result] + (sort-by (fn [h] + (get h :block/priority "Z")) result)) + :collapsed? false} + {:title "📅 NEXT" + :query [:find (pull ?h [*]) + :in $ ?start ?next + :where + [?h :block/marker ?marker] + [?h :block/ref-pages ?p] + [?p :page/journal? true] + [?p :page/journal-day ?d] + [(> ?d ?start)] + [(< ?d ?next)] + [(contains? #{"NOW" "LATER" "TODO"} ?marker)]] + :inputs [:today :7d-after] + :collapsed? false}]} - ;; The app will show those queries in today's journal page, - ;; the "NOW" query asks the tasks which need to be finished "now", - ;; the "NEXT" query asks the future tasks. - :default-queries - {:journals - [{:title "🔨 NOW" - :query [:find (pull ?h [*]) - :in $ ?start ?today - :where - [?h :block/marker ?marker] - [?h :block/page ?p] - [?p :page/journal? true] - [?p :page/journal-day ?d] - [(>= ?d ?start)] - [(<= ?d ?today)] - [(contains? #{"NOW" "DOING"} ?marker)]] - :inputs [:14d :today] - :result-transform (fn [result] - (sort-by (fn [h] - (get h :block/priority "Z")) result)) - :collapsed? false} - {:title "📅 NEXT" - :query [:find (pull ?h [*]) - :in $ ?start ?next - :where - [?h :block/marker ?marker] - [?h :block/ref-pages ?p] - [?p :page/journal? true] - [?p :page/journal-day ?d] - [(> ?d ?start)] - [(< ?d ?next)] - [(contains? #{"NOW" "LATER" "TODO"} ?marker)]] - :inputs [:today :7d-after] - :collapsed? false}]} +;; Add your own commands to speedup. +;; E.g. [["js" "Javascript"]] +:commands +[] - ;; Add your own commands to speedup. - ;; E.g. [["js" "Javascript"]] - :commands - [] +;; Macros replace texts and will make you more productive. +;; For example: +;; Add this to the macros below: +;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."} +;; input "{{{poem(red,blue)}}}" +;; becomes +;; Rose is red, violet's blue. Life's ordered: Org assists you. +:macros {} + :markdown/version 2 + :date-formatter "yyyy-MM-dd" + :editor/logical-outdenting? false - ;; Macros replace texts and will make you more productive. - ;; For example: - ;; Add this to the macros below: - ;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."} - ;; input "{{{poem(red,blue)}}}" - ;; becomes - ;; Rose is red, violet's blue. Life's ordered: Org assists you. - :macros {} - :markdown/version 2 - :date-formatter "yyyy-MM-dd" - :editor/logical-outdenting? false - - :journal/page-title-format "yyyy-MM-dd"} +;; [[flancian]] +:journal/page-title-format "yyyy-MM-dd"} +:pages-directory "" +:journals-directory "journal"