diff options
Diffstat (limited to 'config/zk')
| -rw-r--r-- | config/zk/config.toml | 21 | ||||
| -rw-r--r-- | config/zk/templates/daily.md | 9 |
2 files changed, 19 insertions, 11 deletions
diff --git a/config/zk/config.toml b/config/zk/config.toml index b9d3ca2..6605d1d 100644 --- a/config/zk/config.toml +++ b/config/zk/config.toml @@ -15,21 +15,20 @@ colon-tags = false multiword-tags = true [tool] -editor = "nvim" -shell = "/bin/zsh" +editor = "/home/venomade/.nix-profile/bin/emacs" +shell = "/home/venomade/.nix-profile/bin/zsh" 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" } + +[group.diario] +paths = ["Diario"] + +[group.diario.note] +filename = "{{format-date now '%Y-%m-%d'}}" +extension = "md" +template = "daily.md" diff --git a/config/zk/templates/daily.md b/config/zk/templates/daily.md new file mode 100644 index 0000000..cb128bd --- /dev/null +++ b/config/zk/templates/daily.md @@ -0,0 +1,9 @@ +--- +title: Entrada do Diário - {{format-date now '%Y-%m-%d'}} +tags: [diario, {{format-date now '%B'}}, {{format-date now 'year'}}] +--- +<!-- + +# Entrada do Diário - {{format-date now '%Y-%m-%d'}} + +{{content}} |
