I've installed macvim on OSX 10.11.6 using brew install macvim --with-override-system-vim
. This worked fine. I now have some new aliases/symlinks (I'm not too familiar with the differences):
.
#in usr/local/bin
vim -> ../Cellar/macvim/8.0-119_1/bin/vim
mvim -> ../Cellar/macvim/8.0-119_1/bin/mvim
.
#in usr/local/Cellar/macvim/8.0-119_1/bin/
vim -> mvim
mvim #executable
vim
opens vim in the terminal window (the updated version of vim, not OSX's). mvim
opens macvim with its own window.
If vim is an alias for mvim, how does the machine know to run plain old vim when I type vim
? Is it changing my command to mvim -v
behind the scenes? If so, is this -v
in the alias/symlink somewhere?
Any insight you all have be would be great.