V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
chuhades
V2EX  ›  程序员

vundle 安装插件提示 git 未配置

  •  
  •   chuhades ·
    Q2h1Cg · 2014-10-27 15:05:45 +08:00 · 4005 次点击
    这是一个创建于 3441 天前的主题,其中的信息可能已经有所发展或是发生改变。

    通过 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]
    

    我需要怎么配置呢?

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

    同样感谢;)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2807 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:46 · PVG 19:46 · LAX 04:46 · JFK 07:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.