Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

installing vim plug

49 views
Skip to first unread message

M.R.P.

unread,
Apr 23, 2020, 1:47:39 PM4/23/20
to
Hello I am trying to install vim plug on linux. I have the vim plug
script downloaded but am unsure about the directory to install it in and
how to get it to work from their.

Eli the Bearded

unread,
Apr 23, 2020, 2:33:56 PM4/23/20
to
Try
:help runtimepath

To find out about the default locations you can install plugins and
how to modify that if needed.

Elijah
------
you can also use runtimepath to completely disable plugins

Benjamin Esham

unread,
Apr 24, 2020, 10:49:36 PM4/24/20
to
You need to install the file (which should be called plug.vim) in the
directory ~/.vim/autoload. (The "~" here means your home directory.) You can
ensure that the directory exists by running this command at the command
line:

mkdir -p ~/.vim/autoload

Then move or copy the plug.vim file into the "autoload" directory.

Alternatively, the vim-plug README [1] provides a single command you can run
that will create the directory if necessary, download the file, and save it
into the right place:

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

Hope this helps,

Benjamin


[1] https://github.com/junegunn/vim-plug#installation

Kara M'bola

unread,
Apr 25, 2020, 4:18:04 AM4/25/20
to
If your Vim version is 8 or above, do ':h packages' and you'll find the
necessary information. If your version is less than 8, check e.g.
pathogen.vim for plugin management.

--
:q!

0 new messages