Saturday, April 25, 2020

Re: installing vim plug on linux

On 2020-04-25, Matthew Pritchard wrote:
> Hello i am wanting to install vim plug on linux. I understand that vim plug
> installs to the autoload directory but I am unsure what this is exaclty.
> When I enter vim --version in terminal it shows that my vimrc file is in the
> following directory.
>  
> system vimrc file: "$VIM/vimrc"
>  user vimrc file: "$HOME/.vimrc"
>  2nd user vimrc file: "~/.vim/vimrc"
>  user exrc file: "$HOME/.exrc"
>   defaults file: "$VIMRUNTIME/defaults.vim"
>   fall-back for $VIM: "/usr/share/vim"
>
> Is one of these the autoload directory? If not where is the autoload directory.
> If not where is it? Do I have to create it? How?

The autoload directory into which you should install a plugin is
~/.vim/autoload. You can create it with this command, executed at
your shell prompt:

$ mkdir -p ~/.vim/autoload

Remember never to install your own files into any directory under
$VIMRUNTIME as you may lose them when you update Vim.

Regards,
Gary

--
--
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/20200425223407.GA28061%40phoenix.

No comments: