2

I'm trying to download Vim-Plug from here: https://github.com/junegunn/vim-plug/wiki/tutorial

It says that I should "download a single VimScript file" and links to this https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim but to me that just looks like a text file. Do I download that text file? And save it as what?

Any advice would be so appreciated. I know this is probably very simple and easy, but I'm so confused and it's frustrating. Thank you!

2
  • Yes it's just a text file. What O.S. are you on? If you're on Windows you can use the Powershell instructions on the vim-plug page...
    – filbranden
    Commented Jan 31, 2020 at 21:55
  • 1
    I'm using Windows 10. I'll look into powershell- thank you! Commented Feb 1, 2020 at 23:15

1 Answer 1

1

Right below the section you quote are the commands to download & install the file for both Vim and Neovim:

# Vim (~/.vim/autoload)
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# Neovim (~/.local/share/nvim/site/autoload)
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

In other words, yes, you download the text file, and put it in the appropriate directory, based on whether you are using Vim or Neovim.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.