til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Cannot install vim plugin

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
  1. Check that you Git is working.
  2. 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

Resources and References