/dotvim

Vim Configuration

Primary LanguageVim Script

Installation:

1. Clone the repository to your home directory:
    git clone git@github.com:frimicc/dotvim.git ~/.vim

2. Create a symlink for the default .vimrc & .gvimrc locations:
    ln -s ~/.vim/vimrc ~/.vimrc
    ln -s ~/.vim/gvimrc ~/.gvimrc

3. Load the submodules (all the bundles):
    cd ~/.vim
    git submodule update --init

That should be it! You should be ready to use vim and enjoy my dotvim options.

------
Make changes to master branch and add, commit, and push them to GitHub.

    git add .
    git commit -m "Change blah."
    git push

To add more plugins (from GitHub repositories):

    git submodule add http://github.com/tpope/vim-fugitive.git bundle/fugitive
    git add .
    git commit -m "Install Fugitive.vim bundle as a submodule."

To pull down changes on any other systems:

    git pull
    git submodule update --init

To update all submodules (aka all plugins):

    git submodule foreach git pull origin master


Many thanks to Drew Neil.
http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/