refact(dir): set home as default dir for everything (closes #177)

This commit is contained in:
Thomas Lambert
2023-04-29 01:54:47 +02:00
parent 82b00051b9
commit 4f60377454
2 changed files with 6 additions and 6 deletions

View File

@@ -218,21 +218,21 @@ telekasten.setup({opts})
Path to your daily notes, to separate them from 'normal' notes.
Accepts absolute path or sub-directory name.
Default: 'vim.fn.expand("~/zettelkasten/daily")'
Default: 'vim.fn.expand("~/zettelkasten")'
*telekasten.settings.weeklies*
weeklies: ~
Path to your weekly notes, to separate them from 'normal' notes.
Accepts absolute path or sub-directory name.
Default: 'vim.fn.expand("~/zettelkasten/weekly")'
Default: 'vim.fn.expand("~/zettelkasten")'
*telekasten.settings.templates*
templates: ~
Path to your note templates.
Accepts absolute path or sub-directory name.
Default: 'vim.fn.expand("~/zettelkasten/templates")'
Default: 'vim.fn.expand("~/zettelkasten")'
*telekasten.settings.image_subdir*
image_subdir: ~

View File

@@ -48,9 +48,9 @@ local function defaultConfig(home)
-- this syntax setting is independent from auto-set filetype
auto_set_syntax = true,
-- dir names for special notes (absolute path or subdir name)
dailies = home .. "/" .. "daily",
weeklies = home .. "/" .. "weekly",
templates = home .. "/" .. "templates",
dailies = home,
weeklies = home,
templates = home,
-- image (sub)dir for pasting
-- dir name (absolute path or subdir name)
-- or nil if pasted images shouldn't go into a special subdir