Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

README about submodules

  • Loading branch information...
commit a2bd5df51fe74d2fb8ae07e8117fb784ab6f9de2 1 parent 38f4575
@ronanguilloux authored
Showing with 25 additions and 13 deletions.
  1. +24 −13 README.md
  2. +1 −0  install.sh
View
37 README.md
@@ -15,8 +15,30 @@ Landing on a new brand server trough ssh, just run this :
$ dotfiles/install.sh
```
-And that's all you need to do.
-The install.sh will move the original .bashrc found in $HOME before changing using a symbolic link, in case this file was already modified.
+The install.sh will move the original .bashrc file and the .vim directory found in $HOME before changing using symbolic links, in case there were already modified.
+
+
+Vim bundles installation
+------------------------
+
+All [pathogen](http://www.vim.org/scripts/script.php?script_id=2332)-based vim bundles come from git submodules.
+
+
+To install all of them, you must run two commands:
+* `git submodule init` to initialize your local configuration file,
+* `git submodule update` to fetch all the data from each project and eventually check out the appropriate commit (see the `.gitmodules` file).
+
+``` bash
+ $ git submodule init
+ $ git submodule update
+```
+
+To add a new submodule:
+
+``` bash
+ $ git submodule add git://github.com/mbbill/code_complete.git .vim/bundle/code_complete
+```
+
Preventing privacy & security issues
------------------------------------
@@ -43,17 +65,6 @@ which is already mentionned inside the .gitconfig file you'll found here:
path = ~/.gitconfig.local
```
-Vim bundles as git submodules
------------------------------
-
-All [pathogen](http://www.vim.org/scripts/script.php?script_id=2332)-based vim bundles come from git submodules.
-
-Example:
-
-``` bash
- $ git submodule add git://github.com/mbbill/code_complete.git .vim/bundle/code_complete
-```
-
License Information
-------------------
View
1  install.sh
@@ -5,5 +5,6 @@ ln -sf ~/dotfiles/.gitconfig ~/.gitconfig
ln -sf ~/dotfiles/.bash_aliases ~/.bash_aliases
# just move .bashrc, in case it was already modified
mv ~/.bashrc ~/.bashrc-dist && ln -s ~/dotfiles/.bashrc ~/.bashrc
+mv ~/.vim ~/.vim-dist && ln -s ~/dotfiles/.vim ~/.vim
echo "done."
Please sign in to comment.
Something went wrong with that request. Please try again.