On Wednesday, 16 April 2025 at 01:42:41 UTC+7 Christian Brabandt wrote:
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. That resolved the issue, thank you! I didn't realise that the section plug#begin() - plug#end() was necessary to even start or load the plugin manager. -- -- 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/39475523-ce5d-49ce-a1f4-f077ffac75fdn%40googlegroups.com.