Thursday, March 17, 2022

Re: Need help with vim-plug

> On Mar 17, 2022, at 4:44 PM, Eric Weir <eric.e.weir@gmail.com> wrote:
>
>> On Mar 15, 2022, at 6:06 PM, Eric Weir <eric.e.weir@gmail.com> wrote:
>>> On Mar 15, 2022, at 10:29 AM, David Lowry-Duda <david@lowryduda.com> wrote:
>>> 
>>>> I'd like to switch from vundle to vim-plug for managing plugins. I
>>>> copied the vim-plug script and pasted it into ~.vim/autoload. I put
>>>> the following at the top of my .vimrc:
>>>
>>>> If I've understood correctly, that should be sufficient. But when I
>>>> issue PlugInstall I get "Not an editor command."
>>>
>>> I was going to note that you might get a better response by raising an
>>> issue at the repo, but I see you've done that:
>>> https://github.com/junegunn/vim-plug/issues/1163
>>>
>>> That `:PlugInstall` isn't recognized means that `plug.vim` is not being
>>> read on startup. This either means that there is something going wrong
>>> with how you've copied `plug.vim` into `~/.vim/autoload/plug.vim`, or
>>> that `~/.vim/autoload` isn't being sourced.
>>
>> Thank you. I thought something along that line might be the problem. The instructions say to copy the script to the autoload folder, then gives a command for automating the process.
>>
>> I wasn't sure I could use that on my system, so I simply copied the script and pasted it into the autoload folder.
>>
>> Maybe I should just have tried the command. 🙂
>
> Instructions for installing the script say "Download plug.vim and put it in the "autoload" directory."
>
> Then they give this for UNIX, which I take would be what a macOS/MacVim user would use:
>
> curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
> https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

But wondering if manually copying and pasting the script, which is what I did initially, should be equally effective.

Again, thanks,

-----------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eeweir@comcast.net

"Look deep into nature, you will understand everything better."

- Albert Einstein

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eeweir@comcast.net

"What is man without the beasts? If all the beasts were gone,
men would die from a great loneliness of spirit."

- Chief Seattle






--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/DE10C794-D347-41E4-945D-64FC66FB14D2%40comcast.net.

No comments: