NEVER do anything inside $VIMRUNTIME
. All your settings belong to the ~/.vimrc
file and all your plugins/colorschemes/whatever belong to the ~/.vim
directory.
Return $VIMRUNTIME
to its pristine state and put all your settings and plugins where they belong.
Also, you don't need the :
before Ex commands in a script.