vundle 安装插件提示 git 未配置

2014-10-27 15:05:45 +08:00
 chuhades

通过 vundle 安装 插件时(比如:word_complete),报错:

[2014-10-27 15:03:26] Plugin word_complete
[2014-10-27 15:03:26] $ git clone --recursive 'https://github.com/vim-scripts/word_complete.git' '/Users/chu/.vim/bundle/word_complete'
[2014-10-27 15:03:26] > 正克隆到 '/Users/chu/.vim/bundle/word_complete'...
[2014-10-27 15:03:26] > fatal: could not read Username for 'https://github.com': Device not configured
[2014-10-27 15:03:26] > 
[2014-10-27 15:03:29]

我需要怎么配置呢?

4024 次点击
所在节点    程序员
3 条回复
eclipselu
2014-10-27 20:41:11 +08:00
chuhades
2014-10-27 21:03:47 +08:00
@eclipselu 貌似没看到设置密码的地方.. 我配置了下 ssh-key,还是不可以。
chuhades
2014-10-27 21:12:59 +08:00
@eclipselu 解决了,vim-scripts 中的插件在设置的时候,需要设置成.vim,也就是
```Plugin 'word_complete.vim'```

同样感谢;)

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/141829

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX