dotfiles/home/private_dot_config/zk/config.toml

29 lines
598 B
TOML

[notebook]
dir = "~/notebook"
[note]
language = "en"
default-title = "untitled"
filename = "{{format-date now '%Y-%m-%d'}}-{{slug title}}"
extension = "md"
template = "default.md"
id-charset = "alphanum"
id-length = 4
id-case = "lower"
[lsp]
[lsp.diagnostics]
wiki-title = "hint"
dead-link = "error"
[alias]
save = 'jj diff -r @ --summary | grep -q . && jj commit -m "$(date +"%Y-%m-%dT%H:%M:%S%z")" && jj tug || true'
sync = 'zk save && jj git fetch && jj git push'
log = 'jj log -r ".."'
diff = 'jj diff'
status = "zk diff -s"
[tool]
editor = "hx"
fzf-preview = "bat -p --color always {-1}"