Useful tip: it’s possible to execute some code on the Vim’s startup with -c
argument. I use it to
prepare Vim for blog post editing like this: vim -c 'call ConfigDoc()' post.md
. I don’t want to
add this function call into .vimrc
for all .md
files, because there are a lot of different
markdown files that do not require this configuration. So command line argument does the trick.