zsh,vim: Add WIP Zettelkasten tooling

Add `zk`, an autoloadable function that creates a new zettel after a
template in the right directory.
Add `zettel` vim ftplugin.
This commit is contained in:
2022-03-28 23:48:51 +02:00
parent dc76a341a0
commit 5df9e4d6ee
3 changed files with 68 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ if [[ $OSTYPE =~ darwin && ! $PATH =~ "/Library/Apple/usr/bin" ]]; then
export PATH="${PATH:+$PATH:}/Library/Apple/usr/bin"
fi
export ZETTELKASTEN_NOTES="$HOME/docs"
# Locale settings as $LANG
[[ ! -e "$XDG_CONFIG_HOME/locale.conf" ]] || . "$XDG_CONFIG_HOME/locale.conf"