I am trying to merge all my vim related files / plugins into a ~/.vim folder so that I can dump it on github and start with a pathogen. However, now all my vim plugins are scattered all over the place.
As an example, the syntax plugin is in /usr/share/vim/vim73/syntax/syntax.vim , and when I run :scriptnames , this also shows up since I have syntax on in my .vimrc .
So, for the trial version, I moved /usr/share/vim/vim73/syntax to /usr/share/vim/vim73/syntax1 and copied /usr/share/vim/vim73/syntax to ~/.vim .
however, now when I run vim, it complains that it cannot open the file /usr/share/vim/vim73/syntax/syntax.vim (because I renamed this folder). I expected vim to automatically launch the syntax folder located in my ~/.vim .
My execution path:
~/.vim, /usr/share/vim/vimfiles, /usr/share/vim/vim73, /usr/share/vim/vimfiles/after, ~/.vim/after, /usr/share/vim/vim73
How can I do it?
Omnipresent
source share