gpt4 book ai didi

vim - 安装 Vim Bundle 时出错

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

我很累为 vim 安装 bundle 。我输入:BundleInstall,好像安装失败

Bundle 'git://git.wincent.com/command-t.git'                         |~ 
Bundle 'file:///Users/gmarik/path/to/plugin'

日志显示

[131205 15:35:35] Bundle git://git.wincent.com/command-t.git               |~                                                                         
[131205 15:35:35] $ git clone --recursive 'git://git.wincent.com/command-t.|~
git' '/home/p/.vim/bundle/command-t' |~
[131205 15:35:35] > fatal: read error: Connection reset by peer^@Cloning in|~
to '/home/p/.vim/bundle/command-t'...^@ |~
[131205 15:35:36] |~
[131205 15:35:36] Bundle file:///Users/gmarik/path/to/plugin |~
[131205 15:35:36] $ git clone --recursive 'file:///Users/gmarik/path/to/plu|~
gin' '/home/p/.vim/bundle/plugin' |~
[131205 15:35:36] > Cloning into '/home/p/.vim/bundle/plugin'...^@fatal: '/|~
Users/gmarik/path/to/plugin' does not appear to be a git repository^@fatal:|~
Could not read from remote repository.^@^@Please make sure you have the co|~
rrect access rights^@and the repository exists.^@

如何解决?

最佳答案

出现这两个错误是因为您误解了 Vundle 安装。您在 GitHub 存储库 ( https://github.com/gmarik/vundle#about ) 上看到的是一个示例配置。

您不需要出现错误的两行,因为您无权访问它们(一个可能是私有(private) GIT,而另一个是本地文件),因此只需删除 中的这两行即可.vimrc.

关于vim - 安装 Vim Bundle 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20394142/

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