dotfiles/home/private_dot_config/zk/config.toml

32 lines
610 B
TOML

[notebook]
dir = "~/notebook"
[note]
language = "en"
default-title = "untitled"
filename = "{{id}}-{{slug title}}"
extension = "md"
template = "default.md"
id-charset = "alphanum"
id-length = 4
id-case = "lower"
[group.journal]
paths = ["journal/daily"]
[group.journal.note]
filename = "{{format-date now}}"
template = "daily.md"
[lsp]
[lsp.diagnostics]
wiki-title = "hint"
dead-link = "error"
[alias]
save = 'jj desc -m "$*" && jj bookmark set main -r @ && jj new'
sync = 'jj git fetch && jj git push'
log = 'jj log -r ".."'
diff = 'jj diff'
daily = 'zk new --no-input "$ZK_NOTEBOOK_DIR/journal/daily"'