V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
chu1337
V2EX  ›  程序员

vundle 安装插件提示 git 未配置

  •  
  •   chu1337 ·
    Q2h1Cg · Oct 27, 2014 · 4491 views
    This topic created in 4203 days ago, the information mentioned may be changed or developed.

    通过 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 replies    2014-10-27 21:12:59 +08:00
    chu1337
        2
    chu1337  
    OP
       Oct 27, 2014
    @eclipselu 貌似没看到设置密码的地方.. 我配置了下 ssh-key,还是不可以。
    chu1337
        3
    chu1337  
    OP
       Oct 27, 2014
    @eclipselu 解决了,vim-scripts 中的插件在设置的时候,需要设置成.vim,也就是
    ```Plugin 'word_complete.vim'```

    同样感谢;)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2688 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:08 · PVG 23:08 · LAX 08:08 · JFK 11:08
    ♥ Do have faith in what you're doing.