Until today, I have used /etc/vim/vimrc to configure my vim installation. Today I was thinking of creating a .vimrc file. So i used
touch .vimrc cat /etc/vim/vimrc > .vimrc
So now, when I open any file with vim, I get the following errors:
Error detected while processing /home/ronnie/.vimrc: line 68: E122: Function SplitColors already exists, add ! to replace it line 77: E122: Function ChangeColors already exists, add ! to replace it line 171: E174: Command already exists: add ! to replace it line 174: E174: Command already exists: add ! to replace it Press ENTER or type command to continue
I have a /etc/vim/vimrc and .vimrc file located on my system. So the reason is that I am getting this error because now I would like to use only .vimrc to configure my vim installation.
ronnie
source share