我有这个在我的~/.vimrc
。
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'crooloose/nerdtree.git'
Plugin 'tomasr/molokai'
Plugin 'kien/ctrlp'
Plugin 'bling/vim-airline'
syntax enable
colorscheme molokai
漂亮,真的是直截了当。我有几个想要使用 Vundle 安装的插件,但每当我这样做时:PluginInstall
,它都会提示我输入 github 用户名和密码。我知道我的用户名和密码是正确的,但它一直无法通过身份验证。顺便说一句,我在 github 上有两种方式的身份验证。我不认为这很重要。但是,我收到以下错误。
[2014-09-19 23:18:14]
[2014-09-19 23:18:14] Plugin crooloose/nerdtree.git
[2014-09-19 23:18:14] $ git clone --recursive 'https://github.com/crooloose/nerdtree.git' '/home/shriek/.vim/bundle/nerdtree'
[2014-09-19 23:18:14] > Cloning into '/home/shriek/.vim/bundle/nerdtree'...
[2014-09-19 23:18:14] > remote: Invalid username or password.
[2014-09-19 23:18:14] > fatal: Authentication failed for 'https://github.com/crooloose/nerdtree.git/'
[2014-09-19 23:18:14] >
[2014-09-19 23:19:51]
[2014-09-19 23:19:51] Plugin kien/ctrlp
[2014-09-19 23:19:51] $ git clone --recursive 'https://github.com/kien/ctrlp.git' '/home/shriek/.vim/bundle/ctrlp'
[2014-09-19 23:19:51] > Cloning into '/home/shriek/.vim/bundle/ctrlp'...
[2014-09-19 23:19:51] > remote: Invalid username or password.
[2014-09-19 23:19:51] > fatal: Authentication failed for 'https://github.com/kien/ctrlp.git/'
[2014-09-19 23:19:51] >
[2014-09-19 23:19:52]
[2014-09-19 23:19:52] Helptags:
[2014-09-19 23:19:52] :helptags /home/shriek/.vim/bundle/Vundle.vim/doc
[2014-09-19 23:19:52] :helptags /home/shriek/.vim/bundle/vim-airline/doc
[2014-09-19 23:19:52] Helptags: 2 plugins processed
我什至尝试通过这样做ssh -T git@github.com
来
连接到 githubHi shriek! You've successfully authenticated, but GitHub does not provide shell access.
所以,我对发生的事情有点迷茫。帮助?