Changes on Mac

This commit is contained in:
Bas Grolleman
2025-06-10 08:43:51 +02:00
parent 9eeaf333d8
commit 6aee231663
7 changed files with 21 additions and 74 deletions

View File

@@ -3,21 +3,21 @@ return {
config = function()
require("journal").setup({
filetype = "md", -- Filetype to use for new journal entries
root = "~/Notes/Personal/journals", -- Root directory for journal entries
date_format = "%Y-%m-%d", -- Date format for `:Journal <date-modifier>`
autocomplete_date_modifier = "end", -- "always"|"never"|"end". Enable date modifier autocompletion
root = "~/Notes/Journal", -- Root directory for journal entries
date_format = "%Y%m%d", -- Date format for `:Journal <date-modifier>`
autocomplete_date_modifier = "always", -- "always"|"never"|"end". Enable date modifier autocompletion
-- Configuration for journal entries
journal = {
-- Default configuration for `:Journal <date-modifier>`
format = "%Y_%m_%d",
format = "%Y%m%d",
template = "# %A %B %d %Y\n",
frequency = { day = 1 },
-- Nested configurations for `:Journal <type> <type> ... <date-modifier>`
entries = {
day = {
format = "%Y_%m_%d", -- Format of the journal entry in the filesystem.
format = "%Y%m%d", -- Format of the journal entry in the filesystem.
template = "# %A %B %d %Y\n", -- Optional. Template used when creating a new journal entry
frequency = { day = 1 }, -- Optional. The frequency of the journal entry. Used for `:Journal next`, `:Journal -2` etc
},