我通过brew install macvim --override-system-vim
. 一切似乎都很好。当我ls -lart
在/usr/local/bin
这里做一个时,我得到的符号链接相对于vim
:
vimex -> ../Cellar/macvim/7.3-66/bin/vimex
vimdiff -> ../Cellar/macvim/7.3-66/bin/vimdiff
vim -> ../Cellar/macvim/7.3-66/bin/vim
view -> ../Cellar/macvim/7.3-66/bin/view
vi -> ../Cellar/macvim/7.3-66/bin/vi
mvimex -> ../Cellar/macvim/7.3-66/bin/mvimex
mvimdiff -> ../Cellar/macvim/7.3-66/bin/mvimdiff
mvim -> ../Cellar/macvim/7.3-66/bin/mvim
mview -> ../Cellar/macvim/7.3-66/bin/mview
gvimex -> ../Cellar/macvim/7.3-66/bin/gvimex
gvimdiff -> ../Cellar/macvim/7.3-66/bin/gvimdiff
gvim -> ../Cellar/macvim/7.3-66/bin/gvim
gview -> ../Cellar/macvim/7.3-66/bin/gview
此外,运行which vim
收益率/usr/local/bin/vim
. 但是,当我vim
从终端运行时,我会得到版本,7.3
而不是直接7.3.754
运行时得到的版本/usr/local/Cellar/macvim/7.3-66/bin/vim
。我在这里缺少什么,因为它显然不一样。