My vim config
VimL Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bundle
my-snippets
.gitignore
.gitmodules
README.md
install.sh
update.sh
vimrc

README.md

Myvim

My vim configuration file, snippets and plugins.

Installation script

Clone myvim to ~/.vim:

$ git clone git://github.com/ainformatico/myvim ~/.vim

Then cd and execute the installation script:

$ cd ~/.vim

$ ./install.sh

NOTE: you can easily hack the installation script to install wherever you want.

This script will:

  1. Fetch submodules
  2. Backup your old vimrc to /tmp, if exists
  3. Create a symbolic link to the new vimrc
  4. Backup your old snippets to /tmp, if needed
  5. Create a symbolic link for each new snippet

Manual Installation

  1. Clone repo and create a symbolic link to vimrc file
    1. $ git clone https://github.com/ainformatico/myvim.git ~/.vim/
    2. $ ln -s ~/.vim/vimrc ~/.vimrc
  2. Switch to the ~/.vim directory, and fetch submodules
    1. $ cd ~/.vim
    2. $ git submodule init
    3. $ git submodule update

Update repo and submodules

$ ./update.sh

  1. Pull changes from main repo, myvim
  2. Pull changes from each submodule

How To install new bundles (vim plugins)

  1. $ cd ~/.vim
  2. $ mkdir ~/.vim/bundle
  3. $ git submodule add {plugin_uri}
  4. $ git add .
  5. $ git commit -m "ADD {plugin_name}"

Included plugins