mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
refact(dir): set home as default dir for everything (closes #177)
This commit is contained in:
@@ -218,21 +218,21 @@ telekasten.setup({opts})
|
|||||||
Path to your daily notes, to separate them from 'normal' notes.
|
Path to your daily notes, to separate them from 'normal' notes.
|
||||||
Accepts absolute path or sub-directory name.
|
Accepts absolute path or sub-directory name.
|
||||||
|
|
||||||
Default: 'vim.fn.expand("~/zettelkasten/daily")'
|
Default: 'vim.fn.expand("~/zettelkasten")'
|
||||||
|
|
||||||
*telekasten.settings.weeklies*
|
*telekasten.settings.weeklies*
|
||||||
weeklies: ~
|
weeklies: ~
|
||||||
Path to your weekly notes, to separate them from 'normal' notes.
|
Path to your weekly notes, to separate them from 'normal' notes.
|
||||||
Accepts absolute path or sub-directory name.
|
Accepts absolute path or sub-directory name.
|
||||||
|
|
||||||
Default: 'vim.fn.expand("~/zettelkasten/weekly")'
|
Default: 'vim.fn.expand("~/zettelkasten")'
|
||||||
|
|
||||||
*telekasten.settings.templates*
|
*telekasten.settings.templates*
|
||||||
templates: ~
|
templates: ~
|
||||||
Path to your note templates.
|
Path to your note templates.
|
||||||
Accepts absolute path or sub-directory name.
|
Accepts absolute path or sub-directory name.
|
||||||
|
|
||||||
Default: 'vim.fn.expand("~/zettelkasten/templates")'
|
Default: 'vim.fn.expand("~/zettelkasten")'
|
||||||
|
|
||||||
*telekasten.settings.image_subdir*
|
*telekasten.settings.image_subdir*
|
||||||
image_subdir: ~
|
image_subdir: ~
|
||||||
|
|||||||
@@ -48,9 +48,9 @@ local function defaultConfig(home)
|
|||||||
-- this syntax setting is independent from auto-set filetype
|
-- this syntax setting is independent from auto-set filetype
|
||||||
auto_set_syntax = true,
|
auto_set_syntax = true,
|
||||||
-- dir names for special notes (absolute path or subdir name)
|
-- dir names for special notes (absolute path or subdir name)
|
||||||
dailies = home .. "/" .. "daily",
|
dailies = home,
|
||||||
weeklies = home .. "/" .. "weekly",
|
weeklies = home,
|
||||||
templates = home .. "/" .. "templates",
|
templates = home,
|
||||||
-- image (sub)dir for pasting
|
-- image (sub)dir for pasting
|
||||||
-- dir name (absolute path or subdir name)
|
-- dir name (absolute path or subdir name)
|
||||||
-- or nil if pasted images shouldn't go into a special subdir
|
-- or nil if pasted images shouldn't go into a special subdir
|
||||||
|
|||||||
Reference in New Issue
Block a user