vimrc: moved coding styles to their own functions