How to let gvim read plugins from ~/.gvim?
我想大声告诉你
我想大声告诉你 2017-05-16 16:43:08
0
3
898

gvim can read plug-ins from .gvimrc, but the plug-ins are still loaded from .vim. Can gvim also load plug-ins from the .gvim folder?

我想大声告诉你
我想大声告诉你

reply all(3)
仅有的幸福

Try this

set rtp+=/path/to/.gvim
習慣沉默

@jKey’s method is feasible. gvim will try to load plug-ins, documents and other files in rtp, which is the runtimepath, so you only need to add a path to rtp

Actually, I would like to recommend a vim extension called vundle https://github.com/gmarik/vundle. It will create a separate folder for each different plug-in. The principle is achieved through the management of rtp. The folder is separated to facilitate deletion of plug-ins later.

Because he installs the plug-in through git+github, it is also very convenient to update/install the plug-in. It solves the difficult problem of gvim plug-in management very well.

世界只因有你

Old way

ln -s ~/.vim ~/.gvim
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template