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

@@ -0,0 +1,9 @@
" Reuse git-commit textwidths for subject (minus the `# ` markdown
" header-prefix) and body. This way the note (but especially the subject) should
" be usable as a commit message.
setlocal colorcolumn+=53
setlocal textwidth=72
" Spell checking always enabled
setlocal spell spelllang=en
" Automatic formatting
setlocal formatoptions+=a