4 Answers
4

You can't hit a button and have this folder back. A system upgrade or a full re-install may help but it's maybe a little bit too much.

You could also install Vim from the sources and specify the default location as target. Normally I don't advocate that kind of method but you already messed with your system so…

The best solution, IMO, is simply to install another Vim, anywhere, and completely forget about the default Vim. It has always sucked in one way or the other anyway and the absolute best solution for using Vim on a Mac is still the same as it has been for quite some time: install (manualy or with Homebrew) MacVim which comes with a CLI executable.

And stop messing with those default files! If you want to customize/install stuff, do that in ~/.vim.

I deleted some files in /usr/share/vim/vim73, how to install the original vim. I only found an app called macvim which may not be what i want.
–
user1684696Nov 1 '12 at 17:22

@user1684696 No idea, I don’t have mac. You can just fetch all files from the vim repository and put them into /usr/share/vim/vim73. Or install macvim, it should not hurt: What are the advantages of MacVim over Vim? There is also some advice to install vim from macports, but I don’t know how to do this exactly.
–
ZyXNov 1 '12 at 18:43