gpt4 book ai didi

macos - 在 Mac 上覆盖系统 vim

转载 作者:行者123 更新时间:2023-12-04 00:03:07 24 4
gpt4 key购买 nike

我通过 brew install macvim --override-system-vim 安装了 macvim .一切似乎都很好。当我做 ls -lart/usr/local/bin这是我得到的与 vim 相关的符号链接(symbolic link)的内容:

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直接地。我在这里缺少什么,因为它显然不一样。

最佳答案

符号链接(symbolic link)看起来不错。尝试重新启动您的终端。可能是一些缓存问题。

关于macos - 在 Mac 上覆盖系统 vim,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15492397/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com