Re: vim from terminal?
- Here's how.
sudo -s # Enter your password.
mv vim oldvim # Back up the old one.
ln -s /Applications/Vim.app/Contents/MacOS/Vim vim
exit # Leave sudo.
Just make sure that you don't remove Vim.app from Applications, or
your console vim will go away!
Another way to do this is to put /Applications/Vim.app/Contents/
MacOS/ at the front of your path, and rely on HFS being case-
insensitive; I can start Vim as vim on my MBP.
On 5/8/07, jujul <jujulj@...> wrote:
> Is there any way to replace /usr/bin/vim by the new version to
> avoid having
> both 6.2 and 7 in my computer?
> thanks for the quick reply!