diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-09-13 17:37:18 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-09-13 17:37:18 -0500 |
commit | 20a778e785e67f1b87c10c83323441e9d7c60d41 (patch) | |
tree | 86e4c726c1a7ca23c5a714b82002bfbfc951c2a2 /zk/.config | |
parent | e78c18e7218fe5a6efc75f3072fdbedfa3c8c944 (diff) |
feat(zk): add zk config
Diffstat (limited to 'zk/.config')
-rw-r--r-- | zk/.config/zk/config.toml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/zk/.config/zk/config.toml b/zk/.config/zk/config.toml new file mode 100644 index 0000000..2132b71 --- /dev/null +++ b/zk/.config/zk/config.toml @@ -0,0 +1,40 @@ +[note] +filename = "{{id}}" +id-charset = "hex" +id-length = 8 +id-case = "lower" + +[extra] +author = "Mickaƫl" + +[format.markdown] +hashtags = true +colon-tags = false +multiword-tags = false + +[tool] +fzf-preview = "$FZF_PREVIEW_COMMAND" + +[lsp.diagnostics] +wiki-title = "hint" +dead-link = "error" + +[lsp.completion] +note-label = "{{title-or-path}}" +note-filter-text = "{{title}} {{path}}" +note-detail = "{{filename-stem}}" + +[alias] +ls = "zk list $@" +recent = "zk edit --sort created- --created-after 'last two weeks' --interactive" +log = "zk list --format path --delimiter0 --quiet $@ | xargs -t -0 git log --patch --" +lg = "zk list --format path --delimiter0 --quiet $@ | xargs -t -0 git lg --patch --" +editlast = "zk edit --limit 1 --sort modified- $@" +gen = "neuron gen -o public" +serve = "neuron gen -wS" +conf = '$EDITOR "$ZK_NOTEBOOK_DIR/.zk/config.toml"' +# 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: +# zk list --link-to "`zk path -m potatoe`" +#path = "zk list --quiet --format {{path}} --delimiter , $@" |