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

StackOverflow https://stackoverflow.com/questions/20340547

  •  07-08-2022
  •  | 
  •  

문제

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!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top