Felix D.
Felix D.

Reputation: 2220

mvim command in terminal will launch macvim but won't open the file I pass to it as an argument?

I have this weird problem. mvim alias in terminal will launch macvim without problem but if I do, for example

~$ mvim .vimrc

mvim will launch on an empty file and .vimrc will be opened in TextEdit.. how can I fix that? This is pretty annoying!

Upvotes: 0

Views: 595

Answers (1)

Felix D.
Felix D.

Reputation: 2220

Don't ask me why, but I had created an alias in .bash_profile. After deleting that useless alias, everything worked!

Upvotes: 1

Related Questions