When running the following command in vim
:
:PlugInstall
And you observe an error resembling this:
Cloning into '...'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
- Check that you Git is working.
- Check that you spelled the plugin name correctly.
I experiences this issue with the Nord theme, where the documentation states:
Plug 'arcticstudio/nord-vim'
But the GitHub repository is called nordtheme/vim
.
So my .vimrc
ended up looking like this:
call plug#begin()
" List your plugins here
" Nord colour theme
" Plug 'arcticstudio/nord-vim'
Plug 'nordtheme/vim'
call plug#end()
colorscheme nord