diff options
| author | 2025-06-15 16:32:01 +0300 | |
|---|---|---|
| committer | 2025-06-15 16:32:01 +0300 | |
| commit | 9968e699d295faf1e42aa89f6b2c29d88249d568 (patch) | |
| tree | c8cf81ecb672cb8a6c1c9f764d40cdf9e6cfcfdd /config/zk | |
| parent | Перевёл dotfiles на stow (diff) | |
| download | dotfiles-9968e699d295faf1e42aa89f6b2c29d88249d568.tar.gz dotfiles-9968e699d295faf1e42aa89f6b2c29d88249d568.tar.bz2 dotfiles-9968e699d295faf1e42aa89f6b2c29d88249d568.tar.xz dotfiles-9968e699d295faf1e42aa89f6b2c29d88249d568.zip | |
Вс 15 июн 2025 16:32:01 MSK
Diffstat (limited to '')
| -rw-r--r-- | config/zk/config.toml | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/config/zk/config.toml b/config/zk/config.toml new file mode 100644 index 0000000..0468b82 --- /dev/null +++ b/config/zk/config.toml @@ -0,0 +1,96 @@ +# NOTEBOOK SETTINGS +[notebook] +dir = "~/Документы/notebook" + +# NOTE SETTINGS +[note] + +# Language used when writing notes. +# This is used to generate slugs or with date formats. +language = "ru" + +# The default title used for new note, if no `--title` flag is provided. +default-title = "Untitled" + +# Template used to generate a note's filename, without extension. +filename = "{{id}}-{{slug title}}" + +# The file extension used for the notes. +extension = "md" + +# Template used to generate a note's content. +# If not an absolute path, it is relative to .zk/templates/ +template = "default.md" + +# Configure random ID generation. + +# The charset used for random IDs. +id-charset = "alphanum" + +# Length of the generated IDs. +id-length = 4 + +# Letter case for the random IDs. +id-case = "lower" + + +# EXTRA VARIABLES +[extra] +author = "NeonXP" + + +# GROUP OVERRIDES +[group.journal] +paths = ["journal/weekly", "journal/daily"] + +[group.journal.note] +filename = "{{format-date now}}" + + +# MARKDOWN SETTINGS +[format.markdown] +# Enable support for #hashtags +hashtags = true +# Enable support for :colon:separated:tags: +colon-tags = true + + +# EXTERNAL TOOLS +[tool] + +# Default editor used to open notes. +editor = "nvim" + +# Default shell used by aliases and commands. +shell = "/bin/zsh" + +# Pager used to scroll through long output. +pager = "less -FIRX" + +# Command used to preview a note during interactive fzf mode. +fzf-preview = "bat -p --color always {-1}" + +# NAMED FILTERS +[filter] +recents = "--sort created- --created-after 'last two weeks'" + +# COMMAND ALIASES +[alias] + +# Edit the last modified note. +edlast = "zk edit --limit 1 --sort modified- $@" + +# Edit the notes selected interactively among the notes created the last two weeks. +recent = "zk edit --sort created- --created-after 'last two weeks' --interactive" + +# Show a random note. +lucky = "zk list --quiet --format full --sort random --limit 1" + +# LSP (EDITOR INTEGRATION) +[lsp] + +[lsp.diagnostics] +# Report titles of wiki-links as hints. +wiki-title = "hint" +# Warn for dead links between notes. +dead-link = "error" |
