about summary refs log tree commit diff
path: root/.config/zk/config.toml
diff options
context:
space:
mode:
Diffstat (limited to '.config/zk/config.toml')
-rw-r--r--.config/zk/config.toml35
1 files changed, 35 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" }