convert to vim9

This commit is contained in:
Jason Swank
2026-01-03 01:59:33 +00:00
parent e285163442
commit 1f444be37a
110 changed files with 311122 additions and 11 deletions

View File

@@ -78,6 +78,14 @@ template = "default.md"
#[group."<NAME>".extra]
#key = "value"
[group.daily]
paths = ["daily"]
[group.daily.note]
# %Y-%m-%d is actually the default format, so you could use {{format-date now}} instead.
filename = "{{format-date now '%Y%m%d'}}"
extension = "md"
template = "daily.md"
# MARKDOWN SETTINGS
[format.markdown]
@@ -175,6 +183,7 @@ ls = 'zk edit --interactive "$@"'
# Default flags for an existing command.
#list = "zk list --quiet $@"
edit = 'zk edit --interactive "$@"'
# Edit the last modified note.
#editlast = "zk edit --limit 1 --sort modified- $@"
@@ -183,6 +192,8 @@ ls = 'zk edit --interactive "$@"'
# This alias doesn't take any argument, so we don't use $@.
recent = "zk edit --sort created- --created-after 'last two weeks' --interactive"
daily = 'zk new daily "$@"'
# Print paths separated with colons for the notes found with the given
# arguments. This can be useful to expand a complex search query into a flag
# taking only paths. For example:

View File

@@ -0,0 +1,13 @@
# {{format-date now '%Y-%m-%d'}}
[yesterday](daily/{{format-date (date "yesterday") '%Y-%m-%d'}}.md)
## goals
- a bullet
- another bullet
## tracking
- [ ] exercise
- [ ] dinner / logistics
## notes