fixing function defs in .vimrc