My vim configuration file, snippets and plugins.
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:
- Fetch submodules
- Backup your old
vimrcto/tmp, if exists - Create a symbolic link to the new
vimrc - Backup your old snippets to
/tmp, if needed - Create a symbolic link for each new snippet
- Clone repo and create a symbolic link to
vimrcfile $ git clone https://github.com/ainformatico/myvim.git ~/.vim/$ ln -s ~/.vim/vimrc ~/.vimrc- Switch to the
~/.vimdirectory, and fetch submodules $ cd ~/.vim$ git submodule init$ git submodule update
$ ./update.sh
- Pull changes from main repo, myvim
- Pull changes from each submodule
$ cd ~/.vim$ mkdir ~/.vim/bundle$ git submodule add {plugin_uri}$ git add .$ git commit -m "ADD {plugin_name}"
- vim-pathogen https://github.com/tpope/vim-pathogen
- vim-surround https://github.com/tpope/vim-surround
- snipmate.vim https://github.com/msanders/snipmate.vim
- tabular https://github.com/godlygeek/tabular
- nerdtree https://github.com/scrooloose/nerdtree
- nerdcommenter https://github.com/scrooloose/nerdcommenter
- matchit.zip https://github.com/vim-scripts/matchit.zip
- delimitMate https://github.com/Raimondi/delimitMate
- closetag.vim https://github.com/vim-scripts/closetag.vim
- vim-fugitive https://github.com/tpope/vim-fugitive