morhetz / gruvbox

Retro groove color scheme for Vim
13.86k stars 1.11k forks source link

PlugInstall fails for vim-plug on macos #288

Open rakesh-k opened 5 years ago

rakesh-k commented 5 years ago

added the line:

Plug 'morhetz/gruvbox'

and tried :PlugInstall to install the plugin but I am getting this error instead:

x gruvbox:                                                                      
    Cloning into '/Users/rakesh/.vim/plugged/vim-gruvbox'                 
    fatal: could not read Username for 'https://github.com': terminal prompts disabled 
rakesh-k commented 5 years ago

I ran the following command to disable the https:// url to git url:

git config --global url."git@github.com:".insteadOf "https://github.com"

And now I am getting this error:

Cloning into '/Users/rakesh/.vim/plugged/gruvbox'...

 fatal: Could not read from remote repository.                     
    Please make sure you have the correct access rights            
    and the repository exists.                                                                
    Cloning into '/Users/rakesh/.vim/plugged/gruvbox'...
xahon commented 5 years ago

@rakesh-k do you have ssh keys configured on your pc and github? Can you clone any repository git clone git@github.com:morhetz/gruvbox.git --depth=1?

xahon commented 5 years ago

I bet you haven't configured your ssh key