4 ms·
An aside question; what's the deal with "pathogen"? I've been using the "/bin/cp" command for years installing vim plugins and it's worked remarkably well; req
by kristopolous 14y ago
An aside question; what's the deal with "pathogen"?
I've been using the "/bin/cp" command for years installing vim plugins and it's worked remarkably well; requiring just about 1 invocation on average...
What problem does that thing solve?
- MBlume 14y agoIf you decide you no longer want a particular plugin, or want to upgrade it, it can be hard to tease out the files you /bin/cp'd into place. Adding a single folder under bundle makes removal easier later. ETA: also note that git-cloning into bundle means that upgrading is just a question of entering the plugin directory and running git pull.
- mercurial 14y agoIt lets you put your various vim things inside a single 'bundle' directory instead of having files in plugin/ftplugin and whatnot. Very convenient and easy to setup.
- agscala 14y agoEach plugin resides in it's own directory, rather than being scattered around your .vim dir. Try to remove one of your installed plugins, you'll have to dig around and it'll be messy. Also it makes it easier to update, since all you need to do is replace the folder with the newer version and you're all set.
- deleted 14y ago[deleted]
- lftl 14y agoTo elaborate on the response others have offered about everything being in one folder, I'll further note that it allows you to keep track of the plugin through git, so you can very easily grab updates when desired.
- SeoxyS 14y agoThree killer uses: - removal - git submodules - conditional loading of plugins
- bostonvaulter2 14y agoI have 5 separate computers that I run vim on. Manually installing and updating is a huge pain. I keep my .vimrc in git to keep them all synchronized.
- francoisdevlin 14y agoI use Vundle to take this a step further https://github.com/gmarik/vundle https://github.com/gmarik/vundle
- LVB 14y agoFantastic plugin. :BundleUpdate when you've got 20 plugins homes across Github and vim.org is a huge timesaver.
- kristopolous 14y agoWhy can't you also keep your .vim in git too then? It seems to work well for me. see: https://github.com/kristopolous/vimbuild https://github.com/kristopolous/vimbuild
- ctide 14y agoWhy git? I store my .vim directory in dropbox and just have it symlinked into my home directory on each of my machines. I don't really see a need for version control, and I don't want to have to do anything to make sure a change on one machine is reflected on all the others.