Thank you for showing how to use the plugins, most of these articles don't.
I looked at the rest of the site, bookmarked!
Can I make an article suggestion though?
I'm a new(ish) vim user that is always on different systems. I need a way to quickly install/remove my vim settings and plugins. A tutorial how to do this would be awesome.
Take for granted vim and git are already installed, my ideal workflow would be something like this:
Now I can run vim and my whole environment will be ready.
If I make any changes I should be able to run git push to update the repository.
Then I could run remove.sh to clean everything up.
The rage these days seems to be to keep your own dotfiles repo, complete with some kind of install mechanism.
My own is here [1] but it covers my whole homedir, not just VIM. I use Rake tasks (originally inspired by @holman, I believe) for install / update / clean.
There is a bootstrapping problem when using Vundle with many plugins [2]. The only way to have your Vundles install cleanly the first time is to split up .vimrc into two separate files, which is what I have done.
Comments
Thank you for showing how to use the plugins, most of these articles don't.
I looked at the rest of the site, bookmarked!
Can I make an article suggestion though? I'm a new(ish) vim user that is always on different systems. I need a way to quickly install/remove my vim settings and plugins. A tutorial how to do this would be awesome.
Take for granted vim and git are already installed, my ideal workflow would be something like this:
git clone git://blah.blah/my_settings.git ./my_settings/install.sh
Now I can run vim and my whole environment will be ready. If I make any changes I should be able to run git push to update the repository. Then I could run remove.sh to clean everything up.
Is there a system like this out there already?
As I posted above, there's Vundle:
https://github.com/gmarik/vundle
You just copy your .vimrc over and Vundle installs everything.
Vundle seems like it only takes care of the plugins. I'm looking for a vim install system, like Python's setup.py.
The rage these days seems to be to keep your own dotfiles repo, complete with some kind of install mechanism.
My own is here [1] but it covers my whole homedir, not just VIM. I use Rake tasks (originally inspired by @holman, I believe) for install / update / clean.
There is a bootstrapping problem when using Vundle with many plugins [2]. The only way to have your Vundles install cleanly the first time is to split up .vimrc into two separate files, which is what I have done.
[1] https://github.com/anthonywilson/dotfiles
[2] http://www.gmarik.info/blog/2011/05/17/chicken-or-egg-dilemm...
Can you elaborate on your requirements/wishes here?
For me my vim environment consists of my vimrc plus plugins. Granted, I pick plugins based on the "doesn't need extra steps to work" requirement.
vundle therefor restores my setup completely from a (potentially restored or managed in a git repository) vimrc file. What's missing for you?
Thoughtbot dotfiles (https://github.com/thoughtbot/dotfiles) works something like that. I've branched it for myself and extended it.