Reputation: 1767
I've removed MacVim from my /Applications/
directory but in terminal when I type vim
an error is displayed: no such file or directory: /Applications/MacVim.app/Contents/MacOS/Vim
How do I go back to using the pre installed copy of vim?
Upvotes: 4
Views: 18775
Reputation: 192
Try brew uninstall macvim
.
It will help if MacVim was installed with brew.
Upvotes: 12
Reputation: 837
In the terminal type: which vim
That'll tell you what it's running when you type vim.
And if it's not /usr/bin/vim
you're probably safe to delete it so it can find the pre installed version again.
Upvotes: 5