diary: replace the alias with a vimrc func