diff options
Diffstat (limited to '.config/zk')
| -rw-r--r-- | .config/zk/config.toml | 35 | ||||
| -rw-r--r-- | .config/zk/templates/note.md | 6 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.config/zk/config.toml b/.config/zk/config.toml new file mode 100644 index 0000000..1e6df92 --- /dev/null +++ b/.config/zk/config.toml @@ -0,0 +1,35 @@ +[notebook] +dir = "~/Documents/Notes" + +[note] +filename = "{{slug title}}" +template = "note.md" + +[extra] +author = "Venomade" + +[format.markdown] +link-format = "wiki" +hashtags = true +colon-tags = false +multiword-tags = true + +[tool] +editor = "nvim" +shell = "/bin/bash" +fzf-preview = "bat -p --color always {-1}" + +[alias] +todo = "zk edit TODO" + +push = "git fetch && if [ \"$(git rev-parse @)\" = \"$(git rev-parse @{u})\" ]; then git add -A && git commit -m \"Update: $(date '+%Y-%m-%d %H:%M:%S')\" && git push; else echo \"Local branch is not up‑to‑date with the remote; aborting.\"; fi" +pull = "git pull" +history = "git log --pretty=format:\"%s\" | tail -10; echo" + +rm = "rm -i $@.md" + +[lsp] +[lsp.diagnostics] +wiki-title = "hint" +dead-link = "error" +missing-backlink = { level = "warning", position = "bottom" } diff --git a/.config/zk/templates/note.md b/.config/zk/templates/note.md new file mode 100644 index 0000000..be4c1d2 --- /dev/null +++ b/.config/zk/templates/note.md @@ -0,0 +1,6 @@ +--- +title: {{title}} +tags: [] +--- + +{{content}} |
