安装Bundle for Vim时出错

 我喜欢吕继宏 发布于 2023-02-12 18:12

我厌倦了为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.^@      

怎么解决?

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

    你不需要两条线来提供错误,因为你无法访问它们(一个可能是私有GIT而另一个是本地文件),所以只需删除你的那些行.vimrc.

    2023-02-12 18:14 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有