我已经通过vundle安装了几个Vim插件,现在我正在尝试安装flazz/vim-colorschemes。我拥有的 .vimrc 中的相应行是Plugin 'flazz/vim-colourschemes'
,如 git 页面中所述。而且,当我运行:PluginInstall
时,它会询问我 github 用户名和密码。提供密码后,我得到如下内容
fatal: https://github.com/flazz/vim-colourschemes.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
任何人都可以帮我设置一下吗?
经过长时间的挣扎,我找到了一种方法,不知道这是正确的方法,但它奏效了。
.vimrc i 上的相应行如下:
-
以前(版本不起作用):
Plugin 'flazz/vim-colourschemes'
-
现在(工作版):
Plugin 'https://github.com/flazz/vim-colorschemes'