On Tue, 15 Apr 2025, Scialla wrote:

> I'm attempting to install vim-plug by placing it in the autofolder, as
> specified in the instructions of their git repository:
> `/.config/vim/autoload/plug.vim`. The file is accessible and has read
> permissions. I think it gets ignored, because when opening vim, typing
> :PlugInstall raises the error "Not an editor command", and because I
> don't see it loaded in :scriptnames. I do see that the other plugins
> I've previously manually installed in `part /xxx/start` are present in
> :scriptnames, for instance
> `~/.config/vim/pack/dist/start/nerdtree/autoload/nerdtree.vim`
> 
> What is it missing for autoloading vim-plug?

The vim-plug Readme mentions that you need to add the following lines 
into your vimrc file:
#v+
call plug#begin()
Plug 'plugin-name'
call plug#end()
#v-

Did you do this? Otherwise, I am afraid the :PlugInstall command won't 
be available.


Thanks
Christian
-- 
If it wasn't so warm out today, it would be cooler.

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/Z/6oj9OVzEdZDsQS%40256bit.org.

Reply via email to