5

When I install plugins, I like to keep them organised in folders. For example, I have downloaded plugins that turn vim into a programming IDE. This file contains 16 folders and files which are installed in the ~/.vim directory. Is there a way I can have all of these files and folders stored in ~/.vim/ide_support?

8

Unpack the plugin into ~/.vim/ide_support then add the following to your .vimrc.

set runtimepath+=~/.vim/ide_support

Vim will now look in ~/.vim/ide_support for plugins.

This is one of the things that a plugin manager such as pathogen does for you automatically.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.