WhamBam
WhamBam

Reputation: 11

Remove old Vim-config files

I did some experimenting with plugins and settings in the .vim directory and the .vimrc file. It broke my whole vim installation so I uninstalled it and removed all the configuration files.

After that I installed vim again but every time I start up my new installation of vim the following error messages comes from my .vimrc in .vim, even though I have removed it altogether. I've checked for hidden files with Ctrl-H and there was a .vimrc.swp which I removed as well, with no result.

Error detected while processing /home/myusername/.vimrc:
line    6: 
E117: Unknown function: vundle#begin
line   11:
E492: Not an editor command: Plugin 'VundleVim/Vundle.vim'
line   16:
E492: Not an editor command: Plugin 'tpope/vim-fugitive'
line   18:
E492: Not an editor command: Plugin 'L9'
line   20:
E492: Not an editor command: Plugin 'git://git.wincent.com/command-t.git'
line   22:
E492: Not an editor command: Plugin 'file:///home/gmarik/path/to/plugin'
line   25:
E492: Not an editor command: Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
line   28:
E492: Not an editor command: Plugin 'ascenator/L9', {'name': 'newL9'}
line   31:
E117: Unknown function: vundle#end

Press ENTER or type command to continue

So how do I remove whatever is causing these messages? Thanks in advance

Upvotes: 0

Views: 977

Answers (1)

Randy Morris
Randy Morris

Reputation: 40937

Run :scriptnames once vim starts. This will show all files that vim has sourced since starting up. I suspect you have a ~/.vimrc that you haven't removed.

Edit: Actually there is a file you haven't removed, and it says the filename right there at the top of the errors you posted.

Upvotes: 1

Related Questions