Files
dotfiles/.config/vim/ftplugin/zettel.vim
Julian Prein 5df9e4d6ee 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.
2022-03-28 23:48:51 +02:00

10 lines
337 B
VimL

" 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