Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Managing Vim plugins [closed]

Tags:

vim

plugins

What's the best way to manage Vim plugins? Some plugins use Vimball, but I read somewhere that it was seriously broken, and manually dropping each plugin into ~/.vim/ results in a mess of files that are near impossible to update or organise. Is there a plugin-manager for Vim that functions similarly to Linux package managers? Or can plugins be reorganised into their own directories to make administering them easier?

like image 317
Robbie Avatar asked Feb 05 '11 06:02

Robbie


People also ask

What is Vim addon manager?

vim-addon-manager vim-addons is a command-line plugin manager that you run outside of Vim. On Debian, Fedora, and Ubuntu and their derivative distributions, you can add it by installing the package vim-addon-manager.

Where do Vim plugs go?

When Vim starts, it will load all plugins stored in /. vim/pack/my-plugins/start. You can give any name for the directory my-plugins . If you don't want the Vim plugin to start automatically at the start, create a subfolder opt under the plugin directory ( here ' my-plugins ') and add package there.


2 Answers

There is a new splendid tool, vundle, found here : https://github.com/gmarik/vundle

It is Awesome, like a wedding of pathogen with git.

like image 71
Drasill Avatar answered Oct 05 '22 14:10

Drasill


To reorganize plugins in their own directories, pathogen is quite popular.

See a blog post detailing the installation or a Vimcast from Drew Neil.

This is what I actually use. It basically puts each plugin in its separate directory, so you can easily add or remove them.

like image 24
Xavier T. Avatar answered Oct 05 '22 13:10

Xavier T.